/* base.css — 전역 (design-ui 규칙) */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  overscroll-behavior-x: none;
  max-width: 100%;
  font-family:
    "Pretendard Variable", Pretendard,
    "Noto Sans KR", "Noto Sans JP",
    -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Hiragino Sans", "Yu Gothic",
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
}

/* 콘텐츠가 짧아도 푸터를 화면 하단에 고정(sticky footer) */
body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: 100dvh;
}

img, video, svg, canvas, iframe, table {
  max-width: 100%;
  height: auto;
}

input, textarea, button {
  font-size: 16px;
  min-height: 44px;
}

select {
  --select-inset: 16px;
  font-size: 16px;
  min-height: 44px;
  padding-left: var(--select-inset);
  padding-right: calc(var(--select-inset) + 12px + 8px);
  padding-block: 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--select-inset) center;
  background-size: 12px 8px;
}

select:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
