@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');

/* =========================
   기본
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans KR', sans-serif !important;
    background: #ffffff;
    color: #222;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* layout.css와 동일: 헤더·본문·푸터 세로 배치 (contract.css가 나중에 로드돼도 유지) */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer.footer-wrapper {
    flex-shrink: 0;
    width: 100%;
}

.mobile-contract-main {
    flex: 1 0 auto;
    width: 100%;
}

/* 모바일 컨테이너 */
.mobile-container {
    width: 40%;
    margin: 30px auto 0;
    background-color: #fff;
    position: relative;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    padding-bottom: 40px;
}

.mobile-container02 {
    width: 60%;
    margin: 6vh auto;
    background-color: #fff;
    position: relative;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    padding-bottom: 40px;
}

/* =========================
   전체 영역
========================= */
.mobile-container.contract-home {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 0 20px 40px;
    background: #fff;
}

/* 로고 헤더 */
.logo-area {
    text-align: center;
    padding: 40px 20px 10px;
}

.logo-area img {
    height: 40px;
}

.logo-area .logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.logo-area .logo-sub {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

/* =========================
   상단 카드 2개
========================= */
.contract-home-main {
    display: flex;
    justify-content: center;
    gap: 28px;
    align-items: stretch;
}

.contract-card {
    position: relative;
    width: 274px;
    border-radius: 24px;
    text-decoration: none;
    padding: 32px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background:
            radial-gradient(circle at 24% 18%, rgba(255,255,255,0.10), transparent 34%),
            linear-gradient(180deg, #3f63c2 0%, #2f4f9f 58%, #24469a 100%);
    box-shadow:
            0 12px 28px rgba(34, 61, 133, 0.16),
            0 22px 44px rgba(30, 42, 88, 0.08),
            inset 0 1px 0 rgba(255,255,255,0.10);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contract-card:hover {
    transform: translateY(-2px);
}

.contract-card:active {
    transform: translateY(1px) scale(0.99);
}

.rental-period-group {
    align-items: flex-start;
}

.rental-period-group > label {
    padding-top: 11px;
}

.rental-period-field {
    flex: 1;
    min-width: 0;
}

.form-group .rental-period-field .form-control {
    width: 100%;
    margin-bottom: 0;
}

.rental-period-presets {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.rental-period-preset {
    flex: 1;
    min-height: 44px;
    border: 1px solid #cfd9ed;
    border-radius: 12px;
    background: #f6f8fc;
    color: #3159a5;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.rental-period-preset.is-active {
    border-color: #3159a5;
    background: #3159a5;
    color: #fff;
}

@media (max-width: 768px) {
    .rental-period-presets {
        gap: 6px;
    }

    .rental-period-preset {
        min-width: 0;
        min-height: 40px;
        padding: 0 6px;
        font-size: 14px;
        white-space: nowrap;
    }
}

/* =========================================================
   전자계약 메인 허브 (모바일 전용, 767px 이하)
   태블릿·PC 기존 화면은 contract-home-desktop-ui로 유지한다.
========================================================= */
.contract-mobile-hub,
.contract-mobile-bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    body.contract-hub-page {
        display: block;
        min-height: 100vh;
        min-height: 100dvh;
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
        background: #fff;
        color: #101b33;
    }

    .contract-hub-page .contract-home-desktop-ui,
    .contract-hub-page footer.footer-wrapper {
        display: none;
    }

    .contract-mobile-hub {
        display: block;
        width: 100%;
        max-width: 520px;
        min-height: calc(100dvh - 144px);
        margin: 0 auto;
        padding: 18px 20px 34px;
    }

    .contract-mobile-hero {
        min-height: 205px;
        display: grid;
        grid-template-columns: minmax(0, 1.14fr) minmax(120px, .86fr);
        align-items: center;
        gap: 4px;
        padding: 12px 0 26px;
    }

    .contract-mobile-copy {
        position: relative;
        z-index: 1;
        min-width: 0;
    }

    .contract-mobile-copy h1 {
        margin: 0;
        color: #101b33;
        font-size: clamp(28px, 7.8vw, 35.5px);
        font-weight: 500;
        line-height: 1.25;
        letter-spacing: -0.055em;
        white-space: nowrap;
    }

    .contract-mobile-illustration {
        width: 100%;
        align-self: center;
        transform: translate(8px, 7px);
        pointer-events: none;
    }

    .contract-mobile-illustration svg {
        display: block;
        width: 100%;
        height: auto;
        filter: drop-shadow(0 12px 18px rgba(44, 91, 179, 0.08));
    }

    .contract-mobile-card-list {
        display: grid;
        gap: 22px;
    }

    .contract-mobile-card {
        position: relative;
        width: 100%;
        min-height: 80px;
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 9px 17px;
        overflow: hidden;
        border-radius: 18px;
        background: #e7f2ff;
        color: #13223f;
        text-decoration: none;
        box-shadow: 0 6px 16px rgba(31, 61, 105, .07);
        -webkit-tap-highlight-color: transparent;
        transition: transform .16s ease, box-shadow .16s ease;
    }

    .contract-mobile-card:active {
        transform: scale(.985);
        box-shadow: 0 4px 11px rgba(31, 61, 105, .07);
    }

    .contract-mobile-card:focus-visible {
        outline: 3px solid rgba(31, 105, 230, .3);
        outline-offset: 3px;
    }

    .contract-mobile-card-short {
        background: #dff5ef;
    }

    .contract-mobile-card-long {
        background: #fff0d9;
    }

    .contract-mobile-card-icon {
        width: 62px;
        height: 62px;
        min-width: 62px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 5px 14px rgba(15, 49, 111, .12);
    }

    .contract-mobile-card-icon img {
        display: block;
        width: auto;
        height: auto;
        max-width: none;
        object-fit: contain;
    }

    .contract-mobile-card-image-used {
        width: 65px !important;
        height: 65px !important;
        transform: translate(-6px, -5px);
    }

    .contract-mobile-card-image-short {
        width: 72px !important;
        height: 72px !important;
        transform: translate(-9px, -7px);
    }

    .contract-mobile-card-image-long {
        width: 65px !important;
        height: 65px !important;
        transform: translate(-5px, -5px);
    }

    .contract-mobile-card-icon svg {
        display: block;
        width: 46px;
        height: 46px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .contract-mobile-card-used .contract-mobile-card-icon {
        color: #347feb;
    }

    .contract-mobile-card-used .contract-mobile-card-icon svg {
        stroke: #347feb;
    }

    .contract-mobile-card-long .contract-mobile-card-icon svg {
        stroke: #f39820;
    }

    .contract-mobile-card-icon .contract-icon-badge {
        fill: currentColor;
        stroke: none;
    }

    .contract-mobile-card-short .contract-mobile-card-icon {
        color: #20bba7;
    }

    .contract-mobile-card-long .contract-mobile-card-icon {
        color: #f39820;
    }

    .contract-mobile-card-icon .contract-icon-mark {
        fill: none;
        stroke: #fff;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .contract-mobile-card-copy {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .contract-mobile-card-copy strong {
        color: #13223f;
        font-size: clamp(19px, 4.45vw, 20px);
        font-weight: 600;
        line-height: 1.3;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .contract-mobile-card-copy > span {
        color: #5f6f88;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.25;
    }

    .contract-mobile-pending-badge {
        flex: 0 0 auto;
        margin-right: 3px;
        padding: 6px 8px;
        border: 1px solid rgba(255, 255, 255, .8);
        border-radius: 999px;
        background: #ef5965;
        color: #fff !important;
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
        white-space: nowrap;
        box-shadow: 0 3px 8px rgba(143, 22, 35, .16);
    }

    .contract-mobile-card-arrow {
        flex: 0 0 auto;
        margin-left: 1px;
        color: #53637b;
        font-family: Arial, sans-serif;
        font-size: 38px;
        font-weight: 400;
        line-height: 1;
    }

    .contract-mobile-info {
        min-height: 66px;
        display: flex;
        align-items: center;
        gap: 13px;
        margin-top: 22px;
        padding: 12px 16px;
        border-radius: 16px;
        background: #eef5ff;
        color: #315f9f;
    }

    .contract-mobile-info-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #6498eb;
        color: #fff;
        font-family: Georgia, serif;
        font-size: 19px;
        font-weight: 700;
        line-height: 1;
    }

    .contract-mobile-info p {
        margin: 0;
        font-size: clamp(11px, 3.25vw, 14px);
        font-weight: 600;
        line-height: 1.45;
        letter-spacing: -0.035em;
    }


}

/* 공통 사이드 메뉴는 sticky 헤더가 아닌 뷰포트를 기준으로 표시 */
.contract-hub-page .client-site-header-root,
.contract-workspace-page .client-site-header-root,
.contract-global-nav-page .client-site-header-root {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.contract-hub-page .side-menu-overlay,
.contract-workspace-page .side-menu-overlay,
.contract-global-nav-page .side-menu-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    background: rgba(15, 23, 42, .48);
}

.contract-hub-page .side-menu,
.contract-workspace-page .side-menu,
.contract-global-nav-page .side-menu {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100dvh !important;
    overflow-y: auto;
    background: #fff !important;
    opacity: 1;
}

.contract-hub-page .side-menu.open,
.contract-workspace-page .side-menu.open,
.contract-global-nav-page .side-menu.open {
    right: 0 !important;
}

.contract-hub-page .side-menu-overlay.open,
.contract-workspace-page .side-menu-overlay.open,
.contract-global-nav-page .side-menu-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 390px) {
    .contract-mobile-card-short .contract-mobile-card-copy strong {
        white-space: normal;
    }
}

@media (max-width: 370px) {
    .contract-mobile-hub {
        padding-right: 16px;
        padding-left: 16px;
    }

    .contract-mobile-hero {
        min-height: 195px;
        grid-template-columns: minmax(0, 1.2fr) minmax(105px, .8fr);
    }

    .contract-mobile-card {
        min-height: 76px;
        gap: 15px;
        padding: 10px 14px;
        border-radius: 17px;
    }

    .contract-mobile-card-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    .contract-mobile-pending-badge {
        margin-right: 1px;
        padding: 5px 6px;
        font-size: 12px;
    }

    .contract-mobile-card-arrow {
        font-size: 32px;
    }
}

/* 등록 법인 고객 선택·관리 */
.driver-info-page .corporate-selection-summary {
    margin-bottom: 12px;
    padding: 16px 18px;
    border: 1px solid #d9e1ed;
    border-radius: 8px;
    background: #fafcff;
}

.driver-info-page .corporate-selection-summary p {
    margin: 0 0 4px;
    color: #526078;
    font-size: 16px;
    font-weight: 600;
}

.driver-info-page .corporate-selection-summary span {
    color: #7a8597;
    font-size: 13px;
}

.driver-info-page .corporate-selection-summary.has-selection {
    border-color: #bfd0ec;
    background: #f4f8ff;
}

.driver-info-page .corporate-selection-summary.has-selection p {
    color: #173d82;
}

.driver-info-page .corporate-lookup-trigger {
    display: flex;
}

.vehicle-selector-create {
    width: 100%;
    min-height: 46px;
    margin-bottom: 12px;
    border: 1px solid #2868df;
    border-radius: 8px;
    background: #fff;
    color: #245bbb;
    font: 600 15px 'Noto Sans KR', sans-serif;
    cursor: pointer;
}

.vehicle-selector-card {
    position: relative;
}

.vehicle-selector-edit {
    position: absolute;
    right: 14px;
    bottom: 12px;
    min-width: 54px;
    height: 32px;
    border: 1px solid #c7d3e5;
    border-radius: 7px;
    background: #fff;
    color: #3f526f;
    font: 600 13px 'Noto Sans KR', sans-serif;
    cursor: pointer;
}

.driver-manager-form {
    padding: 2px 0 0;
}

.driver-manager-form[hidden] {
    display: none;
}

.driver-manager-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.driver-manager-heading h3 {
    margin: 0;
    color: #101b33;
    font-size: 21px;
    font-weight: 600;
}

.driver-manager-heading button {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #69758b;
    font-size: 26px;
    cursor: pointer;
}

.driver-manager-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.driver-manager-grid label {
    display: grid;
    gap: 7px;
    color: #1d3155;
    font-size: 14px;
    font-weight: 600;
}

.driver-manager-grid .driver-manager-wide {
    grid-column: 1 / -1;
}

.driver-manager-grid input,
.driver-manager-grid select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #cfd9e8;
    border-radius: 7px;
    background: #fff;
    color: #18233a;
    font: 500 14px 'Noto Sans KR', sans-serif;
    outline: none;
}

.driver-manager-grid input:focus,
.driver-manager-grid select:focus {
    border-color: #2868df;
    box-shadow: 0 0 0 3px rgba(40,104,223,.09);
}

.driver-manager-error {
    min-height: 20px;
    margin: 12px 0 0;
    color: #d83a3a;
    font-size: 13px;
}

.driver-manager-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.driver-manager-actions button {
    height: 46px;
    border: 1px solid #cad5e5;
    border-radius: 8px;
    background: #fff;
    color: #3b4a62;
    font: 600 15px 'Noto Sans KR', sans-serif;
    cursor: pointer;
}

.driver-manager-actions button[type="submit"] {
    border-color: #2868df;
    background: #2868df;
    color: #fff;
}

.driver-manager-actions button:disabled {
    opacity: .55;
    cursor: wait;
}

@media (max-width: 767px) {
    .driver-info-page .corporate-selection-summary {
        padding: 14px;
    }

    .driver-manager-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .driver-manager-grid .driver-manager-wide {
        grid-column: auto;
    }

    .vehicle-selector-page .driver-manager-form {
        padding-bottom: 20px;
    }
}

/* 전자계약 3개 화면 공통 마감: 헤더 유지 및 라운드 축소 */
.contract-hub-page .client-site-header-root,
.contract-workspace-page .client-site-header-root,
.contract-global-nav-page .client-site-header-root {
    position: sticky;
    z-index: 1200;
    top: 0;
    display: block;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 1px 0 rgba(26, 48, 82, .08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.contract-mobile-hero,
.contract-mobile-card,
.contract-mobile-info,
.contract-workspace-tabs,
.contract-workspace-panel,
.contract-send-hero,
.contract-workspace .request-form-wrap,
.request-send-guide,
.contract-workspace .request-direct-wrap,
.contract-workspace .request-waiting-card,
.contract-history-card,
.contract-workspace-empty,
.contract-viewer-page .viewer-search-tabs,
.contract-viewer-page .viewer-search-card,
.contract-viewer-page .contract-card,
.contract-viewer-page .viewer-no-results {
    border-radius: 14px;
}

.contract-workspace-tab,
.contract-workspace .request-input,
.contract-workspace .btn-request-send,
.contract-workspace .btn-request-direct,
.request-waiting-btn,
.contract-history-view,
.contract-history-more,
.contract-viewer-page .viewer-search-tab,
.contract-viewer-page .form-group .form-control,
.contract-viewer-page .viewer-search-card .btn-next,
.contract-viewer-page .btn-card-action,
.contract-viewer-page .viewer-pagination-button,
.contract-viewer-page .btn-action {
    border-radius: 9px !important;
}

@media (min-width: 768px) {
    .contract-mobile-hero,
    .contract-workspace-panel { border-radius: 18px; }
    .contract-mobile-card,
    .contract-send-hero,
    .contract-workspace .request-form-wrap { border-radius: 14px; }
    .contract-mobile-info,
    .contract-workspace-tabs,
    .request-send-guide,
    .contract-workspace .request-direct-wrap { border-radius: 12px; }
}

@media (max-width: 767px) {
    .contract-global-nav-page .client-site-header-root { display: block; }

    .contract-mobile-card { border-radius: 14px; }
    .contract-mobile-info { border-radius: 12px; }
    .contract-workspace .request-form-wrap,
    .contract-workspace .request-waiting-card,
    .contract-history-card,
    .contract-viewer-page .viewer-search-card,
    .contract-viewer-page .contract-card { border-radius: 12px; }
    .request-send-guide,
    .contract-workspace .request-direct-wrap,
    .contract-viewer-page .viewer-search-tabs,
    .contract-viewer-page .viewer-no-results { border-radius: 11px; }

    .contract-viewer-page .viewer-title-row { min-height: 70px; }
    .contract-viewer-page .viewer-search-tab { min-height: 44px; font-size: 15px; }
    .contract-viewer-page .form-group .form-control { height: 48px; }
    .contract-viewer-page .viewer-search-card .btn-next {
        width: min(180px, 100%);
        height: 46px;
        min-width: 0;
        justify-self: center;
        padding: 0 20px;
        font-size: 15px;
    }
    .contract-viewer-page .contract-card { padding: 16px; }
    .contract-viewer-page .contract-card-actions { gap: 7px; }
    .contract-viewer-page .btn-card-action {
        width: 100%;
        height: 40px;
        min-width: 0;
        padding: 0 10px;
        font-size: 13px;
    }
}

.contract-card-icon {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(17, 32, 80, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.contract-card-icon img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    display: block;
}

.contract-card-title {
    display: block;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
    text-align: center;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.contract-card-arrow {
    margin-top: auto;
    font-size: 28px;
    line-height: 1;
    color: #ffffff;
    font-weight: 400;
    opacity: 0.95;
}

/* =========================
   하단 보조 버튼
========================= */
.contract-home-sub {
    margin-top: 22px;
    display: flex;
    justify-content: center;
}

.contract-card-sub {
    width: 100%;
    min-height: 112px;
    border-radius: 24px;
    background: #f8fbff;
    border: 1.5px solid rgba(48, 78, 158, 0.22);
    box-shadow: 0 8px 20px rgba(40, 56, 108, 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 18px 18px 16px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contract-card-sub:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(40, 56, 108, 0.10);
}

.contract-card-sub:active {
    transform: translateY(1px) scale(0.995);
}

.contract-card-sub-icon {
    width: 62px;
    height: 62px;
    min-width: 62px;
    border-radius: 50%;
    background: #eaf0ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contract-card-sub-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.contract-card-sub-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contract-card-sub-text strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #304e9e;
    line-height: 1.25;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.contract-card-sub-text em {
    display: block;
    font-style: normal;
    font-size: 13px;
    color: #6d7485;
    line-height: 1.35;
    letter-spacing: -0.01em;
    word-break: keep-all;
}

.contract-card-sub-arrow {
    font-size: 32px;
    color: #304e9e;
    line-height: 1;
    flex-shrink: 0;
    margin-left: 4px;
}


/* 메인 페이지 */
.main-title-area {
    text-align: center;
    padding: 60px 0;
}

.main-title-area .sub-text {
    font-size: 17px;
    font-weight: 500;
    color: #7c808a;
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.main-title-area .main-text {
    font-size: 30px;
    font-weight: 800;
    color: #222;
    line-height: 1.25;
    letter-spacing: -0.03em;
}


/* 페이지 타이틀 */
.page-title {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: #222;
    letter-spacing: -0.03em;
    padding: 60px 20px 30px;
}
#agreementSignForm {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 0 20px 42px;
}

/* form 전체 여백 */
#driverInfoForm {
    padding-bottom: 40px;
}

.form-section {
    padding: 22px 20px 18px;
    margin-bottom: 16px;
}

/* 공통 섹션 박스 */
.form-section,
.input-method-area,
.input-method-hint,
.checkbox-area,
.license-image-area,
.license-info-section,
.second-driver-section,
.bottom-action {

    margin-left: auto;
    margin-right: auto;
}

.form-section,
.license-info-section {
    margin: 6px 0px 0;
    padding: 5px 15px 15px;
    background: #ffffff;

}
/* 폼 영역 */


.form-group {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.form-group:last-child {
    margin-bottom: 0;
}
.form-group label {

    width: 95px;
    font-size: 17px;
    font-weight: 600;
    color: #304e9e;
    flex-shrink: 0;
    word-break: keep-all;
}

.form-group .form-control {
    flex: 1;
    min-width: 0;
    height: 45px;
    padding: 0 16px;
    border: 1.5px solid #dfe4f2;
    border-radius: 8px;
    background: #f8fbff;
    font-size: 16px;
    color: #222;
    font-family: 'Noto Sans KR', sans-serif;
    outline: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.form-group .form-control:focus {
    border-color: #304e9e;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(48, 78, 158, 0.08);
}

.form-group .form-control::placeholder {
    color: #a0a8b7;
}

/* 토글 버튼 그룹 (개인/법인) */
.toggle-group {
    display: flex;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.toggle-group .toggle-btn {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    background: #fff;
    color: #666;
    transition: all 0.2s;
    font-family: 'Noto Sans KR', sans-serif;
}

.toggle-group .toggle-btn.active {
    background: linear-gradient(180deg, #3f63c2 0%, #304e9e 100%);
    color: #fff;
    border-color: #304e9e;
}

/* 운전자 정보: 개인/법인 고객 전환 */
.customer-type-section {
    margin-bottom: 4px;
}

.customer-type-radios {
    display: flex;
    flex: 1;
    min-width: 0;
    gap: 8px;
}

.customer-type-radio {
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

.customer-type-radio input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.customer-type-radio span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1.5px solid #dfe4f2;
    border-radius: 8px;
    background: #f8fbff;
    color: #606a7d;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.customer-type-radio input:checked + span {
    border-color: #304e9e;
    background: linear-gradient(180deg, #3f63c2 0%, #304e9e 100%);
    color: #fff;
    box-shadow: 0 8px 16px rgba(48, 78, 158, 0.16);
}

.customer-type-radio input:focus-visible + span {
    outline: 3px solid rgba(48, 78, 158, 0.2);
    outline-offset: 2px;
}

.corporate-customer-section {
    padding-top: 18px;
    border-top: 1px solid #edf1f7;
}

.section-subtitle {
    margin: 0 15px 18px;
    color: #222;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.corporate-customer-section .section-subtitle {
    margin-left: 0;
}

.driver-license-title {
    margin-top: 22px;
    text-align: center;
}

.required-mark {
    color: #f59e0b;
}

.form-group-address {
    align-items: flex-start;
}

.form-group-address > label {
    padding-top: 12px;
}

.address-search-fields {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.address-search-row {
    display: flex;
    min-width: 0;
    gap: 8px;
}

.address-search-row .form-control {
    min-width: 0;
}

.btn-address-search {
    flex: 0 0 76px;
    height: 45px;
    border: 0;
    border-radius: 8px;
    background: #202020;
    color: #fff;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 767px) {
    .corporate-customer-section .form-group {
        align-items: flex-start;
    }

    .corporate-customer-section .form-group > label {
        width: 92px;
        padding-top: 11px;
        font-size: 15px;
    }

    .address-search-row {
        gap: 6px;
    }

    .btn-address-search {
        flex-basis: 66px;
    }
}

/* 입력방식 버튼 (직접 정보 입력 / 면허증 촬영) */
.input-method-area {
    display: flex;
    gap: 10px;
    padding: 20px 0 0;
    margin-bottom: 0;
}

.input-method-area .btn-method {
    flex: 1;
    min-width: 0;
    height: 56px;
    border-radius: 99px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-method.btn-method-outline {
    background: #f8fbff;
    color: #515a6c;
    border: 1px solid #d6deef;

}

.btn-method.btn-method-dark {
    color: #fff;
    border: none;
    background-color: #7f8ca6;
}

.input-method-hint {
    padding: 10px;
    font-size: 14px;
    color: #304e9e;
    line-height: 1.45;
    font-weight: 500;
    text-align: center;
    margin: 10px 0;
}

/* 체크박스 영역 */
.checkbox-area {
    padding: 16px 18px;
    margin: 16px 0;
    background-color: #edf2ff;
}
.checkbox-area.terms-list {
    padding: 8px 18px;
}
.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
}
.checkbox-area.terms-list .checkbox-item + .checkbox-item {
    border-top: 1px solid #f1f4f9;
}

.checkbox-item:first-child {
    padding-top: 0;
}

.checkbox-item:last-child {
    padding-bottom: 0;
}


.checkbox-item input[type="checkbox"] {
    width: 20px;
    min-width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #304e9e;
}

.checkbox-item label {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
    word-break: keep-all;
}

.second-driver-section {
    margin-top: 6px;
    margin-bottom: 20px;
    padding: 20px 0 0;
    border-top: 1px solid #edf1f7;
}
.second-driver-section .page-title {
    padding: 12px 20px 20px;
    font-size: 22px;
}



/* 하단 버튼 */
.bottom-action {
    padding: 24px 0 0;
}

.btn-next {
    display: inline-block;
    padding: 14px 60px;
    border: 1px solid #333;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Noto Sans KR', sans-serif;
    text-decoration: none;
}


/* 하단 버튼 그룹 (이전/다음) */
.btn-group-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.btn-group-row .btn-prev,
.btn-group-row .btn-next,
.btn-group-row .btn-sign {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.btn-prev,
.btn-next {
    height: 58px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.2s ease;
    cursor: pointer;
}


.btn-prev {
    background: #f8fbff;
    color: #304e9e;
    border: 1.5px solid rgba(48, 78, 158, 0.28);
}



.btn-next {
    border: none;
    background: linear-gradient(180deg, #3f63c2 0%, #304e9e 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(48, 78, 158, 0.18);
}

.btn-next:hover {
    transform: translateY(-1px);
}



/* select 스타일 */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image:
            linear-gradient(45deg, transparent 50%, #304e9e 50%),
            linear-gradient(135deg, #304e9e 50%, transparent 50%);
    background-position:
            calc(100% - 18px) calc(50% - 2px),
            calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 38px;
}

/* 면허증 촬영 이미지 영역 */
.license-image-area {
    margin-bottom: 16px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #edf1f7;
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(31, 43, 77, 0.05);
    text-align: center;
}

.license-image-area img {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    border: 1px solid #eef2f8;
    display: block;
}

/* 제2운전자 구분선 */
.section-divider {
    display: none;
}

/* 카메라 모달 */
.camera-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-overlay {
    width: 100%;
    height: 100%;
    background: #2a2a2a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.camera-guide-text {
    color: #eef3ff;
    font-size: 14px;
    line-height: 1.6;
}

.camera-viewfinder {
    position: relative;
    width: 85%;
    max-width: 400px;
    aspect-ratio: 1.6 / 1;
    overflow: hidden;
    border-radius: 12px;
}

.camera-viewfinder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-frame {
    border: 3px solid #304e9e;
    border-radius: 14px;
}

.camera-buttons {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.camera-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
}

.camera-btn-icon {
    font-size: 24px;
    color: #fff;
}

/* =============================
   렌트 정보 페이지 - 라디오 섹션
   ============================= */
.radio-section {
    padding: 50px 24px 30px;
    border-top: 1px solid #ddd;
    margin-top: 45px
}

.radio-group {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    gap: 14px;
}

.radio-label {
    width: 160px;
    font-size: 17px;
    font-weight: 600;
    color: #304e9e;
    flex-shrink: 0;
    word-break: keep-all;
}

.radio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 18px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    white-space: normal;
    word-break: keep-all;
}

.radio-item input[type="radio"] {
    width: 20px;
    min-width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

/* 슬라이더 */
.slider-section {
    margin: 20px 0px 0;
    padding: 5px 15px 15px;
}

.slider-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.slider-group label {
    width: 95px;
    font-size: 17px;
    font-weight: 600;
    color: #304e9e;
    flex-shrink: 0;
    word-break: keep-all;
}

.slider-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
    padding-top: 26px;
}

.slider-value {
    position: absolute;
    top: -11px;
    left: var(--fuel-percent, 45%);
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    color: #314fa0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    z-index: 2;
}
.slider-wrap::before,
.slider-wrap::after {
    position: absolute;
    top: 25px;
    font-size: 15px;
    font-weight: 600;
    color: #7d8698;
    z-index: 1;
}
.slider-wrap::before {
    content: '0';
    left: -15px;
}
.slider-wrap::after {
    content: '100';
    right: 15px;
}
.range-slider {
    --fuel-percent: 0%;
    width: 90%;
    height: 14px;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    border-radius: 999px;
    border: 1px solid #dbe3f3;
    background:
            repeating-linear-gradient(
                    to right,
                    transparent 0,
                    transparent calc(10% - 2px),
                    rgba(48, 78, 158, 0.18) calc(10% - 2px),
                    rgba(48, 78, 158, 0.18) 10%
            ),
            linear-gradient(
                    to right,
                    #304e9e 0%,
                    #3f63c2 var(--fuel-percent),
                    #eef2f8 var(--fuel-percent),
                    #eef2f8 100%
            );
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background: #33bcca;
    box-shadow:
            0 4px 12px rgb(0 143 179 / 60%),
            0 0 0 1px rgb(52 231 255 / 15%);
    cursor: pointer;
    margin-top: -1px;
}

.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background: #304e9e;
    box-shadow:
            0 4px 12px rgba(48, 78, 158, 0.28),
            0 0 0 1px rgba(48, 78, 158, 0.15);
    cursor: pointer;
}

.range-slider::-moz-range-progress {
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(to right, #304e9e 0%, #3f63c2 100%);
}

.range-slider::-moz-range-track {
    height: 14px;
    border-radius: 999px;
    border: 1px solid #dbe3f3;
    background: #eef2f8;
}

/* =============================
   기타 정보 페이지 - 외관 촬영 업로드
   ============================= */

.exterior-upload-section {
    padding: 20px 24px 0;
}

.exterior-upload-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 14px;
}

.exterior-upload-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 8px;
}

.exterior-source-btn {
    min-height: 76px;
    padding: 13px 14px;
    border: 1px solid #d9e1f2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 11px;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.exterior-source-btn:hover,
.exterior-source-btn:focus-visible {
    border-color: #304e9e;
    box-shadow: 0 5px 14px rgba(48, 78, 158, 0.14);
    transform: translateY(-1px);
    outline: none;
}

.exterior-source-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.exterior-source-camera {
    color: #fff;
    border-color: #304e9e;
    background: linear-gradient(135deg, #304e9e 0%, #3f63c2 100%);
}

.exterior-source-album {
    color: #26324a;
    background: #f7f9fd;
}

.exterior-source-icon {
    flex: 0 0 auto;
    font-size: 25px;
    line-height: 1;
}

.exterior-source-copy {
    min-width: 0;
}

.exterior-source-copy strong,
.exterior-source-copy small {
    display: block;
}

.exterior-source-copy strong {
    font-size: 14px;
}

.exterior-source-copy small {
    margin-top: 3px;
    color: inherit;
    font-size: 11px;
    line-height: 1.35;
    opacity: 0.78;
}

.exterior-upload-help {
    margin: 0 0 14px;
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
}

.exterior-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.exterior-upload-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 480px) {
    .exterior-upload-actions {
        grid-template-columns: 1fr;
    }

    .exterior-source-btn {
        min-height: 66px;
    }
}

.photo-add-btn {
    aspect-ratio: 1 / 1;
    border: 2px dashed #ddd;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fafafa;
    transition: border-color 0.2s;
    gap: 4px;
}

.photo-add-btn:hover {
    border-color: #304e9e;
}

.photo-add-icon {
    font-size: 28px;
    font-weight: 300;
    color: #bbb;
    line-height: 1;
}

.photo-add-text {
    font-size: 11px;
    color: #999;
    font-weight: 500;
}

.photo-upload-item {
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
    background: #f5f5f5;
}

.photo-upload-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.photo-remove-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* =============================
   이용동의 및 서명 페이지
   ============================= */

/* textarea */
.textarea-group {
    padding: 0;
}

.textarea-label {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #222;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.form-textarea {
    width: 100%;
    min-height: 132px;
    padding: 16px 18px;
    border: 1.5px solid #dfe4f2;
    border-radius: 8px;
    background: #f8fbff;
    font-size: 15px;
    line-height: 1.6;
    color: #222;
    resize: vertical;
    outline: none;
    transition: all 0.2s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.form-textarea:focus {
    border-color: #304e9e;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(48, 78, 158, 0.08);
}

.form-textarea::placeholder {
    color: #a0a8b7;
}

.textarea-hint {
    margin-top: 10px;
    font-size: 12px;
    color: #7d8698;
    line-height: 1.45;
}

/* 약관 체크 리스트 */
.terms-list {
    border-top: 1px solid #eee;
}

.terms-list .checkbox-item {
    padding: 12px 0;
}

.terms-list .checkbox-item label {
    font-size: 14px;
    font-weight: 400;
    color: #555;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.applied-terms-info {
    margin: -2px 0 8px 32px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f2f6ff;
    color: #5970a6;
    font-size: 12px;
    line-height: 1.45;
}

.applied-terms-info strong {
    color: #304e9e;
    font-weight: 700;
}

/* 서명 버튼 */
.btn-sign {
    display: inline-block;
    flex: 1;
    padding: 14px 0;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    background: #333;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Noto Sans KR', sans-serif;
    text-align: center;
}

.btn-sign:hover {
    background: #555;
}

/* 서명 링크 발송 플로우 */
.btn-sign-link-send {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    border: 2px solid #555;
    border-radius: 14px;
    background: #555;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    white-space: nowrap;
}

.btn-sign-link-send:hover {
    background: #444;
    border-color: #444;
}

.btn-sign-link-cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    border: 2px solid #333;
    border-radius: 14px;
    background: #fff;
    color: #111;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    white-space: nowrap;
}

.agreement-sign-link-btn {
    margin-top: 12px;
}

.sign-link-request-wrap {
    padding: 20px 24px 0;
}

.sign-link-input {
    width: 100%;
    height: 64px;
    font-size: 32px;
    text-align: center;
}

.sign-link-request-help {
    margin-top: 84px;
    font-size: 18px;
    color: #777;
    line-height: 1.45;
}

.sign-link-request-actions {
    padding: 48px 24px 40px;
}

.sign-link-complete-wrap {
    padding: 40px 24px 12px;
    text-align: center;
}

.sign-link-complete-title {
    font-size: 22px;
    font-weight: 800;
    color: #1f2f57;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    line-height: 1.35;
    padding: 0 8px;
}

.sign-link-complete-desc {
    font-size: 15px;
    color: #5c6780;
    line-height: 1.55;
    margin-bottom: 20px;
    word-break: keep-all;
}

.sign-link-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #eef4ff;
    color: #304e9e;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.sign-link-status-badge.done {
    background: #e8f5e9;
    color: #2e7d32;
}

.sign-link-action-btn {
    width: 100%;
    height: 52px;
    border: 1.5px solid #d4ddef;
    border-radius: 14px;
    background: #fff;
    color: #304e9e;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.sign-link-action-btn:hover {
    background: #f7faff;
    border-color: #304e9e;
}

.sign-link-complete-bottom-actions {
    padding: 62px 24px 40px;
}

.sign-link-complete-bottom-actions .btn-group-row {
    gap: 14px;
    align-items: stretch;
}

.sign-link-terms-hint {
    padding: 8px 20px 28px;
    text-align: center;
}

.sign-link-terms-hint-btn {
    border: 0;
    background: none;
    color: #304e9e;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
}

.defect-terms-quickbar {
    margin: 8px 16px 24px;
    padding: 12px 12px 14px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid #e7edf8;
}

.defect-terms-quickbar-label {
    font-size: 12px;
    font-weight: 800;
    color: #7a86a2;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    text-align: center;
}

.defect-terms-quickbar-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.defect-terms-chip {
    border: 1px solid rgba(48, 78, 158, 0.25);
    border-radius: 999px;
    background: #fff;
    color: #304e9e;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 12px;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
}

.defect-terms-chip:hover {
    background: #eef4ff;
}

/* 고객 전자서명 페이지 */
.customer-sign-page .page-title {
    font-size: 17px;
    font-weight: 800;
    color: #1f2f57;
    padding: 28px 16px 12px;
    letter-spacing: -0.03em;
    background: #fff;
    margin: 0;
}

.customer-sign-top {
    text-align: center;
    padding: 18px 20px 18px;
}

.customer-sign-main-title {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    line-height: 1.3;
    word-break: keep-all;
    letter-spacing: -0.03em;
}

.customer-sign-sub-title {
    margin-top: 12px;
    font-size: 15px;
    color: #5c6780;
    word-break: keep-all;
    line-height: 1.5;
}

.customer-sign-preview-btn {
    margin-top: 20px;
    width: 100%;
    height: 70px;
    border: 1.5px solid rgba(48, 78, 158, 0.35);
    border-radius: 14px;
    background: #f8fbff;
    color: #304e9e;
    font-size: 21px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.customer-sign-preview-btn:hover {
    background: #eef4ff;
    border-color: #304e9e;
}

.customer-sign-divider {
    height: 2px;
    background: #d4d4d4;
    margin: 18px 0 0;
}

.customer-sign-consent-wrap {
    padding: 18px 24px 34px;
}

.customer-sign-agree-all-btn {
    width: 100%;
    height: 64px;
    border: 1.5px solid rgba(48, 78, 158, 0.22);
    border-radius: 18px;
    background: #f8fbff;
    color: #304e9e;
    font-size: 22px;
    font-weight: 800;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.customer-sign-agree-all-btn:hover {
    background: #eef4ff;
}

.customer-sign-terms-list {
    margin-top: 20px;
}

.customer-sign-term-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 2px;
}

.customer-sign-term-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

.customer-sign-term-item input[type="checkbox"] {
    width: 38px;
    height: 38px;
    margin: 2px 0 0;
    flex-shrink: 0;
    accent-color: #304e9e;
}

.customer-sign-term-label span {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    color: #111;
    line-height: 1.4;
    word-break: keep-all;
}

.customer-sign-term-view-btn {
    flex-shrink: 0;
    min-width: 52px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(48, 78, 158, 0.35);
    border-radius: 999px;
    background: #f8fbff;
    color: #304e9e;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
}

.customer-sign-term-view-btn:hover {
    background: #eef4ff;
}

.customer-sign-submit-btn {
    margin-top: 20px;
    width: 100%;
    height: 72px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, #3f63c2 0%, #304e9e 100%);
    color: #fff;
    font-size: 21px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(48, 78, 158, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.customer-sign-submit-btn:hover {
    transform: translateY(-1px);
}

/* 서명 모달 */
.sign-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sign-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.sign-modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 1;
    overflow: hidden;
}

.sign-modal-close {
    position: absolute;
    top: -40px;
    right: -4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sign-modal-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.sign-canvas-wrap {
    width: 100%;
    height: 200px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    touch-action: none;
}

.sign-canvas-wrap canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.sign-modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-sign-reset {
    flex: 1;
    padding: 14px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    background: #fff;
    color: #666;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.2s;
}

.btn-sign-reset:hover {
    background: #f5f5f5;
}

.btn-sign-complete {
    flex: 2;
    padding: 14px 0;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    background: #555;
    color: #fff;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.2s;
}

.btn-sign-complete:hover {
    background: #333;
}

/* =============================
   인라인 유효성 에러 스타일
   ============================= */
.field-error {
    border-color: #e74c3c !important;
}

.field-error:focus {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.15);
}

.field-error-msg {
    color: #e74c3c;
    font-size: 12px;
    font-weight: 500;
    margin-top: -12px;
    margin-bottom: 14px;
    line-height: 1.4;
    animation: errorFadeIn 0.25s ease;
}

.radio-error-msg {
    color: #e74c3c;
    font-size: 12px;
    font-weight: 500;
    padding-left: 110px;
    margin-top: -12px;
    margin-bottom: 14px;
    line-height: 1.4;
    animation: errorFadeIn 0.25s ease;
}

.section-error-msg {
    color: #e74c3c;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 0 10px;
    line-height: 1.2;
    animation: errorFadeIn 0.25s ease;
    text-align: center;
    padding-top: 20px;
}

@keyframes errorFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* select 드롭다운 화살표 */
select.form-control {
    appearance: auto;
    -webkit-appearance: auto;
    background: #fff;
}

/* =============================
   계약 완료 페이지
   ============================= */

/* 상단 액션 버튼 바 */
.complete-action-bar {
    display: flex;
    gap: 8px;
    padding: 16px 16px 10px;
    background: #333;
}

.btn-action {
    flex: 1;
    min-width: 0;
    padding: 20px 6px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-action-dark {
    background: #304e9e;
    color: #fff;
    border: 0;
}


.btn-action-outline {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-action-outline:hover {
    background: #f5f5f5;
}

.btn-action-orange {
    background: linear-gradient(180deg, #3f63c2 0%, #304e9e 100%);
    color: #fff;
    border: 1px solid #304e9e;
}

.btn-action-orange:hover {
    background: #28458f;
    border-color: #28458f;
}

/* 비밀번호 안내 */
.complete-password-hint {
    padding: 20px 16px;
    font-size: 15px;
    color: #666;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-align: center;
}

.complete-password-hint strong {
    color: #3F51B5;
}

/* PDF 미리보기 */
.pdf-preview-area {
    width: 100%;
    flex: 1;
}

.pdf-mobile-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
    min-height: 300px;
    background: #fafafa;
}

.pdf-fallback-text {
    font-size: 14px;
    color: #888;
    margin-bottom: 24px;
    line-height: 1.6;
    word-break: keep-all;
}

.btn-pdf-open {
    padding: 16px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(180deg, #3f63c2 0%, #304e9e 100%);
    color: #fff;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.2s;
    box-shadow: 0 10px 20px rgba(48, 78, 158, 0.18);
}

.btn-pdf-open:hover {
    background: #28458f;
}

.pdf-preview-frame {
    width: 100%;
    min-height: calc(100vh - 120px);
    border: none;
    background: #e0e0e0;
}

.pdf-page-pager {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    align-items: center;
    gap: 16px;
    padding: 18px 16px 24px;
    background: #fff;
    border-top: 1px solid #edf1f7;
}

.pdf-page-pager[hidden] {
    display: none;
}

.pdf-page-arrow {
    width: 58px;
    height: 58px;
    border: 2px solid #c7cfda;
    border-radius: 10px;
    background: #fff;
    color: #9aa7b5;
    font-size: 42px;
    font-weight: 300;
    line-height: 48px;
    cursor: pointer;
}

.pdf-page-arrow:disabled {
    cursor: default;
    opacity: 0.38;
}

.pdf-page-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
    padding: 8px 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.pdf-page-dots::-webkit-scrollbar {
    display: none;
}

.pdf-page-dot {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c4ccd6;
    cursor: default;
    transition: transform 0.15s ease, background 0.15s ease;
}

.pdf-page-dot.is-active {
    background: #26364d;
    transform: scale(1.08);
}

@media (max-width: 480px) {
    .pdf-page-pager {
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        gap: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .pdf-page-arrow {
        width: 48px;
        height: 48px;
        font-size: 36px;
        line-height: 38px;
    }

    .pdf-page-dots {
        gap: 10px;
    }

    .pdf-page-dot {
        flex-basis: 14px;
        width: 14px;
        height: 14px;
    }
}

/* 외관사진 모달 */
.exterior-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exterior-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.exterior-modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 1;
    overflow: hidden;
}

.exterior-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.exterior-photo-item {
    aspect-ratio: 4 / 3;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    background: #fafafa;
    transition: border-color 0.2s;
}

.exterior-photo-item:hover {
    border-color: #304e9e;
}

.exterior-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    font-size: 14px;
    font-weight: 600;
    color: #bbb;
}

.exterior-no-photo {
    text-align: center;
    font-size: 14px;
    color: #bbb;
    padding: 20px 0;
}

/* 외관사진 리스트 (완료 페이지 모달) */
.exterior-photo-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    padding: 4px 0;
}

.exterior-list-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #f5f5f5;
}

.exterior-list-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.exterior-list-num {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* =============================
   비대면 계약서 조회 (Viewer)
   ============================= */

.viewer-results-title {
    padding: 20px 24px 12px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    border-top: 8px solid #f5f5f5;
}

.contract-list {
    padding: 0 24px 20px;
}



.contract-card-info {
    flex: 1;
    min-width: 0;
}



.contract-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.contract-status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-signed {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-complete {
    background: #e3f2fd;
    color: #1565c0;
}

.status-returned {
    background: #e0f2f1;
    color: #00695c;
}

.status-cancelled {
    background: #fce4ec;
    color: #c62828;
}

.status-default {
    background: #f5f5f5;
    color: #666;
}

.contract-card-date {
    font-size: 13px;
    color: #999;
}

.contract-card-driver {
    font-size: 13px;
    color: #666;
}

.contract-card-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 12px;
    flex-shrink: 0;
}

.btn-card-action {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    font-family: 'Noto Sans KR', sans-serif;
    border: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-card-view {
    background: #333;
    color: #fff;
}

.btn-card-view:hover {
    background: #555;
}

.btn-card-download {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-card-download:hover {
    background: #f5f5f5;
}

.contract-card-no-pdf {
    font-size: 12px;
    color: #bbb;
}

.viewer-no-results {
    text-align: center;
    padding: 40px 24px;
    font-size: 15px;
    color: #999;
}

/* 렌트카 비대면 계약서 요청 페이지 */
.request-form-wrap {
    padding: 0 20px;
    padding-bottom: 18px;
}

.request-label {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #5c5f67;
    margin-bottom: 10px;
}

.request-input {
    width: 80%;
    height: 55px;
    border-radius: 8px !important;
    border: 1.5px solid #dfe4f2;
    background: #f8fbff;
    text-align: center;
    font-size: 20px;
    transition: all 0.2s ease;
}
.request-input:focus {
    border-color: #304e9e;
    background: #ffffff;
    outline: none;
}
.request-help-text {
        padding: 10px 4px 0;
        text-align: center;
        font-size: 13px;
        color: #5c5f67;
        line-height: 1.5;
        font-weight: 600;
}

.request-actions {
    padding: 14px 0 0;
    text-align: center;
}

.btn-request-send {
    width: 80%;
    height: 60px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #3f63c2 0%, #304e9e 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-request-send:hover {
    transform: translateY(-1px);
}

.btn-request-send:active {
    transform: scale(0.98);
}
.request-direct-wrap {
    padding: 18px;
}

.btn-request-direct {
    width: 80%;
    height: 60px;
    border-radius: 8px;
    border: 1.5px solid rgba(48, 78, 158, 0.28);
    background: #f8fbff;
    color: #304e9e;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    line-height: 46px;
}

.btn-request-direct:hover {
    background: #eef4ff;
}

/* 고객 진입 페이지 */
.customer-entry-intro {
    text-align: center;
    padding: 10px 24px 24px;
}

.customer-entry-store {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 5px;
}

.customer-entry-consent-box {
    margin: 0px 12px 0;
    border: 1px solid #d8d8d8;
    background: #f7f7f7;
    padding: 24px 18px 16px;
}

.customer-entry-consent-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    flex-direction: column;
}

.customer-entry-check-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #222;
    line-height: 1.35;
}

.customer-entry-check-wrap input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin: 0;
}

.customer-entry-policy-link {
    font-size: 15px;
    color: #304e9e;
    text-decoration: underline;
    white-space: nowrap;
    text-align: right;
    width: 100%;
}

button.customer-entry-policy-link {
    border: 0;
    padding: 0;
    margin: 0;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.customer-entry-all-agree {
    margin-top: 28px;
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 31px;
    background: #9dacc0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
}

.customer-entry-all-agree:hover {
    background: #eef4ff;
}

.customer-entry-guide {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
    color: #333;
}

.customer-entry-action {
    padding: 10px 24px 40px;
}

.customer-entry-start-btn {
    width: 100%;
    height: 60px;
    border: 2px solid #304e9e;
    border-radius: 8px;
    background: linear-gradient(180deg, #3f63c2 0%, #304e9e 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(48, 78, 158, 0.18);
}

.customer-entry-start-btn:hover:not(:disabled) {
    background: #28458f;
    border-color: #28458f;
}

.customer-entry-start-btn:disabled {
    background: #304e9e;
    color: #fff;
    opacity: 1;
    cursor: not-allowed;
    border: 0;
}

/* 고객 작성 완료 페이지 */
.customer-complete-wrap {
    padding: 32px 20px 44px;
}

.customer-complete-title {
    font-size: 28px;
    font-weight: 800;
    color: #1f2f57;
    line-height: 1.28;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.customer-complete-desc {
    margin-top: 14px;
    font-size: 16px;
    color: #5c6780;
    line-height: 1.65;
    letter-spacing: -0.02em;
    word-break: keep-all;
}
.customer-complete-store-box {
    margin-top: 28px;
    padding: 18px 16px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e9eef8;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.customer-complete-store-label {
    font-size: 13px;
    font-weight: 700;
    color: #7a86a2;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.customer-complete-store {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.customer-complete-action-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
}

.customer-complete-call-btn,
.customer-preview-btn {
    width: 100%;
    height: 58px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.2s ease;
    cursor: pointer;
}

.customer-complete-call-btn {
    border: 0;
    background: linear-gradient(180deg, #3f63c2 0%, #304e9e 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(48, 78, 158, 0.22);
}

.customer-complete-call-btn:hover {
    transform: translateY(-1px);
}

.customer-complete-call-btn:active {
    transform: translateY(0);
}

.customer-preview-btn {
    border: 1.5px solid #d4ddef;
    background: #ffffff;
    color: #304e9e;
}

.customer-preview-btn:hover {
    background: #f7faff;
}

/* 모바일 대응 */
@media (max-width: 480px) {
    .customer-complete-wrap {
        padding: 20px 16px 36px;
    }

    .customer-complete-card {
        padding: 28px 16px 18px;
        border-radius: 24px;
    }



    .customer-complete-title {
        font-size: 24px;
    }

    .customer-complete-desc {
        font-size: 15px;
        line-height: 1.6;
    }

    .customer-complete-store {
        font-size: 18px;
    }

    .customer-complete-call-btn,
    .customer-preview-btn {
        height: 54px;
        font-size: 16px;
        border-radius: 14px;
    }
}

/* 계약 작성 차량 불러오기 */
.driver-lookup-area {
    margin: 0 0 18px;
}

.driver-lookup-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 0 18px;
    border: 1.5px solid #d8e0f0;
    border-radius: 12px;
    background: #f8fbff;
    color: #304e9e;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    touch-action: manipulation;
}

.driver-lookup-trigger:hover,
.driver-lookup-trigger:focus-visible {
    border-color: #304e9e;
    background: #eef4ff;
    outline: none;
}

.driver-lookup-icon {
    color: #20242d;
    font-size: 28px;
    line-height: 1;
}

.driver-lookup-area p {
    margin: 8px 2px 0;
    color: #7a8291;
    font-size: 13px;
    line-height: 1.45;
}

.vehicle-selector-driver-expiry {
    margin-top: 7px;
    color: #717783;
    font-size: 14px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.vehicle-select-input-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
}

.vehicle-select-input-wrap:not(.is-manual) {
    cursor: pointer;
    touch-action: manipulation;
}

.vehicle-select-input-wrap:not(.is-manual) .vehicle-select-manual-input {
    cursor: pointer;
    background: #f8fbff;
}

.vehicle-manual-toggle {
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #52688f;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.vehicle-select-input-wrap .vehicle-select-trigger,
.vehicle-select-input-wrap .vehicle-select-manual-input {
    width: 100%;
    padding-right: 46px;
}

.vehicle-select-input-wrap .vehicle-select-trigger {
    cursor: pointer;
}

.vehicle-select-input-wrap .vehicle-select-trigger[readonly] {
    background: #f8fbff;
    color: #222;
}

.vehicle-select-input-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: #27334b;
    font-size: 25px;
    line-height: 1;
    pointer-events: none;
}

.vehicle-select-search-button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
}

.vehicle-select-search-button:focus-visible {
    color: #3157c8;
    outline: 2px solid #3157c8;
    outline-offset: 4px;
}

body.vehicle-selector-open {
    overflow: hidden;
}

.vehicle-selector-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.vehicle-selector-modal.is-open {
    display: flex;
}

.vehicle-selector-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(21, 28, 44, 0.5);
    cursor: default;
}

.vehicle-selector-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(720px, calc(100vw - 56px));
    max-height: min(820px, calc(100vh - 56px));
    overflow: hidden;
    border-radius: 24px;
    background: #f7f8fa;
    box-shadow: 0 28px 80px rgba(18, 28, 49, 0.28);
}

.vehicle-selector-heading,
.vehicle-selector-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.vehicle-selector-heading {
    padding: 24px 28px 18px;
    background: #fff;
}

.vehicle-selector-heading h2,
.vehicle-selector-page-heading h1 {
    margin: 0;
    color: #20242d;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.vehicle-selector-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #f2f4f7;
    color: #222;
    font-size: 27px;
    cursor: pointer;
}

.vehicle-selector-body {
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px;
}

.vehicle-selector-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 0 18px;
}

.vehicle-selector-search-input {
    width: 100%;
    height: 58px;
    padding: 0 60px 0 20px;
    border: 1px solid #e0e3e8;
    border-radius: 16px;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 17px;
    outline: none;
}

.vehicle-selector-search-input:focus {
    border-color: #263e80;
    box-shadow: 0 0 0 4px rgba(48, 78, 158, 0.09);
}

.vehicle-selector-search-btn {
    position: absolute;
    right: 7px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #171b22;
    font-size: 30px;
    cursor: pointer;
}

.vehicle-selector-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vehicle-selector-card {
    width: 100%;
    padding: 20px 22px;
    border: 2px solid transparent;
    border-radius: 20px;
    background: #fff;
    color: #1f2228;
    text-align: left;
    box-shadow: 0 6px 18px rgba(31, 38, 55, 0.09);
    cursor: pointer;
    transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.vehicle-selector-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(31, 38, 55, 0.13);
}

.vehicle-selector-card.is-selected {
    border-color: #23272d;
    box-shadow: 0 6px 20px rgba(31, 38, 55, 0.16);
}

.vehicle-selector-card:focus {
    outline: none;
}

.vehicle-selector-card:focus-visible {
    border-color: #23272d;
    box-shadow: 0 0 0 3px rgba(35, 39, 45, 0.16), 0 6px 20px rgba(31, 38, 55, 0.16);
}

.vehicle-selector-card-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
}

.vehicle-selector-number {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.vehicle-selector-meta {
    min-width: 0;
    color: #4e535c;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-selector-status {
    min-width: 80px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #f0f1f3;
    color: #444950;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.vehicle-selector-name {
    margin-top: 14px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.vehicle-selector-state {
    padding: 52px 20px;
    border-radius: 18px;
    background: #fff;
    color: #717783;
    text-align: center;
}

.vehicle-selector-error {
    color: #b33737;
}

.vehicle-selector-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px 0 4px;
}

.vehicle-selector-pagination[hidden] {
    display: none;
}

.vehicle-selector-pagination button {
    min-width: 86px;
    height: 40px;
    border: 1px solid #d8dce4;
    border-radius: 10px;
    background: #fff;
    color: #304e9e;
    font-weight: 700;
    cursor: pointer;
}

.vehicle-selector-pagination button:disabled {
    opacity: 0.35;
    cursor: default;
}

.vehicle-selector-pagination span {
    color: #626a78;
    font-size: 14px;
    font-weight: 700;
}

.vehicle-selector-actions,
.vehicle-selector-page-actions {
    padding: 18px 24px 24px;
    background: #fff;
}

.vehicle-selector-confirm {
    width: 100%;
    height: 58px;
    border: 0;
    border-radius: 14px;
    background: #222427;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.vehicle-selector-confirm:disabled {
    background: #c7cad0;
    cursor: default;
}

.vehicle-selector-page-container {
    max-width: 760px;
    padding-bottom: 120px;
}

.vehicle-selector-page-heading {
    position: relative;
    justify-content: center;
    padding: 24px 0 28px;
}

.vehicle-selector-page-heading .used-contract-back {
    left: 0;
}

.vehicle-selector-page {
    padding: 0 4px;
}

.vehicle-selector-page-actions {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 16px max(16px, calc((100vw - 760px) / 2 + 16px));
    border-top: 1px solid #eef0f4;
}

@media (max-width: 767px) {
    .vehicle-selector-modal {
        display: none !important;
    }

    .vehicle-selector-page-container {
        width: 100%;
        max-width: 100%;
        padding: 16px 16px 122px;
    }

    .vehicle-selector-page-heading {
        padding: 18px 0 24px;
    }

    .vehicle-selector-page-heading h1 {
        font-size: 22px;
    }

    .vehicle-selector-search-input {
        height: 56px;
        border-radius: 14px;
        font-size: 16px;
    }

    .vehicle-selector-card {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .vehicle-selector-card-top {
        grid-template-columns: auto 1fr auto;
        gap: 10px;
    }

    .vehicle-selector-number {
        font-size: 18px;
    }

    .vehicle-selector-meta {
        font-size: 14px;
    }

    .vehicle-selector-status {
        min-width: 70px;
        padding: 6px 10px;
        font-size: 13px;
    }

    .vehicle-selector-name {
        margin-top: 12px;
        font-size: 17px;
    }

    .vehicle-selector-confirm {
        height: 58px;
        border-radius: 13px;
        font-size: 17px;
    }
}

@media (max-width: 420px) {
    .vehicle-selector-card-top {
        grid-template-columns: 1fr auto;
    }

    .vehicle-selector-meta {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}
.customer-complete-call-btn {
    margin-top: 24px;
    width: 100%;
    height: 84px;
    border: 2px solid #304e9e;
    border-radius: 16px;
    background: #eef4ff;
    color: #304e9e;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
}

.customer-complete-result-wrap {
    padding-top: 24px;
}
.customer-complete-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e6edf8;
    border-radius: 28px;
    padding: 34px 20px 22px;
    text-align: center;

}
.customer-complete-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(180deg, #4f76dc 0%, #304e9e 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(48, 78, 158, 0.24);
}

.customer-complete-icon svg {
    width: 30px;
    height: 30px;
}

.customer-complete-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 30px;
    padding: 0 12px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: #edf3ff;
    color: #304e9e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}



.customer-complete-action-list {
    margin-top: 4px;
}

.customer-complete-result-wrap .customer-complete-call-btn {
    margin-top: 14px;
    height: 60px;
    border: 0;
    border-radius: 14px;
    background: #304e9e;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

/* 공통 섹션 카드 */
.request-form-wrap,
.request-direct-wrap,
.request-waiting-wrap {
    margin: 0 20px 30px;
    padding: 22px 18px;
    background: #ffffff;
    border: 1px solid #edf1f7;
    border-radius: 4px;
    text-align: center;

}
/* 요청 대기 목록 */
.request-waiting-wrap {
    padding: 10px 20px 40px;
}

.request-waiting-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.request-waiting-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -4px 0 12px;
    color: #687087;
    font-size: 13px;
    font-weight: 600;
}

.request-waiting-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.request-waiting-empty {
    font-size: 14px;
    color: #888;
    padding: 8px 2px 0;
}

.request-waiting-card {
    position: relative;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #eef1f7;
    padding: 14px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.04);
}

.request-waiting-close {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f2f4f8;
    color: #677083;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.request-waiting-card-top {
     display: flex;
       flex-direction: column;
       align-items: center;
       gap: 10px;
}

.request-waiting-status {
   display: inline-flex;
       align-items: center;
       justify-content: center;

       min-height: 42px;
       padding: 0 18px;

       border-radius: 999px;
       background: #eef3ff;
       color: #3552a6;

       font-size: 15px;
       font-weight: 700;
       line-height: 1.35;
       text-align: center;
}

.request-waiting-updated {
  font-size: 14px;
      color: #8b95a1;
      line-height: 1.4;
      white-space: nowrap;
}

.request-waiting-contact,
.request-waiting-store {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.request-waiting-store {
    margin-top: 2px;
}

.request-waiting-btn {
    margin-top: 10px;
    width: 100%;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: #304e9e;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.request-waiting-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
}

.request-waiting-pagination[hidden] {
    display: none;
}

.request-waiting-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #d8deed;
    border-radius: 9px;
    background: #fff;
    color: #304e9e;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.request-waiting-page-btn.is-active {
    border-color: #304e9e;
    background: #304e9e;
    color: #fff;
}

.request-waiting-page-btn:disabled:not(.is-active) {
    cursor: not-allowed;
    opacity: 0.45;
}

.request-waiting-more-btn {
    width: 100%;
    min-height: 46px;
    border: 1px solid #cfd8ec;
    border-radius: 12px;
    background: #f7f9fd;
    color: #304e9e;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.contract-card-notification-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border: 3px solid #fff;
    border-radius: 999px;
    background: #f04452;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 28px;
    text-align: center;
    box-shadow: 0 5px 12px rgba(156, 24, 39, .32);
}

/* 고객 운전자·면허정보 입력 완료 관리자 알림 */
body.customer-driver-alert-open {
    overflow: hidden;
}

.customer-driver-ready-alert {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(16, 28, 62, 0.66);
    backdrop-filter: blur(5px);
}

.customer-driver-ready-alert[hidden] {
    display: none;
}

.customer-driver-ready-card {
    width: min(100%, 390px);
    overflow: hidden;
    border: 1px solid rgba(63, 99, 194, 0.32);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(16, 28, 62, 0.34);
    animation: customer-driver-ready-in 180ms ease-out;
}

.customer-driver-ready-accent {
    height: 7px;
    background: linear-gradient(90deg, #1c326f 0%, #304e9e 52%, #6687df 100%);
}

.customer-driver-ready-content {
    padding: 27px 24px 23px;
    text-align: center;
}

.customer-driver-ready-brand {
    color: #304e9e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.customer-driver-ready-icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 16px auto 18px;
    place-items: center;
    color: #fff;
    border: 6px solid #edf2ff;
    border-radius: 999px;
    background: #304e9e;
    box-shadow: 0 8px 22px rgba(48, 78, 158, 0.28);
}

.customer-driver-ready-title {
    margin: 0;
    color: #1d2939;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
}

.customer-driver-ready-description {
    margin: 9px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}

.customer-driver-ready-time {
    min-height: 19px;
    margin: 10px 0 0;
    color: #304e9e;
    font-size: 12px;
    font-weight: 700;
}

.customer-driver-ready-confirm {
    width: 100%;
    margin-top: 19px;
    padding: 13px 16px;
    color: #fff;
    border: 0;
    border-radius: 11px;
    background: #304e9e;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.customer-driver-ready-confirm:hover {
    background: #243f85;
    transform: translateY(-1px);
}

.customer-driver-ready-confirm:focus-visible {
    outline: 3px solid #aebff1;
    outline-offset: 3px;
}

@keyframes customer-driver-ready-in {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .customer-driver-ready-card { animation: none; }
    .customer-driver-ready-confirm { transition: none; }
}

/* 렌트 정보 - 장소 검색 */
.place-group {
    margin-bottom: 14px;
}

.place-form-group {
    align-items: flex-start;
}

.place-input-wrap {
    flex: 1;
    min-width: 0;
}

.place-form-group .form-control {
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Noto Sans KR', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.place-form-group .form-control:focus {
    border-color: #304e9e;
}

.place-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.place-search-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.place-main-input {
    flex: 1;
}

.place-main-input.form-control {
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    cursor: pointer;
}

.place-search-btn {
    min-width: 76px;
    height: 45px;
    border: 0;
    border-radius: 8px;
    background: #7f8ca6;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    padding: 0 14px;
}


.place-detail-text {
    margin-top: 8px;
    min-height: 20px;
    font-size: 14px;
    color: #777;
    line-height: 1.4;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.place-detail-input {
    margin-top: 8px;
    display: block;
    width: 100%;
}

.place-detail-input.form-control {
    background: #fff;
}

.total-fee-input {
    text-align: right;
}

/* 렌트 정보 - 라디오 + 직접입력 */
.radio-item-custom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.radio-custom-input {
    width: 110px !important;
    height: 40px;
    padding: 8px 10px;
    text-align: center;
    font-size: 16px;
}

.radio-custom-unit {
    font-size: 16px;
    color: #555;
}

/* 렌트 정보 - 종합 보험 입력 */
.insurance-subtitle {
    margin: 45px 0 24px;
    font-size: 20px;
    font-weight: 700;
    padding: 10px;
    background-color: #e8f0ff;
    text-align: center;
    border-radius: 34px;
}

.insurance-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.insurance-text-input {
    flex: 1;
    min-width: 0;
    text-align: right;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 18px;
    font-family: 'Noto Sans KR', sans-serif;
    outline: none;
    height: 44px;
    line-height: 20px;
    background: #fff;
}

.insurance-text-input:focus {
    border-color: #304e9e;
}

.insurance-unit {
    font-size: 18px;
    font-weight: 500;
    color: #222;
    white-space: nowrap;
}

.ocr-loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.ocr-loading-overlay.active {
    display: flex;
}

.ocr-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: ocrSpin 0.8s linear infinite;
}

.ocr-loading-text {
    color: #fff;
    font-size: 15px;
    margin-top: 16px;
    text-align: center;
    line-height: 1.5;
}

@keyframes ocrSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =============================
   중고차 매매 계약서
   ============================= */

.used-contract-topbar {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: #222;
    letter-spacing: -0.03em;
    padding: 60px 20px 30px;
}

.used-contract-back {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 1px solid #dfe4f2;
    border-radius: 12px;
    background: #ffffff;
    color: #304e9e;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(31, 43, 77, 0.05);
    transition: all 0.2s ease;
    display: none;
}
.used-contract-back:hover {
    background: #f8fbff;
}

.used-contract-subtitle {
    margin: 0;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #222;
    letter-spacing: -0.03em;
    line-height: 1.3;
}

.used-contract-title {
    margin: 0;
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: #222;
    line-height: 1.2;
    letter-spacing: -0.03em;
}



.used-start-area {
   padding: 20px 50px 100px;
}

.used-primary-btn {
    width: 100%;
    height: 72px;
    border: 0;
    border-radius: 16px;
    background: #304e9e;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
}


.used-search-block {
    margin-bottom: 18px;
    padding: 10px 20px 18px;
    background: #ffffff;
    border: 1px solid #edf1f7;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(31, 43, 77, 0.05);
}

.used-label {
    width: 120px;
    font-size: 16px;
    font-weight: 600;
    color: #304e9e;
    flex-shrink: 0;
    word-break: keep-all;
    line-height: 20px;
    margin-bottom: 12px;
}

.used-search-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.used-input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #dee3ef;
    border-radius: 8px;
    background: #f8fbff;
    font-size: 15px;
    color: #222;
    font-family: 'Noto Sans KR', sans-serif;
    outline: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.used-input:focus {
    border-color: #304e9e;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(48, 78, 158, 0.08);
}

.used-search-btn {
    min-width: 90px;
    height: 45px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #3f63c2 0%, #304e9e 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(48, 78, 158, 0.16);
    transition: all 0.2s ease;
}
.used-input-right{
    text-align: right;
}
.used-search-btn:hover {
    transform: translateY(-1px);
}

.used-store-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
    border-top: none;
}

.used-store-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px;
    border: 1px solid #dee3eb;
    border-radius: 8px;
    background: #ffffff;

    transition: all 0.2s ease;
}

.used-store-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(31, 43, 77, 0.07);
}


.used-store-name {
    flex: 1;
    min-width: 0;
    font-size: 17px;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
    word-break: keep-all;
}

.used-store-select-btn {
    width: 110px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: #7f8ca6;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.used-store-select-btn:hover {
    background: #28458f;
}

.used-store-pagination {
    margin-top: 20px;
    padding: 16px 4px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.used-store-pagination-summary {
    font-size: 14px;
    font-weight: 600;
    color: #5a6578;
}

.used-store-pagination-nav {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.used-store-page-btn {
    min-width: 100px;
    height: 44px;
    padding: 0 18px;
    border: 1.5px solid rgba(48, 78, 158, 0.35);
    border-radius: 12px;
    background: #f8fbff;
    color: #304e9e;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.used-store-page-btn:hover:not(:disabled) {
    background: #e8f0ff;
}

.used-store-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.used-empty {
    padding: 42px 18px;
    border: 1px dashed #d7deeb;
    border-radius: 18px;
    background: #fbfcff;
    text-align: center;
    font-size: 15px;
    color: #7d8698;
}

.used-form {
    margin: 20px 0px 0;
    padding: 5px 15px 15px;
    background: #ffffff;
}

.used-form-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.used-form-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

}
.used-form-row:last-child {
    margin-bottom: 0;
}
.used-inline-link {
    border: 1px solid #dfe4f2;
    background: transparent;
    color: #5f8fcf;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    padding: 6px 15px;
    border-radius: 40px;
}

/* 정보 직접 입력: 업체 고정(잠금) vs 직접 수정(활성) */
.used-manual-input-toggle:not(.used-manual-input-active) {
    background: #f0f3f9;
    border-color: #d0d8e8;
    color: #5a6578;
}

.used-manual-input-toggle.used-manual-input-active {
    background: #304e9e;
    border-color: #304e9e;
    color: #fff;
}

/* 업체 연동 필드: 잠금(회색) vs 직접 입력(밝은 배경·강조 테두리) */
.used-input.used-readonly[disabled],
.used-input.used-readonly:disabled {
    background: #fafbff;

    color: #2a2f3a;
    -webkit-text-fill-color: #5a6172;
    opacity: 1;
}

.used-input.used-input-manual-mode:not(:disabled) {
    background: #fff;
    border-color: #7a9ad4;
    color: #1a1f2e;
}

.used-input.used-input-manual-mode:not(:disabled):focus {
    border-color: #304e9e;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(48, 78, 158, 0.12);
}

.used-address-row {
    display: flex;
    gap: 10px;
}
.used-address-row .used-input {
    flex: 1;
}
.used-address-btn {
    min-width: 76px;
    height: 45px;
    border: 0;
    border-radius: 8px;
    background: #7f8ca6;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    padding: 0 14px;
}

.used-address-btn:hover {
    background: #6f7c95;
}

.used-help-link-wrap {
    margin-top: 6px;
    margin-bottom: 18px;
    text-align: right;
}

.used-error-text {
   font-size: 13px;
       color: #e53935;
       line-height: 1.35;
       font-weight: 500;
       padding-right: 10%;
       text-align: right;
}

.used-section-divider {
    height: 1px;
    background: #edf1f7;
    margin: 20px 0 22px;
}

.used-section-title {
    margin: 0px 0 24px;
    font-size: 18px;
    font-weight: 700;
    padding: 10px;
    background-color: #e8f0ff;
    text-align: center;
    border-radius: 34px;
}

.used-section-hint {
    margin: -16px 0 18px;
    padding: 0 8px;
    font-size: 13px;
    color: #5a6578;
    line-height: 1.45;
    font-weight: 500;
}


.used-btn-prev,
.used-btn-next {
    flex: 1;
    height: 58px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.used-btn-prev {
    border: 1.5px solid rgba(48, 78, 158, 0.28);
    background: #f8fbff;
    color: #304e9e;
}


.used-btn-prev:hover {
    background: #eef4ff;
}



.used-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #111 50%), linear-gradient(135deg, #111 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 36px;
}

.used-custom-wrap {
    margin-top: 8px;
    margin-left: 14px;
    padding-left: 10px;
    border-left: 2px solid #ececec;
}

.used-radio-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.used-radio-label {
    margin-bottom: 0;
}

.used-radio-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    padding-top: 2px;
}

.used-radio-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

.used-radio-item input[type="radio"] {
    width: 20px;
    min-width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}
.used-conditional-section {
    margin: 10px 0px 15px;
    margin-left: 14px;
    padding-left: 10px;
    border-left: 2px solid #ececec;
}

.used-inline-top {
    margin-top: 8px;
}

.used-radio-help {
       margin: 5px 0 10px;
       font-size: 12px;
       color: #666;
       line-height: 1;
       word-break: keep-all;
       letter-spacing: -0.5px;
}


.used-conditional-section .used-radio-item,
.used-custom-wrap .used-radio-item {
    font-size: 14px;
}

.used-conditional-section .used-radio-help,
.used-custom-wrap .used-radio-help {
    font-size: 12px;
}

.used-radio-vertical-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.used-check-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 15px;
    color: #333;
    line-height: 1.45;
}

.used-doc-row {
    margin-bottom: 14px;
}

.used-doc-name {
    width: 160px;
    font-size: 17px;
    font-weight: 600;
    color: #304e9e;
    flex-shrink: 0;
    word-break: keep-all;
}

.used-doc-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.used-doc-upload-btn {
    min-width: 76px;
    height: 45px;
    border: 0;
    border-radius: 8px;
    background: #7f8ca6;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    padding: 0 14px;
}

.used-doc-check-label {
       border-radius: 8px;
       background: #ffffff;
       color: #304e9e;
       font-size: 14px;
       font-weight: 600;
       font-family: 'Noto Sans KR', sans-serif;
       cursor: pointer;
       padding: 8px 14px;
       border: 1px solid #d6dbea;
       display: flex;
       align-items: center;
       justify-content: center;
       margin: 0;
}

.used-doc-check-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #3a5bb4;
     margin-right: 3px;
}

.used-doc-file-name {
    margin: 7px 0 14px;
    font-size: 15px;
    color: #304e9e;
    word-break: break-all;
    display: block;
    padding-right: 10%;
    text-align: right;
    font-weight: 700;
    min-height: 4px;
}

/* 필수 문서: 메시지는 액션 줄 다음 줄, 가운데 정렬 */
.used-doc-actions > .used-error-text {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 4px;
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.used-doc-bulk-row {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.used-doc-bulk-confirm-btn {
    width: 100%;
    max-width: 320px;
    height: 48px;
    border: 1px solid #3a5bb4;
    border-radius: 8px;
    background: #fff;
    color: #304e9e;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
}

.used-doc-bulk-confirm-btn:active {
    background: #eef2fb;
}

.used-doc-help {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    color: #888;
}

.used-disclaimer-text {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

.used-disclaimer-text p {
    margin: 0 0 8px;
}

.used-flat-indent {
    margin-left: 0 !important;
    padding-left: 0 !important;
    border-left: 0 !important;
}

.used-amount-row {
    display: flex;
    align-items: center;
    gap: 8px;
}



.used-amount-unit {
    font-size: 15px;
    color: #333;
    white-space: nowrap;
}

.used-interest-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    flex-wrap: wrap;
}

.used-interest-input {
    width: 76px;
    height: 40px;
    border: 1px solid #cfcfcf;
    background: #fff;
    text-align: center;
    font-size: 15px;
    color: #333;
    outline: none;
}



.used-company-sign-top {
    position: relative;
    padding-top: 8px;
}

.used-company-sign-close {
    position: absolute;
    right: 0;
    top: 0;
    border: 0;
    background: transparent;
    font-size: 34px;
    color: #333;
    cursor: pointer;
    line-height: 1;
}

.used-company-sign-title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    color: #111;
    margin: 44px 0 18px;
}

.used-company-sign-tabs {
    display: flex;
    border: 1px solid #dcdcdc;
    border-bottom: 0;
}

.used-company-sign-tab {
    flex: 1;
    height: 54px;
    border: 0;
    border-right: 1px solid #dcdcdc;
    background: #f7f7f7;
    color: #222;
    font-size: 16px;
}

.used-company-sign-tab:last-child {
    border-right: 0;
}

.used-company-sign-tab.active {
    background: #304e9e;
    font-weight: 700;
    color: #fff;
}

.used-company-sign-canvas-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 22px 22px;
    background: #ffffff;
    border: 1px solid #edf1f7;
    box-shadow: 0 10px 24px rgba(31, 43, 77, 0.05);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 24px;
    border-bottom-left-radius: 24px;
}

.used-company-sign-canvas-wrap canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.used-sign-link-help {
    margin-top: 38px;
}

.used-sign-complete-wrap {
    text-align: center;
    padding-top: 22px;
}

.used-sign-complete-title {
    font-size: 22px;
    font-weight: 800;
    color: #1f2f57;
    letter-spacing: -0.03em;
    line-height: 1.35;
    padding: 0 8px;
}

.used-sign-complete-desc {
    margin-top: 12px;
    font-size: 15px;
    color: #5c6780;
    line-height: 1.55;
    padding: 0 12px;
    word-break: keep-all;
}

.used-sign-complete-action {
    width: 100%;
    height: 52px;
    margin-top: 10px;
    border: 1.5px solid #d4ddef;
    border-radius: 14px;
    background: #fff;
    color: #304e9e;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.used-sign-complete-action:hover {
    background: #f7faff;
    border-color: #304e9e;
}

.used-customer-complete-wrap {
    padding: 26px 22px 34px;
}


/* 보기 버튼 */
.btn-term-view {
    flex-shrink: 0;
    min-width: 54px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #dfe4f2;
    border-radius: 999px;
    line-height: 30px;
    text-align: center;
    transition: all 0.2s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn-term-view:hover {
    background: #edf3ff;
    border-color: rgba(48, 78, 158, 0.35);
}
@media (max-width: 1024px){

    .mobile-container{    width: 90%;  }

}
/* =========================
   640px 이하
   한 줄 버튼형으로 변경
========================= */
@media (max-width: 768px) {

 .used-primary-btn{  height: 62px; font-size: 20px; }
 .used-start-area{padding: 20px 20px 50px; }
    .mobile-container.contract-home {
        max-width: 480px;
        padding: 0 16px 32px;
    }

    .main-title-area {
        padding: 36px 0;
    }

    .main-title-area .sub-text {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .main-title-area .main-text {
        font-size: 24px;
        line-height: 1.25;
    }

    .contract-home-main {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .contract-card {
        width: 100%;
        border-radius: 18px;
        padding: 14px 16px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        box-shadow:
                0 10px 24px rgba(34, 61, 133, 0.14),
                0 14px 30px rgba(30, 42, 88, 0.07),
                inset 0 1px 0 rgba(255,255,255,0.10);
    }

    .contract-card-icon {
        width: 54px;
        height: 54px;
        min-width: 54px;
        margin-bottom: 0;
        box-shadow: none;
    }

    .contract-card-icon img {
        width: 30px;
        height: 30px;
    }

    .contract-card-title {
        flex: 1;
        min-width: 0;
        text-align: left;
        font-size: 16px;
        line-height: 1.35;
    }

    .contract-card-arrow {
        margin-top: 0;
        margin-left: auto;
        font-size: 24px;
        line-height: 1;
        flex-shrink: 0;
    }

    .contract-home-sub {
        margin-top: 12px;
    }

    .contract-card-sub {
        width: 100%;
        min-height: 88px;
        border-radius: 18px;
        padding: 14px 16px;
        gap: 14px;
    }

    .contract-card-sub-icon {
        width: 54px;
        height: 54px;
        min-width: 54px;
    }

    .contract-card-sub-icon img {
        width: 28px;
        height: 28px;
    }

    .contract-card-sub-text strong {
        font-size: 16px;
        line-height: 1.25;
    }

    .contract-card-sub-text em {
        font-size: 11px;
        line-height: 1.3;
    }

    .contract-card-sub-arrow {
        font-size: 24px;
    }



    /* =========================
         request.html 모바일
    ========================= */
    .page-title {
        font-size: 16px;
        padding: 10px 16px 10px;
        background: #ecf1ff;
        color: #304e9e;
        margin: 20px 0 30px;
    }
    .form-section,
    .input-method-area,
    .input-method-hint,
    .checkbox-area,
    .license-image-area,
    .license-info-section,
    .second-driver-section,
    .bottom-action {
        width: calc(100% - 20px);
    }

    .input-method-hint { font-size: 13px; word-break: keep-all;}
    .form-section,
    .license-info-section,
    .checkbox-area {
       padding: 6px 10px;
        width: 100%;
    }

    .form-group{      gap: 6px; }

    .form-group label {
        width: 25%;
        min-width: 0;
        font-size: 15px;
    }
.slider-group label{ font-size: 15px;}
    .form-group .form-control {
        height: 40px;
        font-size: 15px;
        min-height: 40px;
    }
    .radio-section{padding: 10px 24px 20px; margin-top: 16px;  }

    .radio-label{  width: 100px;  font-size: 15px;}
    .radio-item {font-size: 15px;}
    .input-method-area {
        gap: 8px;
        padding: 0;
        margin-top: 10px;
    }
    .radio-group{
        margin-bottom: 0;
        border-bottom: 1px solid #ddd;
        padding: 20px 0px;
        gap: 5px;
            }

     .insurance-unit {font-size: 15px; }
     .insurance-text-input {font-size: 16px; height: 40px; }


    .input-method-area .btn-method {
             height: 45px;
             border-radius: 8px;

    }

    .checkbox-item label {
        font-size: 14px;
        line-height: 1.2;
    }

    .second-driver-section .page-title {
        font-size: 20px;
        padding: 10px 16px 18px;
    }

    .btn-prev,
    .btn-next {
        height: 50px;
        font-size: 15px;
    }

    .request-form-wrap,
    .request-direct-wrap,
    .request-waiting-wrap {
        margin: 0 16px 14px;
        padding: 18px 10px;
        border-radius: 18px;
    }

    .request-input {
              height: 45px;
              font-size: 16px;
              width: 90%;
    }

    .btn-request-send,
    .btn-request-direct {
                height: 50px;
                font-size: 16px;
                border-radius: 8px;
                width: 90%;
    }

    .request-waiting-card {
        padding: 12px;
        border-radius: 12px;
    }
    .used-contract-title{ font-size: 22px;
        padding: 36px 16px 24px; }
    .used-contract-topbar{ font-size: 22px;
        padding: 36px 16px 24px;}
    .used-form-row{  gap: 6px;  display: flex; flex-wrap: wrap;}
    .used-label{
        width: 28%;
        min-width: 0;
        font-size: 14px;
        }

.used-error-text{
margin-bottom: 10px;font-size: 13px;line-height: 0.7rem; font-weight: 500; width: 100%;
  text-align: left;
}
    .mobile-container02 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-bottom: 28px;
    }

    .used-contract-container {
        width: 100%;
        max-width: 100%;
        padding: 20px 16px 34px; }
    .used-contract-container {
        width: 100%;
        max-width: 100%;
        padding: 20px 16px 34px;
    }

    /* 상단 */
    .used-contract-topbar {
        position: relative;
        padding: 18px 0 26px;
        min-height: auto;
    }


    .used-contract-title {
        font-size: 24px;
        line-height: 1.25;
        padding: 0 44px;
        word-break: keep-all;
    }

    /* 폼 전체 */
    .used-form {
        margin: 0;
        padding: 0;
    }


    .used-form-row-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 0;
    }

    .used-form-row-header .used-label {
        flex: 1;
        margin: 0;
    }



    .used-input {
        width: 100%;
        height: 40px;
        font-size: 14px;
        padding: 0 10px;
    }

    /* 주소 검색 버튼 세로 정리 */
    .used-address-row {
        display: flex;
        gap: 8px;
        align-items: stretch;
        width: 100%;
    }


    .used-help-link-wrap {
        margin-top: 4px;
        margin-bottom: 18px;
        text-align: right;
    }

    .used-section-divider {
        margin: 18px 0 18px;
    }

    .used-section-title {
        font-size: 18px;
        margin-bottom: 14px;
        line-height: 1.3;
    }

    .used-section-hint{ margin: -5px 0 18px;    text-align: center; }


.btn-sign-link-send {    height: 45px;     font-size: 15px; }
.btn-sign {    font-size: 15px;}

}

@media (max-width: 640px) {


    .btn-prev,
    .btn-next {
        width: 100%;
    }


}

/* =========================
   약관 팝업
========================= */

.btn-term-view {
    margin-left: auto;
    font-size: 13px;
    color: #304e9e;
    background: none;
    font-weight: 600;
    cursor: pointer;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================
   약관 팝업 디자인
========================= */

.terms-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.terms-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(2px);
}

.terms-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 640px);
    max-height: 82vh;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.20);
    display: flex;
    flex-direction: column;
}

.terms-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #eef2f8;
    background: linear-gradient(180deg, #fbfcff 0%, #f6f8fd 100%);
}

.terms-header span {
    font-size: 18px;
    font-weight: 800;
    color: #222;
    letter-spacing: -0.02em;
}

.terms-close {
    width: 34px;
    height: 34px;
    border: 1px solid #e4e9f3;
    border-radius: 50%;
    background: #fff;
    color: #556070;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.terms-body {
    padding: 20px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.8;
    color: #2f3640;
    white-space: normal;
    word-break: keep-all;
}

.terms-body h4 {
    font-size: 16px;
    font-weight: 800;
    color: #222;
    margin: 0 0 12px;
}

.terms-body h3 {
    font-size: 17px;
    font-weight: 800;
    color: #222;
    margin: 0 0 14px;
    line-height: 1.35;
}

.terms-body .terms-loading {
    text-align: center;
    color: #6d7485;
    padding: 24px 12px;
    font-size: 14px;
}

.terms-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 13px;
}

.terms-body th,
.terms-body td {
    border: 1px solid #e8edf5;
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
}

.terms-body th {
    background: #f8fbff;
    font-weight: 700;
    color: #304e9e;
}

/* =========================
   서명 모달 디자인
========================= */

.sign-modal-content {
    position: relative;
    background: #fff;
    width: min(92vw, 480px);
    border-radius: 22px;
    padding: 22px 20px 20px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
    z-index: 1;
    overflow: visible;
}

.sign-modal-title {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: #222;
    margin-bottom: 16px;
}

.sign-canvas-wrap {
    width: 100%;
    height: 220px;
    border: 1.5px solid #dfe4f2;
    border-radius: 16px;
    overflow: hidden;
    background:
            linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    touch-action: none;
}

.sign-modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.btn-sign-reset,
.btn-sign-complete {
    height: 52px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn-sign-reset {
    flex: 1;
    border: 1px solid #d7deeb;
    background: #fff;
    color: #5a6576;
}

.btn-sign-complete {
    flex: 1.3;
    border: none;
    background: linear-gradient(180deg, #3f63c2 0%, #304e9e 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(48, 78, 158, 0.18);
}

.sign-modal-close {
    position: absolute;
    top: -14px;
    right: -6px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: #304e9e;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(48, 78, 158, 0.20);
}

@media (max-width: 480px) {
    .used-contract-container {
        padding: 0px 25px 30px;
    }

    .used-contract-topbar {
        padding: 16px 0 22px;
    }


    .used-contract-title {
        font-size: 22px;
        padding: 0 40px;
    }


    .used-section-title {
        font-size: 17px;
    }
}

/* =============================
   렌터카 특화 추가 정보
============================= */

#rentcarExtraInfoForm .used-form-row {
    margin-bottom: 18px;
    flex-direction: column;
}

#rentcarExtraInfoForm .used-form-row:last-child {
    margin-bottom: 0;
}


#rentcarExtraInfoForm .used-radio-label {
    width: 170px;
}



#rentcarExtraInfoForm .used-radio-item input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #304e9e;
    margin: 0;
    flex-shrink: 0;
}

/* 조건부 영역 */
#rentcarExtraInfoForm .used-conditional-section {
    margin-top: 12px;
    margin-left: 188px;
    padding: 14px 14px 14px;
    border-left: none;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #e7edf8;
}

#rentcarExtraInfoForm .used-conditional-section .used-label {
    font-size: 14px;
    font-weight: 700;
    color: #304e9e;
    margin-bottom: 8px;
}

#rentcarExtraInfoForm .used-conditional-section .used-inline-top {
    margin-top: 12px;
}

#rentcarExtraInfoForm .used-conditional-section .used-input {
    width: 100%;
    height: 50px;
    border: 1.5px solid #dfe4f2;
    border-radius: 14px;
    background: #ffffff;
    padding: 0 14px;
    font-size: 14px;
    color: #222;
    outline: none;
    transition: all 0.2s ease;
}

#rentcarExtraInfoForm .used-conditional-section .used-input:focus {
    border-color: #304e9e;
    box-shadow: 0 0 0 4px rgba(48, 78, 158, 0.08);
}




/* 모바일 */
@media (max-width: 768px) {

    #rentcarExtraInfoForm .used-form-row {

        align-items: normal;
    }

    #rentcarExtraInfoForm .used-radio-item input[type="radio"] {
        width: 18px;
        height: 18px;
    }

    #rentcarExtraInfoForm .used-conditional-section {
        margin-left: 0;
        margin-top: 10px;
        padding: 12px;
        border-radius: 16px;
    }


}


/* =============================
   차량 상태 및 고지사항
============================= */

#vehicleConditionForm .used-form-row {
    margin-bottom: 20px;
}


#vehicleConditionForm .used-form-row:last-child {
    margin-bottom: 0;
}

#vehicleConditionForm .used-label {width: 170px;  }

#vehicleConditionForm .used-radio-item input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #304e9e;
    margin: 0;
    flex-shrink: 0;
}


#vehicleConditionForm .used-input:focus {
    border-color: #304e9e;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(48, 78, 158, 0.08);
}

#vehicleConditionForm .used-input::placeholder {
    color: #a0a8b7;
}

/* 조건부 카드 */
#vehicleConditionForm .used-conditional-section {
    margin-top: 12px;
    margin-left: 228px;
    padding: 14px;
    border-left: none;
    border-radius: 18px;

}

#vehicleConditionForm .used-conditional-section .used-label {
    font-size: 14px;
    margin-bottom: 8px;
}

#vehicleConditionForm .used-conditional-section .used-inline-top {
    margin-top: 12px;
}

#vehicleConditionForm #insuranceProcessedSection {
    margin-left: 0;
    margin-top: 12px;
}

/* 세로 라디오 그룹 */
#vehicleConditionForm .used-radio-vertical-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#vehicleConditionForm .used-radio-vertical-group .used-radio-item {
    font-size: 14px;
}

.used-check-row {
    font-size: 14px;
}
/* 안내 텍스트 */
#vehicleConditionForm .used-radio-help {
    margin-top: 10px;
    font-size: 12px;
    color: #6d7485;
    line-height: 1.5;
    word-break: keep-all;
}



#vehicleConditionForm .used-check-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #304e9e;
    flex-shrink: 0;
}

/* 구분선 / 섹션 제목 */
#vehicleConditionForm .used-section-divider {
    height: 1px;
    background: #edf1f7;
    margin: 24px 0 22px;
}

#vehicleConditionForm .used-section-title {
    margin: 45px 0 24px;
    font-size: 20px;
    font-weight: 700;
    padding: 10px;
    background-color: #e8f0ff;
    text-align: center;
    border-radius: 34px;
}

/* 하단 버튼은 기존 공통 used-bottom-actions 그대로 사용 */
.used-bottom-actions {
    max-width: 760px;
    margin: 22px auto 0;
    padding: 0;
    display: flex;
    gap: 12px;
}


.used-btn-prev:hover {
    background: #eef4ff;
}

.used-btn-next {
    border: none;
    background: linear-gradient(180deg, #3f63c2 0%, #304e9e 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(48, 78, 158, 0.18);
}

.used-btn-next:hover {
    transform: translateY(-1px);
}

/* =============================
   모바일
============================= */
@media (max-width: 768px) {

    #vehicleConditionForm .used-form-row {
        margin-bottom: 18px;
    }



    #vehicleConditionForm .used-radio-item {
        font-size: 14px;
    }

    #vehicleConditionForm .used-radio-item input[type="radio"] {
        width: 18px;
        height: 18px;
    }

    #vehicleConditionForm .used-input {
        height: 45px;
        border-radius: 8px;
        font-size: 14px;
    }

    #vehicleConditionForm .used-conditional-section {
        margin-left: 0;
        margin-top: 10px;
        padding: 5px;
        width: 100%;
         margin-bottom: 0;
    }

    #vehicleConditionForm .used-conditional-section .used-label {
        font-size: 13px;
    }

    #vehicleConditionForm .used-radio-help {
        font-size: 12px;
        margin-top: 8px;
    }


    #vehicleConditionForm .used-section-title {
        font-size: 18px;
        margin-bottom: 14px;
    }

    #vehicleConditionForm .used-label {
        width: 40%;
        font-size: 14px;
        letter-spacing: -1px;
        line-height: 20px;
    }

.used-check-row {
    font-size: 13px;
}
    .used-btn-prev,
    .used-btn-next {
                width: 100%;
                height: 46px;
                border-radius: 8px;
                font-size: 14px;
                line-height: 16px;
    }
.used-store-item{padding: 10px 12px;}
    .used-store-name{ font-size: 16px; }
    .used-store-select-btn{    height: 40px; }
}

@media (max-width: 480px) {
    #rentcarExtraInfoForm .used-radio-label {
        width: 145px;
        font-size: 14px;
        letter-spacing: -1px;
        .used-check-row{    font-size: 13px;}
    }

.used-radio-item{    font-size: 14px;}
    .used-doc-name {
        width: 100px;
        font-size: 14px;
        font-weight: 600;
        color: #304e9e;
        flex-shrink: 0;
        word-break: keep-all;
        letter-spacing: -1px;
    }

    .used-doc-upload-btn{
    height: 40px;
    padding: 0px 10px;
    font-size: 14px;
    }

    .used-doc-check-label{
    padding: 8px 14px;
        font-size: 14px;
    }
}

/* =============================
   하자 책임 및 면책 조항 / 약관 스크롤 박스
============================= */

.used-terms-scroll {
    max-height: 420px;
    overflow-y: auto;
    padding: 18px 18px 20px;
    border: 1.5px solid #dfe4f2;
    border-radius: 16px;
    background: #f8fbff;
    line-height: 1.72;
    color: #333;
}

.used-terms-scroll h3 {
    font-size: 18px;
    font-weight: 800;
    color: #222;
    margin: 0 0 10px;
}

.used-terms-scroll p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.75;
    word-break: keep-all;
}

.used-terms-scroll strong {
    color: #222;
    font-weight: 800;
}

.used-terms-scroll::-webkit-scrollbar {
    width: 10px;
}

.used-terms-scroll::-webkit-scrollbar-track {
    background: #eef2f8;
    border-radius: 999px;
}

.used-terms-scroll::-webkit-scrollbar-thumb {
    background: #c5cfdf;
    border-radius: 999px;
}

.used-terms-scroll::-webkit-scrollbar-thumb:hover {
    background: #aebbd1;
}

@media (max-width: 768px) {
    .used-terms-scroll {
        max-height: 360px;
        padding: 16px 14px 18px;
        border-radius: 14px;
    }

    .used-terms-scroll h3 {
        font-size: 16px;
    }

    .used-terms-scroll p {
        font-size: 13px;
        line-height: 1.7;
    }

    .mobile-container{    margin: 10px auto 0;}
}

/* =============================
   중고차 이용동의 및 서명
============================= */

#usedAgreementSignForm.used-form {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 22px 22px;
    background: #ffffff;
    border: 1px solid #edf1f7;
    border-radius: 24px;
    box-shadow: 0 10px 24px rgba(31, 43, 77, 0.05);
}

.used-agree-all-btn {
    width: 100%;
    height: 58px;
    border: 1.5px solid rgba(48, 78, 158, 0.22);
    border-radius: 18px;
    background: #f8fbff;
    color: #304e9e;
    font-size: 18px;
    font-weight: 800;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    margin-bottom: 16px;
}

.used-agree-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #eef2f8;
}

.used-agree-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 2px;
    border-bottom: 1px solid #eef2f8;
}

.used-agree-item-main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 3px;
    cursor: pointer;
    flex-direction: column;
}

.used-agree-check {
    width: 20px;
    min-width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #304e9e;
}

.used-agree-item-main span {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    word-break: keep-all;
}

.used-agree-view-btn {
    flex-shrink: 0;
    min-width: 58px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(48, 78, 158, 0.18);
    border-radius: 999px;
    background: #f8fbff;
    color: #304e9e;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
}

.used-agree-view-btn:hover {
    background: #eef4ff;
}

/* 하단 서명 요청 버튼 */
.used-sign-link-btn {
    display: block;
    width: 100%;
    max-width: 760px;
    margin: 12px auto 0;
    height: 58px;
    border: 1px solid #d9dfeb;
    border-radius: 18px;
    background: #ffffff;
    color: #4b5565;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(31, 43, 77, 0.04);
}

.used-sign-link-btn:hover {
    background: #f9fbff;
}

/* =============================
   약관 팝업
============================= */

.used-terms-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.used-terms-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(2px);
}

.used-terms-modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 720px);
    max-height: 82vh;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.20);
    display: flex;
    flex-direction: column;
}

.used-terms-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #eef2f8;
    background: linear-gradient(180deg, #fbfcff 0%, #f6f8fd 100%);
}

.used-terms-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #222;
    letter-spacing: -0.02em;
}

.used-terms-modal-close {
    width: 34px;
    height: 34px;
    border: 1px solid #e4e9f3;
    border-radius: 50%;
    background: #fff;
    color: #556070;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.used-terms-modal-body {
    padding: 20px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.8;
    color: #2f3640;
    word-break: keep-all;
}

.used-terms-modal-body h4 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    color: #222;
}

.used-terms-modal-body p {
    margin: 0 0 14px;
}

.used-terms-modal-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 16px;
    font-size: 13px;
}

.used-terms-modal-body th,
.used-terms-modal-body td {
    border: 1px solid #e8edf5;
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
}

.used-terms-modal-body th {
    background: #f8fbff;
    font-weight: 700;
    color: #304e9e;
}

@media (max-width: 768px) {
    #usedAgreementSignForm.used-form {
        padding: 18px 14px 16px;
        border-radius: 18px;
    }

    .used-agree-all-btn,
    .used-sign-link-btn {
        height: 54px;
        border-radius: 16px;
        font-size: 15px;
    }

    .used-agree-item {
        gap: 10px;
        padding: 14px 0;
    }

    .used-agree-item-main span {
        font-size: 14px;
        line-height: 1.45;
    }

    .used-agree-view-btn {
        min-width: 52px;
        height: 30px;
        font-size: 12px;
        padding: 0 10px;
    }

    .used-terms-modal-content {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 32px);
        border-radius: 20px;
    }

    .used-terms-modal-header {
        padding: 16px;
    }

    .used-terms-modal-header h3 {
        font-size: 16px;
    }

    .used-terms-modal-body {
        padding: 16px;
        font-size: 13px;
        line-height: 1.7;
    }
}



/* =============================
   중고차 전자서명 완료 페이지
============================= */

.used-customer-complete-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 52px 20px 56px;
    text-align: center;
}

.used-customer-complete-store {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: #eef4ff;
    color: #304e9e;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
}

.used-customer-complete-title {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    line-height: 1.35;
    letter-spacing: -0.03em;
    word-break: keep-all;
    margin-bottom: 24px;
}

.used-customer-complete-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 58px;
    padding: 0 24px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(180deg, #3f63c2 0%, #304e9e 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(48, 78, 158, 0.18);
    transition: all 0.2s ease;
    margin-bottom: 26px;
}

.used-customer-complete-download:hover {
    transform: translateY(-1px);
}

/* 미리보기 카드 */
.used-customer-complete-preview {
    position: relative;
    width: 100%;
    min-height: 560px;
    background: #ffffff;
    border: 1px solid #edf1f7;
    border-radius: 24px;
    box-shadow: 0 10px 24px rgba(31, 43, 77, 0.05);
    overflow: hidden;
}

.used-customer-complete-preview-frame {
    width: 100%;
    height: 560px;
    border: none;
    display: block;
    background: #f8fbff;
}

.used-customer-complete-preview-empty {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f8fbff;
    color: #7d8698;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 600;
}

/* 가이드 문구 */
.used-customer-complete-guide {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #edf1f7;
    color: #5f6778;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    word-break: keep-all;
}

/* =============================
   모바일
============================= */
@media (max-width: 768px) {
    .used-customer-complete-wrap {
        padding: 36px 16px 40px;
    }

    .used-customer-complete-store {

        margin-bottom: 14px;
    }

    .used-customer-complete-title {
        font-size: 26px;
        margin-bottom: 18px;
    }

    .used-customer-complete-download {
        width: 100%;
        min-width: 0;
        height: 54px;
        border-radius: 16px;
        font-size: 15px;
        margin-bottom: 18px;
    }

    .used-customer-complete-preview {
        min-height: 420px;
        border-radius: 18px;
    }

    .used-customer-complete-preview-frame {
        height: 420px;
    }

    .used-customer-complete-preview-empty {
        font-size: 16px;
        line-height: 1.5;
        padding: 0 20px;
    }

    .used-customer-complete-guide {
        margin-top: 16px;
        padding: 14px 14px;
        border-radius: 16px;
        font-size: 13px;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .used-customer-complete-wrap {
        padding: 28px 14px 34px;
    }

    .used-customer-complete-title {
        font-size: 22px;
        line-height: 1.4;
    }

    .used-customer-complete-preview {
        min-height: 360px;
    }

    .used-customer-complete-preview-frame {
        height: 360px;
    }

    .used-customer-complete-guide {
        font-size: 12px;
    }
}


/* =============================
   고객 진입 페이지 리뉴얼
   이전 완료 페이지와 통일감 있게
============================= */

.customer-entry-page {
    padding-bottom: 44px;
}

.customer-entry-hero-card {

    padding: 28px 18px 22px;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e6edf8;

    text-align: center;
}

.customer-entry-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #edf3ff;
    color: #304e9e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.customer-entry-intro {
    text-align: center;
    padding: 0;
}

.customer-entry-store-label {
    font-size: 13px;
    font-weight: 700;
    color: #7a86a2;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.customer-entry-store {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    line-height: 1.4;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.customer-entry-desc {
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.4;
    color: #1f2f57;
    font-weight: 700;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.customer-entry-consent-card {
    margin: 20px 0 0;
    padding: 24px 18px 20px;
    border-radius: 28px;
    background: #ffffff;

}

.customer-entry-consent-title {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #1f2f57;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.customer-entry-consent-box {
    margin: 0;
    border: 1px solid #e6edf8;
    background: #f8fbff;
    border-radius: 22px;
    padding: 18px 16px 16px;
}

.customer-entry-consent-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.customer-entry-check-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #23365f;
    line-height: 1.5;
    font-weight: 600;
    text-align: left;
}

.customer-entry-check-wrap input[type="checkbox"] {
    width: 22px;
    min-width: 22px;
    height: 22px;
    margin: 2px 0 0;
    accent-color: #304e9e;
}

.customer-entry-check-wrap span {
    flex: 1;
    min-width: 0;
    word-break: keep-all;
}

.customer-entry-policy-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    color: #304e9e;
    text-decoration: none;
    position: relative;
}

button.customer-entry-policy-link {
    border: 0;
    padding: 0;
    margin: 0;
    background: none;
    cursor: pointer;
    font-family: inherit;
    text-align: right;
}

.customer-entry-policy-link::after {
    content: '›';
    margin-left: 4px;
    font-size: 16px;
    line-height: 1;
}

.customer-entry-all-agree {
    margin-top: 16px;
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #3f63c2 0%, #304e9e 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(48, 78, 158, 0.18);
    transition: all 0.2s ease;
}

.customer-entry-all-agree:hover {
    transform: translateY(-1px);
}

.customer-entry-all-agree:active {
    transform: translateY(0);
}

.customer-entry-guide {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #6c7894;
    line-height: 1.5;
    font-weight: 600;
    word-break: keep-all;
}

.customer-entry-start-btn {
    width: 100%;
    height: 58px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #3f63c2 0%, #304e9e 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(48, 78, 158, 0.2);
    transition: all 0.2s ease;
}

.customer-entry-start-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.customer-entry-start-btn:active:not(:disabled) {
    transform: translateY(0);
}

.customer-entry-start-btn:disabled {
    background: #d9dfeb;
    color: #8d97ab;
    box-shadow: none;
    cursor: not-allowed;
}

/* 모바일 대응 */
@media (max-width: 480px) {


    .customer-entry-hero-card {
        padding: 24px 16px 18px;
    }

    .customer-entry-consent-card {
        padding: 20px 16px 18px;
    }

    .customer-entry-store {
        font-size: 18px;
    }

    .customer-entry-desc {
        font-size: 17px;
    }

    .customer-entry-check-wrap {
        font-size: 14px;
    }

    .customer-entry-action {
        padding-left: 16px;
        padding-right: 16px;
    }

    .customer-entry-all-agree,
    .customer-entry-start-btn {
        height: 54px;
        border-radius: 14px;
        font-size: 16px;
    }
}


    .terms-content {
        width: min(92vw, 560px);
        max-height: 82vh;
        display: flex;
        flex-direction: column;
        border-radius: 18px;
        overflow: hidden;
        background: #fff;
    }

    .terms-header {
        flex: 0 0 auto;
        padding: 16px 18px;
        border-bottom: 1px solid #e5e7eb;
        font-weight: 800;
    }

    .terms-body {
        flex: 1 1 auto;
        max-height: 62vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 18px 16px 22px;
        font-size: 14px;
        line-height: 1.72;
        color: #222;
        word-break: keep-all;
    }

    .terms-body h3 {
        margin: 0 0 10px;
        font-size: 17px;
        font-weight: 800;
        color: #111827;
    }

    .terms-body p {
        margin: 0 0 12px;
    }


/* =============================
   계약서 조회 페이지 정리
============================= */

.contract-viewer-page {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0 18px 40px;
    background: #fff;
}

.contract-viewer-page .page-title {
    font-size: 22px;
    font-weight: 800;
    color: #1f2f57;
    padding: 34px 0 22px;
    margin: 0;
    background: none;
    text-align: left;
}

.contract-viewer-page .form-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.contract-viewer-page .form-group {
    display: block;
    margin: 0;
}

.contract-viewer-page .form-group label {
    display: block;
    width: auto;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #304e9e;
}

.contract-viewer-page .form-group .form-control {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1.5px solid #dfe4f2;
    font-size: 15px;
    font-weight: 500;
}

.contract-viewer-page .bottom-action {
    width: 100%;
    padding: 18px 0 22px !important;
}

.contract-viewer-page .btn-group-row {
    gap: 10px;
    margin: 0;
}

.contract-viewer-page .btn-prev,
.contract-viewer-page .btn-next {
    height: 52px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
}

.contract-viewer-page #resultsSection {
    margin-top: 8px;
    border-top: 8px solid #f3f5f9;
    padding-top: 22px;
}

.contract-viewer-page .viewer-results-title {
    padding: 0 0 14px;
    border-top: 0;
    font-size: 17px;
    font-weight: 800;
    color: #222;
}

.contract-viewer-page .contract-list {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 결과 카드 */
.contract-viewer-page .contract-card {
    width: 100%;
    min-height: auto;
    border-radius: 20px;
    padding: 18px;
    background: linear-gradient(180deg, #3f63c2 0%, #304e9e 100%);
    box-shadow: 0 12px 26px rgba(48, 78, 158, 0.18);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.contract-viewer-page .contract-card-info {
    width: 100%;
}

.contract-viewer-page .contract-card-title {
    display: block;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    text-align: left;
}

.contract-viewer-page .contract-card-meta {
    margin-top: 8px;
    margin-bottom: 0;
    gap: 8px;
}

.contract-viewer-page .contract-status-badge {
    height: 26px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 26px;
    font-weight: 800;
}

.contract-viewer-page .contract-card-date {
    font-size: 14px;
    color: rgba(255,255,255,0.72);
}

.contract-viewer-page .viewer-search-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0 24px 14px;
    padding: 5px;
    border-radius: 12px;
    background: #eef2f8;
}

.contract-viewer-page .viewer-search-tabs[hidden] {
    display: none;
}

.contract-viewer-page .viewer-search-tab {
    min-height: 42px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #697386;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.contract-viewer-page .viewer-search-tab.is-active {
    background: #fff;
    color: #304e9e;
    box-shadow: 0 2px 8px rgba(48, 78, 158, 0.12);
}

.contract-viewer-page .viewer-search-tab[hidden],
.contract-viewer-page .form-section[hidden] {
    display: none;
}

.contract-viewer-page .contract-card-driver {
    margin-top: 6px;
    font-size: 14px;
    color: rgba(255,255,255,0.78);
    line-height: 1.4;
}

.contract-viewer-page .contract-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 2px 0 0;
}

.contract-viewer-page .btn-card-action {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
}


.contract-viewer-page .btn-card-download {
    background: #fff;
    color: #222;
    border: 1px solid rgba(255,255,255,0.75);
}

.contract-viewer-page .viewer-no-results {
    margin-top: 6px;
    padding: 34px 18px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #edf1f7;
    font-size: 14px;
    color: #7d8698;
}

/* PDF 보기 화면 */
.contract-viewer-page .complete-action-bar {
    padding: 14px 0 10px;
    background: #fff;
    gap: 10px;
}

.contract-viewer-page .btn-action {
    height: 52px;
    padding: 0 10px;
    border-radius: 14px;
    font-size: 15px;
}

.contract-viewer-page .complete-password-hint {
    margin: 0 0 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid #edf1f7;
    font-size: 13px;
    color: #5c6780;
}

.contract-viewer-page .pdf-preview-frame {
    min-height: calc(100vh - 210px);
    border-radius: 16px;
    background: #f3f5f9;
}

/* 모바일 */
@media (max-width: 480px) {
    .contract-viewer-page {
        padding: 0 16px 34px;
    }

    .contract-viewer-page .page-title {
        font-size: 21px;
        padding-top: 28px;
    }

    .contract-viewer-page .contract-card {
        border-radius: 18px;
        padding: 16px;
    }

    .contract-viewer-page .contract-card-title {
        font-size: 18px;
    }
}


/* =============================
   계약서 조회 페이지 전용
============================= */

.contract-viewer-page {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0 18px 40px;
    background: #fff;
}

/* 상단 타이틀 */
.contract-viewer-page .page-title {
    font-size: 24px;
    font-weight: 800;
    color: #1f2f57;
    padding: 34px 0 24px;
    margin: 0;
    background: none;
    text-align: left;
}

/* 검색 영역 */
.contract-viewer-page .form-section {
    margin: 0;
    padding: 0;
}

.contract-viewer-page .form-group {
    display: block;
    margin: 0;
}

.contract-viewer-page .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #304e9e;
}

.contract-viewer-page .form-group .form-control {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1.5px solid #dfe4f2;
    font-size: 15px;
    font-weight: 500;
    color: #222;
}

.contract-viewer-page .form-group .form-control:focus {
    border-color: #304e9e;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(48, 78, 158, 0.08);
}

/* 상단 버튼 */
.contract-viewer-page .bottom-action {
    padding: 18px 0 26px !important;
}

.contract-viewer-page .btn-group-row {
    display: flex;
    gap: 10px;
}

.contract-viewer-page .btn-prev,
.contract-viewer-page .btn-next {
    flex: 1;
    height: 52px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
}

/* 결과 영역 */
.contract-viewer-page #resultsSection {
    margin-top: 8px;
    padding-top: 22px;
    border-top: 8px solid #f3f5f9;
}

.contract-viewer-page .viewer-results-title {
    padding: 0 0 16px;
    border: 0;
    font-size: 18px;
    font-weight: 800;
    color: #222;
}

/* 리스트 */
.contract-viewer-page .contract-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e8edf5;
}

/* 리스트 아이템 */
.contract-viewer-page .contract-card {
    padding: 18px 0;
    border-bottom: 1px solid #e8edf5;
    background: #fff;
    box-shadow: none;

    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* 차량명 */
.contract-viewer-page .contract-card-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    color: #222;
    letter-spacing: -0.02em;
}

/* 상태 + 날짜 */
.contract-viewer-page .contract-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.contract-viewer-page .contract-status-badge {
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 24px;
}

.contract-viewer-page .contract-card-date {
    font-size: 14px;
    color: #7d8698;
}

/* 고객 정보 */
.contract-viewer-page .contract-card-driver {
    margin-top: 6px;
    font-size: 14px;
    color: #5c6780;
    line-height: 1.45;
}

/* 버튼 */
.contract-viewer-page .contract-card-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.contract-viewer-page .btn-card-action {
    flex: 1;
    height: 42px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
}

/* 보기 버튼 */
.contract-viewer-page .btn-card-view {
        background: #f8fbff;
        color: #304e9e;
        border: 1.5px solid rgba(48, 78, 158, 0.28);
}

/* 다운로드 버튼 */
.contract-viewer-page .btn-card-download {
    background: #f8fbff;
    color: #304e9e;
    border: 1px solid #dfe4f2;
}

/* 결과 없음 */
.contract-viewer-page .viewer-no-results {
    margin-top: 12px;
    padding: 32px 20px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid #edf1f7;
    font-size: 14px;
    color: #7d8698;
    text-align: center;
}

.contract-viewer-page .viewer-pagination {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e8edf5;
}

.contract-viewer-page .viewer-pagination[hidden] {
    display: none;
}

.contract-viewer-page .viewer-pagination-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.contract-viewer-page .viewer-pagination-button {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #dfe4f2;
    border-radius: 10px;
    background: #fff;
    color: #304e9e;
    font-size: 13px;
    font-weight: 700;
}

.contract-viewer-page .viewer-pagination-button.is-active {
    border-color: #304e9e;
    background: #304e9e;
    color: #fff;
}

.contract-viewer-page .viewer-pagination-button:disabled {
    cursor: default;
    opacity: 0.4;
}

/* 숫자 금액 입력의 한글 단위 미리보기 */
.korean-amount-preview {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin: 8px 0 0;
    padding: 8px 12px;
    border-radius: 10px;
    background: #f4f5f7;
    color: #303642;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.korean-amount-preview[hidden] {
    display: none;
}

.form-group .amount-preview-field {
    flex: 1;
    min-width: 0;
}

.form-group .amount-preview-field .form-control {
    width: 100%;
}

/* PDF 영역 */
.contract-viewer-page .complete-action-bar {
    display: flex;
    gap: 10px;
    padding: 14px 0 10px;
    background: #fff;
}

.contract-viewer-page .btn-action {
    flex: 1;
    height: 52px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
}

.contract-viewer-page .complete-password-hint {
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid #edf1f7;
    font-size: 13px;
    color: #5c6780;
    text-align: center;
}

.contract-viewer-page .pdf-preview-frame {
    width: 100%;
    min-height: calc(100vh - 210px);
    border: none;
    border-radius: 16px;
    background: #f3f5f9;
}

/* 모바일 */
@media (max-width: 480px) {

    .contract-viewer-page {
        padding: 0 16px 34px;
    }

    .contract-viewer-page .page-title {
        font-size: 22px;
        padding-top: 28px;
    }

    .contract-viewer-page .contract-card {
        padding: 16px 0;
    }

    .contract-viewer-page .contract-card-title {
        font-size: 17px;
    }

    .contract-viewer-page .contract-card-driver {
        font-size: 13px;
    }

    .contract-viewer-page .btn-card-action {
        height: 40px;
        font-size: 13px;
    }
}

/* 단기 계약 업무 탭 + 계약 서비스 공통 하단 메뉴 */
.contract-global-bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    body.contract-workspace-page,
    body.contract-global-nav-page {
        display: block;
        min-height: 100vh;
        min-height: 100dvh;
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
        background: #fff;
        color: #101b33;
    }

    .contract-workspace-page footer.footer-wrapper,
    .contract-global-nav-page footer.footer-wrapper {
        display: none;
    }

    .contract-workspace {
        width: 100%;
        max-width: 520px;
        min-height: calc(100dvh - 150px);
        margin: 0 auto;
        padding: 12px 20px 36px;
    }

    .contract-workspace-title-row {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 0 18px;
    }

    .contract-workspace-title-row .page-title {
        margin: 0;
        padding: 0;
        background: none;
        color: #101b33;
        font-size: 24px;
        font-weight: 800;
        line-height: 1.3;
        text-align: left;
    }

    .contract-workspace-back {
        color: #162849;
        font-size: 34px;
        font-weight: 400;
        line-height: 1;
        text-decoration: none;
    }

    .contract-workspace-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-bottom: 1px solid #e5eaf2;
    }

    .contract-workspace-tab {
        position: relative;
        min-height: 54px;
        padding: 0 4px;
        border: 0;
        background: transparent;
        color: #5f6f88;
        font: inherit;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
    }

    .contract-workspace-tab.is-active {
        color: #2168e5;
        font-weight: 800;
    }

    .contract-workspace-tab.is-active::after {
        content: "";
        position: absolute;
        right: 8px;
        bottom: -1px;
        left: 8px;
        height: 3px;
        border-radius: 999px 999px 0 0;
        background: currentColor;
    }

    .contract-workspace-panel {
        padding-top: 24px;
    }

    .contract-workspace-panel[hidden] {
        display: none;
    }

    .contract-workspace-intro {
        margin-bottom: 20px;
    }

    .contract-workspace-intro h2 {
        margin: 0;
        color: #101b33;
        font-size: 23px;
        font-weight: 800;
        line-height: 1.35;
        letter-spacing: -0.04em;
    }

    .contract-workspace-intro p {
        margin: 7px 0 0;
        color: #65748d;
        font-size: 14px;
        line-height: 1.5;
    }

    .contract-send-hero {
        position: relative;
        min-height: 168px;
        display: flex;
        align-items: center;
        margin: -24px -20px 20px;
        padding: 24px 20px;
        overflow: hidden;
        background: linear-gradient(135deg, #f7faff 0%, #edf4ff 100%);
    }

    .contract-send-hero-copy {
        position: relative;
        z-index: 1;
        width: 64%;
    }

    .contract-send-hero h2 {
        margin: 0;
        color: #101b33;
        font-size: 22px;
        font-weight: 800;
        line-height: 1.35;
        letter-spacing: -0.045em;
        word-break: keep-all;
    }

    .contract-send-hero p {
        margin: 10px 0 0;
        color: #60708b;
        font-size: 14px;
        line-height: 1.55;
    }

    .contract-send-hero-visual {
        position: absolute;
        top: 16px;
        right: 0;
        bottom: 0;
        width: 42%;
        overflow: hidden;
        pointer-events: none;
    }

    .contract-send-hero-visual img {
        position: absolute;
        right: -100px;
        bottom: 8px;
        width: 235px;
        max-width: none;
        height: auto;
    }

    .contract-workspace .request-form-wrap,
    .contract-workspace .request-direct-wrap,
    .contract-workspace .request-waiting-wrap {
        margin: 0;
        border-radius: 18px;
        text-align: left;
    }

    .contract-workspace .request-form-wrap {
        padding: 20px;
        border: 1px solid #e5eaf3;
    }

    .contract-workspace .request-label {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 10px;
        color: #20345b;
        font-size: 16px;
        font-weight: 800;
        text-align: left;
    }

    .contract-workspace .request-label svg {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: #667995;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .contract-workspace .request-input,
    .contract-workspace .btn-request-send,
    .contract-workspace .btn-request-direct {
        width: 100%;
    }

    .contract-workspace .request-input {
        height: 54px;
        padding: 0 16px;
        border-radius: 12px !important;
        font-size: 17px;
        text-align: left;
    }

    .contract-workspace .btn-request-send {
        height: 54px;
        border-radius: 12px;
        background: #2168e5;
        font-size: 17px;
    }

    .contract-workspace .btn-request-send svg {
        width: 22px;
        height: 22px;
        margin-right: 8px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
        vertical-align: -5px;
    }

    .request-send-guide {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
        margin-top: 18px;
        padding: 14px 16px;
        border-radius: 14px;
        background: #f2f6fd;
        color: #60708b;
        font-size: 13px;
        line-height: 1.45;
    }

    .request-send-guide-icon {
        width: 28px;
        height: 28px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #72a3f1;
        color: #fff;
        font-weight: 800;
    }

    .request-send-guide > div {
        min-width: 0;
        display: grid;
        gap: 5px;
    }

    .request-send-guide strong {
        color: #2c4168;
        font-size: 14px;
    }

    .contract-workspace .request-direct-wrap {
        margin-top: 18px;
        padding: 0;
        border: 0;
    }

    .contract-workspace .btn-request-direct {
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 18px;
        border-radius: 12px;
        background: #fff;
        line-height: 1;
        font-size: 15px;
    }

    .request-direct-label {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 11px;
    }

    .request-direct-label svg {
        width: 25px;
        height: 25px;
        flex: 0 0 auto;
        fill: none;
        stroke: #526b91;
        stroke-width: 1.75;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .request-direct-label > span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .request-direct-arrow {
        flex: 0 0 auto;
        color: #1765dc;
        font-family: Arial, sans-serif;
        font-size: 29px;
        font-weight: 400;
        line-height: 1;
    }

    .request-waiting-filters,
    .contract-history-filters {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 18px;
    }

    .request-waiting-filters button,
    .contract-history-filters button {
        min-width: 0;
        min-height: 42px;
        padding: 0 7px;
        border: 1px solid #dfe5ef;
        border-radius: 999px;
        background: #fff;
        color: #53627a;
        font: inherit;
        font-size: 13px;
        font-weight: 700;
    }

    .request-waiting-filters button.is-active {
        border-color: #8edebd;
        background: #eafaf2;
        color: #16875a;
    }

    .contract-history-filters button.is-active {
        border-color: #79a9f8;
        background: #eef5ff;
        color: #1765dc;
    }

    .request-waiting-filters span,
    .contract-history-filters span {
        display: inline-grid;
        min-width: 22px;
        height: 22px;
        place-items: center;
        margin-left: 3px;
        border-radius: 999px;
        background: rgba(94, 111, 140, .09);
    }

    .contract-workspace .request-waiting-wrap {
        padding: 0;
        border: 0;
    }

    .contract-workspace .request-waiting-summary {
        margin: 0 0 10px;
    }

    .contract-workspace .request-waiting-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 7px 12px;
        padding: 16px;
        border-radius: 16px;
        box-shadow: 0 5px 15px rgba(25, 48, 87, .05);
        text-align: left;
    }

    .contract-workspace .request-waiting-card-top {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 9px;
    }

    .contract-workspace .request-waiting-status {
        min-height: 28px;
        padding: 0 10px;
        background: #dcf8e9;
        color: #16875a;
        font-size: 12px;
    }

    .contract-workspace .request-waiting-updated {
        font-size: 12px;
    }

    .contract-workspace .request-waiting-close {
        display: none;
    }

    .contract-workspace .request-waiting-contact {
        color: #101b33;
        font-size: 17px;
        font-weight: 800;
    }

    .contract-workspace .request-waiting-store {
        color: #65748d;
        font-size: 13px;
    }

    .contract-workspace .request-waiting-btn {
        grid-column: 2;
        grid-row: 2 / span 2;
        align-self: center;
        width: auto;
        min-width: 86px;
        height: 42px;
        margin: 0;
        padding: 0 13px;
        border: 1px solid #74a2ef;
        background: #fff;
        color: #1765dc;
    }

    .contract-history-list {
        display: grid;
        gap: 11px;
    }

    .contract-history-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px;
        padding: 16px;
        border: 1px solid #e5eaf3;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 5px 15px rgba(25, 48, 87, .05);
    }

    .contract-history-card-main {
        min-width: 0;
        display: grid;
        gap: 4px;
    }

    .contract-history-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #65748d;
        font-size: 11px;
    }

    .contract-history-status {
        padding: 5px 8px;
        border-radius: 999px;
        background: #e8f2ff;
        color: #1765dc;
        font-weight: 800;
    }

    .contract-history-card strong {
        overflow: hidden;
        color: #101b33;
        font-size: 17px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .contract-history-card-main > span,
    .contract-history-card small {
        overflow: hidden;
        color: #65748d;
        font-size: 13px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .contract-history-view {
        min-width: 88px;
        height: 42px;
        padding: 0 12px;
        border: 1px solid #1765dc;
        border-radius: 11px;
        background: #fff;
        color: #1765dc;
        font: inherit;
        font-size: 13px;
        font-weight: 800;
    }

    .contract-history-more {
        width: 100%;
        min-height: 48px;
        margin-top: 16px;
        border: 1px solid #c9d8ef;
        border-radius: 13px;
        background: #f7faff;
        color: #1765dc;
        font: inherit;
        font-size: 14px;
        font-weight: 800;
    }

    .contract-history-more[hidden] {
        display: none;
    }

    .contract-workspace-top {
        position: fixed;
        z-index: 1001;
        right: 18px;
        bottom: calc(88px + env(safe-area-inset-bottom));
        width: 42px;
        height: 42px;
        border: 1px solid #d1dced;
        border-radius: 50%;
        background: rgba(255, 255, 255, .96);
        color: #405778;
        font-size: 20px;
        font-weight: 700;
        box-shadow: 0 6px 18px rgba(27, 48, 80, .13);
    }

    .contract-workspace-top[hidden] {
        display: none;
    }

    .contract-workspace-empty {
        padding: 34px 16px;
        border-radius: 16px;
        background: #f6f8fb;
        color: #738097;
        font-size: 14px;
        text-align: center;
    }

    .contract-workspace-empty[hidden] {
        display: none;
    }

    .contract-global-bottom-nav {
        position: fixed;
        z-index: 1000;
        right: 0;
        bottom: 0;
        left: 0;
        height: calc(76px + env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 7px 8px env(safe-area-inset-bottom);
        border-top: 1px solid #e4e9f1;
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 -5px 18px rgba(20, 36, 65, .04);
    }

    .contract-global-nav-item {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 4px 2px;
        border: 0;
        background: transparent;
        color: #778296;
        font: inherit;
        font-size: 11px;
        font-weight: 650;
        text-decoration: none;
    }

    .contract-global-nav-item:not(:last-child) {
        border-right: 1px solid #e5eaf2;
    }

    .contract-global-nav-item:active {
        background: #f4f7fb;
    }

    .contract-global-nav-item svg {
        width: 25px;
        height: 25px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .contract-global-nav-item svg circle {
        fill: currentColor;
        stroke: none;
    }

    .contract-global-nav-item.is-active {
        color: #2168e5;
        font-weight: 800;
    }

    .contract-global-nav-page .contract-viewer-page {
        padding-bottom: 100px;
    }
}

@media (max-width: 370px) {
    .contract-workspace {
        padding-right: 16px;
        padding-left: 16px;
    }

    .contract-workspace-title-row .page-title {
        font-size: 21px;
    }

    .contract-send-hero {
        margin-right: -16px;
        margin-left: -16px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .contract-send-hero h2 {
        font-size: 20px;
    }

    .contract-send-hero-visual img {
        right: -105px;
        width: 220px;
    }

    .contract-workspace-intro h2 {
        font-size: 21px;
    }

    .request-waiting-filters button,
    .contract-history-filters button {
        font-size: 12px;
    }

    .contract-history-card {
        gap: 9px;
        padding: 14px;
    }

    .contract-history-view {
        min-width: 78px;
        padding: 0 9px;
        font-size: 12px;
    }
}

/* 전자계약 홈·단기 계약 업무: PC */
@media (min-width: 768px) {
    .contract-mobile-hero { display: grid; grid-template-columns: minmax(0,1fr) 320px; align-items: center; }
    .contract-mobile-copy { position: relative; z-index: 1; min-width: 0; }
    .contract-mobile-illustration { width: 100%; transform: none; pointer-events: none; }
    .contract-mobile-illustration svg { display: block; width: 100%; height: auto; }
    .contract-mobile-card-list { display: grid; }
    .contract-mobile-card {
        position: relative; width: 100%; display: flex; align-items: center; overflow: hidden;
        color: #13223f; text-decoration: none; background: #e7f2ff;
        box-shadow: 0 8px 24px rgba(31,61,105,.08);
    }
    .contract-mobile-card-short { background: #dff5ef; }
    .contract-mobile-card-long { background: #fff0d9; }
    .contract-mobile-card-icon {
        min-width: 92px; display: grid; place-items: center; overflow: hidden;
        border-radius: 50%; background: #fff; box-shadow: 0 5px 14px rgba(15,49,111,.1);
    }
    .contract-mobile-card-icon img { display: block; max-width: none; object-fit: contain; }
    .contract-mobile-card-image-short { width: 84px !important; height: 84px !important; transform: none; }
    .contract-mobile-card-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; }
    .contract-mobile-card-copy strong { color: #13223f; font-weight: 600; white-space: normal; }
    .contract-mobile-card-arrow { flex: 0 0 auto; font: 400 38px/1 Arial,sans-serif; }
    .contract-mobile-info { display: flex; align-items: center; gap: 13px; background: #eef5ff; color: #315f9f; }
    .contract-mobile-info-icon {
        width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center;
        border-radius: 50%; background: #6498eb; color: #fff; font-weight: 700;
    }
    .contract-mobile-info p { margin: 0; font-size: 15px; font-weight: 600; }

    .contract-workspace-title-row { display: flex; align-items: center; gap: 14px; }
    .contract-workspace-title-row .page-title { margin: 0; padding: 0; background: none; color: #101b33; text-align: left; }
    .contract-workspace-back { color: #162849; font-size: 38px; line-height: 1; text-decoration: none; }
    .contract-workspace-tab { border: 0; background: transparent; font: inherit; cursor: pointer; }
    .contract-workspace-panel[hidden] { display: none; }
    .contract-send-hero { position: relative; display: flex; align-items: center; overflow: hidden; background: linear-gradient(135deg,#f7faff,#edf4ff); }
    .contract-send-hero-copy { position: relative; z-index: 1; width: 56%; }
    .contract-send-hero h2 { margin: 0; color: #101b33; font-weight: 800; letter-spacing: -.04em; }
    .contract-send-hero p { margin: 10px 0 0; color: #60708b; }
    .contract-send-hero-visual { position: absolute; top: 0; right: 0; bottom: 0; width: 44%; overflow: hidden; }
    .contract-send-hero-visual img { position: absolute; bottom: 0; max-width: none; height: auto; }
    .contract-workspace .request-form-wrap { border: 1px solid #e5eaf3; text-align: left; }
    .contract-workspace .request-label { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; color: #20345b; font-size: 18px; font-weight: 800; }
    .contract-workspace .request-label svg { width: 26px; height: 26px; fill: none; stroke: #667995; stroke-width: 1.8; }
    .contract-workspace .request-input { width: 100%; height: 58px; padding: 0 18px; border: 1px solid #dfe6f1; border-radius: 13px !important; font-size: 17px; text-align: left; }
    .contract-workspace .btn-request-send { width: 100%; height: 58px; border: 0; border-radius: 13px; background: #2168e5; color: #fff; font-size: 18px; font-weight: 800; }
    .contract-workspace .btn-request-send svg { width: 23px; height: 23px; margin-right: 8px; fill: none; stroke: currentColor; stroke-width: 1.8; vertical-align: -5px; }
    .request-send-guide { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px; padding: 20px; background: #f2f6fd; color: #60708b; line-height: 1.55; }
    .request-send-guide-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #72a3f1; color: #fff; }
    .request-send-guide > div { display: grid; gap: 6px; }
    .request-send-guide strong { color: #2c4168; font-size: 15px; }
    .contract-workspace .btn-request-direct { width: 100%; height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border: 1px solid #8aace5; border-radius: 16px; background: #fff; color: #244e94; font-size: 16px; font-weight: 800; }
    .request-direct-label { display: flex; align-items: center; gap: 11px; }
    .request-direct-label svg { width: 26px; height: 26px; fill: none; stroke: #526b91; stroke-width: 1.75; }
    .request-direct-arrow { color: #1765dc; font: 400 29px/1 Arial,sans-serif; }

    .contract-hub-page, .contract-workspace-page { background: #f4f7fc; }
    .contract-home-desktop-ui, .contract-mobile-bottom-nav,
    .contract-workspace-page .contract-global-bottom-nav { display: none !important; }
    .contract-mobile-hub {
        display: block; width: min(1180px, calc(100% - 64px)); min-height: auto;
        margin: 48px auto 72px; padding: 0; background: transparent;
    }
    .contract-mobile-hero {
        min-height: 230px; margin: 0 0 30px; padding: 44px 48px; overflow: hidden;
        border: 1px solid #e1e8f3; border-radius: 28px;
        background: linear-gradient(115deg, #fff 40%, #eef5ff 100%);
        box-shadow: 0 18px 50px rgba(25,55,100,.08);
    }
    .contract-mobile-copy h1 {
        max-width: 540px; margin: 0; font-size: clamp(36px,3.2vw,48px);
        line-height: 1.2; letter-spacing: -.045em;
    }
    .contract-mobile-hero-visual { right: 40px; width: 300px; height: 220px; }
    .contract-mobile-card-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
    .contract-mobile-card {
        min-height: 174px; padding: 26px 28px; gap: 20px; border-radius: 24px;
        transition: transform .2s ease, box-shadow .2s ease;
    }
    .contract-mobile-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(31,62,105,.12); }
    .contract-mobile-card-icon { width: 92px; height: 92px; flex: 0 0 92px; }
    .contract-mobile-card-image-used, .contract-mobile-card-image-long {
        width: 76px !important; height: 76px !important; transform: none;
    }
    .contract-mobile-card-copy strong { font-size: clamp(20px,1.55vw,24px); line-height: 1.35; }
    .contract-mobile-card-arrow { margin-left: auto; color: #526883; }
    .contract-mobile-pending-badge { position: absolute; top: 18px; right: 18px; }
    .contract-mobile-info { max-width: none; margin-top: 24px; padding: 22px 28px; border-radius: 20px; }

    .contract-workspace {
        width: min(1120px,calc(100% - 64px)); max-width: none; min-height: auto;
        margin: 42px auto 72px; padding: 0;
    }
    .contract-workspace-title-row { margin: 0 0 22px; }
    .contract-workspace-title-row .page-title { font-size: 34px; letter-spacing: -.04em; }
    .contract-workspace-tabs {
        display: grid; grid-template-columns: repeat(3,1fr); margin: 0 0 26px; padding: 7px;
        border: 1px solid #e0e7f1; border-radius: 18px; background: #fff;
        box-shadow: 0 10px 26px rgba(28,57,99,.06);
    }
    .contract-workspace-tab { min-height: 54px; border-radius: 13px; font-size: 17px; }
    .contract-workspace-tab::after { display: none; }
    .contract-workspace-tab.is-active { background: #eaf2ff; color: #1767e8; }
    .contract-workspace-panel {
        overflow: hidden; border: 1px solid #e0e7f1; border-radius: 28px;
        background: #fff; box-shadow: 0 20px 56px rgba(25,55,100,.08);
    }
    .contract-workspace-panel[data-contract-panel="send"] {
        display: none; grid-template-columns: minmax(0,1.35fr) minmax(320px,.65fr);
        gap: 24px; padding: 28px;
    }
    .contract-workspace-panel[data-contract-panel="send"].is-active { display: grid; }
    .contract-send-hero {
        grid-column: 1/-1; min-height: 210px; margin: 0; padding: 38px 42px; border-radius: 22px;
    }
    .contract-send-hero h2 { font-size: 30px; }
    .contract-send-hero p { font-size: 17px; line-height: 1.7; }
    .contract-send-hero-visual img { right: 20px; width: 390px; }
    .request-form-wrap {
        grid-column: 1; grid-row: 2/span 2; margin: 0; padding: 30px; border-radius: 22px;
    }
    .request-send-guide, .request-direct-wrap { margin: 0; border-radius: 20px; }
    .request-send-guide { grid-column: 2; grid-row: 2; }
    .request-direct-wrap { grid-column: 2; grid-row: 3; align-self: end; }
    .contract-workspace-panel[data-contract-panel="waiting"],
    .contract-workspace-panel[data-contract-panel="history"] { padding: 34px; }
    .contract-workspace-intro { margin-bottom: 24px; }
    .contract-workspace-intro h2 { font-size: 28px; }
    .request-waiting-filters, .contract-history-filters {
        max-width: 660px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 10px; margin-bottom: 24px;
    }
    .request-waiting-filters button, .contract-history-filters button {
        min-height: 46px; border: 1px solid #dfe5ef; border-radius: 999px;
        background: #fff; color: #53627a; font: inherit; font-size: 14px; font-weight: 700;
    }
    .request-waiting-filters button.is-active { border-color: #8edebd; background: #eafaf2; color: #16875a; }
    .contract-history-filters button.is-active { border-color: #79a9f8; background: #eef5ff; color: #1765dc; }
    .request-waiting-filters span, .contract-history-filters span {
        display: inline-grid; min-width: 24px; height: 24px; place-items: center;
        margin-left: 4px; border-radius: 999px; background: rgba(94,111,140,.09);
    }
    .contract-workspace .request-waiting-wrap { padding: 0; border: 0; }
    .contract-workspace .request-waiting-card, .contract-history-card {
        display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center;
        gap: 10px 14px; padding: 20px; border: 1px solid #e5eaf3;
        border-radius: 18px; background: #fff; box-shadow: 0 5px 15px rgba(25,48,87,.05);
    }
    .request-waiting-card-top { grid-column: 1/-1; display: flex; align-items: center; gap: 9px; }
    .request-waiting-status { padding: 6px 10px; border-radius: 999px; background: #dcf8e9; color: #16875a; font-weight: 800; }
    .request-waiting-contact, .contract-history-card strong { color: #101b33; font-size: 18px; font-weight: 800; }
    .request-waiting-store, .request-waiting-updated,
    .contract-history-meta, .contract-history-card-main > span, .contract-history-card small { color: #65748d; font-size: 13px; }
    .request-waiting-btn, .contract-history-view {
        min-width: 100px; height: 44px; padding: 0 14px; border: 1px solid #1765dc;
        border-radius: 11px; background: #fff; color: #1765dc; font: inherit; font-weight: 800;
    }
    .contract-history-card-main { min-width: 0; display: grid; gap: 5px; }
    .contract-history-meta { display: flex; align-items: center; gap: 8px; }
    .contract-history-status { padding: 5px 8px; border-radius: 999px; background: #e8f2ff; color: #1765dc; font-weight: 800; }
    .contract-history-more {
        width: 100%; min-height: 50px; margin-top: 18px; border: 1px solid #c9d8ef;
        border-radius: 13px; background: #f7faff; color: #1765dc; font: inherit; font-weight: 800;
    }
    .contract-workspace-empty { padding: 38px 18px; border-radius: 16px; background: #f6f8fb; color: #738097; text-align: center; }
    .contract-history-more[hidden], .contract-workspace-empty[hidden] { display: none; }
    .request-waiting-list, .contract-history-list {
        display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px;
    }
    .request-waiting-card, .contract-history-card { margin: 0; min-height: 160px; }
    .contract-workspace-top-button { right: 32px; bottom: 32px; }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .contract-mobile-hub, .contract-workspace { width: calc(100% - 40px); }
    .contract-mobile-card-list { gap: 14px; }
    .contract-mobile-card { padding: 22px 18px; gap: 12px; }
    .contract-mobile-card-icon { width: 76px; height: 76px; flex-basis: 76px; }
    .contract-mobile-card-image-used, .contract-mobile-card-image-long {
        width: 64px !important; height: 64px !important;
    }
    .contract-mobile-hero-visual { opacity: .75; }
    .contract-workspace-panel[data-contract-panel="send"] {
        grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr);
    }
}

/* =========================================================
   계약서 조회: PC · 태블릿 · 모바일 공통 반응형 UI
========================================================= */
body.contract-global-nav-page {
    background: #f6f8fc;
    color: #102347;
}

.contract-global-nav-page .contract-viewer-page {
    width: min(1200px, calc(100% - 64px));
    max-width: none;
    margin: 42px auto 72px;
    padding: 0;
    overflow: visible;
    background: transparent;
}

.contract-viewer-page .viewer-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.contract-viewer-page .viewer-title-row .page-title {
    margin: 0;
    padding: 0;
    color: #102347;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.045em;
}

.contract-viewer-page .viewer-back-link {
    display: none;
    color: #102347;
    font: 400 42px/1 Arial, sans-serif;
    text-decoration: none;
}

.contract-viewer-page .viewer-search-tabs {
    width: min(620px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 30px;
    padding: 6px;
    border: 1px solid #e1e7f1;
    border-radius: 18px;
    background: #edf1f7;
}

.contract-viewer-page .viewer-search-tab {
    min-height: 52px;
    border-radius: 13px;
    color: #6d7890;
    font-size: 17px;
}

.contract-viewer-page .viewer-search-tab.is-active {
    color: #205abf;
    box-shadow: 0 3px 12px rgba(32, 73, 140, .09);
}

.contract-viewer-page .viewer-search-area {
    display: grid;
    gap: 16px;
}

.contract-viewer-page .viewer-search-copy h2 {
    margin: 0;
    color: #1d4e9f;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.035em;
}

.contract-viewer-page .viewer-search-copy p {
    margin: 6px 0 0;
    color: #71809a;
    font-size: 14px;
    line-height: 1.55;
}

.contract-viewer-page .viewer-search-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
    padding: 26px;
    border: 1px solid #dce5f2;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(32, 59, 104, .045);
}

.contract-viewer-page .viewer-customer-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contract-viewer-page .viewer-account-fields {
    min-width: 0;
}

.contract-viewer-page .form-section[hidden] {
    display: none;
}

.contract-viewer-page .form-group label {
    margin-bottom: 9px;
    color: #18345f;
    font-size: 15px;
    font-weight: 800;
}

.contract-viewer-page .form-group .form-control {
    height: 56px;
    padding: 0 17px;
    border: 1px solid #d6dfed;
    border-radius: 14px;
    background: #fbfcfe;
    color: #14294d;
    font-size: 16px;
}

.contract-viewer-page .form-group .form-control::placeholder {
    color: #9aa7bb;
}

.contract-viewer-page .form-group .form-control:focus {
    border-color: #2c67d4;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(44, 103, 212, .09);
}

.contract-viewer-page .viewer-keyword-input-wrap {
    position: relative;
}

.contract-viewer-page .viewer-keyword-input-wrap svg {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 17px;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: #7889a3;
    stroke-width: 1.8;
    stroke-linecap: round;
    transform: translateY(-50%);
}

.contract-viewer-page .viewer-keyword-input-wrap .form-control {
    padding-left: 52px;
}

.contract-viewer-page .viewer-search-card .bottom-action {
    width: auto;
    padding: 0 !important;
}

.contract-viewer-page .viewer-search-card .btn-next {
    width: auto;
    min-width: 190px;
    height: 56px;
    padding: 0 28px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #3268d8, #2354ba);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(36, 82, 181, .18);
}

.contract-viewer-page #resultsSection {
    margin-top: 42px;
    padding: 0;
    border: 0;
}

.contract-viewer-page .viewer-results-heading {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}

.contract-viewer-page .viewer-results-title {
    margin: 0;
    padding: 0;
    color: #101f3d;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
}

.contract-viewer-page .viewer-results-count {
    color: #74829a;
    font-size: 17px;
    font-weight: 700;
}

.contract-viewer-page .contract-list {
    display: grid;
    gap: 14px;
    padding: 0;
    border: 0;
}

.contract-viewer-page .contract-card {
    width: 100%;
    min-height: 150px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 22px 24px;
    border: 1px solid #dfe6f1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(33, 59, 100, .045);
}

.contract-viewer-page .contract-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
}

.contract-viewer-page .contract-type-badge,
.contract-viewer-page .contract-status-badge {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.contract-viewer-page .type-short-term { background: #dcf6ec; color: #13825d; }
.contract-viewer-page .type-long-term { background: #fff0d7; color: #d67014; }
.contract-viewer-page .type-used-car { background: #dcecff; color: #1766c4; }

.contract-viewer-page .contract-card-date {
    margin-left: auto;
    color: #75829a;
    font-size: 14px;
    white-space: nowrap;
}

.contract-viewer-page .contract-card-title {
    color: #102347;
    font-size: 19px;
    font-weight: 800;
}

.contract-viewer-page .contract-card-driver,
.contract-viewer-page .contract-card-vehicle {
    margin-top: 5px;
    overflow: hidden;
    color: #64738d;
    font-size: 14px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contract-viewer-page .contract-card-actions {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 8px;
    margin: 0;
}

.contract-viewer-page .btn-card-action {
    width: auto;
    min-width: 112px;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 14px;
}

.contract-viewer-page .btn-card-view,
.contract-viewer-page .btn-card-download {
    border: 1px solid #2b63ca;
    background: #fff;
    color: #2258bb;
}

.contract-viewer-page .btn-card-download {
    border-color: #d5deeb;
    color: #5f6f87;
}

.contract-viewer-page .viewer-no-results {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0;
    padding: 36px 20px;
    border: 1px solid #dfe6f1;
    border-radius: 20px;
    background: #fff;
    color: #71809a;
}

.contract-viewer-page .viewer-no-results p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.contract-viewer-page .viewer-empty-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf3ff;
    color: #4e72b9;
}

.contract-viewer-page .viewer-empty-icon svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contract-viewer-page .viewer-pagination {
    margin-top: 20px;
    padding-top: 0;
    border: 0;
}

.contract-viewer-page .viewer-top-button {
    position: fixed;
    z-index: 900;
    right: 28px;
    bottom: 28px;
    width: 44px;
    height: 44px;
    border: 1px solid #d3ddeb;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: #345781;
    font-size: 20px;
    box-shadow: 0 7px 20px rgba(25, 50, 88, .13);
}

.contract-viewer-page .viewer-top-button[hidden] {
    display: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .contract-global-nav-page .contract-viewer-page {
        width: calc(100% - 40px);
        margin-top: 32px;
    }

    .contract-viewer-page .viewer-search-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .contract-viewer-page .viewer-search-card .btn-next {
        width: 100%;
    }

    .contract-viewer-page .contract-card-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    body.contract-global-nav-page {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
        background: #fff;
    }

    .contract-global-nav-page .client-site-header-root {
        display: none;
    }

    .contract-global-nav-page .contract-viewer-page {
        width: 100%;
        margin: 0 auto;
        padding: 0 20px calc(104px + env(safe-area-inset-bottom));
    }

    .contract-viewer-page .viewer-title-row {
        min-height: 82px;
        justify-content: center;
        margin: 0;
        padding: 18px 0 12px;
    }

    .contract-viewer-page .viewer-title-row .page-title {
        font-size: 25px;
        text-align: center;
    }

    .contract-viewer-page .viewer-back-link {
        position: absolute;
        left: 20px;
        display: block;
    }

    .contract-viewer-page .viewer-search-tabs {
        width: 100%;
        margin: 8px 0 28px;
        border-radius: 17px;
    }

    .contract-viewer-page .viewer-search-tab {
        min-height: 48px;
        font-size: 16px;
    }

    .contract-viewer-page .viewer-search-copy h2 {
        color: #66758d;
        font-size: 18px;
    }

    .contract-viewer-page .viewer-search-copy p {
        display: none;
    }

    .contract-viewer-page .viewer-search-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 20px 18px;
        border-radius: 18px;
        box-shadow: none;
    }

    .contract-viewer-page .viewer-customer-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .contract-viewer-page .form-group label {
        font-size: 16px;
    }

    .contract-viewer-page .form-group .form-control {
        height: 54px;
        font-size: 16px;
    }

    .contract-viewer-page .viewer-search-card .btn-next {
        width: 100%;
        min-width: 0;
        height: 54px;
    }

    .contract-viewer-page #resultsSection {
        margin-top: 34px;
    }

    .contract-viewer-page .viewer-results-title {
        font-size: 23px;
    }

    .contract-viewer-page .contract-card {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 18px;
        border-radius: 18px;
    }

    .contract-viewer-page .contract-card-meta {
        flex-wrap: wrap;
    }

    .contract-viewer-page .contract-card-date {
        margin-left: auto;
    }

    .contract-viewer-page .contract-card-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contract-viewer-page .btn-card-action {
        width: 100%;
        min-width: 0;
        height: 46px;
    }

    .contract-viewer-page .viewer-no-results {
        min-height: 190px;
    }

    .contract-viewer-page .viewer-top-button {
        right: 16px;
        bottom: calc(88px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 370px) {
    .contract-global-nav-page .contract-viewer-page {
        padding-right: 16px;
        padding-left: 16px;
    }

    .contract-viewer-page .viewer-back-link {
        left: 16px;
    }

    .contract-viewer-page .contract-card-date {
        width: 100%;
        margin-left: 0;
    }
}

/* 최종 우선순위: 공통 헤더와 모서리 세부 조정 */
.contract-hub-page .client-site-header-root,
.contract-workspace-page .client-site-header-root,
.contract-global-nav-page .client-site-header-root {
    position: sticky;
    z-index: 1200;
    top: 0;
    display: block;
    background: rgba(255,255,255,.97);
    box-shadow: 0 1px 0 rgba(26,48,82,.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.contract-mobile-hero, .contract-workspace-panel { border-radius: 18px; }
.contract-mobile-card, .contract-send-hero,
.contract-workspace .request-form-wrap,
.contract-workspace .request-waiting-card,
.contract-history-card,
.contract-viewer-page .viewer-search-card,
.contract-viewer-page .contract-card { border-radius: 14px; }
.contract-mobile-info, .contract-workspace-tabs,
.request-send-guide, .contract-workspace .request-direct-wrap,
.contract-workspace-empty,
.contract-viewer-page .viewer-search-tabs,
.contract-viewer-page .viewer-no-results { border-radius: 12px; }
.contract-workspace-tab, .contract-workspace .request-input,
.contract-workspace .btn-request-send, .contract-workspace .btn-request-direct,
.request-waiting-btn, .contract-history-view, .contract-history-more,
.contract-viewer-page .viewer-search-tab,
.contract-viewer-page .form-group .form-control,
.contract-viewer-page .viewer-search-card .btn-next,
.contract-viewer-page .btn-card-action,
.contract-viewer-page .viewer-pagination-button,
.contract-viewer-page .btn-action { border-radius: 9px !important; }
.contract-viewer-page .viewer-search-card .btn-next {
    min-width: 164px;
    height: 50px;
    padding: 0 22px;
    font-size: 15px;
}
.contract-viewer-page .btn-card-action {
    min-width: 100px;
    height: 40px;
    padding: 0 13px;
    font-size: 13px;
}

@media (max-width: 767px) {
    .contract-global-nav-page .client-site-header-root { display: block; }
    .contract-mobile-hero, .contract-mobile-card { border-radius: 14px; }
    .contract-workspace-panel,
    .contract-workspace .request-form-wrap,
    .contract-workspace .request-waiting-card,
    .contract-history-card,
    .contract-viewer-page .viewer-search-card,
    .contract-viewer-page .contract-card { border-radius: 12px; }
    .request-send-guide, .contract-workspace .request-direct-wrap,
    .contract-viewer-page .viewer-search-tabs,
    .contract-viewer-page .viewer-no-results { border-radius: 11px; }
    .contract-viewer-page .viewer-title-row { min-height: 70px; }
    .contract-viewer-page .viewer-search-tab { min-height: 44px; font-size: 15px; }
    .contract-viewer-page .form-group .form-control { height: 48px; }
    .contract-viewer-page .viewer-search-card .btn-next {
        width: min(180px,100%); min-width: 0; height: 46px;
        justify-self: center; padding: 0 20px; font-size: 15px;
    }
    .contract-viewer-page .contract-card { padding: 16px; }
    .contract-viewer-page .contract-card-actions { gap: 7px; }
    .contract-viewer-page .btn-card-action {
        width: 100%; min-width: 0; height: 40px;
        padding: 0 10px; font-size: 13px;
    }
}

/* 사이드 메뉴 최종 레이어 우선순위 */
body.contract-hub-page .side-menu-overlay,
body.contract-workspace-page .side-menu-overlay,
body.contract-global-nav-page .side-menu-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    background: rgba(15,23,42,.48) !important;
}
body.contract-hub-page .side-menu-overlay.open,
body.contract-workspace-page .side-menu-overlay.open,
body.contract-global-nav-page .side-menu-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
}
body.contract-hub-page .side-menu,
body.contract-workspace-page .side-menu,
body.contract-global-nav-page .side-menu {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100dvh !important;
    overflow-y: auto;
    background: #fff !important;
}
body.contract-hub-page .side-menu.open,
body.contract-workspace-page .side-menu.open,
body.contract-global-nav-page .side-menu.open {
    right: 0 !important;
}

.vehicle-selector-page-heading .used-contract-back {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   운전자 정보 1 / 4 - 개인·법인 반응형 UI
========================================================= */
.driver-info-page {
    background: #fff;
    color: #101b33;
}

.driver-info-page .client-site-header-root {
    position: sticky;
    z-index: 1200;
    top: 0;
    display: block;
    background: rgba(255,255,255,.97);
    box-shadow: 0 1px 0 rgba(26,48,82,.08);
}

.driver-info-page .mobile-container {
    width: min(760px, calc(100% - 48px));
    margin: 0 auto;
    padding: 42px 0 64px;
    overflow: visible;
}

.driver-step-header {
    margin-bottom: 38px;
}

.driver-step-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 14px;
}

.driver-step-heading h1 {
    margin: 0;
    color: #101b33;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.035em;
}

.driver-step-heading > span {
    color: #69758b;
    font-size: 22px;
    font-weight: 500;
    white-space: nowrap;
}

.driver-step-heading strong {
    color: #2765d8;
    font-size: 30px;
    font-weight: 600;
}

.driver-step-progress {
    height: 6px;
    overflow: hidden;
    border-radius: 3px;
    background: #e3e9f3;
}

.driver-step-progress span {
    display: block;
    width: 25%;
    height: 100%;
    border-radius: inherit;
    background: #2868df;
}

.driver-info-page #driverInfoForm {
    padding-bottom: 0;
}

.driver-info-page .form-section,
.driver-info-page .license-info-section {
    margin: 0;
    padding: 0;
    background: transparent;
}

.driver-info-page .customer-type-section {
    margin-bottom: 42px;
}

.driver-info-page .customer-type-section .form-group {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 24px;
}

.driver-info-page .customer-type-section .form-group > label {
    width: auto;
    color: #16284c;
    font-size: 18px;
    font-weight: 600;
}

.driver-info-page .customer-type-radios {
    gap: 12px;
}

.driver-info-page .customer-type-radio span {
    min-height: 40px;
    border: 1px solid #cdd8e9;
    border-radius: 9px;
    background: #fff;
    color: #556077;
    font-size: 17px;
    box-shadow: none;
}

.driver-info-page .customer-type-radio input:checked + span {
    border-color: #2868df;
    background: #2868df;
    color: #fff;
    box-shadow: none;
}

.driver-info-page .corporate-customer-section {
    margin-bottom: 42px;
    padding: 0 0 38px;
    border-top: 0;
    border-bottom: 1px solid #dfe6f0;
}

.driver-info-page .section-subtitle {
    margin: 0 0 28px;
    color: #101b33;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
}

.driver-info-page .driver-license-title {
    margin-top: 0;
}

.driver-info-page .corporate-customer-section .form-group,
.driver-info-page #individualDriverSection > .form-section .form-group,
.driver-info-page #actualAddressSection .form-group,
.driver-info-page .license-info-section .form-group,
.driver-info-page .second-driver-section .form-group {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    margin-bottom: 14px;
}

.driver-info-page .form-group label {
    width: auto;
    color: #183265;
    font-size: 16px;
    font-weight: 600;
}

.driver-info-page .required-mark {
    color: #f05b36;
}

.driver-info-page .form-group .form-control {
    width: 100%;
    height: 40px;
    min-height: 40px;
    border: 1px solid #cfd9e8;
    border-radius: 8px;
    background: #fbfcfe;
    font-size: 16px;
}

.driver-info-page .form-group .form-control:focus {
    border-color: #2868df;
    box-shadow: 0 0 0 3px rgba(40,104,223,.09);
}

.driver-info-page .form-group-address {
    align-items: start;
}

.driver-info-page .form-group-address > label {
    padding-top: 8px;
}

.driver-info-page .address-search-fields,
.driver-info-page .address-search-row {
    gap: 8px;
}

.driver-info-page .btn-address-search {
    flex-basis: 92px;
    height: 40px;
    border-radius: 8px;
    background: #244f9f;
    font-weight: 600;
}

.driver-info-page .driver-lookup-area {
    margin-bottom: 22px;
}

.driver-info-page .driver-lookup-trigger {
    width: 100%;
    min-height: 40px;
    padding: 0 20px;
    border: 1px solid #d2ddeb;
    border-radius: 8px;
    background: #f7faff;
    color: #2455a8;
    font: 600 17px 'Noto Sans KR', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.driver-info-page .driver-lookup-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #132b58;
}

.driver-info-page .driver-lookup-area p {
    margin: 10px 0 0;
    color: #6f7c91;
    font-size: 14px;
    line-height: 1.55;
}

.driver-info-page .input-method-area {
    gap: 12px;
    margin: 14px 0 0 154px;
    padding: 0;
}

.driver-info-page .input-method-area .btn-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    border-radius: 6px;
    font-size: 16px;
}

.driver-info-page .btn-method.btn-method-outline {
    border-color: #82aaff;
    background: #fff;
    color: #1764ef;
}

.driver-info-page .btn-method.btn-method-dark {
    border: 1px solid #82aaff;
    background: #f3f7ff;
    color: #1764ef;
}

.driver-info-page .input-method-hint {
    margin: 10px 0 28px 154px;
    padding: 0;
    color: #315ea9;
    font-size: 13px;
    text-align: left;
}

.driver-info-page .checkbox-area {
    margin: 10px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #dfe6f0;
    background: transparent;
}

.driver-info-page .checkbox-item {
    min-height: 48px;
    align-items: center;
    padding: 10px 4px;
}

.driver-info-page .checkbox-item + .checkbox-item {
    border-top: 1px solid #edf1f6;
}

.driver-info-page .checkbox-item input[type="checkbox"] {
    width: 24px;
    min-width: 24px;
    height: 24px;
    margin: 0;
}

.driver-info-page .checkbox-item label {
    color: #253148;
    font-size: 16px;
}

.driver-info-page .license-info-section {
    margin: 24px 0;
    padding-top: 24px;
    border-top: 1px solid #dfe6f0;
}

.driver-info-page .license-image-area {
    max-width: 640px;
    margin: 24px auto;
    border-radius: 8px;
    box-shadow: none;
}

.driver-info-page .second-driver-section {
    margin: 32px 0 0;
    padding: 28px 0 0;
    border-top-color: #dfe6f0;
}

.driver-info-page .second-driver-section .page-title {
    padding: 0 0 26px;
    color: #101b33;
    font-size: 24px;
    font-weight: 600;
    text-align: left;
}

.driver-info-page .bottom-action {
    margin-top: 28px;
    padding: 22px 0 0;
    border-top: 1px solid #dfe6f0;
}

.driver-info-page .btn-group-row {
    gap: 14px;
    margin: 0;
}

.driver-info-page .btn-prev,
.driver-info-page .btn-next {
    height: 44px;
    border-radius: 8px;
    font-size: 17px;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .driver-info-page .mobile-container {
        width: min(760px, calc(100% - 64px));
        padding-top: 36px;
    }
}

@media (max-width: 767px) {
    .driver-info-page .mobile-container {
        width: 100%;
        margin: 0;
        padding: 26px 20px calc(100px + env(safe-area-inset-bottom));
    }

    .driver-info-page .driver-step-header {
        margin-bottom: 30px;
    }

    .driver-info-page .driver-step-heading {
        margin-bottom: 12px;
    }

    .driver-info-page .driver-step-heading h1 {
        font-size: 25px;
    }

    .driver-info-page .driver-step-heading > span {
        font-size: 18px;
    }

    .driver-info-page .driver-step-heading strong {
        font-size: 26px;
    }

    .driver-info-page .driver-step-progress {
        height: 5px;
    }

    .driver-info-page .customer-type-section {
        margin-bottom: 34px;
    }

    .driver-info-page .customer-type-section .form-group {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px;
    }

    .driver-info-page .customer-type-section .form-group > label {
        font-size: 16px;
    }

    .driver-info-page .customer-type-radio span {
        min-height: 40px;
        font-size: 16px;
    }

    .driver-info-page .section-subtitle {
        margin-bottom: 24px;
        font-size: 23px;
    }

    .driver-info-page .corporate-customer-section {
        margin-bottom: 34px;
        padding-bottom: 30px;
    }

    .driver-info-page .corporate-customer-section .form-group,
    .driver-info-page #individualDriverSection > .form-section .form-group,
    .driver-info-page #actualAddressSection .form-group,
    .driver-info-page .license-info-section .form-group,
    .driver-info-page .second-driver-section .form-group {
        display: block;
        margin-bottom: 18px;
    }

    .driver-info-page .form-group label {
        display: block;
        width: 100%;
        margin-bottom: 8px;
        padding: 0;
        font-size: 15px;
    }

    .driver-info-page .form-group .form-control {
        height: 40px;
        font-size: 15px;
    }

    .driver-info-page .form-group-address > label {
        padding-top: 0;
    }

    .driver-info-page .btn-address-search {
        flex-basis: 68px;
        height: 40px;
    }

    .driver-info-page .driver-lookup-trigger {
        min-height: 40px;
        padding: 0 16px;
        font-size: 16px;
    }

    .driver-info-page .driver-lookup-area p {
        font-size: 13px;
    }

    .driver-info-page .input-method-area,
    .driver-info-page .input-method-hint {
        margin-left: 0;
    }

    .driver-info-page .input-method-area .btn-method {
        height: 40px;
        padding: 0 8px;
        font-size: 15px;
    }

    .driver-info-page .input-method-hint {
        margin-bottom: 24px;
        font-size: 12px;
    }

    .driver-info-page .checkbox-area {
        margin-top: 8px;
    }

    .driver-info-page .checkbox-item {
        gap: 11px;
        padding: 12px 2px;
    }

    .driver-info-page .checkbox-item label {
        font-size: 14px;
        word-break: keep-all;
    }

    .driver-info-page .bottom-action {
        position: fixed;
        z-index: 900;
        right: 0;
        bottom: 0;
        left: 0;
        margin: 0;
        padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid #e1e7f0;
        background: rgba(255,255,255,.97);
        box-shadow: 0 -8px 22px rgba(25,42,75,.05);
    }

    .driver-info-page .btn-group-row {
        max-width: 620px;
        margin: 0 auto;
        gap: 10px;
    }

    .driver-info-page .btn-prev,
    .driver-info-page .btn-next {
        height: 44px;
        font-size: 16px;
    }
}

@media (max-width: 370px) {
    .driver-info-page .mobile-container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .driver-info-page .bottom-action {
        padding-right: 16px;
        padding-left: 16px;
    }

    .driver-info-page .customer-type-section .form-group {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .driver-info-page .input-method-area .btn-method {
        font-size: 14px;
    }
}

/* 운전자 정보 최종 레이아웃 우선순위 */
.driver-info-page footer.footer-wrapper { display: none; }
.driver-info-page .driver-license-title { margin-bottom: 18px; }
.driver-info-page .driver-lookup-area {
    padding: 16px;
    border: 1px solid #dce5f1;
    border-radius: 8px;
    background: #f7faff;
}
.driver-info-page .driver-lookup-trigger {
    min-height: 40px;
    border-radius: 7px;
    background: #fff;
    box-shadow: none;
}
.driver-info-page #primaryInputMethodArea,
.driver-info-page #primaryInputMethodArea + .input-method-hint { margin-left: 0; }
.driver-info-page #primaryInputMethodArea { margin-top: 0; }
.driver-info-page .driver-form-subsection {
    padding: 28px 0;
    border-top: 1px solid #dfe6f0;
}
.driver-info-page .driver-form-subsection:first-child { margin-top: 6px; }
.driver-info-page .driver-form-subsection .section-subtitle,
.driver-info-page .driver-options-title {
    margin-bottom: 20px;
    font-size: 21px;
}
.driver-info-page .license-info-section {
    margin: 0;
    padding: 0;
    border-top: 0;
}
.driver-info-page .driver-options-title {
    margin-top: 6px;
    padding-top: 26px;
    border-top: 1px solid #dfe6f0;
}
.driver-info-page .checkbox-area { padding-top: 0; border-top: 0; }
@media (max-width: 767px) {
    .driver-info-page .driver-lookup-area { padding: 14px; }
    .driver-info-page .driver-form-subsection { padding: 24px 0; }
    .driver-info-page .driver-form-subsection .section-subtitle,
    .driver-info-page .driver-options-title { font-size: 20px; }
}

/* 최종 시안: 검색과 입력 방법을 하나의 가벼운 패널로 구성 */
.driver-info-page .driver-method-icon {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
}

.driver-info-page .driver-lookup-trigger {
    gap: 12px;
    text-align: left;
}

.driver-info-page .driver-lookup-trigger:focus-visible,
.driver-info-page .btn-method:focus-visible {
    outline: 3px solid #b6ceff;
    outline-offset: 2px;
}

.driver-info-page .corporate-customer-section {
    padding: 16px;
    border: 0;
    border-radius: 8px;
    background: #f5f8fd;
}

.driver-info-page .corporate-customer-section .section-subtitle {
    margin-bottom: 10px;
    font-size: 18px;
}

.driver-info-page .corporate-lookup-trigger {
    font-size: 14px;
    font-weight: 500;
    color: #79869a;
}

.driver-info-page .corporate-lookup-hint {
    margin: 8px 0 0;
    color: #6f7c91;
    font-size: 12px;
    line-height: 1.55;
}

.driver-info-page .corporate-customer-section:has(.corporate-lookup-trigger[style*="display: none"]) .corporate-lookup-hint {
    display: none;
}

.driver-info-page .corporate-selection-summary {
    margin: 12px 0 0;
    padding: 12px;
    background: #fff;
}

.driver-info-page .corporate-selection-summary span {
    display: block;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.driver-info-page .corporate-selection-summary .corporate-summary-label {
    margin-bottom: 4px;
    color: #1764ef;
    font-weight: 600;
}

.driver-info-page .btn-prev {
    border: 1px solid #82aaff;
    background: #fff;
    color: #1764ef;
}

.driver-info-page .btn-next {
    background: #1764ef;
    color: #fff;
}

.driver-info-page .driver-entry-panel {
    margin-bottom: 6px;
    padding: 16px;
    border-radius: 8px;
    background: #f5f8fd;
}
.driver-info-page .driver-entry-panel .driver-lookup-area {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    background: transparent;
}
.driver-info-page .driver-lookup-title {
    display: block;
    margin-bottom: 10px;
    color: #173d82;
    font-size: 16px;
    font-weight: 600;
}
.driver-info-page .driver-entry-panel .driver-lookup-trigger {
    min-height: 40px;
    color: #79869a;
    font-size: 14px;
    font-weight: 500;
}
.driver-info-page .driver-entry-panel .driver-load-trigger {
    border-color: #82aaff;
    background: #fff;
    color: #1764ef;
    font-size: 16px;
    font-weight: 600;
}
.driver-info-page .driver-load-trigger .driver-lookup-icon {
    color: inherit;
}
.driver-info-page .driver-entry-panel .driver-lookup-area p {
    margin-top: 8px;
    font-size: 12px;
}
.driver-info-page .driver-entry-panel .input-method-area {
    gap: 10px;
}
.driver-info-page .driver-entry-panel .input-method-hint {
    margin: 9px 0 0;
    color: #66758d;
    font-size: 12px;
}
@media (max-width: 767px) {
    .driver-info-page .driver-entry-panel { padding: 14px; }
}

/* 운전자 정보: 항목명과 입력란을 나란히 배치한 간결한 폼 */
.driver-info-page .customer-type-section { margin-bottom: 24px; }
.driver-info-page .driver-form-subsection,
.driver-info-page .driver-form-subsection:first-child {
    margin: 0;
    padding: 0;
    border: 0;
}
.driver-info-page .driver-form-subsection + .driver-form-subsection { margin-top: 16px; }
.driver-info-page .driver-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.driver-info-page .driver-name-fields { min-width: 0; }
.driver-info-page .driver-selection-notice {
    margin-top: 8px;
    color: #66758d;
    font-size: 12px;
    line-height: 1.5;
}
.driver-info-page .driver-inline-load {
    flex: 0 0 112px;
    height: 40px;
    padding: 0 8px;
    border: 1px solid #263a60;
    border-radius: 6px;
    background: #263a60;
    color: #fff;
    font: 500 14px 'Noto Sans KR', sans-serif;
    cursor: pointer;
}
.driver-info-page .driver-inline-load:focus-visible {
    outline: 3px solid #b6ceff;
    outline-offset: 2px;
}
.driver-info-page .driver-input-actions {
    margin-top: 22px;
    padding: 20px 0 0;
    border-top: 1px solid #dfe6f0;
}
.driver-info-page .driver-input-actions .input-method-hint {
    margin: 10px 0 0;
}
@media (max-width: 767px) {
    .driver-info-page .customer-type-section .form-group,
    .driver-info-page #actualAddressSection .form-group,
    .driver-info-page .license-info-section .form-group,
    .driver-info-page .second-driver-section .form-group {
        display: grid;
        grid-template-columns: 78px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
    }
    .driver-info-page .form-group label { margin-bottom: 0; font-size: 14px; }
    .driver-info-page .form-group .form-control { padding: 0 10px; font-size: 14px; }
    .driver-info-page .driver-inline-load { flex-basis: 98px; font-size: 12px; padding: 0 4px; }
    .driver-info-page .license-info-section .form-group-address { align-items: start; }
    .driver-info-page .form-group-address > label { padding-top: 10px; }
    .driver-info-page .driver-name-row { gap: 6px; }
}
