.nts-step-check-icon {
    width: 16px;
    height: 16px;
    position: relative;
    overflow: hidden;
}

.nts-step-check-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.nts-step-check-icon svg {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
}

.btn.btn_light_gray_line.online-mobile-cert span {
    line-height: 1;
}
#bid-auto-btn {
    /*jira - 931 온라인경매 > 자동응찰 팝업 > 버튼 높이 추가*/
    height: 100%;
}
.btn_set.bid-type-auto.active {
    overflow: hidden;
}
.box-phone-verified {
    text-align: center;
    border-top: 1px solid #999;
    padding: 20px;
    margin-top: 20px;
}
.box-phone-verified .title-phone-verified {
    color:#21A099;
    font-weight: 700;
    font-size: 16px;
    margin: 20px 0;
}
.edit-phone .btn.btn_gray_line {
    min-width: 150px;
}
.box-phone-verified .phone-no {
    margin-bottom: 20px;
    background-image: url("https://seoulauction.com/images/common/icon-badge-check.svg");
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 25px;
    display: inline-block;
    color: #111;
    font-size: 20px;
    font-weight: 500;

}
.trp.popupfixed-wrap.online_confirm-popup .accordion-area .con-area .con-body .text-area ul.auction-terms-wrap hr.total-line {
    border-bottom: 1px solid #d4d4d4;
    border-top: none;
    margin: 20px 0;
}
.trp.popupfixed-wrap.online_confirm-popup .accordion-area .con-area .con-body .text-area ul.auction-terms-wrap li .trp.checkbox-box label.total-line-label {
    color: var(--Black, #111);
    font-size: 18px;
    font-weight: 500;
    line-height: 24px; /* 133.333% */
    letter-spacing: -0.54px;
}
.trp.popupfixed-wrap.online_confirm-popup .accordion-area .con-area .con-body .text-area ul.auction-terms-wrap li,
.trp.popupfixed-wrap.online_confirm-popup .accordion-area .con-area .con-body .text-area ul.auction-terms-wrap li .trp.checkbox-box label,
.trp.popupfixed-wrap.online_confirm-popup .accordion-area .con-area .con-body .text-area ul.mark_dot-list.auction-terms-wrap li {
    font-size: 16px;
    color: #888;
    font-weight: normal;
}
.trp.popupfixed-wrap.bidding-online-popup .product-list-area .list-body#online-bid-list-body .product-list li .product-day {
    padding:0 5px 0 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 2px

}
.trp.popupfixed-wrap.bidding-online-popup .product-list-area .list-body#online-bid-list-body .product-list li .product-day >em,
.trp.popupfixed-wrap.bidding-online-popup .product-list-area .list-body#online-bid-list-body .product-list li .product-day >span {
    display: inline-block;
}
.trp.popupfixed-wrap.online_confirm-popup {
    -webkit-font-smoothing: antialiased; /* Mac에서 부드럽게 */
    -moz-osx-font-smoothing: grayscale; /* Mac에서 부드럽게 */
    text-rendering: optimizeLegibility; /* 가독성 최적화 */
}
/*온라인 경매 > 국세청 약관 동의*/
  .nts-agree-wrapper {
  }

.nts-demo-wrapper {
}

.nts-step-information-container {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 20px 0;
}

.nts-step-container {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nts-step-number-container {
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 10px 10px;
    border-radius: 9999px;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.nts-step-number-container.nts-active {
    background-color: #4dc9c3;
    box-shadow: 0px 0px 0px 4px #ebfaf9;
}
div.nts-step-number-container.nts-step-checked {
    padding: 0;
    box-shadow: none;
}
.nts-step-number {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    color: #2b2b2b;
    margin: 0;
    width: 100%;
    flex-shrink: 0;
}

.nts-step-number-container.nts-active .nts-step-number {
    color: white;
}

.nts-step-text {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    color: #757575;
    margin: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

.nts-step-text.nts-active {
    font-weight: 600;
    color: #39c3bc;
}

.nts-step-divider {
    flex: 1;
    min-width: 1px;
    height: 0;
    min-height: 1px;
    position: relative;
}

@keyframes nts-divider-fill {
    from { width: 0; }
    to { width: 100%; }
}

.nts-step-divider.nts-active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background-image: radial-gradient(circle, #39c3bc 1px, transparent 1px);
    background-size: 6.1px 2px;
    background-repeat: repeat-x;
    background-position: 0 0;
    transform: translateY(-50%);
    animation: nts-divider-fill 0.4s ease forwards;
}

.nts-divider-svg {
    display: block;
    width: 100%;
    height: 2px;
}

.nts-step-divider.nts-active .nts-divider-svg {
    display: none;
}

.nts-alert-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

/* Alert Message Container */
.nts-alert-message-container {
    background-color: #fef3f2;
    border: 1px solid #fda19b;
    border-radius: 4px;
    padding: 8px 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.nts-alert-icon-container {
    display: flex;
    align-items: center;
    height: 28px;
    flex-shrink: 0;
}

.nts-alert-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.nts-alert-text-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #d92d20;
}

.nts-alert-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    margin-bottom: 0;
}

.nts-alert-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    margin-top: 0;
}

.nts-alert-description-bold {
    font-weight: 600;
}

/* Calculation Container */
.nts-calculation-container {
    width: 100%;
    position: relative;
}

.nts-calculation-list-container {
    border-radius: 4px;
    position: relative;
}

.nts-watermark-container {
    position: absolute;
    top: 53px;
    left: 50%;
    transform: translateX(-50%) rotate(-12deg);
    z-index: 3;
    pointer-events: none;
}

.nts-watermark {
    opacity: 0.1;
    border: 7px solid rgba(28, 28, 28, 0.6);
    border-radius: 11px;
    padding: 13px 29px;
}

.nts-watermark-text {
    font-size: 72px;
    font-weight: 600;
    color: rgba(28, 28, 28, 0.6);
    white-space: nowrap;
    line-height: 1;
}

.nts-calculation-header-container {
    background-color: #fafafa;
    border-radius: 4px;
    padding: 12px;
}

.nts-calculation-header {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #2b2b2b;
}

.nts-calculation-item-list {
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    border-top: 1px solid #e5e5e5;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    position: relative;
    z-index: 2;
}

.nts-calculation-item-container {
    border-top: 1px solid #e5e5e5;
    padding: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    background: white;
}

.nts-calculation-label-container {
    width: 140px;
    flex-shrink: 0;
}

.nts-calculation-label {
    font-size: 16px;
    line-height: 26px;
    color: #575757;
    font-weight: 400;
}

.nts-calculation-label-red {
    color: #d92d20;
    font-weight: 500;
}

.nts-calculation-value {
    flex: 1;
    font-size: 16px;
    line-height: 26px;
    text-align: right;
    font-weight: 500;
    color: #111;
}

.nts-calculation-value-red {
    color: #d92d20;
}

/* Total Payment Container */
.nts-total-payment-container {
    background-color: #2b2b2b;
    padding: 8px 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    color: white;
    border-radius: 0 0 4px 4px;
}

.nts-total-payment-text-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nts-total-payment-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
}

.nts-total-payment-subtitle {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.nts-total-payment-amount {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    text-align: right;
}

/* Notice List */
.nts-notice-list {
    list-style-position: outside;
    padding-left: 10px;
    margin-bottom: 40px;
}

.nts-notice-list li {
    position: relative;
    padding-left: 12px;
    font-size: 16px;
    line-height: 26px;
    color: #2b2b2b;
    font-weight: 400;
}

.nts-notice-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2b2b2b;
}

.nts-notice-list-bold {
    font-weight: 600;
}

/* Checkbox Container */
.nts-checkbox-container {
    background-color: white;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.nts-checkbox-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* Hidden checkbox input */
.nts-checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Checkbox visual */
.nts-checkbox-visual-wrapper {
    display: flex;
    align-items: center;
    padding-top: 2px;
    flex-shrink: 0;
}

.nts-checkbox-visual {
    width: 20px;
    height: 20px;
    background-color: white;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Check icon (hidden by default) */
.nts-check-icon {
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.nts-check-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

/* Text content */
.nts-checkbox-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nts-checkbox-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #2b2b2b;
    white-space: nowrap;
}

.nts-checkbox-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #575757;
}

/* Checked state styles */
.nts-checkbox-label input:checked + .nts-checkbox-container {
    background-color: #f0fffe;
    border-color: #4dc9c3;
}

.nts-checkbox-label input:checked + .nts-checkbox-container .nts-checkbox-visual {
    background-color: #39c3bc;
    border-color: #39c3bc;
}

.nts-checkbox-label input:checked + .nts-checkbox-container .nts-check-icon {
    opacity: 1;
    transform: scale(1);
}

/* Hover effect */
.nts-checkbox-label:hover .nts-checkbox-container {
    border-color: #4dc9c3;
}


@media all and (max-width: 1023px) {
    .nts-notice-list {
        margin-bottom: 20px;
    }
    .nts-alert-container {
        padding-left: 25px;
        padding-right: 25px;
    }
    .nts-step-information-container {
        padding-left: 25px;
        padding-right: 25px;
        height: 24px;
    }
    .trp.popupfixed-wrap.online_confirm-popup.online_confirm-nts-popup .btn-area .tac a {
        margin-top: 16px;
    }
    .nts-fixed-bottom {
        padding: 8px 25px 16px
    }
    .nts-step-number-container {
        width: 24px;
        height: 24px;
        padding: 2px 0 0;
    }
    .nts-step-check-icon {
        width: 12px;
        height: 12px;
    }
    .nts-step-number {
        font-size: 12px;
    }
    .nts-alert-title {
        font-size: 16px;
        line-height: 26px;
    }
    .nts-total-payment-title {
        font-size: 14px;
        line-height: 22px;
    }
    .nts-total-payment-subtitle {
        font-size: 11px;
        line-height: 14px;
    }
    .nts-notice-list li {
        font-size: 14px;
        line-height: 22px;
    }
    .trp.popupfixed-wrap.bidding-online-popup .product-list-area .list-body#online-bid-list-body .product-list li .product-day em {
        position: initial;
    }

    .bid-type-auto .btn_item:last-child .btn.btn_lg:lang(en) {
        padding: 8px
    }

    .bid-type-auto .btn_item:last-child .btn.btn_lg .bid-text.double_line:lang(en) {
        font-size: 12px;
        /*line-height: 1.5;*/
    }

    .trp.popupfixed-wrap.online_confirm-popup .accordion-area .con-area .con-body .text-area ul.auction-terms-wrap li,
    .trp.popupfixed-wrap.online_confirm-popup .accordion-area .con-area .con-body .text-area ul.auction-terms-wrap li .trp.checkbox-box label,
    .trp.popupfixed-wrap.online_confirm-popup .accordion-area .con-area .con-body .text-area ul.mark_dot-list.auction-terms-wrap li {
        font-size: 14px;
    }

    .trp.popupfixed-wrap.bidding-online-popup .product-list-area .list-body#online-bid-list-body .product-list li .product-user {
        width: 26%;
    }

    .trp.popupfixed-wrap.bidding-online-popup .product-list-area .list-body#online-bid-list-body .product-list li .product-price {
        width: 30%;
        padding: 0;
    }

    .trp.popupfixed-wrap.bidding-online-popup .product-list-area .list-body#online-bid-list-body .product-list li .product-day {
        width: 44%;

    }

    .trp.popupfixed-wrap.bidding-online-popup .product-list-area .list-body#online-bid-list-body .product-list li > div.product-price span {
        width: 100%;
        text-align: right;
        display: inline-block;
    }

    .content-panel.type_panel-product_view .product_detail-article .button-area .btn_set.cols_2 .btn_item.wrap-btn-half:first-child {
        margin-right: 0;
    }

    .content-panel.type_panel-product_view .product_detail-article .button-area .btn_set.cols_2 .btn_item.wrap-btn-half .op_hover {
        display: none;
    }
}

/* =====================================================
   NTS 팝업 고정 레이아웃 (상단/하단 고정 + 가운데 스크롤)
   scroll-type2-200 은 onlineAuthIdentityVarifiedNtsPopup.jsp 에서만 사용
   ===================================================== */

/* pop-body flex 컨테이너 전환 */
.pop-body.scroll-type.scroll-type2-200 {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* section flex 컨테이너 전환 */
.pop-body.scroll-type.scroll-type2-200 > .section {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

/* 상단 고정 영역: .text-area, .nts-step-information-container */
.trp.popupfixed-wrap.online_confirm-popup .pop-body > .section > .text-area,
.trp.popupfixed-wrap.online_confirm-popup .pop-body > .section > .nts-step-information-container {
    flex-shrink: 0;
}

/* 가운데 스크롤 영역 */
.trp.popupfixed-wrap.online_confirm-popup .nts-scroll-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 하단 고정 영역 */
.trp.popupfixed-wrap.online_confirm-popup .nts-fixed-bottom {
    flex-shrink: 0;
}

/* 모바일: pop-body 높이 = 전체 높이 - pop-header(63px) */
@media all and (max-width: 1023px) {
    .trp.popupfixed-wrap .popup-align.mode-ms.pop-body-100 .pop-panel div.pop-body.scroll-type.scroll-type2-200 {
        height: calc(var(--vh, 1vh) * 100 - 63px);
        max-height: calc(var(--vh, 1vh) * 100 - 63px);
    }
}

