/* ??????????????????????????????????????????????????????????
   GBB.RES - Toss Interface Style Premium Reservation StyleSheet
   Aesthetics System: Toss Neo-minimalism & Elastic Animations
   ?????????????????????????????????????????????????????????? */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* 배너 이미지 반응형 높이 */
.intro-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;   /* 잘리지 않고 전체 이미지 표시 */
}

:root {
    --gb-primary: #191f28;     /* ?? ???? */
    --gb-secondary: #3182f6;   /* ?? ?? ?? */
    --gb-bg: #f2f4f6;          /* ?? ????? ??? */
    --gb-border: #e5e8eb;      /* ?? ??? ?? */
    --gb-text-dark: #191f28;
    --gb-text-light: #4e5968;  /* ?? ?? ??? */
    --gb-text-muted: #8b95a1;  /* ?? ??????/??? */
    --radius: 20px;            /* ???? ?? ?? */
    --btnradius: 14px;         /* ??? ??? ??? ?? */
    --error-color: #f04452;    /* ?? ?? */
    --font-pretendard: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent; /* ??? ?? ??? ????? ??? */
}

body {
    background-color: var(--gb-bg);
    color: var(--gb-text-dark);
    font-family: var(--font-pretendard);
    line-height: 1.6;
    padding: 20px 12px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    word-break: keep-all;       /* 한국어: 단어 단위 줄바꿈 */
    overflow-wrap: break-word;  /* 긴 영문/URL 강제 줄바꿈 */
}

.rs-container {
    width: 100%;
    max-width: 520px;
    position: relative;
    z-index: 1;
}

.company-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: var(--gb-secondary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--gb-border);
}

/* ?? ???? ?? ???? (??? ??? ???) ?? */
.rs-card {
    background-color: #ffffff;
    border-radius: var(--radius);
    padding: 35px 30px;
    margin-bottom: 24px;
    border: none; /* ?? ?? */
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.03); /* ???? ??? ??? */
    position: relative;
    overflow: visible;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-title {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gb-border);
    flex-wrap: wrap;
}

.card-title h3 {
    word-break: keep-all;
    overflow-wrap: break-word;
    flex: 1;
    min-width: 0;
}

.card-title .num {
    background: #eaf2ff;
    color: var(--gb-secondary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
}

.card-title h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gb-primary);
    letter-spacing: -0.5px;
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--gb-text-light);
    margin-bottom: 20px;
    font-weight: 500;
}

/* ?? ? ? ??? ?? ?? */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media(min-width: 480px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .full-width {
        grid-column: span 2;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gb-text-light);
    letter-spacing: -0.3px;
}

.modern-input-wrapper {
    flex: 1;
    position: relative;
    padding-top: 5px;
}

.modern-input-wrapper input, .modern-input-wrapper select {
    width: 100%;
    height: 44px;
    padding: 0 4px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gb-text-dark);
    background: transparent;
    border: none;
    border-bottom: 2px solid #e5e8eb; /* ??? ?? ?? ?? */
    border-radius: 0;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.25s ease;
}

.modern-input-wrapper input::placeholder {
    color: var(--gb-text-muted);
    font-weight: 500;
}

.modern-input-wrapper input[readonly] {
    color: var(--gb-text-light);
    cursor: pointer;
}

.modern-input-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gb-secondary);
    transition: all 0.25s ease;
    transform: translateX(-50%);
}

.modern-input-wrapper:focus-within::after {
    width: 100%;
}

.modern-input-wrapper input:focus, .modern-input-wrapper select:focus {
    border-bottom-color: var(--gb-secondary);
}

/* ?? ?? ??? ?? (.q-radio-group) ?? */
.q-radio-group {
    display: flex;
    gap: 8px; /* ?? ???: ?? ??? ?? ?? ??? ??? ?? ?? */
    margin-top: 5px;
    height: 44px;
}

.q-radio-group label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #f2f4f6;
    transition: all 0.2s ease;
    font-weight: 700;
    color: var(--gb-text-light);
    font-size: 0.95rem;
    border-radius: 12px;
    border: none;
}

.q-radio-group label:hover {
    background: #eaf2ff;
    color: var(--gb-secondary);
}

.q-radio-group label:has(input:checked) {
    background: #e8f3ff;
    color: var(--gb-secondary);
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(49, 130, 246, 0.08);
}

.q-radio-group input {
    display: none;
}

/* ?? ?? ?? ?? */
.zip-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.btn-search {
    background: #eaf2ff;
    color: var(--gb-secondary);
    border: none;
    border-radius: 12px;
    padding: 0 20px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    height: 44px;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-search:hover {
    background: #d4e5ff;
}

/* ?? ??? ??? ?? ? ? ??? ???? ????? ?? */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* ?? ??? ? ? ???? (??? -> ??) */
.slide-next {
    animation: slideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ?? ??? ? ? ???? (?? -> ???) */
.slide-prev {
    animation: slideInLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sticky-step-area {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(242, 244, 246, 0.95); /* ?? ?? ?? ?? */
    padding: 15px 0 40px;
    margin: 0 -12px 25px -12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    padding: 0 10px;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 10px;
    right: 10px;
    height: 3px;
    background: #e5e8eb;
    z-index: 1;
    border-radius: 99px;
}

.step-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
    flex: 1;
}

.step-text {
    position: absolute;
    top: 36px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gb-text-muted);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.step-dot.done+.step-text {
    color: var(--gb-secondary);
}

.step-text.active {
    color: var(--gb-secondary);
    font-weight: 800;
}

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--gb-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 3px solid #e5e8eb;
    position: relative;
}

.step-dot.done {
    background-color: #fff;
    border-color: var(--gb-secondary);
    color: var(--gb-secondary);
    cursor: pointer;
}

.step-dot.done:hover {
    background-color: #f2f8ff;
}

.step-dot.active {
    background-color: var(--gb-secondary);
    border-color: var(--gb-secondary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(49, 130, 246, 0.25);
    transform: scale(1.1);
}

/* ?? ?? ?? ? ? ??? ?? ?? ?? */
.sticky-bottom-bar {
    position: sticky;
    bottom: 0;
    z-index: 110;
    background: rgba(255, 255, 255, 0.96);
    padding: 20px 24px;
    margin: 40px -30px -35px -30px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.step-btn-group {
    display: flex;
    gap: 12px;
}

.btn-step {
    flex: 1;
    height: 56px;
    font-size: 1.05rem;
    font-weight: 800;
    background: #f2f4f6;
    color: var(--gb-text-light);
    border-radius: var(--btnradius);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
}

.btn-prev {
    color: var(--gb-text-light);
    max-width: 110px;
    background: #f2f4f6;
}

.btn-prev:hover {
    background: #e5e8eb;
}

.btn-next, .btn-submit {
    color: #ffffff;
    background: var(--gb-secondary);
    box-shadow: 0 6px 20px rgba(49, 130, 246, 0.15);
}

.btn-next:hover, .btn-submit:hover {
    background: #1b64da;
    box-shadow: 0 8px 24px rgba(49, 130, 246, 0.25);
}

/* ?? ???? ??? ????/??? ?? ?? */
.btn-intro-outline, .btn-intro-solid {
    flex: 1;
    height: 58px;
    border-radius: var(--btnradius);
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-intro-outline {
    background: #ffffff;
    border: 1px solid var(--gb-border);
    color: var(--gb-text-light);
}

.btn-intro-outline:hover {
    background: #f2f4f6;
}

.btn-intro-solid {
    background: var(--gb-secondary);
    border: none;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(49, 130, 246, 0.2);
}

.btn-intro-solid:hover {
    background: #1b64da;
}

/* ?? ???? ?? ?? ?? (Toss ??? ??) ?? */
.btn:active, 
.btn-step:active, 
.type-select-card:active, 
.test-checkbox-card:active, 
.btn-search:active,
.btn-intro-outline:active,
.btn-intro-solid:active,
.exam-table tbody tr:active {
    transform: scale(0.96) !important;
    transition: transform 0.1s ease;
}

/* ?? ?? ???? ? ?? ?? */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* ?? ??? ?? ?? ???? */
    z-index: 100000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 24px; /* ? ??? */
    padding: 35px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    width: 92%;
    max-width: 440px;
    animation: slideUpModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpModal {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.btn-modal-close {
    width: 100%;
    height: 52px;
    background: #f2f4f6;
    color: var(--gb-text-light);
    border: none;
    border-radius: var(--btnradius);
    font-size: 1.05rem;
    font-weight: 800;
    margin-top: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-modal-close:hover {
    background: #e5e8eb;
}

/* ?? ?? ??? ? (.exam-table) ?? */
.table-category-title {
    color: var(--gb-primary);
    padding: 0 0 8px 0;
    font-weight: 800;
    font-size: 1.15rem;
    margin-top: 30px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--gb-primary);
}

.exam-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.95rem;
    text-align: left;
}

.exam-table thead th {
    font-weight: 800;
    padding: 14px 10px;
    font-size: 0.95rem;
    border: none;
    background: #f2f4f6; /* ?? ? ?? */
    color: var(--gb-text-light);
    text-align: center;
}

.exam-table tbody td {
    padding: 18px 12px;
    border-bottom: 1px solid #f2f4f6;
    vertical-align: middle;
    color: var(--gb-text-light);
    background: #fff;
    word-break: keep-all;
}

.exam-table tbody tr {
    cursor: pointer;
    transition: background 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.exam-table tbody tr:hover td {
    background: #fafafb;
}

.exam-table tbody tr:has(input:checked) td {
    background: #f2f8ff; /* ?? ?? ?? */
}

.exam-item-name {
    font-size: 1.05rem;
    color: var(--gb-text-dark);
    display: block;
    transition: color 0.2s;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.exam-table tbody tr:has(input:checked) .exam-item-name {
    color: var(--gb-secondary);
}

.exam-desc {
    font-size: 0.85rem;
    color: var(--gb-text-muted);
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: keep-all;
    margin-top: 3px;
}

/* ?? ??? ?? ??? (?? ?? ???? ???) ?? */
.table-check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #cbd5e0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    background: #fff;
    margin: 0 auto;
    position: relative;
}

.table-check-icon.square {
    border-radius: 6px;
}

.exam-table tbody tr:has(input:checked) .table-check-icon {
    background-color: var(--gb-secondary);
    border-color: var(--gb-secondary);
}

.exam-table tbody tr:has(input:checked) .table-check-icon::after {
    content: '\f272';
    font-family: 'bootstrap-icons' !important;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    display: block;
}

/* ?? ??? ??? ?? ? ??? (.excel-tbl) ?? */
.excel-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: center;
    border-top: 1px solid var(--gb-border);
    border-bottom: 1px solid var(--gb-border);
    background: #ffffff;
}

.excel-tbl th {
    background: #f2f4f6;
    color: var(--gb-text-light);
    font-weight: 800;
    padding: 12px 8px;
    border: 1px solid var(--gb-border);
}

.excel-tbl td {
    border: 1px solid var(--gb-border);
    padding: 10px 8px;
    color: var(--gb-text-light);
    vertical-align: middle;
    line-height: 1.45;
}

.modal-table-th {
    padding: 12px;
    font-size: 0.95rem;
    border: 1px solid var(--gb-border);
    text-align: center;
    color: var(--gb-text-light);
    font-weight: 800;
}

.modal-table-td {
    padding: 12px 16px;
    font-size: 0.9rem;
    border: 1px solid var(--gb-border);
    vertical-align: middle;
    background: #fff;
}

.modal-item-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gb-text-dark);
    margin-bottom: 4px;
    word-break: keep-all;
}

.modal-item-desc {
    font-size: 0.8rem;
    color: var(--gb-text-muted);
    line-height: 1.4;
    word-break: keep-all;
}

/* ?? ?? ?? ?? ? (.confirm-table) ?? */
.confirm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    margin-top: 10px;
    border-top: 1px solid var(--gb-border);
}

.confirm-table th, .confirm-table td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--gb-border);
    text-align: left;
}

.confirm-table th {
    width: 130px;
    color: var(--gb-text-light);
    font-weight: 700;
    background: #fafafb;
}

.confirm-table td {
    color: var(--gb-text-dark);
    font-weight: 600;
}

.no-tests {
    text-align: center;
    color: var(--gb-text-muted);
    padding: 24px;
    font-size: 0.95rem;
    background-color: #f2f4f6;
    border-radius: var(--radius);
    border: 1px dashed var(--gb-border);
}

/* ?? ?? ? ?? ?? ?? */
.success-card, .error-card {
    text-align: center;
    padding: 45px 20px;
}

.success-icon, .error-icon {
    font-size: 3.8rem;
    margin-bottom: 24px;
    display: inline-flex;
}

.success-icon { color: var(--gb-secondary); }
.error-icon { color: var(--error-color); }

.success-card h2, .error-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gb-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.success-card p, .error-card p {
    font-size: 0.95rem;
    color: var(--gb-text-light);
    line-height: 1.6;
}

.success-card .success-msg {
    font-weight: 800;
    color: var(--gb-secondary);
    background: #e8f3ff;
    padding: 14px;
    border-radius: 12px;
    border: none;
    margin: 20px 0;
}

.re-btn {
    margin-top: 25px;
    width: 100%;
    max-width: 160px;
    height: 48px;
}

.error-footer {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid var(--gb-border);
}

.support-text {
    font-size: 0.85rem;
    color: var(--gb-text-muted);
}

/* ?? ???? ?? ??? ?? ??? (Toss ?? ?????) ?? */
.agree-box {
    background: #f2f4f6;
    border: none;
    padding: 24px;
    border-radius: 14px;
    height: 200px;
    overflow-y: auto;
    font-size: 0.85rem;
    color: var(--gb-text-light);
    line-height: 1.65;
    margin-bottom: 24px;
    text-align: left;
}

.agree-box h2 {
    font-size: 0.95rem;
    color: var(--gb-text-dark);
    margin-top: 15px;
    margin-bottom: 8px;
    font-weight: 800;
}

.agree-box h2:first-child {
    margin-top: 0;
}

.agree-box h3 {
    font-size: 0.85rem;
    color: var(--gb-text-light);
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 700;
}

.agree-box ul {
    padding-left: 18px;
    margin-bottom: 10px;
}

.agree-box p {
    margin-bottom: 10px;
    word-break: keep-all;
}

.agree-required {
    display: inline-block;
    margin: 6px 0 10px;
    padding: 4px 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    color: #1d4ed8;
    font-size: 0.8rem;
    font-weight: 600;
}

.agree-content ul {
    margin: 6px 0 12px 18px;
    padding: 0;
}
.agree-content ul li {
    margin-bottom: 4px;
    font-size: 0.82rem;
    line-height: 1.6;
}

.agree-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.agree-table th,
.agree-table td {
    border: 1px solid var(--gb-border);
    padding: 10px;
    font-size: 0.8rem;
    word-break: keep-all;
}

.agree-table th {
    background: #f2f4f6;
    color: var(--gb-text-dark);
    font-weight: 800;
}

.check-area {
    margin: 15px 0;
    font-weight: 800;
    color: var(--gb-secondary);
    background: #ffffff;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--gb-border);
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gb-text-dark);
    cursor: pointer;
    justify-content: flex-start;   /* 좌측 정렬 — 줄바꿈 시 아이콘 위치 고정 */
    padding: 18px 20px;
    background: #f2f4f6;
    border: none;
    border-radius: 16px;
    transition: all 0.2s ease;
    margin-top: 15px;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.5;
}

.custom-checkbox input {
    display: none;
}

.agree-check-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;   /* flex 축소 방지 */
    border-radius: 50%;
    border: 2px solid #cbd5e0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
    align-self: flex-start;  /* 텍스트 줄바꿈 시 아이콘을 상단에 고정 */
    margin-top: 1px;
}

.custom-checkbox input:checked + .agree-check-icon {
    background: var(--gb-secondary);
    border-color: var(--gb-secondary);
}

.custom-checkbox input:checked + .agree-check-icon::after {
    content: '\f26e';
    font-family: 'bootstrap-icons' !important;
    font-weight: 900;
    color: #fff;
    font-size: 13px;
    display: block;
}

.custom-checkbox:has(input:checked) {
    background: #e8f3ff;
    color: var(--gb-secondary);
}

@media (max-width: 600px) {
    .rs-container { padding: 8px; }
    .rs-card { padding: 30px 18px; border-radius: 16px; }
    .sticky-step-area { padding: 12px 0 30px; margin: 0 -8px 20px -8px; }
    .sticky-bottom-bar { margin: 30px -8px -25px -8px; padding: 15px; }

    /* 검사 항목 테이블 — 가로 스크롤로 잘림 방지 */
    .exam-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .exam-table { min-width: 300px; font-size: 0.88rem; }
    .exam-table thead th { padding: 9px 6px; font-size: 0.82rem; }
    .exam-table tbody td { padding: 12px 7px; font-size: 0.88rem; }
    .exam-item-name { font-size: 0.9rem; }
    .exam-desc { font-size: 0.78rem; }

    /* 확인 테이블 — th/td 세로 스택 */
    .confirm-table, .confirm-table tbody, .confirm-table tr,
    .confirm-table th, .confirm-table td { display: block; width: 100%; box-sizing: border-box; }
    .confirm-table tr {
        border: none;
        border-bottom: 1px solid var(--gb-border);
        padding: 10px 12px;
        background: #fff;
    }
    .confirm-table tr:nth-child(odd) { background: #fafbfc; }
    .confirm-table tr:last-child { border-bottom: none; }
    .confirm-table th {
        width: 100%; background: none;
        color: var(--gb-primary);
        padding: 0 0 4px; font-size: 0.75rem;
        font-weight: 700; border: none;
        letter-spacing: 0.02em;
        text-transform: none;
    }
    .confirm-table td {
        padding: 0; font-size: 0.9rem; border: none;
        color: var(--gb-text-dark); font-weight: 600;
        word-break: keep-all; overflow-wrap: break-word;
    }
    .confirm-total-row th, .confirm-total-row td {
        background: #f0f6ff; padding: 6px 10px;
    }

    /* 동반인 카드 헤더 줄바꿈 */
    .person-card-header { flex-wrap: wrap; gap: 8px; }

    /* zip-row (우편번호 행) — 좁은 화면에서 줄바꿈 */
    .zip-row { flex-wrap: wrap; }
    .zip-row .modern-input-wrapper { flex: 1; min-width: 140px; }

    /* 약관 체크박스 — 모바일 폰트/패딩 축소 */
    .custom-checkbox {
        font-size: 0.92rem;
        padding: 14px 16px;
        gap: 10px;
        border-radius: 12px;
    }
    .agree-check-icon { width: 22px; height: 22px; min-width: 22px; }

    /* 약관 아코디언 summary 폰트 */
    .agree-summary { font-size: 0.85rem; padding: 12px 14px; }
    .agree-content { font-size: 0.8rem; padding: 12px 14px; }

    /* agree-table — 작은 화면에서 폰트 축소 */
    .agree-table th, .agree-table td { font-size: 0.75rem; padding: 7px 8px; }
}

.hidden-item {
    display: none !important;
}

/* ?? ??? ? ?? ?? ?? ?? ??? ?? */
.modal-box.calendar-box {
    max-width: 360px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-box.time-box {
    max-width: 380px;
    padding: 30px 20px;
}

.time-option-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 5px;
}

.time-option-btn {
    width: 100%;
    height: 52px;
    background: #f2f4f6;
    color: var(--gb-text-dark);
    border: none;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.time-option-btn:hover {
    background: #e5e8eb;
    color: var(--gb-secondary);
}

.time-option-btn:active {
    transform: scale(0.96) !important;
}

/* ?? ? Flatpickr ?? ??? ????? */
#calendarModal .flatpickr-calendar {
    box-shadow: none !important;
    border: none !important;
    background: #ffffff !important;
    font-family: var(--font-pretendard) !important;
}
#calendarModal .flatpickr-months {
    margin-bottom: 10px;
}
#calendarModal .flatpickr-day.selected {
    background: var(--gb-secondary) !important;
    border-color: var(--gb-secondary) !important;
    border-radius: 8px !important;
}
#calendarModal .flatpickr-day:hover {
    border-radius: 8px !important;
}
#calendarModal .flatpickr-day {
    border: none !important; /* ?? ?? ??(??) ?? */
    outline: none !important;
}
#calendarModal .flatpickr-innerContainer,
#calendarModal .flatpickr-rContainer,
#calendarModal .flatpickr-days,
#calendarModal .flatpickr-daysWrap,
#calendarModal .dayContainer {
    border: none !important; /* ?? ?? ???? ??(??) ?? */
    box-shadow: none !important;
}

/* ?? ?? ?? ??? ?? ??? ?? */
.person-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 24px 20px;
    margin-bottom: 20px;
    border: 1px solid var(--gb-border);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.person-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    border-color: #cbd5e0;
}

.person-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gb-border);
}

.person-card-header h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gb-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.person-card-header h4 .badge {
    background: #eaf2ff;
    color: var(--gb-secondary);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.btn-same-addr {
    background: #f0f9ff;
    color: #0369a1;
    border: 1.5px solid #bae6fd;
    border-radius: 8px;
    padding: 3px 11px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s;
    white-space: nowrap;
}
.btn-same-addr:hover {
    background: #e0f2fe;
    border-color: #7dd3fc;
}

.btn-remove-person {
    background: transparent;
    color: var(--error-color);
    border: none;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.btn-remove-person:hover {
    background: #fff0f1;
}

.btn-add-person {
    width: 100%;
    height: 54px;
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    color: var(--gb-secondary);
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 25px;
}

.btn-add-person:hover {
    background: #f2f8ff;
    border-color: var(--gb-secondary);
    border-style: solid;
}

/* ?? Step 2 ???? ? ?? ??? ?? */
.tab-btn-group {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none; /* ????? ? ? ?? */
}

.tab-btn-group::-webkit-scrollbar {
    display: none; /* ?? ? ? ?? */
}

.tab-btn {
    background: #ffffff;
    color: var(--gb-text-light);
    border: 1px solid var(--gb-border);
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: var(--gb-secondary);
    color: #ffffff;
    border-color: var(--gb-secondary);
    box-shadow: 0 4px 12px rgba(49, 130, 246, 0.2);
}

/* ?? ?? ???? ?? ??? ?? */
.agree-details {
    border: 1px solid var(--gb-border);
    border-radius: 12px;
    margin-bottom: 12px;
    background: #f8fafc;
    overflow: hidden;
}

.agree-summary {
    padding: 14px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gb-text-dark);
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;   /* 텍스트 줄바꿈 시 아이콘 상단 정렬 */
    gap: 10px;
    list-style: none;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.5;
}

.agree-summary::-webkit-details-marker {
    display: none; /* ?? ??? ?? */
}

.agree-summary::after {
    content: '\f229';
    font-family: 'bootstrap-icons';
    font-size: 0.85rem;
    color: var(--gb-text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;   /* 아이콘 축소 방지 */
    margin-top: 2px;
}

.agree-details[open] .agree-summary::after {
    transform: rotate(180deg);
}

.agree-content {
    padding: 15px 16px;
    border-top: 1px solid var(--gb-border);
    background: #ffffff;
    max-height: 200px;
    overflow-y: auto;
    font-size: 0.82rem;
    color: var(--gb-text-light);
    line-height: 1.5;
}

/* ??????????????????????????????????????????????????????????
   STEP 2 ???? - ??? ???? ???, ???? ???, ???? ???? ??
   ?????????????????????????????????????????????????????????? */

.type-toggle-group {
    display: flex;
    gap: 0;
    background: #f2f4f6;
    border-radius: 14px;
    padding: 5px;
    margin-top: 5px;
}

.type-toggle-btn {
    flex: 1;
    height: 60px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    background: transparent;
    color: var(--gb-text-light);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    line-height: 1.3;
}

.type-toggle-btn .toggle-label {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.type-toggle-btn .toggle-price {
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.65;
}

.type-toggle-btn.active {
    background: #ffffff;
    color: var(--gb-secondary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.type-toggle-btn.active .toggle-label {
    color: var(--gb-secondary);
}

.type-toggle-btn.active .toggle-price {
    color: var(--gb-secondary);
    opacity: 1;
}

.type-desc-badge {
    margin-top: 12px;
    padding: 10px 15px;
    background: #eaf2ff;
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--gb-secondary);
    font-weight: 600;
    text-align: center;
    word-break: keep-all;
    line-height: 1.5;
}

.yn-radio-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.yn-radio-btn {
    flex: 1;
    height: 50px;
    border: 2px solid var(--gb-border);
    border-radius: 12px;
    background: #fff;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gb-text-light);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.yn-radio-btn:hover { border-color: #93c5fd; color: var(--gb-secondary); background: #f0f7ff; }

.yn-radio-btn.active {
    border-color: var(--gb-secondary);
    background: #e8f3ff;
    color: var(--gb-secondary);
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(49,130,246,0.12);
}

.sleep-radio-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.sleep-radio-btn {
    flex: 1;
    height: 54px;
    border: 2px solid var(--gb-border);
    border-radius: 14px;
    background: #fff;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gb-text-light);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sleep-radio-btn:hover { border-color: #93c5fd; color: var(--gb-secondary); background: #f0f7ff; }

.sleep-radio-btn.active {
    border-color: var(--gb-secondary);
    background: #e8f3ff;
    color: var(--gb-secondary);
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(49,130,246,0.12);
}

.section-label {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gb-text-dark);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-desc {
    font-size: 0.85rem;
    color: var(--gb-text-light);
    font-weight: 500;
    line-height: 1.5;
    word-break: keep-all;
    margin-bottom: 10px;
}

.section-divider { border: none; border-top: 1px solid var(--gb-border); margin: 22px 0; }

.sub-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--gb-border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    outline: none;
    color: var(--gb-text-dark);
    background: #fff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    margin-top: 10px;
}

.sub-input:focus { border-color: var(--gb-secondary); }
.sub-input[type="date"] { cursor: pointer; }

.table-check-icon.checked {
    background-color: var(--gb-secondary);
    border-color: var(--gb-secondary);
}

.table-check-icon.checked::after {
    content: '\f272';
    font-family: 'bootstrap-icons' !important;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    display: block;
}

.common-exam-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gb-primary);
    margin-bottom: 0;
}

.common-exam-header .title-text { font-size: 1.15rem; font-weight: 800; color: var(--gb-primary); }

.common-exam-header .type-badge {
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--gb-secondary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
}

/* ============================================================
   ???? ??? ?? (GBB Classic Theme Override)
   ?? ASP ?? ??? ??? ??
   ============================================================ */

/* -- ?? ??? -- */
:root {
    --gb-primary:    #00256c;
    --gb-secondary:  #0064de;
    --gb-bg:         #f3f4f8;
    --gb-border:     #e5e5e5;
    --gb-text-dark:  #111111;
    --gb-text-light: #555555;
    --gb-text-muted: #a3a3a3;
    --radius:        4px;
    --btnradius:     999px;
    --error-color:   #ef4444;
}

/* -- ???? -- */
body {
    background-color: var(--gb-bg);
    padding: 20px 12px;
}

.rs-container {
    max-width: 760px;
}

/* -- ?? -- */
.rs-card {
    border-radius: var(--radius);
    border: 1px solid var(--gb-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    padding: 40px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .rs-card { padding: 25px 15px; }
}

/* -- ?? ?? (??) -- */
.company-badge {
    background: var(--gb-primary);
    color: #ffffff;
    border-color: var(--gb-primary);
    font-weight: 800;
    padding: 10px 24px;
    font-size: 1rem;
    gap: 8px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,37,108,0.18);
    letter-spacing: 0.2px;
}

.company-badge i { font-size: 1.1rem; }

/* -- ?? ????? -- */
.sticky-step-area {
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--gb-border);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    backdrop-filter: blur(5px);
}

.step-indicator::before {
    height: 2px;
    top: 16px;
    background: var(--gb-border);
}

.step-dot {
    width: 32px;
    height: 32px;
    border: 2px solid var(--gb-border);
}

.step-dot.active {
    box-shadow: 0 4px 10px rgba(0, 100, 222, 0.2);
    transform: scale(1.05);
}

/* -- 모바일 폰트 -- */
.modern-input-wrapper input,
.modern-input-wrapper select {
    border-bottom: 1px solid #cccccc;
    font-size: 1.05rem;
}

.modern-input-wrapper input::placeholder { color: #aaaaaa; font-weight: 400; }

/* ── 국가코드 + 전화번호 복합 입력 ── */
.phone-cc-group {
    display: flex;
    align-items: flex-end;
    gap: 0;
    width: 100%;
}
.phone-cc-select-wrap {
    flex: 0 0 auto;
    padding-top: 5px;
    position: relative;
}
.phone-cc-select-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gb-secondary);
    transition: all 0.25s ease;
    transform: translateX(-50%);
}
.phone-cc-select-wrap:focus-within::after { width: 100%; }
.phone-cc-select {
    height: 44px;
    padding: 0 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gb-text-dark);
    background: transparent;
    border: none;
    border-bottom: 2px solid #e5e8eb;
    outline: none;
    cursor: pointer;
    min-width: 96px;
    max-width: 120px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 18px;
}
.phone-cc-select:focus { border-bottom-color: var(--gb-secondary); }
.phone-cc-divider {
    width: 1px;
    height: 28px;
    background: #ddd;
    margin: 0 4px 8px;
    flex-shrink: 0;
}
.phone-cc-group .modern-input-wrapper { flex: 1; }

/* -- ??? ?? -- */
.q-radio-group {
    border: 1px solid var(--gb-border);
    border-radius: var(--radius);
    overflow: hidden;
    gap: 0;
    height: auto;
}

.q-radio-group label {
    border-radius: 0;
    border-right: 1px solid var(--gb-border);
    padding: 12px;
    font-size: 0.95rem;
    background: #fff;
}

.q-radio-group label:last-child { border-right: none; }

.q-radio-group label:has(input:checked) {
    background: #f0f6ff;
    color: var(--gb-secondary);
    box-shadow: none;
}

/* -- ?? -- */
.btn-step { border-radius: var(--btnradius); letter-spacing: 0.3px; }

.btn-prev {
    background: #fff;
    border: 1px solid #cccccc;
    color: var(--gb-text-dark);
    max-width: 140px;
}

.btn-prev:hover { background: #f9f9f9; border-color: var(--gb-text-dark); }

.btn-next, .btn-submit {
    color: var(--gb-secondary);
    background: #fff;
    border: 1px solid var(--gb-secondary);
    box-shadow: none;
}

.btn-next:hover, .btn-submit:hover {
    background: #f0f6ff;
    box-shadow: none;
    transform: translateY(-2px);
}

.btn-intro-outline {
    border: 2px solid var(--gb-secondary);
    color: var(--gb-secondary);
    background: #fff;
}

.btn-intro-outline:hover { background: #f0f6ff; }

.btn-intro-solid {
    background: var(--gb-secondary);
    box-shadow: 0 6px 15px rgba(0,100,222,0.3);
}

.btn-intro-solid:hover { background: #004cba; }

.btn-add-person {
    border-radius: var(--radius);
    border: 2px dashed var(--gb-border);
    color: var(--gb-secondary);
    background: #fff;
}

.btn-add-person:hover {
    background: #f0f6ff;
    border-color: var(--gb-secondary);
    border-style: solid;
}

/* -- ?? ?? -- */
.btn-search {
    background: #fff;
    color: var(--gb-primary);
    border: 1px solid var(--gb-primary);
    border-radius: var(--radius);
}

.btn-search:hover { background: #f0f6ff; }

/* -- ?? ?? ? -- */
.sticky-bottom-bar {
    background: #fff;
    border-top: 1px solid var(--gb-border);
    box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 25px 40px;
    margin: 40px -40px -40px -40px;
}

@media (max-width: 600px) {
    .sticky-bottom-bar { padding: 15px; margin: 30px -15px -25px -15px; }
}

/* -- ?? ??? ?? -- */
.exam-table thead th {
    background: #7ba4b3;
    color: #ffffff;
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.3);
}

.exam-table thead th:last-child { border-right: none; }

.exam-table tbody tr:has(input:checked) td { background: #f0f6ff; }
.exam-table tbody tr:has(input:checked) .exam-item-name { color: var(--gb-secondary); }

/* -- ?? ?? ?? -- */
.card-title .num {
    background: #eef3ff;
    color: var(--gb-secondary);
}

/* -- ???? ?? -- */
.table-category-title {
    color: var(--gb-primary);
    border-bottom: 2px solid var(--gb-primary);
    font-size: 1.1rem;
}

/* -- ???? ??? -- */
.confirm-table { border-top: 2px solid var(--gb-primary); }

.confirm-table th {
    background: #f9f9f9;
    color: var(--gb-text-dark);
    width: 140px;
}

.confirm-total-row th,
.confirm-total-row td {
    background: #f0f6ff;
    color: var(--gb-primary);
    border-bottom: 1px solid var(--gb-primary);
}

/* -- ??/?? ?? -- */
.success-card .success-msg {
    background: #e8f3ff;
    border-radius: 4px;
}

.success-icon { color: var(--gb-secondary); }

/* -- ???? ?? -- */
.agree-box {
    background: #f8fafc;
    border: 1px solid var(--gb-border);
    border-radius: var(--radius);
    height: 220px;
}

.agree-box h2 { color: var(--gb-primary); }

.agree-table th { background: #f1f5f9; }

.check-area {
    color: var(--gb-secondary);
    background: #f0f6ff;
    border: 1px solid #bfdbfe;
    border-radius: 4px;
}

.custom-checkbox {
    border: 2px solid #cbd5e1;
    border-radius: 8px;
}

.custom-checkbox:has(input:checked) {
    border-color: var(--gb-secondary);
    background: #f0f6ff;
}

.agree-check-icon {
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    background: #f8fafc;
}

.custom-checkbox input:checked + .agree-check-icon {
    background: var(--gb-secondary);
    border-color: var(--gb-secondary);
}

/* -- ????/?? -- */
.no-tests { border-radius: var(--radius); }

/* -- ???/?? ?? -- */
.yn-radio-btn, .sleep-radio-btn {
    border-radius: var(--btnradius);
    height: 50px;
}

.yn-radio-btn.active, .sleep-radio-btn.active {
    box-shadow: 0 4px 10px rgba(0, 100, 222, 0.15);
}

/* -- ?? ?? -- */
.sub-input {
    border-radius: var(--radius);
    border: 1px solid var(--gb-border);
}

.sub-input:focus { border-color: var(--gb-secondary); }

/* -- ?? ?? ?? -- */
.btn-modal-close {
    background: var(--gb-secondary);
    color: #ffffff;
    border-radius: 8px;
}

.btn-modal-close:hover { background: #004cba; color: #ffffff; }

/* -- ?? ?? ?? -- */
.type-select-card { border-radius: 8px; }
.type-select-card:has(input:checked) { border-color: var(--gb-secondary); background: #f0f6ff; }

/* -- ???? -- */
.flatpickr-calendar { border-radius: var(--radius); }

/* -- ???? ????? ? fadeIn?? ?? -- */
.slide-next { animation: gbbFadeIn 0.4s ease-in-out forwards; }
.slide-prev  { animation: gbbFadeIn 0.4s ease-in-out forwards; }

@keyframes gbbFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* -- ??? ?? ?? ????? -- */
.field-highlight-error {
    outline: 2px solid #ef4444 !important;
    outline-offset: 4px;
    border-radius: 6px;
    animation: errorShake 0.45s ease;
}

@keyframes errorShake {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(-7px); }
    40%  { transform: translateX(7px); }
    60%  { transform: translateX(-5px); }
    80%  { transform: translateX(4px); }
    100% { transform: translateX(0); }
}
