@charset 'utf-8'; /* ----------------------- common ----------------------- */
/* @import url("//news.chosun.com/dhtm/css/css_reset_2018.css"); */
@import url("/membership/common/common.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap");

body {
  background: #ffffff;
}
body,
input,
button,
textarea,
select {
  font: 16px/1.56 "Noto Sans KR", AppleSDGothicNeo-Regular, "맑은 고딕",
    "Malgun Gothic", 나눔고딕, 돋움, Dotum, 굴림, Gulim, "Apple SD Gothic Neo",
    sans-serif;
  font-weight: 400;
  letter-spacing: -0.05px;
  font-style: normal;
  color: var(--Color-Black);
  word-break: break-all;
}

input::placeholder,
select::placeholder {
  font-weight: 400;
}

.font-primary {
  font-weight: 400;
}

.font-secondary {
  font-weight: 500;
}

.font-tertiary {
  font-weight: 700;
}

.container {
  max-width: 690px;
  margin: 0 auto;
  padding: 48px 24px 0 24px;
  /* nav바 높이 + footer 마진탑 + footer 높이 + container 패딩탑 */
  min-height: calc(100vh - 322px);
}

.header {
  text-align: center;
}

.header .title {
  font-size: 24px;
  text-align: center;
}

.giftcard-all-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.giftcard-wrapper {
  flex: 1;
  position: relative;
  width: 100%;
  max-width: 468px;
  margin: 0 auto;
  height: auto;
  overflow-y: auto;
  padding: 52px 0 118px;
  /* min-height: calc(100vh - 555px); */
}

.sub-title {
  font-size: 18px;
  color: var(--Color-Gray-80);
  text-align: center;
  margin-top: 4px;
  margin-bottom: 36px;
}

.sub-title .highlight {
  color: var(--Color-Blue);
}

div[id$="-step"] {
  display: none;
  position: relative;
}

div[id$="-type"] {
  display: none;
}

div[id$="-gift"] {
  display: none;
}

div[id$="-agreement"] {
  display: none;
}

div[id$="-step"].active {
  display: block;
}

div[id$="-type"].active {
  display: block;
}

div[id$="-gift"].active {
  display: block;
}

div[id$="-agreement"].active {
  display: block;
}

div[id$="-card-section"],
div[id$="-account-section"] {
  display: none;
}

div[id$="-card-section"].active,
div[id$="-account-section"].active {
  display: block;
}

.progress-container.active {
  display: block;
}

.progress-container {
  display: none;
}

.progress-container {
  width: 80%;
  margin: 16px auto 36px auto;
  position: relative;
}

.progress-line {
  position: relative;
  width: 100%;
  height: 2px;
  background: var(--Color-Gray-40);
  margin: 7px 0;
  z-index: 1;
}

.progress-filled {
  position: absolute;
  height: 100%;
  background: var(--Color-Blue);
  width: 0%;
  /* transition: width 0.3s ease-in-out; */
}

.tabs {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.tab {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--Color-Gray-80);
}

.tab:first-child {
  position: relative;
  left: -33px;
}
.tab:last-child {
  position: relative;
  right: -27px;
}

.tab::before {
  position: absolute;
  top: -13px;
  display: block;
  content: "";
  width: 10px;
  height: 10px;
  background: var(--Color-Gray-40);
  border-radius: 50%;
}

.tab.active:before {
  background: var(--Color-Blue);
}
.tab.current {
  color: var(--Color-Blue);
  font-weight: 700;
}

.welcome {
  border-radius: 12px;
  background: var(--light-blue);
  padding: 16px 32px;
  color: var(--Color-Blue);
  text-align: center;
  margin-bottom: 48px;
}

.welcome.last {
  margin-bottom: 36px;
}

.section-title {
  color: var(--Color-Gray-80);
  font-size: 16px;
  margin-bottom: 12px;
}

.sub-title {
  margin-bottom: 24px;
}

.sub-info {
  margin-bottom: 36px;
}

.section {
  border-radius: 12px;
  background: var(--Surface-Surface-10);
  padding: 32px;
  margin-bottom: 36px;
}

/* 배달 주소 박스 커스텀 */
.sub-info .address-box {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

input[id="detail-address"] {
  margin-top: 8px;
}

.basic-label-left.address {
  align-items: baseline;
}

.agreement label {
  display: flex;
  align-items: center;
}

.open-agreement-modal {
  cursor: pointer;
}

.gift-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.gift-header .section-title {
  margin-bottom: 0;
}

.sub-gift {
  border: 2px solid #ffc107;
  padding: 20px;
  margin-bottom: 20px;
}

.gift-sub-title {
  font-size: 12px;
  color: var(--Color-Gray-60);
}

.remove-gift {
  width: 20px;
  height: 20px;
  border: none;
  margin-left: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M10 2.5C14.1421 2.5 17.5 5.85786 17.5 10C17.5 14.1421 14.1421 17.5 10 17.5C5.85786 17.5 2.5 14.1421 2.5 10C2.5 5.85786 5.85786 2.5 10 2.5ZM12.5927 6.36684L10.0002 8.96017L7.40728 6.36684L6.70017 7.07394L9.2935 9.66684L6.70017 12.2594L7.40728 12.9665L10.0002 10.3735L12.5927 12.9665L13.2998 12.2594L10.7068 9.66684L13.2998 7.07394L12.5927 6.36684Z' fill='%23999999'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.selected-gift {
  background: var(--ETC-G10-High);
  color: var(--Color-Gray-80);
  padding: 12px;
  font-size: 14px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  min-height: 20px;
  font-weight: 500;
}

.sub-payment-method {
  padding: 32px;
  margin-bottom: 32px;
}

.sub-payment-info,
.sub-gift-info {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.gift-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 18px;
  margin-top: 24px;
}

.image-checkbox img {
  width: 100%;
}

.gift-title {
  font-size: 14px;
  font-weight: 700;
}

.detail-group,
.gift-group {
  width: 100%;
  margin-top: 24px;
}

.payment-agreement {
  padding: 20px;
  margin-bottom: 20px;
}

.sub-apply-check {
  margin-bottom: 36px;
}

.sub-gift-check {
  margin-bottom: 36px;
}

.sub-payment-check {
  margin-bottom: 56px;
}

.agreement {
  margin-bottom: 48px;
}

.sub-duration {
  margin-bottom: 24px;
}

.btn-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.back-btn {
  font-size: 14px;
  color: var(--Color-Gray-80);
  border: none;
  position: relative;
  padding-left: 22px;
  display: block;
  font-weight: 500;
}

.back-btn::before {
  content: ""; /* 반드시 content 속성이 필요 */
  position: absolute;
  top: 50%;
  left: 0; /* 버튼 내부에서 이미지 위치 */
  transform: translateY(-50%); /* 수직 중앙 정렬 */
  width: 20px; /* SVG 크기 */
  height: 20px;
  background-image: url("//image.chosun.com/cds/icon/prev-arrow-grey.svg");
  background-size: contain; /* SVG 크기 조정 */
  background-repeat: no-repeat; /* 이미지 반복 제거 */
}

.back-btn {
  margin-top: 24px;
}

.back-btn-mobile {
  display: none;
}

.payment-list-btns,
.duration-list-btns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.list-type-btn {
  font-size: 16px;
  position: relative;
  padding-right: 22px;
  border-radius: 4px;
  border: 1px solid var(--Color-Gray-20);
  padding: 16px;
  background: var(--Surface-Surface-30);
  cursor: pointer;
  font-weight: 700;
}

.list-type-btn::after {
  content: ""; /* 반드시 content 속성이 필요 */
  position: absolute;
  top: 50%;
  right: 16px; /* 버튼 내부에서 이미지 위치 */
  transform: translateY(-50%); /* 수직 중앙 정렬 */
  width: 20px; /* SVG 크기 */
  height: 20px;
  background-image: url("//image.chosun.com/cds/icon/next-grey60.svg"); /* SVG URL */
  background-size: contain; /* SVG 크기 조정 */
  background-repeat: no-repeat; /* 이미지 반복 제거 */
}

#personal-card-section,
#personal-account-section,
#corporation-card-section,
#corporation-account-section {
  padding-top: 16px;
}

#kakao-type p {
  text-align: center;
}

#next-btn-step-3,
#next-btn-step-2 {
  display: none;
}

.cash-receipt-section {
  display: none; /* 기본적으로 숨기기 */
}

.cash-receipt-section.active {
  display: block; /* 활성화 시 보이기 */
}

.review-item + .review-item {
  margin-top: 16px;
}

.review-item {
  display: flex;
  align-items: center;
}

.review-item dt {
  min-width: 136px;
  font-size: 14px;
  color: var(--Color-Gray-80);
}

dt.hidden {
  display: none;
}

.review-item dd {
  font-size: 16px;
  width: 100%;
}

.edit-btn-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.edit-btn-title .title {
  font-size: 18px;
}

.edit-btn-box {
  display: flex;
}

.btn-box.hidden {
  display: none;
}

#cancel-btn.hidden,
#complete-btn.hidden {
  display: none;
}

/* 공통 버튼 */

.btn-large {
  width: 100%;
  height: 52px;
  padding: 14px 0;
  text-align: center;
  background: var(--Color-Blue);
  color: var(--ETC-White-Static);
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  border: none;
}

.btn-large.loading-align {
  display: flex;
}

.btn-large.loading-hidden {
  display: none !important;
}

.btn-large:disabled {
  color: var(--Color-Gray-60);
  background: var(--Color-Gray-40);
  pointer-events: none;
}

.btn-extra-small {
  border-radius: 100px;
  border: 1px solid var(--Color-Gray-40);
  padding: 0px 12px;
  height: 26px;
  font-size: 12px;
  font-weight: 500;
  background: var(--Surface-Surface-30);
}

.btn-large.sub {
  background: var(--Surface-Surface-30);
  border: 1px solid var(--Color-Gray-40);
  color: var(--Color-Gray-80);
  margin-right: 20px;
}

/* 커스텀 드롭다운 */
.dropdown-selection {
  position: relative;
  width: 100%;
  padding: 16px;
  border-radius: 5px;
  cursor: pointer;
  background: var(--Surface-Surface-30);
  transition: border-radius 0.2s ease, border-color 0.2s ease;
  border: 1px solid rgba(18, 108, 205, 0.4);
  box-shadow: 0px 6px 12px 0px rgba(18, 108, 205, 0.1);
  font-weight: 700;
  -webkit-tap-highlight-color: transparent;
}

.dropdown-selection:focus {
  outline: none;
}

.dropdown-selection .selected-item {
  color: var(--Color-Blue);
  font-size: 16px;
}

/* Dropdown icon */
.dropdown-selection #dropdown-icon {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  background-image: url("//image.chosun.com/cds/icon/down-blue.svg"); /* SVG URL */
  background-size: contain; /* SVG 크기 조정 */
  background-repeat: no-repeat; /* 이미지 반복 제거 */
}

.dropdown-selection.active #dropdown-icon {
  transform: translateY(-50%) rotate(180deg); /* 화살표를 위로 회전 */
}

/* Menu */
.dropdown-selection .dropdown-menu {
  position: absolute;
  top: calc(100% - 1px); /* 메뉴와 드롭다운을 연결 */
  width: 100%;
  left: -1px;
  right: 0;
  border-radius: 0 0 4px 4px; /* 메뉴 아래쪽 둥근 모서리 */
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  z-index: 2;
  border: 1px solid rgba(18, 108, 205, 0.4);
  border-top: none;
  box-shadow: 0px 6px 12px 0px rgba(18, 108, 205, 0.1);
}

.dropdown-spacer {
  width: 100%;
  height: 0; /* 초기 높이 0 */
  transition: height 0.4s ease; /* 트랜지션 효과 */
}

.dropdown-separator {
  margin: 0 16px;
  border-top: 1px solid var(--Color-Gray-20);
}

/* Items */
.dropdown-selection .item {
  padding: 16px 28px 16px 28px;
  font-size: 16px;
  cursor: pointer;
  background: var(--Surface-Surface-30);
}

.dropdown-selection .item:last-child {
  border-radius: 0 0 4px 4px;
}

/* Hover Effect */
.dropdown-selection .item:hover {
  /* background-color: #f0f0f0; */
}

/* Active/Selected Item */
.dropdown-selection .item.active {
  /* background-color: #e0e7ff;
  color: #126CCD; */
}

/* Show menu */
.dropdown-selection.active {
  border-bottom-left-radius: 0; /* 아래쪽 둥근 모서리 제거 */
  border-bottom-right-radius: 0; /* 아래쪽 둥근 모서리 제거 */
}

.dropdown-selection.active .dropdown-menu {
  transform: scaleY(1);
  opacity: 1;
}

/* 공통 라벨 인풋 세트 */
.basic-label-left {
  display: flex;
  align-items: center;
  position: relative;
}

.basic-label-left.hidden {
  display: none;
}

.basic-checkbox.hidden {
  display: hidden;
}

.basic-checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.basic-label-left + .basic-label-left,
.basic-checkbox + .basic-checkbox {
  margin-top: 0;
}

.basic-checkbox.margin-10 {
  margin-bottom: 10px;
}

.basic-checkbox.font-700 > label {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.07px;
}

.basic-checkbox + .basic-label-left {
  margin-top: 16px;
}

.basic-label-left label {
  min-width: 158px;
  font-size: 16px;
  pointer-events: none;
}

.basic-label-left input[type="text"],
.basic-label-left input[type="tel"] {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--Color-Gray-40);
  padding: 12px;
  font-size: 16px;
  font-weight: 700;
  background: var(--Surface-Surface-30);
}

.basic-label-left input[type="text"]:focus,
.basic-label-left input[type="tel"]:focus {
  outline: none;
}

.basic-label-left input[type="text"]:-webkit-autofill,
.basic-label-left input[type="tel"]:-webkit-autofill {
  background-color: transparent !important;
  box-shadow: 0 0 0px 1000px white inset !important;
}

.basic-label-left.error input[type="text"],
.basic-label-left.error input[type="tel"] {
  border-color: var(--Color-Red);
}

.basic-label-left.error:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 24px; /* SVG 크기 */
  height: 24px;
  background-image: url("//image.chosun.com/cds/icon/error.svg"); /* SVG URL */
  background-size: contain; /* SVG 크기 조정 */
}

.basic-label-left.success input[type="text"] {
  border-color: var(--Color-Blue);
}

.basic-label-left.success:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 24px; /* SVG 크기 */
  height: 24px;
  background-image: url("//image.chosun.com/cds/icon/success-check.svg"); /* SVG URL */
  background-size: contain; /* SVG 크기 조정 */
}

.basic-label-left input[type="text"].auto-fill {
  background: var(--Color-Gray-10);
}

.basic-label-left input[type="text"].verified {
  border-color: var(--Color-Blue);
}

.basic-label-left input::placeholder {
  color: var(--Color-Gray-60);
}

/* 공통 인풋 헬프 텍스트 */
.input-help-text {
  position: relative;
  left: 158px;
  display: inline-block;
  margin-top: 4px;
  font-size: 14px;
}

.input-help-text.success {
  color: var(--Color-Blue);
}

.input-help-text.error {
  color: var(--Color-Red);
}

.input-help-text + .basic-label-left {
  margin-top: 16px;
}

/* 인풋이 히든되면서 헬프텍스트가 상단에 떠 있을 때가 있음 이럴경우 헬프 텍스트 제거 */
.basic-label-left.hidden.error + .input-help-text {
  display: none;
}

/* basic label left + 아이콘 */
.basic-label-left .icon {
  position: absolute;
  right: 12px; /* 아이콘 위치 조정 */
  width: 24px;
  height: 24px;
  background-repeat: no-repeat; /* 반복 방지 */
}

input[id="date"] {
  cursor: pointer;
}

#date-icon {
  background-image: url("//image.chosun.com/cds/icon/calendar.svg"); /* SVG 파일 경로 */
  cursor: pointer;
}

.input-icon {
  display: flex;
  position: relative;
  align-items: center;
  width: 100%;
}

.input-icon input {
  padding-right: 44px; /* 아이콘 공간 확보 */
}

/* basic label left + 버튼 */

.input-btn {
  display: flex;
  position: relative;
  align-items: center;
  width: 100%;
}

.input-btn .icon {
  right: 105px;
}

.success-check {
  background-image: url("//image.chosun.com/cds/icon/success-check.svg"); /* SVG 파일 경로 */
}

.input-btn button {
  font-size: 14px;
  height: 46px;
  margin-left: 8px;
  border-radius: 4px;
  border: 1px solid var(--Color-Black);
  padding: 0 16px;
  white-space: nowrap;
  font-weight: 700;
}

/* basic checkbox */
.sub-checkbox-group input[type="checkbox"],
.basic-checkbox input[type="checkbox"] {
  margin: 0;
  margin-right: 4px;
  width: 20px;
  height: 20px;
  appearance: none;
  background-image: url("//image.chosun.com/cds/icon/box-uncheck.svg");
  cursor: pointer;
  -webkit-appearance: none;
  border: 0;
}

.sub-checkbox-group input[type="checkbox"]:checked,
.basic-checkbox input[type="checkbox"]:checked {
  background-image: url("//image.chosun.com/cds/icon/box-check.svg");
}

.basic-checkbox label {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -0.06px;
  padding: 6px 0;
}

.basic-checkbox label.agree-all {
  width: fit-content;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.08px;
}

.basic-checkbox label[for="agree-age"] {
  width: fit-content;
}

.basic-checkbox .icon {
  position: absolute;
  right: 0; /* 아이콘 위치 조정 */
  width: 20px;
  height: 20px;
  background-repeat: no-repeat; /* 반복 방지 */
}

.basic-checkbox.arrow {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.sub-checkbox-group {
  display: flex;
  margin-left: 26px;
  margin-top: 12px;
}

.sub-checkbox-group label {
  font-size: 14px;
  margin-right: 16px;
  color: var(--Color-Gray-60);
}

/* image checkbox */
.image-checkbox input[type="checkbox"] {
  margin: 0;
  margin-right: 4px;
  width: 20px;
  height: 20px;
  appearance: none;
  background-image: url("//image.chosun.com/cds/icon/box-uncheck.svg");
  position: absolute;
}

.image-checkbox input[type="checkbox"]:checked {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEHSURBVHgB7de9DkNQFMDxc9vOErvJS/A6XoDN3K423sFo8hRewmaW2Extzk00kqKHc3trOP/FR1x+8RUAJEnaTC2t9H3/CX+obdsPzwVOngC5CZCbALlZBzqOs2t7q0DP86Cua8iyjDzGGhBxZVnq6Z6sAOe4qqogTVPyWDIQdx5FEeyNg8NulI3wxp4OgvN5nlOGsXHYdWml67r3+fI4jhoWhiEEQQBKKWiaBkzj+r5/HAJiE4iCPHrmWEAqknNZ2cBvSO49ZwS4huy6jv1ALAFZn/xxHEOSJHp+GAb9IB3FYcY/+YuieL9yuLi1SO/BrRCJ4aU1jcPkr46bALkJkJsAJUn6cS848o8VfCCziwAAAABJRU5ErkJggg==");
}

/* basic radio */
.basic-label-left-radio {
  display: flex;
  align-items: center;
}

.radio-label {
  min-width: 158px;
}

.basic-label-left-radio + .basic-label-left {
  margin-top: 16px;
}

.basic-radio {
  font-weight: 500;
  white-space: nowrap;
}

.basic-radio input[type="radio"] {
  margin: 0;
  margin-right: 4px;
  width: 20px;
  height: 20px;
  appearance: none;
  background-image: url("//image.chosun.com/cds/icon/radio-uncheck.svg");
  -webkit-appearance: none;
  border: 0;
}

.basic-radio input[type="radio"]:checked {
  background-image: url("//image.chosun.com/cds/icon/radio-check.svg");
}

.basic-radio input[type="radio"]:checked + span {
  font-weight: 700;
}

.basic-radio + .basic-radio {
  margin-left: 24px;
}

.radio-box {
  width: 100%;
  display: flex;
  align-items: center;
  height: 46px;
}

/* basic select */
.custom-select-wrapper {
  width: 100%;
  position: relative;
}

.custom-select-wrapper:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 24px; /* SVG 크기 */
  height: 24px;
  background-image: url("//image.chosun.com/cds/icon/down-black.svg"); /* SVG URL */
  background-size: contain; /* SVG 크기 조정 */
  background-repeat: no-repeat; /* 이미지 반복 제거 */
  pointer-events: none; /* 화살표 눌러도 셀렉트 태그 작동하게 */
}

.basic-select {
  appearance: none; /* 브라우저 기본 화살표 제거 */
  background: var(--Surface-Surface-30);
  border: 1px solid var(--Color-Gray-40);
  border-radius: 4px;
  padding: 12px 44px 12px 12px; /* 오른쪽 공간 확보 */
  font-size: 16px;
  width: 100%;
  cursor: pointer;
  color: var(--Color-Gray-60);
  font-weight: 400;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.basic-select:valid {
  color: var(--Color-Black);
  font-weight: 700;
}

/* #next-grey60-icon {
  background-image: url("//image.chosun.com/cds/icon/next-grey60.svg");
} */

.checkbox-help-text {
  margin-left: 24px;
  margin-top: 4px;
  font-size: 14px;
  color: var(--Color-Gray-60);
}

/* separator */
.separator {
  margin: 16px 0;
  border-top: 1px solid var(--Color-Gray-20);
}

/* 모바일용 납부 방법 모달 */
.modal {
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-title {
  padding: 0 16px;
  color: var(--Color-Gray-80);
}

.modal-content {
  background: var(--Color-White);
  margin: 0 auto;
  width: 100%;
  border-radius: 20px 20px 0px 0px;
  position: fixed;
  bottom: 0;
  height: auto;
  padding-top: 54px;
}

.payment-options,
.duration-options {
  padding: 16px;
}

.payment-options .list-type-btn,
.duration-options .list-type-btn {
  margin-bottom: 16px;
}

.hidden {
  display: none;
}

.modal-close-btn,
.tooltip-close {
  position: absolute;
  top: 20px;
  right: 16px;
  width: 24px;
  height: 24px;
  background-image: url("//image.chosun.com/cds/icon/modal-close.svg"); /* SVG URL */
  background-size: contain; /* SVG 크기 조정 */
  background-repeat: no-repeat; /* 이미지 반복 제거 */
  cursor: pointer;
}

/* 푸터 */
#footer {
  border-top: 1px solid var(--Color-Gray-40);
  width: 100%;
  margin-top: 100px;
  /* height: 132px; */
  padding: 36px 0 40px;
}

.footer-copyright-basic {
  color: var(--Color-Gray-80);
  font-family: "Noto Sans KR";
  font-size: 14px;
  font-style: normal;
  line-height: 20px;
  letter-spacing: -0.07px;
}

.policy {
  font-weight: 500;
}

.site-map {
  font-weight: 500;
}
#footer a {
  color: var(--Color-Gray-80);
}

#footer a:not(:last-child):after {
  position: relative;
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1' height='14' viewBox='0 0 1 14' fill='none'%3E%3Crect width='1' height='14' fill='%23D7D7D7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 8px; /* 필요하면 간격 조절 */
  top: 2px;
}

.footer-inner {
  font-size: 14px;
  color: var(--Color-Gray-80);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 36px;
}

.footer-copyright {
  margin-top: 16px;
}

/* 툴팁 */
#noti-tooltip {
  width: 578px;
  position: absolute;
  right: 0;
  top: 35px;
  border-radius: 4px;
  background: var(--Surface-Surface-20);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
  padding: 36px 24px 24px 24px;
  z-index: 100;
}

#tooltip-title {
  text-align: left;
  font-size: 16px;
  margin-bottom: 12px;
}

.tooltip-close {
  top: 12px;
  right: 12px;
}

#tooltip-body li {
  font-size: 14px;
  list-style: disc;
  color: var(--Color-Gray-80);
  margin-left: 12px;
  margin-bottom: 6px;
}

#tooltip-body li:last-child {
  margin-bottom: 0;
}

.open-noti-tooltip {
  border: 1px solid var(--Color-Gray-20);
  background: var(--Surface-Surface-30);
  color: var(--Color-Gray-80);
  padding: 3px 10px 3px 6px;
  font-size: 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.open-noti-tooltip svg {
  margin-right: 2px;
}

/* 토스트 */
.toast-message {
  position: fixed;
  width: 80%;
  bottom: -60px; /* 초기에는 화면 밖에 배치 */
  left: 50%;
  transform: translateX(-50%);
  background: var(--Color-Red);
  color: var(--Color-White);
  padding: 8px 12px 8px 16px;
  font-size: 16px;
  transition: transform 0.5s ease, bottom 0.5s ease;
}

.toast-message.error {
  background: var(--Color-Red);
}

.toast-message.success {
  background: var(--Color-Blue);
}

/* 토스트 메시지가 나타날 때 */
.toast-message.show {
  bottom: 32px; /* 화면 아래에서 위로 올라옴 */
}

.toast-text {
  display: flex;
  align-items: flex-start;
  width: 80%;
}

.toast-text:before {
  content: "";
  display: inline-block;
  min-width: 24px;
  height: 24px;
  background-image: url("//image.chosun.com/cds/icon/error-white.svg");
  background-size: contain; /* SVG 크기 조정 */
  background-repeat: no-repeat; /* 이미지 반복 제거 */
  cursor: pointer;
  margin-right: 4px;
}

.toast-close {
  position: absolute;
  border: none;
  top: 50%;
  transform: translateY(-50%); /* 수직 중앙 정렬 */
  right: 12px;
  width: 24px;
  height: 24px;
  background-image: url("//image.chosun.com/cds/icon/close-white.svg"); /* SVG URL */
  background-size: contain; /* SVG 크기 조정 */
  background-repeat: no-repeat; /* 이미지 반복 제거 */
  cursor: pointer;
}

/* 완료 페이지 */
.container.complete {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.link-btn-box {
  display: flex;
  width: 100%;
}

.link-btn-box a {
  height: unset;
}

.link-btn-box a:hover {
  text-decoration: none;
}

a.btn-large.sub {
  color: 707070;
}

a.btn-large {
  color: var(--Color-White);
}

.container.complete .content {
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 16px;
  padding: 0 16px;
}

.content-tit {
  font-size: 24px;
}

.content-detail {
  text-align: center;
  margin-top: 24px;
}

.check-animation {
  width: 90px;
  height: 90px;
  background-image: url("https://image.chosun.com/arc/membership_subscribe/assets/animation-bg.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 24px;
}

.container.complete {
  padding: 0;
  min-height: calc(100vh - 174px);
}

.container.complete + #footer {
  margin-top: 0;
}

/* 약관 모달 */
.terms-modal-bg {
  display: none;
}

.terms-modal-bg.show {
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  top: 0;
  left: 0;
  z-index: 11;
  position: fixed;
}

.terms-modal-wrapper {
  background: var(--Surface-Surface-10);
  width: 642px;
  max-height: 90vh;
  color: var(--Color-Black);
  display: flex;
  flex-direction: column;
  margin: 60px auto 45px auto;
  border-radius: 16px;
  position: relative;
}

.terms-modal-wrapper .close-btn,
.close-btn2 {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--Surface-Surface-10);
  cursor: pointer;
}

.terms-modal-wrapper .terms-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #aaa transparent;
  overflow-x: hidden;
}

.terms-modal-wrapper .terms-header {
  width: 642px;
  background: var(--Surface-Surface-10);
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 50px 0 24px 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  border-radius: 16px;
}

.terms-modal-wrapper .terms-content {
  margin: 0 0 114px 0;
  overflow: auto;
  padding: 0 32px;
}

.terms-modal-box .terms-title.hidden {
  display: none;
}

.terms-modal-wrapper .terms-agree-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 48px);
  min-height: 52px;
  box-sizing: border-box;
  border: 0;
  border-radius: 100px;
  background: var(--Color-Black);
  color: var(--Color-White);
  font-family: "Noto Sans KR";
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.08px;
  padding: 14px 0;
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 101;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.terms-modal-wrapper .terms-agree-btn.hidden {
  display: none;
}

/* 토스트 모달 */
.toast-modal {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 52px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  width: 100%;
  padding: 8px 12px 8px 16px;
  background: var(--blue);
  z-index: 10;
}

.toast-modal .left-section {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.toast-modal .left-section .check-icon {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 4px;
}

.toast-modal .left-section .message {
  color: var(--ETC-White-Static);
  font-family: "Noto Sans KR";
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.08px;
}

.toast-modal .right-section {
  width: 20px;
  height: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  border: none;
  cursor: pointer;
}

/* 휴대폰 로그인, 회원가입 공통 class */
/* margin, padding */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox  */
input[type="number"] {
  -moz-appearance: textfield;
}

input:focus {
  outline: none;
}

input {
  box-sizing: border-box;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.phone-wrapper {
  display: flex;
  position: relative;
  flex-direction: column;
  width: 468px;
  padding: 0px 24px;
  background-color: var(--Color-White);
  margin: 100px auto 0;
}

.mobile-lnb {
  display: none;
}

.phone-title {
  font-family: "Noto Sans KR";
  font-size: 30px;
  font-style: normal;
  line-height: 42px;
  letter-spacing: -0.15px;
  color: var(--Color-Black);
}

.phone-back-btn {
  display: none;
}

.phone-title-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 32px;
}

.phone-title2 {
  display: inline-block;
  text-align: center;
  width: 100%;
  font-family: "Noto Sans KR";
  font-size: 30px;
  font-style: normal;
  line-height: 42px;
  letter-spacing: -0.15px;
  color: var(--Color-Black);
  padding-bottom: 16px;
}
.phone-sub-title {
  color: var(--Color-Black);
  text-align: center;
  font-family: "Noto Sans KR";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px; /* 150% */
  letter-spacing: -0.1px;
}

.phone-input-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: 24px;
}

.gift-agree-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px 0;
  border-top: 1px solid var(--Color-Black);
  border-bottom: 1px solid var(--Color-Black);
}

.phone-input-wrapper .hidden {
  display: none;
}

.phone-input-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

.two-btn-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 32px;
}

.phone-input-title {
  color: var(--Color-Black);
  font-family: "Noto Sans KR";
  font-size: 16px;
  font-style: normal;
  line-height: 24px; /* 150% */
  letter-spacing: -0.08px;
  padding-bottom: 6px;
}

.phone-input-title2 {
  text-align: center;
  display: inline-block;
  color: var(--Color-Black);
  font-family: "Noto Sans KR";
  font-size: 16px;
  font-style: normal;
  line-height: 24px; /* 150% */
  letter-spacing: -0.08px;
  padding-bottom: 32px;
}

.phone-basic-input {
  width: 100%;
  border: 1px solid var(--Color-Gray-40);
  border-radius: 4px;
  padding: 12px;
  height: 46px;
  background-color: var(--Color-White);
}

.phone-basic-input::placeholder {
  color: var(--Color-Grey-60);
  font-family: "Noto Sans KR";
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.08px;
}

.phone-basic-input:focus {
  border: 1px solid var(--Color-Black);
}

.phone-basic-input.disabled {
  border: 1px solid var(--Color-Grey-20);
  background: var(--Color-Grey-10);
  color: var(--Color-Black);
}

.phone-check-input {
  width: 100%;
  border: 1px solid var(--Color-Blue);
  border-radius: 4px;
  padding: 12px;
  height: 46px;
  background-color: var(--Color-White);
}

.phone-check-input:focus {
  border: 1px solid var(--Color-Blue);
}

.phone-error-input {
  width: 100%;
  border: 1px solid var(--Color-Red);
  border-radius: 4px;
  padding: 12px;
  height: 46px;
  background-color: var(--Color-White);
}

.phone-error-input:focus {
  border: 1px solid var(--Color-Red);
}

.phone-success-input {
  width: 100%;
  border: 1px solid var(--Color-Blue);
  border-radius: 4px;
  padding: 12px;
  height: 46px;
  background-color: var(--Color-White);
}

.phone-success-input:focus {
  border: 1px solid var(--Color-Blue);
}

.phone-readonly-input {
  width: 100%;
  background-color: var(--Color-Gray-10);
  border: 1px solid var(--Color-Gray-20);
  border-radius: 4px;
  padding: 12px;
  height: 46px;
}

.phone-notice-input {
  width: 100%;
  border: 1px solid var(--Color-Red);
  border-radius: 4px;
  padding: 12px;
  height: 46px;
  background-color: var(--Color-White);
}

.phone-notice-input:focus {
  outline: none;
}

.phone-input-black-text {
  color: var(--Color-Black);
  font-family: "Noto Sans KR";
  font-size: 16px;
  font-style: normal;
  line-height: 24px;
  letter-spacing: -0.08px;
}

.phone-input-notice-grey {
  color: var(--Color-Gray-80);
  font-family: "Noto Sans KR";
  font-size: 14px;
  font-style: normal;
  line-height: 20px;
  letter-spacing: -0.07px;
  padding-top: 4px;
}

.phone-input-notice-red {
  color: var(--Color-Red);
  font-family: "Noto Sans KR";
  font-size: 14px;
  font-style: normal;
  line-height: 20px;
  letter-spacing: -0.07px;
  padding-top: 4px;
}

.phone-button-small {
  border-radius: 4px;
  border: 1px solid var(--Color-Black) !important;
  background: var(--Color-White) !important;
  margin-left: var(--spacer-default-xxs);
  height: 46px;
  padding: 0 16px !important;
  width: 113px;
  cursor: pointer;
}

.phone-button-small.disabled {
  background: var(--Color-Grey-40) !important;
  color: var(--Color-Grey-60) !important;
  border: none !important;
  cursor: inherit;
}

.phone-button-small2 {
  border-radius: 4px;
  border: 1px solid var(--Color-Black) !important;
  background: var(--Color-White) !important;
  margin-left: var(--spacer-default-xxs);
  height: 46px;
  padding: 0 16px !important;
  width: auto;
  cursor: pointer;
}

.phone-button-black-text {
  color: var(--Color-Black);
  font-family: "Noto Sans KR";
  font-size: 14px;
  font-style: normal;
  line-height: 24px;
  letter-spacing: -0.08px;
}

.phone-terms-wrapper {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--Color-Grey-20);
  border-bottom: 1px solid var(--Color-Grey-60);
  padding: 18px 0 24px;
}

.phone-terms-wrapper .giftcard-sub-title {
  font-family: "Noto Sans KR";
  text-align: left;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.06px;
  color: var(--Color-Black);
  word-break: keep-all;
  padding-bottom: 8px;
}

.phone-terms-wrapper .giftcard-term-btn {
  width: 100%;
  padding: 6px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border: none;
}

.phone-terms-wrapper .giftcard-term-btn.hidden {
  display: none;
}

.phone-terms-wrapper .giftcard-term-title {
  color: var(--Color-Black);
  font-family: "Noto Sans KR";
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -0.06px;
}

.phone-terms-wrapper .giftcard-term-sub {
  color: var(--Color-Grey-80);
  font-family: "Noto Sans KR";
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -0.06px;
  text-decoration-line: underline;
}

.giftcard-notice-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  overflow: hidden;
}

.giftcard-notice-wrapper .drop-down-box {
  display: flex;
  flex-direction: column;
}

.giftcard-notice-wrapper .drop-down-box.hidden {
  display: none;
}

.giftcard-notice-wrapper .gift-notice-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border: none;
  cursor: pointer;
}

.giftcard-notice-wrapper .gift-notice-btn::after {
  content: "";
  display: inline-block;
  /* background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M14.285 6.9165L15.4634 8.09512L10.2317 13.3259L5 8.09512L6.17841 6.9165L10.2316 10.9685L14.285 6.9165Z" fill="%23707070"/></svg>'); */
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.giftcard-notice-wrapper .gift-notice-btn.active::after {
  transform: rotate(180deg);
}

.giftcard-notice-wrapper .gift-notice-title {
  color: var(--Color-Black);
  font-family: "Noto Sans KR";
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.07px;
  padding-bottom: 8px;
}

.giftcard-notice-wrapper .gift-notice-title.padding-20 {
  padding-top: 20px;
  padding-bottom: 0;
}

.giftcard-notice-wrapper .gift-notice-subtitle {
  color: var(--Color-Grey-80);
  font-family: "Noto Sans KR";
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.07px;
  padding: 4px 0;
  word-break: break-all;
}

.giftcard-notice-wrapper .gift-notice-subtitle.padding-0 {
  padding: 0;
}

.giftcard-notice-wrapper .gift-notice-subtitle.paddingTop {
  padding: 4px 0 0;
}

.giftcard-notice-wrapper .gift-notice-box {
  display: flex;
  flex-direction: row;
}

.giftcard-notice-wrapper .gift-notice-box:first-of-type {
  padding: 8px 0;
}

.giftcard-access-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  border: 0;
  padding: 14px 0;
  color: var(--ETC-White-Static);
  font-family: "Noto Sans KR";
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.08px;
  border-radius: 100px;
  background: var(--Color-Red);
  position: relative;
  z-index: 1;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.giftcard-access-btn.disabled {
  color: var(--Color-Grey-60);
  background: var(--Color-Grey-40);
}

.giftcard-loading-btn {
  margin-top: 32px;
  width: 100%;
  height: 52px;
  border-radius: 100px;
  background: var(--Color-Red);
}

/* 기프트 카드 모달 */
.giftcard-modal-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  background: var(--Surface-Surface-10);
  width: 480px;
  min-height: 447px;
}

.giftcard-modal-wrapper .close-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding: 12px 12px 0 0;
}

.giftcard-modal-wrapper .close-wrapper .close-btn {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.giftcard-modal-wrapper .bottom-section {
  width: 100%;
  padding: 12px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.giftcard-modal-wrapper .main-title {
  color: var(--Color-Black);
  text-align: center;
  font-family: "Noto Sans KR";
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: -0.12px;
}

.giftcard-modal-wrapper .main-title .highlight {
  color: var(--Color-Red);
  text-align: center;
  font-family: "Noto Sans KR";
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: -0.12px;
}

.giftcard-modal-wrapper .sub-title {
  color: var(--Color-Black);
  text-align: center;
  font-family: "Noto Sans KR";
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.09px;
  word-break: keep-all;
  margin-bottom: 0;
  margin-top: 12px;
}

.giftcard-modal-wrapper .seperate-line {
  width: 100%;
  height: 1px;
  background: var(--Color-Grey-20);
  margin: 24px 0;
}

.giftcard-modal-wrapper .method-box {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 2px 0;
}

.giftcard-modal-wrapper .method-box.bottom-8 {
  margin-bottom: 8px;
}

.giftcard-modal-wrapper .method-box .num-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  padding: 4px;
  border-radius: 99px;
  background: var(--Membership-FG-80);
  color: var(--Color-White);
  text-align: center;
  font-family: "Noto Sans KR";
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: -0.06px;
}

.giftcard-modal-wrapper .method-title1,
.giftcard-modal-wrapper .method-title2 {
  color: var(--Color-Black);
  font-family: "Noto Sans KR";
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -0.09px;
}

.giftcard-modal-wrapper .method-title1 {
  font-weight: 700;
  padding-bottom: 12px;
}

.giftcard-modal-wrapper .method-title2 {
  font-weight: 500;
  margin: 0 12px 0 6px;
}

.giftcard-modal-wrapper .move-link-btn {
  border-radius: 100px;
  border: 1px solid var(--Color-Grey-40);
  background: var(--Surface-Surface-30);
  padding: 4px 12px;
  color: var(--Color-Grey-80);
  font-family: "Noto Sans KR";
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -0.06px;
}

.giftcard-input-notice-box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 12px;
}

.app-unsubscribe-notice-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.app-unsubscribe-notice-wrapper.hidden {
  display: none;
}

.app-unsubscribe-notice-wrapper .notice-dropdown-btn {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border: none;
  cursor: pointer;
  color: var(--Color-Black);
  font-family: "Noto Sans KR";
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  letter-spacing: -0.09px;
  padding: 8px 0;
}

.app-unsubscribe-notice-wrapper .notice-dropdown-arrow {
  width: 20px;
  height: 20px;
}

.app-unsubscribe-notice-wrapper .notice-dropdown-arrow.active {
  transform: rotate(180deg);
}

.app-unsubscribe-notice-wrapper .notice-dropdown-section {
  display: block;
  list-style-type: decimal !important;
  list-style-position: outside;
  padding-left: 20px;
  color: var(--Color-Grey-80);
  font-family: "Noto Sans KR";
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.08px;
  word-break: keep-all;
  margin-top: 8px;
}

.app-unsubscribe-notice-wrapper .notice-dropdown-section li {
  list-style: list-item !important;
}

.app-unsubscribe-notice-wrapper .notice-dropdown-section.hidden {
  display: none;
}

.giftcard-modal-wrapper .bottom-section .app-cancel-btn {
  color: var(--Color-White);
  font-family: "Noto Sans KR";
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.08px;
  border-radius: 100px;
  background: var(--Color-Red);
  margin: 24px auto 0;
  padding: 10px 20px;
  text-align: center;
}

.phone-chbox-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-bottom: 16px;
}

.phone-timer-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: absolute;
  z-index: 1;
  right: 12px;
}

.phone-time-text-blue {
  color: var(--Color-Blue);
  font-family: "Noto Sans KR";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.07px;
}

.phone-time-text-red {
  color: var(--Color-Red);
  font-family: "Noto Sans KR";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.07px;
}

.phone-time-btn {
  padding: 4px 12px !important;
  border-radius: 100px;
  border: 1px solid var(--Color-Black) !important;
  background: var(--Color-White) !important;
  height: 46px;
  cursor: pointer;
  border: 1px solid var(--Color-Gray-40) !important;
  background: var(--Color-White);
  color: var(--Color-Gray-80);
  font-family: "Noto Sans KR";
  font-size: 12px;
  line-height: 18px;
  letter-spacing: -0.06px;
  margin-left: 8px;
  height: auto;
}

.cancel-btn {
  width: 132px;
  padding: 10px 0;
  background-color: var(--Color-White);
  color: var(--Color-Gray-80);
  font-family: "Noto Sans KR";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.08px;
  border: 1px solid var(--Color-Gray-40);
  border-radius: 100px;
  margin-right: 10px;
}

.confirm-btn {
  width: 132px;
  padding: 10px 0;
  background-color: var(--Color-Black);
  color: var(--Color-White);
  font-family: "Noto Sans KR";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.08px;
  border-radius: 100px;
}

.svg-fill-black {
  fill: var(--Color-Black);
}

.svg-fill-white {
  fill: var(--Color-White);
}

.svg-bg-blue {
  fill: var(--Color-Blue);
}

.svg-bg-red {
  fill: var(--Color-Red);
}

.svg-fill-grey-60 {
  fill: var(--Color-Grey-60);
}

.svg-fill-grey-80 {
  fill: var(--Color-Grey-80);
}

.svg-fill-static-white {
  fill: var(--ETC-White-Static);
}

.pc-hidden {
  display: none;
}

.show {
  display: block;
}

.hidden {
  display: none;
}

.margin-top {
  margin-top: 32px;
}

.system-modal-bg {
  position: absolute;
  z-index: 2;
  width: 564px;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
}

.system-modal {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 5;
  width: 302px;
  padding: 23px 24px 8px 24px;
  border-radius: 4px;
  background-color: var(--Surface-Surface-10);
  top: 0;
  box-shadow: 0px 16px 24px 0px rgba(0, 0, 0, 0.14),
    0px 6px 30px 0px rgba(0, 0, 0, 0.12), 0px 8px 10px 0px rgba(0, 0, 0, 0.2);
}

.system-modal-text {
  color: var(--00-on-surface-medium-emphasis, rgba(0, 0, 0, 0.6));
  /* Body 2 */
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.25px;
}

.system-modal-btn {
  display: flex;
  justify-content: flex-end;
  color: #6200ee;
  /* Body 2 */
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  line-height: 20px;
  letter-spacing: 0.25px;
  outline: none;
  border: none;
  margin-top: 36px;
  cursor: pointer;
}

#toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--Color-Blue);
  color: var(--ETC-White-Static);
  padding: 8px 12px 8px 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 9999;
  width: 100%;
  max-width: 956px;
}

#toast.show {
  opacity: 1;
}

#toast .toast-inner {
  display: flex;
  align-items: center;
}

#toast .toast-inner svg {
  margin-right: 4px;
}

#toast .toast-inner svg:last-child {
  margin-left: auto;
  margin-right: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--Color-White) inset !important;
  -webkit-text-fill-color: var(--Color-Black) !important;
}

/* Firefox */
input:-moz-autofill {
  background-color: var(--Color-White) !important;
}

/* 태블릿 + 모바일 대응 */
@media only screen and (max-width: 985px) {
  .toast-modal {
    max-width: none;
    width: calc(100% - 64px);
    bottom: 16px;
  }

  .toast-modal .right-section {
    margin-left: 24px;
  }
}

/* 태블릿 대응 */
@media only screen and (max-width: 985px) and (min-width: 690px) {
}

/* 모바일 대응 */
@media only screen and (max-width: 689px) {
  nav.simple {
    height: 48px;
  }

  nav.simple a {
    height: 24px;
  }

  .logo-img {
    width: 118px;
  }

  .container {
    min-height: calc(100vh - 126px);
    padding-top: 18px;
  }

  .giftcard-wrapper {
    padding: 0 16px;
  }

  .phone-title-box {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
  }

  .phone-title-box.align-center {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 18px 0;
  }

  .phone-title {
    font-size: 18px;
    line-height: 27px;
    letter-spacing: -0.09px;
  }

  .phone-back-btn {
    width: 24px;
    height: 24px;
    display: block;
  }

  .phone-back-btn.hidden {
    display: none;
  }

  .giftcard-notice-wrapper {
    padding-bottom: 300px;
  }

  .giftcard-access-btn-wrapper {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 8px 16px;
    background-color: var(--Color-White);
    z-index: 10;
  }

  .giftcard-access-btn {
    margin-top: 0;
  }

  .giftcard-loading-btn {
    margin-top: 0;
  }

  .back-btn {
    display: none;
  }

  .back-btn-mobile {
    border: none;
    display: block;
    position: absolute;
    top: -122px;
    left: 0; /* 버튼 내부에서 이미지 위치 */
    width: 24px; /* SVG 크기 */
    height: 24px;
    background-image: url("//image.chosun.com/cds/icon/prev-arrow-black.svg"); /* SVG URL */
    background-size: contain; /* SVG 크기 조정 */
    background-repeat: no-repeat; /* 이미지 반복 제거 */
  }

  .progress-container {
    margin-top: 26px;
  }

  .welcome,
  .welcome.last {
    margin-bottom: 24px;
  }

  .section {
    margin-bottom: 40px;
    padding: 24px 16px;
  }

  .agreement,
  .sub-duration {
    margin-bottom: 0;
  }

  #account-cash-receipt-section {
    margin-bottom: 40px;
  }

  /* 공통 라벨 인풋 세트 */
  .basic-label-left,
  .basic-label-left-radio,
  .review-item {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .review-item + .review-item {
    border-top: 1px solid var(--Color-Gray-20);
    padding-top: 12px;
    margin-top: 12px;
  }

  .basic-label-left label,
  .radio-label {
    margin-bottom: 6px;
  }

  .basic-label-left.error:after,
  .basic-label-left.success:after {
    top: 69%;
  }

  .btn-box .btn-large,
  .btn-large.submit {
    /* position: fixed; */
    bottom: 0;
    width: 92%;
    margin-bottom: 16px;
    z-index: 10;
  }

  .review-item dt {
    margin-bottom: 2px;
  }

  .review-box {
    display: flex;
    flex-wrap: wrap;
  }

  .gift-items {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }

  .gift-title {
    font-weight: 500;
  }

  .image-checkbox {
    display: flex;
  }

  .image-checkbox + .image-checkbox {
    border-top: 1px solid var(--Color-Gray-20);
    padding-top: 16px;
  }

  #one-year-gift .gift-items img {
    width: 80px;
    height: 80px;
  }

  #three-month-gift .gift-items img {
    width: 80px;
    height: 106px;
  }

  .gift-info {
    margin-left: 12px;
  }

  .payment-list-btns,
  .duration-list-btns {
    grid-template-columns: repeat(1, 1fr);
  }

  .container.complete {
    min-height: calc(100vh - 78px);
  }

  #footer {
    display: none;
    margin-top: 36px;
    /* 한가지 문제가 있음, 다음버튼이 없는 스텝에서는 padding-bottom이 사실상 불필요함 */
    /* 그렇다고 다음 버튼이 없는 경우에만 따로 padding-bottom을 제거하고,*/
    /* min-height를 정석 값인 100vh-215로 돌려놓는 건 리소스가 너무 듬 */
    padding-bottom: 76px;
    height: 112px;
    border: none;
  }

  .footer-inner {
    padding-top: 24px;
    display: flex;
  }

  #noti-tooltip {
    width: inherit;
    right: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .edit-btn-box {
    position: fixed;
    bottom: 0;
    width: 92%;
    margin-bottom: 16px;
    z-index: 10;
  }

  .link-btn-box {
    position: fixed;
    bottom: 0;
    width: 92%;
    margin-bottom: 16px;
    z-index: 10;
  }

  .input-help-text {
    left: 0;
  }

  body:has(#agreement-modal[style*="display: flex"]) {
    position: fixed;
  }

  .terms-modal-wrapper {
    width: 328px;
    height: 576px;
    padding-left: 12px;
    padding-right: 8px;
  }

  .terms-modal-box {
    padding-right: 16px;
  }

  /* 기프트 카드 모달 */
  #nav2020-head .nav2020-links {
    z-index: 10 !important;
  }

  .giftcard-modal-wrapper {
    border-radius: 0;
    width: 100%;
    height: 100%;
    min-height: none;
    z-index: 1000 !important;
  }

  .giftcard-modal-wrapper .close-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--Color-Grey-40);
  }

  .giftcard-modal-wrapper .wrapper-title {
    display: block;
    color: var(--Color-Black);
    text-align: center;
    font-family: "Noto Sans KR";
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: -0.09px;
  }

  .giftcard-modal-wrapper .close-wrapper .close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
  }

  .giftcard-modal-wrapper .bottom-section {
    padding: 21px 16px 40px;
  }

  .giftcard-modal-wrapper .bottom-section .app-cancel-btn {
    width: calc(100% - 32px);
    position: fixed;
    bottom: 16px;
    padding: 14px 0;
  }

  .giftcard-modal-wrapper .main-title {
    font-size: 20px;
    line-height: 30px;
    letter-spacing: -0.1px;
  }

  .giftcard-modal-wrapper .main-title .highlight {
    font-size: 20px;
    line-height: 30px;
    letter-spacing: -0.1px;
  }

  .giftcard-modal-wrapper .sub-title {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.08px;
  }

  .giftcard-modal-wrapper .seperate-line {
    width: 100%;
    height: 1px;
    background: var(--Color-Grey-20);
    margin: 24px 0;
  }

  .giftcard-modal-wrapper .method-title1,
  .giftcard-modal-wrapper .method-title2 {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.08px;
  }

  .app-unsubscribe-notice-wrapper .notice-dropdown-btn {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.08px;
  }

  .terms-modal-wrapper {
    width: 100%;
    height: 100%;
    max-height: initial;
    margin: 0;
    border-radius: 0;
  }

  .terms-modal-wrapper .terms-header {
    width: 100%;
    border-bottom: 1px solid var(--Color-Grey-40);
    padding: 12px 40px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 0;
  }

  .terms-modal-wrapper .terms-content {
    padding: 0;
  }

  .terms-modal-wrapper .terms-agree-btn {
    width: calc(100% - 32px);
    bottom: 16px;
  }

  .terms-modal-wrapper .close-btn,
  .close-btn2 {
    top: 14px;
  }
}

html {
  /* 기본 색상 변수 */
  --black: #222;
  --white: #fff;
  --gray-80: #707070;
  --gray-60: #999;
  --gray-40: #d7d7d7;
  --gray-20: #eaeaea;
  --gray-10: #f7f7f7;
  --red: #c81616;
  --blue: #126ccd;

  --bg-90: #262a37;

  /* 스테틱 컬러 */
  --white-static: #fff;
  --black-static: #222;

  /* 하이라이트 컬러 */
  --high-gray-10: #f7f7f7;

  /* 서페이스 컬러 */
  --surface-10: #fff;
  --surface-20: #fff;
  --surface-30: #fff;

  /* 스페셜 컬러 */
  --light-blue: rgba(27, 159, 255, 0.08);

  /* 멤버십 컬러 */
  --mem-fg-30: #fe5454;
  --mem-fg-60: #c44040;
  --mem-fg-80: #c81616;

  /* 패딩, 마진 사이즈 */
  --spacer-default: 4px;
  --spacer-default-xxs: 4px;
  --spacer-default-xs: 8px;
  --spacer-default-sm: 12px;
  --spacer-default-md: 16px;
  --spacer-default-lg: 20px;
  --spacer-default-xl: 24px;
  --spacer-default-xxl: 28px;
  --spacer-default-xxl-2: 32px;
  --spacer-default-xxl-3: 36px;
  --spacer-default-xxl-4: 40px;

  /* 폰트 크기 대응 */
  --f30: 30px;
  --f28: 28px;
  --f24: 24px;
  --f23: 23px;
  --f22: 22px;
  --f20: 20px;
  --f18: 18px;
  --f16: 16px;
  --f15: 15px;
  --f14: 14px;
  --f12: 12px;

  /* letter spacing */
  --letter-spacing-default: -0.07px;
  --letter-spacing-xs: -0.06px;
  --letter-spacing-sm: -0.08px;
  --letter-spacing-md: -0.11px;
  --letter-spacing-lg: -0.12px;
  --letter-spacing-xl: -0.15px;
  --letter-spacing-xxl: 0.06px;
}

:root {
  /* 의미적 색상 변수 매핑 */
  --Color-Black: var(--black);
  --Color-White: var(--white);
  --Color-Red: var(--red);
  --Color-Blue: var(--blue);
  --Color-Gray-10: var(--gray-10);
  --Color-Gray-20: var(--gray-20);
  --Color-Gray-40: var(--gray-40);
  --Color-Gray-60: var(--gray-60);
  --Color-Gray-80: var(--gray-80);

  --ETC-White-Static: var(--white-static);
  --ETC-Black-Static: var(--black-static);
  --ETC-G10-High: var(--high-gray-10);

  --Surface-Surface-10: var(--surface-10);
  --Surface-Surface-20: var(--surface-20);
  --Surface-Surface-30: var(--surface-30);

  --Membership-FG-30: var(--mem-fg-30);
  --Membership-FG-60: var(--mem-fg-60);
  --Membership-FG-80: var(--mem-fg-80);
  --Membership-BG-30: var(--mem-bg-30);
  --Membership-BG-60: var(--mem-bg-60);
  --Membership-BG-80: var(--mem-bg-80);
  --Membership-BG-90: var(--mem-bg-90);

  --Membership-BG-30: var(--mem-bg-30);
  --Membership-BG-60: var(--mem-bg-60);
  --Membership-BG-80: var(--mem-bg-80);
}

/* 다크모드 대응 */
@media (prefers-color-scheme: dark) {
  body {
    background: #222;
  }

  .sub-checkbox-group input[type="checkbox"],
  .basic-checkbox input[type="checkbox"],
  .image-checkbox input[type="checkbox"] {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTcuNSAyLjVWMTcuNUgyLjVWMi41SDE3LjVaIiBmaWxsPSIjNzA3MDcwIi8+CiAgPHBhdGggZD0iTTE2LjUgMy41SDMuNVYxNi41SDE2LjVWMy41WiIgZmlsbD0iIzM2MzYzNiIvPgo8L3N2Zz4=");
  }

  .sub-checkbox-group input[type="checkbox"]:checked,
  .basic-checkbox input[type="checkbox"]:checked,
  .image-checkbox input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMi41IDE3LjVIMTcuNVYyLjVIMi41VjE3LjVaIiBmaWxsPSIjZmZmZmZmIi8+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC40NjQ2IDUuODMzMzNMMTUuODMzNyA3LjIzNDUzTDkuMDYwNzcgMTQuMTY2N0w0LjE2Njk5IDkuMTU4OTJMNS41MzU5MyA3Ljc1NzQ5TDkuMDU5NzkgMTEuMzY0M0wxNC40NjQ2IDUuODMzMzNaIiBmaWxsPSIjMjIyMjIyIi8+Cjwvc3ZnPg==");
  }

  .basic-radio input[type="radio"] {
    background-image: url("//image.chosun.com/cds/icon/radio-uncheck-dark.svg");
  }

  .basic-radio input[type="radio"]:checked {
    background-image: url("//image.chosun.com/cds/icon/radio-check-dark.svg");
  }

  html {
    /* 기본 색상 변수 - 다크모드 */
    --black: #fff; /* 라이트모드의 black이 다크모드에서는 white로 */
    --white: #222; /* 라이트모드의 white가 다크모드에서는 black으로 */
    --gray-80: #d7d7d7;
    --gray-60: #999;
    --gray-40: #707070;
    --gray-20: #434343;
    --gray-10: #2d2d2d;
    --red: #f04348;
    --blue: #1b9fff;

    --bg-90: #2f333d;

    /* 하이라이트 컬러 */
    --high-gray-10: #3e3e3e;

    /* 서페이스 컬러 */
    --surface-10: #282828;
    --surface-20: #2d2d2d;
    --surface-30: #363636;

    /* 스페셜 컬러 */
    --light-blue: rgba(27, 159, 255, 0.08);

    /* 멤버십 컬러 */
    --mem-fg-30: #fe5454;
    --mem-fg-60: #f97176;
    --mem-fg-80: #c81616;
  }

  .dropdown-selection .dropdown-menu {
    box-shadow: unset;
  }

  .dropdown-selection #dropdown-icon {
    background-image: url("//image.chosun.com/cds/icon/down-blue-dark.svg");
  }

  /* 아이콘중 순도 블랙이라 전환 가능한 것들 처리 */
  #date-icon,
  .agreement-modal-close,
  .payment-select-modal-close,
  .custom-select-wrapper::after {
    filter: invert(1);
  }

  .back-btn::before {
    background-image: url("//image.chosun.com/cds/icon/prev-arrow-grey-dark.svg");
  }
}

@media (hover: hover) and (pointer: fine) {
}
