html {
  font-size: 16px; /* ✅ rem 기준값 (1rem = 16px) */
  line-height: 1.5; /* 텍스트 가독성 향상 */
  -webkit-text-size-adjust: 100%; /* iOS에서 글자 크기 자동 조정 방지 */
  -ms-text-size-adjust: 100%; /* 구형 IE 대응 */
  scroll-behavior: smooth; /* 부드러운 스크롤 */
  box-sizing: border-box; /* 모든 요소의 box-sizing 기본값 설정 */
  height: 100%; /* 전체 높이 지정 (body와 함께 사용됨) */
}

:root {
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

/* 기본 세팅 */
body {
  margin: 0;
  padding: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", sans-serif;
  background-color: #111;
  color: #fff;
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased; /* 폰트 부드럽게 */
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  width: 100%;
  padding-right: 2rem;
  padding-left: 2rem;
  margin-right: auto;
  margin-left: auto;
  max-width: 1140px;
}

.container-fluid {
  width: 100%;
  padding-right: 2rem;
  padding-left: 2rem;
  margin-right: auto;
  margin-left: auto;
}

.img-fluid {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Row */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}

/* 기본 column (12단계 기반) */
.col {
  flex: 1 0 0%;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* md breakpoint (768px 이상일 때 적용) */
@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Flex utilities */
.d-flex {
  display: flex;
}
.flex-wrap {
  flex-wrap: wrap;
}
.justify-content-start {
  justify-content: flex-start;
}
.justify-content-center {
  justify-content: center;
}
.justify-content-end {
  justify-content: flex-end;
}
.justify-content-between {
  justify-content: space-between;
}
.align-items-start {
  align-items: flex-start;
}
.align-items-center {
  align-items: center;
}
.align-items-end {
  align-items: flex-end;
}

form .row {
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 1rem;
}

.form-control {
  background: #353535;
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #e1feff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .form-control {
    transition: none;
  }
}
.form-control[type="file"] {
  overflow: hidden;
}
.form-control[type="file"]:not(:disabled):not([readonly]) {
  cursor: pointer;
}
.form-control:focus {
  color: #ced4da;
  background-color: #111;
  border-color: #7ffbff;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(23, 23, 229, 0.25);
}
.form-control::-webkit-date-and-time-value {
  height: 1.5em;
}
.form-control::placeholder {
  color: #bcf4fc;
  opacity: 1;
}
.form-control:disabled {
  background-color: #e9ecef;
  opacity: 1;
}
.form-control::file-selector-button {
  padding: 0.375rem 0.75rem;
  margin: -0.375rem -0.75rem;
  margin-inline-end: 0.75rem;
  color: #202020;
  background-color: #e9ecef;
  pointer-events: none;
  border-color: inherit;
  border-style: solid;
  border-width: 0;
  border-inline-end-width: 1px;
  border-radius: 0;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .form-control::file-selector-button {
    transition: none;
  }
}
.form-control:hover:not(:disabled):not([readonly])::file-selector-button {
  background-color: #dde0e3;
}

.form-label {
  padding-bottom: 6px;
  display: block;
  color: #c3c3c3;
}
