:root {
    --primary: #2f86df;
    --primary-dark: #1f66b3;
    --primary-light: #eaf3ff;
    --primary-soft: #f4f8ff;

    --navy: #102544;
    --text: #1f3554;
    --muted: #6f7f95;

    --border: #d9e4f0;
    --border-light: #e9eff6;

    --white: #ffffff;
    --page-bg: #f5f8fc;
}

* {
    box-sizing: border-box;
}

.booking-page {
    min-height: 100vh;
    background: var(--page-bg);
    color: var(--text);
}

.booking-hero {
    position: relative;
    overflow: hidden;
    padding: 65px 6% 85px;
    text-align: center;

    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(47, 134, 223, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 15% 35%,
            rgba(47, 134, 223, 0.08),
            transparent 22%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f0f6ff 100%
        );
}

.booking-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -40px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(47, 134, 223, 0.05);
}

.booking-hero__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.booking-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.booking-hero h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.8rem, 4vw, 4.4rem);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -2.4px;
}

.booking-hero h1 span {
    color: var(--primary);
}

.booking-hero p {
    max-width: 640px;
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.booking-progress {
    position: relative;
    z-index: 3;
    display: grid;
    gap: 0;
    width: calc(100% - 12%);
    max-width: 1240px;
    margin: -52px auto 0;
    padding: 18px 30px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.98);

    box-shadow:
        0 16px 40px rgba(24, 68, 118, 0.10),
        0 2px 8px rgba(24, 68, 118, 0.04);
}

.booking-progress--three {
    grid-template-columns: repeat(3, 250px);
    justify-content: center;
    column-gap: 18px;
}

.booking-progress--four {
    grid-template-columns: repeat(4, 235px);
    justify-content: center;
    column-gap: 12px;
}

.booking-progress__step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
}

.booking-progress__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -20px;
    width: 40px;
    height: 1px;
    background: #dbe5ef;
}

.booking-progress__line {
    display: none;
}

.booking-progress__step > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    border: 1px solid #cfdbea;
    border-radius: 50%;

    background: #ffffff;
    color: #73839a;

    font-weight: 800;
}

.booking-progress__step--active > span {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;

    box-shadow: 0 8px 20px rgba(47, 134, 223, 0.24);
}

.booking-progress__step--complete > span {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

.booking-progress__step strong {
    display: block;
    margin-bottom: 3px;
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 800;
}

.booking-progress__step small {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
}

.booking-main {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(310px, 0.82fr);
    gap: 24px;

    width: calc(100% - 12%);
    max-width: 1240px;
    margin: 34px auto 70px;

    align-items: start;
}

.booking-form-card,
.booking-summary-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);

    box-shadow:
        0 14px 35px rgba(35, 70, 110, 0.07);
}

.booking-form-card {
    padding: 28px;
}

.booking-card-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.booking-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);

    font-size: 1.2rem;
    font-weight: 800;
}

.booking-card-heading h2 {
    margin: 0 0 4px;
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 850;
    letter-spacing: -0.5px;
}

.booking-card-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.booking-form {
    margin-top: 0;
}

.booking-section {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

.booking-section:last-of-type {
    border-bottom: none;
}

.booking-section h3 {
    margin: 0 0 18px;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 800;
}

.booking-section h3::after {
    display: none;
}

.booking-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.booking-field {
    min-width: 0;
}

.booking-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 800;
}

.booking-required {
    color: var(--site-danger);
}

.booking-required-note {
    margin: 4px 0 18px;
    color: var(--site-text-subtle);
    font-size: 0.82rem;
}

.booking-field input,
.booking-field select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;

    border: 1px solid #ced9e7;
    border-radius: 9px;

    background: #ffffff;
    color: var(--text);

    font: inherit;
    font-size: 0.86rem;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.booking-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image:
        linear-gradient(45deg, transparent 50%, #6f7f95 50%),
        linear-gradient(135deg, #6f7f95 50%, transparent 50%);

    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 13px) 50%;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;

    padding-right: 42px;
    cursor: pointer;
}

.booking-field input:hover,
.booking-field select:hover {
    border-color: #b8c8da;
}

.booking-field input:focus,
.booking-field select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(47, 134, 223, 0.10);
}

.booking-field input::placeholder {
    color: #9aa7b7;
}

.booking-notice {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    margin-top: 24px;
    background: #f7fbff;
    border: 1px solid #d7e9fb;
    border-radius: 14px;
}

.booking-notice span {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2f86df;
    color: white;
    font-weight: 700;
}

.booking-notice p {
    margin: 0;
    color: #60738d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.booking-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;
    margin-top: 20px;

    border: none;
    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #226fd0,
            #2f86df
        );

    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 800;

    cursor: pointer;
    text-decoration: none;

    box-shadow: 0 10px 22px rgba(47, 134, 223, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.booking-submit:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(47, 134, 223, 0.26);
}

.booking-summary-card {
    position: sticky;
    top: 100px;
    padding: 26px 24px;
}

.booking-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;
    margin-bottom: 16px;

    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);

    font-size: 1.2rem;
}

.booking-summary-card h2 {
    margin: 0;
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 850;
}

.booking-summary-description {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.booking-summary-divider {
    height: 1px;
    margin: 20px 0;
    background: var(--border-light);
}

.booking-summary-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    padding: 14px 0;
    margin: 0;

    border-bottom: 1px solid var(--border-light);
}

.booking-summary-item:last-of-type {
    border-bottom: none;
}

.booking-summary-item span {
    color: var(--muted);
    font-size: 0.78rem;
}

.booking-summary-item strong {
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 800;
    text-align: right;
}

.booking-summary-note {
    margin-top: 18px;
    padding: 14px;

    border: 1px solid #d4e4f7;
    border-radius: 10px;

    background: #f5f9ff;
}

.booking-summary-note strong {
    color: var(--navy);
    font-size: 0.82rem;
}

.booking-summary-note p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

.booking-progress__line--complete {
    background: var(--primary);
}

.booking-review-section {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

.booking-review-section h3 {
    margin: 0 0 18px;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 800;
}

.booking-review-section h3::after {
    display: none;
}

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

.review-item {
    padding: 15px 16px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: #fbfdff;
}

.review-item span {
    display: block;
    margin-bottom: 6px;

    color: var(--muted);
    font-size: 0.72rem;
}

.review-item strong {
    display: block;

    color: var(--navy);
    font-size: 0.84rem;
    line-height: 1.45;

    word-break: break-word;
}

.promo-form {
    display: flex;
    gap: 12px;
}

.promo-input {
    flex: 1;

    padding: 12px 14px;

    border: 1px solid var(--border);
    border-radius: 10px;

    font-size: 0.84rem;
    text-transform: uppercase;
}

.promo-apply-button {
    padding: 0 20px;

    border: none;
    border-radius: 10px;

    background: var(--navy);
    color: #fff;

    font-weight: 700;
    font-size: 0.8rem;

    cursor: pointer;
}

.promo-apply-button:hover {
    opacity: 0.9;
}

.promo-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;
    padding: 14px 16px;

    border: 1px solid #cfe1f6;
    border-radius: 10px;

    background: #f3f8ff;
}

.promo-applied strong {
    display: block;
    color: var(--navy);
}

.promo-applied span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.78rem;
}

.promo-remove-button {
    padding: 8px 14px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: #fff;
    color: var(--muted);

    font-size: 0.75rem;
    font-weight: 700;

    cursor: pointer;
}

.promo-remove-button:hover {
    border-color: #d33;
    color: #d33;
}

.review-total-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 24px;
    padding: 18px;

    border: 1px solid #cfe1f6;
    border-radius: 12px;

    background: #f3f8ff;
}

.review-total-card span {
    display: block;
    color: var(--navy);
    font-weight: 800;
}

.review-total-card small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.review-total-card > strong {
    color: var(--primary);
    font-size: 1.55rem;
}

.booking-review-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.booking-review-actions .booking-back-button,
.booking-review-actions .booking-confirm-button {
    width: 100%;
    padding: 15px 24px;
    text-align: center;
}



.booking-account-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.booking-account-options .booking-submit,
.booking-account-options .booking-back-button {
    width: 100%;
    margin-top: 0;
}

.booking-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    border: 1px solid var(--primary);
    border-radius: 9px;

    background: #ffffff;
    color: var(--primary);

    font-size: 0.88rem;
    font-weight: 800;

    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.booking-back-button:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.booking-confirm-button {
    margin-top: 0;
}

.confirmation-wrapper {
    width: calc(100% - 12%);
    max-width: 850px;
    margin: 34px auto 70px;
}

.confirmation-card {
    padding: 44px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 16px 40px rgba(35, 70, 110, 0.08);

    text-align: center;
}

.confirmation-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: var(--primary);
    color: #ffffff;

    font-size: 1.8rem;
    font-weight: 850;

    box-shadow: 0 10px 24px rgba(47, 134, 223, 0.24);
}

.confirmation-label {
    display: inline-block;

    margin-bottom: 12px;
    padding: 7px 14px;

    border-radius: 999px;

    background: var(--primary-light);
    color: var(--primary);

    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 1.5px;
}

.confirmation-card h2 {
    margin: 0;

    color: var(--navy);

    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 850;

    letter-spacing: -1px;
}

.confirmation-message {
    max-width: 560px;
    margin: 14px auto 26px;

    color: var(--muted);

    font-size: 0.9rem;
    line-height: 1.65;
}

.confirmation-reference {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;

    min-width: 200px;

    margin-bottom: 26px;
    padding: 14px 22px;

    border: 1px solid #cfe1f6;
    border-radius: 10px;

    background: #f3f8ff;
}

.confirmation-reference span {
    color: var(--muted);
    font-size: 0.72rem;
}

.confirmation-reference strong {
    color: var(--primary);
    font-size: 1.25rem;
}

.confirmation-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;
    margin-top: 8px;

    text-align: left;
}

.confirmation-detail {
    padding: 16px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: #fbfdff;
}

.confirmation-detail span {
    display: block;
    margin-bottom: 6px;

    color: var(--muted);
    font-size: 0.72rem;
}

.confirmation-detail strong {
    display: block;

    color: var(--navy);

    font-size: 0.84rem;
    line-height: 1.45;

    word-break: break-word;
}

.confirmation-status {
    color: var(--primary) !important;
}

.confirmation-note {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-top: 22px;
    padding: 16px;

    border: 1px solid #d4e4f7;
    border-radius: 10px;

    background: #f5f9ff;

    text-align: left;
}

.confirmation-note > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;
    flex: 0 0 32px;

    border-radius: 50%;

    background: var(--primary);
    color: #ffffff;

    font-size: 0.82rem;
}

.confirmation-note strong {
    color: var(--navy);
    font-size: 0.82rem;
}

.confirmation-note p {
    margin: 4px 0 0;

    color: var(--muted);

    font-size: 0.76rem;
    line-height: 1.5;
}

.confirmation-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 12px;
    margin-top: 22px;
}

.confirmation-book-again {
    margin-top: 0;
}

.confirmation-pay-online {
    display: flex;
    justify-content: center;
}

.confirmation-pay-online .booking-submit {
    width: auto;
    margin-top: 12px;
    padding: 0 32px;
}

@media screen and (max-width: 1050px) {
    .booking-main {
        grid-template-columns: 1fr;
    }

    .booking-summary-card {
        position: static;
    }

    .booking-progress {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 22px;
    }

    .booking-progress__step:nth-child(2)::after {
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .booking-hero {
        padding: 50px 20px 70px;
    }

    .booking-progress {
        grid-template-columns: 1fr;
        width: calc(100% - 30px);
        padding: 22px;
        margin-top: -35px;
    }

    .booking-progress__step {
        padding: 0;
    }

    .booking-progress__step::after {
        display: none !important;
    }

    .booking-main {
        width: calc(100% - 30px);
        margin-top: 24px;
    }

    .booking-form-card,
    .booking-summary-card {
        border-radius: 14px;
    }

    .booking-form-card {
        padding: 22px 18px;
    }

    .booking-form-grid,
    .review-grid,
    .confirmation-details {
        grid-template-columns: 1fr;
    }

    .booking-review-actions,
    .confirmation-actions {
        grid-template-columns: 1fr;
    }

    .review-total-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .confirmation-card {
        padding: 32px 18px;
    }

    .booking-hero h1 {
        font-size: 2.5rem;
    }
}

.booking-account-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.booking-account-choice-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fbfdff;
}

.booking-account-choice-card h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 850;
}

.booking-account-choice-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.booking-account-choice-card .booking-submit {
    margin-top: 18px;
}

.booking-main--single {
    display: block;
}

.booking-form-card--full {
    width: 100%;
    max-width: 100%;
}

.booking-info-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 18px;
    background: #f8fbfe;
    border: 1px solid #d7e5f3;
    border-radius: 14px;
    overflow: hidden;
}

.booking-info-item {
    padding: 20px 24px;
}

.booking-info-item span {
    display: block;
    margin-bottom: 6px;
    color: #71839b;
    font-size: 0.82rem;
    font-weight: 600;
}

.booking-info-item:not(:last-child) {
    border-right: 1px solid #dce7f2;
}

.booking-info-item strong {
    display: block;
    color: #102846;
    font-size: 1rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .booking-info-strip {
        grid-template-columns: 1fr;
    }
}

.booking-main:has(.booking-account-choice-grid) {
    grid-template-columns: 1fr;
}

.booking-main:has(.booking-account-choice-grid) .booking-form-card {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.booking-field .error-message {
    margin-top: 6px;
    color: #c62828;
    font-size: 0.78rem;
    font-weight: 600;
}

.booking-field .form-error {
    border-color: #c62828;
    background: #fff8f8;
}

.booking-field .form-error:focus {
    border-color: #c62828;
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.10);
}
