.patient-booking-page {
    padding: 64px 0 72px;
    background: #f4f8fa;
}

.booking-heading {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.booking-heading h1 {
    margin: 6px 0 12px;
    color: #17364b;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
}

.booking-heading p {
    color: #647887;
}

.booking-eyebrow {
    color: #0649c7 !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.booking-card {
    max-width: 960px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid #e4edf0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(21, 54, 75, .08);
}

.booking-stepper {
    display: flex;
    gap: 12px;
    margin: 0 0 28px;
    padding: 0 0 20px;
    border-bottom: 1px solid #e8eff2;
    list-style: none;
}

.booking-stepper li {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 9px;
    color: #84939c;
    font-size: 13px;
}

.booking-stepper li > span {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #d5e0e5;
    border-radius: 50%;
    background: #fff;
    font-weight: 700;
}

.booking-stepper li.is-current {
    color: #0649c7;
}

.booking-stepper li.is-current > span,
.booking-stepper li.is-complete > span {
    border-color: #0649c7;
    background: #0649c7;
    color: #fff;
}

.booking-section-title {
    display: block;
    width: 100%;
    margin: 0 0 22px;
    color: #17364b;
    font-size: 22px;
    font-weight: 700;
}

.booking-section-title small {
    display: block;
    margin: 7px 0 0 48px;
    color: #74838c;
    font-size: 13px;
    font-weight: 400;
}

.booking-section-number {
    display: inline-grid;
    width: 38px;
    height: 38px;
    margin-right: 7px;
    place-items: center;
    border-radius: 11px;
    background: #eaf2ff;
    color: #0649c7;
    font-size: 14px;
}

.booking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.booking-field {
    min-width: 0;
}

.booking-field-wide {
    grid-column: 1 / -1;
}

.booking-field > label:first-child {
    display: block;
    margin: 0 0 7px;
    color: #25465b;
    font-size: 14px;
    font-weight: 600;
}

.booking-field label span,
.booking-checkbox b {
    color: #c33b45;
}

.booking-field label small {
    color: #82919a;
    font-size: 12px;
    font-weight: 400;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #d8e2e7;
    border-radius: 8px;
    background: #fff;
    color: #213c4d;
    font: inherit;
}

.booking-field .select2-container {
    width: 100%;
}

.booking-field .nice-select {
    display: none !important;
}

.booking-field .select2-container--default .select2-selection--single {
    height: 46px;
    border: 1px solid #d8e2e7;
    border-radius: 8px;
    background: #fff;
}

.booking-field .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 12px;
    color: #213c4d;
    line-height: 44px;
}

.booking-field .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
    right: 7px;
}

.booking-field .select2-container--default.select2-container--focus .select2-selection--single,
.booking-field .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #0649c7;
    outline: 3px solid rgba(6, 73, 199, .12);
}

.booking-field .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #0649c7;
}

.booking-field .select2-container--default .select2-results__options {
    max-height: 240px;
}

.booking-field .booking-select-invalid {
    border-color: #b4232d !important;
}

.booking-field textarea {
    min-height: 92px;
    resize: vertical;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
    border-color: #0649c7;
    outline: 3px solid rgba(6, 73, 199, .12);
}

.booking-field-error {
    display: block;
    margin-top: 5px;
    color: #b4232d;
}

.booking-help {
    display: block;
    margin-top: 6px;
    color: #74838c;
    font-size: 12px;
}

.booking-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #425c6c;
    font-size: 13px;
    line-height: 1.5;
}

.booking-checkbox input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: #0649c7;
}

.booking-same-address {
    margin-bottom: 8px;
}

.booking-privacy {
    margin-top: 24px;
    padding: 16px 18px;
    border: 1px solid #d6e5fa;
    border-radius: 10px;
    background: #f3f7ff;
    color: #25465b;
}

.booking-privacy p {
    margin: 6px 0 14px;
    color: #5c737f;
    font-size: 13px;
}

.booking-same-address {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    padding: 14px 16px;
    border: 1px solid #dfe8f3;
    border-radius: 12px;
    background: linear-gradient(110deg, #f8fbff, #f4f8ff);
    color: #25465b;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.booking-same-address:hover,
.booking-same-address:has(input:checked) {
    border-color: #9abcf3;
    background: linear-gradient(110deg, #f4f8ff, #edf5ff);
    box-shadow: 0 5px 16px rgba(6, 73, 199, .07);
}

.booking-same-address input {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.booking-same-address__indicator {
    display: grid;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1.5px solid #aebed0;
    border-radius: 7px;
    background: #fff;
    color: #fff;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.booking-same-address__indicator::after {
    width: 6px;
    height: 10px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    content: "";
    opacity: 0;
    transform: translateY(-1px) rotate(45deg);
}

.booking-same-address input:checked + .booking-same-address__indicator {
    border-color: #0756d5;
    background: linear-gradient(145deg, #0879e8, #0649c7);
    box-shadow: 0 3px 8px rgba(6, 73, 199, .22);
}

.booking-same-address input:checked + .booking-same-address__indicator::after {
    opacity: 1;
}

.booking-same-address input:focus-visible + .booking-same-address__indicator {
    outline: 3px solid rgba(6, 73, 199, .2);
    outline-offset: 2px;
}

.booking-same-address__copy {
    display: grid;
    gap: 3px;
}

.booking-same-address__copy strong {
    color: #193d60;
    font-size: 13px;
    font-weight: 700;
}

.booking-same-address__copy small {
    color: #71849a;
    font-size: 12px;
    line-height: 1.45;
}

.booking-field.is-same-address textarea {
    border-color: #cbd9ed;
    background: #f7f9fc;
    color: #61758b;
    cursor: not-allowed;
}

.booking-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
}

.booking-button {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #0649c7;
    border-radius: 8px;
    background: #fff;
    color: #0649c7;
    font-weight: 600;
    cursor: pointer;
}

.booking-next,
.booking-submit {
    background: #0649c7;
    color: #fff;
}

.booking-button:hover {
    filter: brightness(.94);
}

.booking-success,
.booking-alert {
    display: flex;
    max-width: 960px;
    flex-direction: column;
    gap: 5px;
    margin: 0 auto 18px;
    padding: 16px 20px;
    border-radius: 10px;
}

.booking-success {
    border: 1px solid #b8e3d2;
    background: #effaf5;
    color: #17613e;
}

.booking-alert {
    border: 1px solid #f1c3c6;
    background: #fff3f3;
    color: #9c252d;
}

.booking-footnote {
    max-width: 960px;
    margin: 16px auto 0;
    color: #74838c;
    font-size: 12px;
}

.booking-wizard-active .booking-step:not(.is-active) {
    display: none;
}

.booking-wizard-active .booking-stepper:not([hidden]) {
    display: flex;
}

@media (max-width: 600px) {
    .patient-booking-page {
        padding: 38px 0 48px;
    }

    .booking-card {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .booking-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .booking-field-wide {
        grid-column: auto;
    }

    .booking-stepper {
        gap: 6px;
        padding-bottom: 14px;
    }

    .booking-stepper li {
        flex-direction: column;
        gap: 4px;
        text-align: center;
        font-size: 10px;
    }

    .booking-section-title {
        font-size: 19px;
    }

    .booking-section-title small {
        margin-left: 0;
    }
}

.patient-booking-page {
    position: relative;
    overflow: hidden;
    padding: 66px 0 76px;
    background:
        radial-gradient(ellipse at 82% 0%, rgba(6, 73, 199, .11), transparent 31rem),
        linear-gradient(180deg, #f8fbff 0%, #f1f6fc 100%);
}

.patient-booking-page::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(6, 73, 199, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 73, 199, .025) 1px, transparent 1px);
    background-size: 34px 34px;
    content: "";
    mask-image: linear-gradient(180deg, #000 0%, transparent 58%);
    pointer-events: none;
}

.patient-booking-page > .container {
    position: relative;
    z-index: 1;
}

.booking-heading {
    max-width: 960px;
    margin-bottom: 30px;
    text-align: left;
}

.booking-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    padding: 7px 11px;
    border: 1px solid rgba(6, 73, 199, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
    font-size: 10px;
    letter-spacing: 1.35px;
}

.booking-eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0649c7;
    box-shadow: 0 0 0 4px rgba(6, 73, 199, .1);
}

.booking-heading h1 {
    max-width: 680px;
    margin: 0 0 9px;
    color: #102c48;
    font-size: clamp(32px, 4.5vw, 48px);
    letter-spacing: -1.8px;
    line-height: 1.12;
}

.booking-heading h1 span {
    color: #0649c7;
}

.booking-heading > p:not(.booking-eyebrow) {
    max-width: 650px;
    margin-bottom: 16px;
    color: #61758b;
    font-size: 15px;
    line-height: 1.7;
}

.booking-intro-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.booking-intro-chips span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid rgba(6, 73, 199, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .7);
    color: #46617d;
    font-size: 12px;
}

.booking-intro-chips i {
    color: #0649c7;
}

.booking-card {
    position: relative;
    max-width: 960px;
    overflow: hidden;
    padding: 28px 32px 32px;
    border: 1px solid rgba(38, 77, 120, .1);
    border-radius: 20px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 24px 70px rgba(31, 65, 106, .11), 0 3px 10px rgba(31, 65, 106, .04);
}

.booking-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #0649c7 0%, #3f99eb 72%, rgba(63, 153, 235, .15) 100%);
    content: "";
}

.booking-stepper {
    gap: 8px;
    margin-bottom: 26px;
    padding: 0 0 21px;
    border-color: #edf1f7;
}

.booking-stepper li {
    gap: 10px;
    color: #8998a9;
    font-size: 12px;
    transition: color .2s ease;
}

.booking-stepper li b {
    color: inherit;
    font-weight: 600;
}

.booking-stepper li > span {
    width: 32px;
    height: 32px;
    border-color: #dce5ef;
    background: #f7f9fc;
    color: #74859a;
    font-size: 12px;
    transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.booking-stepper li.is-current {
    color: #173c70;
}

.booking-stepper li.is-current > span {
    border-color: #0649c7;
    background: #0649c7;
    box-shadow: 0 0 0 5px rgba(6, 73, 199, .1);
}

.booking-stepper li.is-complete > span {
    border-color: #c9daf8;
    background: #eaf2ff;
    color: #0649c7;
}

.booking-section-title {
    margin-bottom: 25px;
    color: #173653;
    font-size: 21px;
    letter-spacing: -.3px;
}

.booking-section-title small {
    margin-top: 6px;
    color: #75869a;
    line-height: 1.6;
}

.booking-section-number {
    width: 36px;
    height: 36px;
    border: 1px solid #dce8fa;
    border-radius: 10px;
    background: linear-gradient(145deg, #f4f8ff, #e8f0ff);
}

.booking-grid {
    gap: 20px 24px;
}

.booking-field > label:first-child {
    margin-bottom: 8px;
    color: #314b67;
    font-size: 13px;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
    min-height: 48px;
    padding: 11px 13px;
    border-color: #dce5ef;
    border-radius: 10px;
    background-color: #fbfcfe;
    color: #213c58;
    font-size: 14px;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.booking-field input:hover,
.booking-field select:hover,
.booking-field textarea:hover {
    border-color: #b8cce8;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
    border-color: #4a80d5;
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(6, 73, 199, .09);
}

.booking-field .select2-container--default .select2-selection--single {
    height: 48px;
    border-color: #dce5ef;
    border-radius: 10px;
    background: #fbfcfe;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.booking-field .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 13px;
    color: #213c58;
    font-size: 14px;
    line-height: 46px;
}

.booking-field .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #8797aa;
}

.booking-field .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    right: 9px;
}

.booking-field .select2-container--default.select2-container--focus .select2-selection--single,
.booking-field .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #4a80d5;
    outline: none;
    box-shadow: 0 0 0 4px rgba(6, 73, 199, .09);
}

.select2-dropdown {
    overflow: hidden;
    border-color: #dce5ef;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(31, 65, 106, .13);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    padding: 8px 10px;
    border-color: #dce5ef;
    border-radius: 7px;
    outline: none;
}

.booking-help {
    margin-top: 8px;
    color: #7b8da2;
    line-height: 1.5;
}

.booking-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #edf1f7;
}

.booking-button {
    min-height: 46px;
    padding: 11px 19px;
    border-color: #dce5ef;
    border-radius: 10px;
    background: #fff;
    color: #526b87;
    font-size: 13px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.booking-next,
.booking-submit {
    border-color: #0649c7;
    background: linear-gradient(120deg, #0649c7, #246ed5);
    box-shadow: 0 7px 18px rgba(6, 73, 199, .2);
    color: #fff;
}

.booking-button:hover {
    filter: none;
    transform: translateY(-1px);
}

.booking-next:hover,
.booking-submit:hover {
    background: linear-gradient(120deg, #053da9, #0649c7);
    box-shadow: 0 10px 22px rgba(6, 73, 199, .25);
    color: #fff;
}

.booking-back:hover {
    border-color: #0649c7;
    background: #f5f8ff;
    color: #0649c7;
}

.booking-privacy {
    margin-top: 25px;
    padding: 17px 19px;
    border-color: #dce8fa;
    border-radius: 12px;
    background: linear-gradient(120deg, #f5f8ff, #fafdff);
}

.booking-privacy > strong {
    color: #173c70;
    font-size: 14px;
}

.booking-privacy p {
    line-height: 1.65;
}

.booking-success,
.booking-alert {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(31, 65, 106, .06);
}

.booking-footnote {
    padding-left: 2px;
    color: #78899b;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .patient-booking-page {
        padding: 42px 0 52px;
    }

    .booking-heading {
        margin-bottom: 22px;
    }

    .booking-heading h1 {
        font-size: 34px;
        letter-spacing: -1.2px;
    }

    .booking-heading > p:not(.booking-eyebrow) {
        font-size: 14px;
    }

    .booking-intro-chips {
        gap: 7px;
    }

    .booking-intro-chips span {
        padding: 7px 9px;
        font-size: 10px;
    }

    .booking-card {
        padding: 20px 17px 22px;
        border-radius: 16px;
    }

    .booking-stepper {
        gap: 2px;
        margin-bottom: 22px;
        padding-bottom: 17px;
    }

    .booking-stepper li {
        gap: 7px;
        font-size: 10px;
    }

    .booking-stepper li > span {
        width: 29px;
        height: 29px;
    }

    .booking-section-title {
        margin-bottom: 20px;
        font-size: 19px;
    }

    .booking-grid {
        gap: 16px;
    }

    .booking-actions {
        margin-top: 24px;
        padding-top: 17px;
    }

    .booking-button {
        padding-right: 14px;
        padding-left: 14px;
        font-size: 12px;
    }
}
