:is(.booking-page, .parking-booking-dialog) {
    --booking-ink: #231b38;
    --booking-muted: #635b73;
    --booking-purple: #5c3eb0;
    --booking-violet: #704bc6;
    --booking-tint: #f4efff;
    --booking-line: #e6e0ef;
    --booking-shadow: 0 8px 24px rgba(41, 25, 78, .045);
    --booking-dock: 92px;
}

.booking-page {
    background: radial-gradient(ellipse 780px 420px at 50% 0, #eee8fb, transparent 100%), #f8f7fb;
    color: var(--booking-ink);
    overflow-x: clip;
    padding-bottom: calc(var(--booking-dock) + env(safe-area-inset-bottom));
}

.booking-page .app-bottom-nav { display: none; }
.booking-page :focus-visible {
    outline: 3px solid #946dea;
    outline-offset: 3px;
}

.booking-shell {
    width: min(100%, 1120px);
    margin-inline: auto;
    padding: 12px max(14px, env(safe-area-inset-right)) 24px max(14px, env(safe-area-inset-left));
    font-variant-numeric: tabular-nums;
}

.booking-shell [hidden] { display: none !important; }
.booking-shell h1, .booking-shell h2, .booking-shell h3, .booking-shell p { margin: 0; }
.booking-shell button, .booking-shell input, .booking-shell select { font: inherit; }
.booking-shell button, .booking-shell a, .booking-shell label { touch-action: manipulation; }
.booking-shell svg { display: block; width: 20px; height: 20px; flex: none; }

.booking-intro {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.booking-back {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    color: var(--booking-purple);
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
}
.booking-back svg { width: 16px; height: 16px; }
.booking-back:hover { color: var(--booking-ink); }

.booking-intro h1 {
    color: var(--booking-ink);
    font-size: clamp(1.85rem, 4.5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -.052em;
    line-height: 1.15;
}
.booking-page:lang(bn) .booking-intro h1 { letter-spacing: 0; }

.booking-progress {
    background: rgba(255, 255, 255, .75);
    border: 1px solid var(--booking-line);
    border-radius: 17px;
    padding: 9px 8px;
}
.booking-progress ol {
    display: grid;
    grid-template-columns: .95fr 1.25fr .95fr;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.booking-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 40px;
    color: var(--booking-muted);
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 10px;
}
.booking-step-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: #eeeaf4;
    color: #625970;
}
.booking-step-icon svg { width: 14px; height: 14px; }
.booking-step.is-complete .booking-step-icon { background: #e0f4ea; color: #14654d; }
.booking-step.is-current { background: #ece3fd; color: #4c2b98; }
.booking-step.is-current .booking-step-icon { background: var(--booking-purple); color: #fff; }

.booking-parking {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 8px;
    min-height: 150px;
    margin-bottom: 14px;
    padding: 18px 15px;
    color: #fff;
    background: #2b1e45;
    border-radius: 21px;
    box-shadow: 0 12px 24px rgba(39, 20, 78, .13);
}
.booking-parking > img, .booking-parking::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
}
.booking-parking > img {
    object-fit: cover;
    object-position: center 48%;
}
.booking-parking::after {
    content: '';
    background: linear-gradient(90deg, #241537 0%, rgba(36, 21, 55, .92) 30%, rgba(36, 21, 55, .5) 100%),
                linear-gradient(0deg, rgba(22, 13, 35, .7), transparent 100%);
}
.booking-parking-label {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    margin-bottom: 8px;
    color: #f3eaff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 650;
}
.booking-parking-label svg, .booking-parking-change svg { width: 14px; height: 14px; }
.booking-parking-content { overflow-wrap: anywhere; }
.booking-parking-content strong {
    display: block;
    font-size: clamp(1.05rem, 3.8vw, 1.65rem);
    line-height: 1.32;
}
.booking-parking-content p {
    margin-top: 4px;
    color: #ede4f7;
    font-size: .875rem;
}
.booking-parking-change {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 5px;
    padding-inline: 10px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 12px;
    font-size: .82rem;
    font-weight: 700;
    transition: background .16s ease;
}
.booking-parking:hover .booking-parking-change { background: rgba(255, 255, 255, .24); }
.booking-parking:focus-within { outline: 3px solid #946dea; outline-offset: 3px; }
.booking-parking select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.booking-grid { display: grid; gap: 14px; }
.booking-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--booking-line);
    border-radius: 21px;
    background: #fff;
    box-shadow: var(--booking-shadow);
}
.booking-shell .booking-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 16px;
    font-size: 1.18rem;
    font-weight: 780;
    line-height: 1.25;
}
.booking-heading-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--booking-purple);
    background: var(--booking-tint);
    border-radius: 12px;
}
.booking-label {
    display: block;
    margin: 0 0 7px;
    color: var(--booking-ink);
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.35;
}

.booking-vehicle-label { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 7px; }
.booking-vehicle-label .booking-label { margin: 0; }
.booking-rate {
    color: var(--booking-purple);
    font-size: .8rem;
    font-weight: 700;
    text-align: right;
}
.booking-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}
.booking-vehicle-option { position: relative; cursor: pointer; }
.booking-vehicle-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.booking-vehicle-tile {
    display: flex;
    min-height: 72px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 2px 5px;
    color: var(--booking-muted);
    background: #faf9fc;
    border: 1px solid var(--booking-line);
    border-radius: 13px;
    text-align: center;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.12;
    overflow-wrap: anywhere;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.booking-vehicle-tile > svg { width: 22px; height: 22px; }
.booking-vehicle-option input:checked + .booking-vehicle-tile {
    background: #f0e8ff;
    border-color: #916cdc;
    color: #4c2b98;
    box-shadow: inset 0 0 0 1px #916cdc;
}
.booking-vehicle-option input:focus-visible + .booking-vehicle-tile {
    outline: 3px solid #946dea;
    outline-offset: 2px;
}
.booking-selection-mark {
    display: none;
    position: absolute;
    top: 4px;
    right: 4px;
    place-items: center;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--booking-purple);
    color: #fff;
}
.booking-selection-mark svg { width: 10px; height: 10px; }
.booking-vehicle-option input:checked + .booking-vehicle-tile .booking-selection-mark { display: grid; }

.booking-saved, .booking-vehicle > .booking-field, .booking-quick { margin-top: 16px; }
.booking-shell .booking-saved h3 { margin-bottom: 7px; }
.booking-saved-list { display: grid; gap: 7px; }
.booking-saved-option {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    padding: 6px 9px;
    color: var(--booking-ink);
    background: #fff;
    border: 1px solid var(--booking-line);
    border-radius: 12px;
    text-align: start;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease;
}
.booking-saved-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 31px;
    height: 31px;
    background: #f0ecf8;
    color: var(--booking-purple);
    border-radius: 9px;
}
.booking-saved-icon svg { width: 17px; height: 17px; }
.booking-saved-details {
    display: grid;
    min-width: 0;
    flex: 1;
    line-height: 1.32;
    overflow-wrap: anywhere;
}
.booking-saved-details strong { font-size: .84rem; }
.booking-saved-details > span { color: var(--booking-muted); font-size: .77rem; }
.booking-saved-option[aria-pressed="true"] { border-color: #bba7e6; background: #fbf8ff; }
.booking-saved-check {
    display: grid;
    flex: none;
    place-items: center;
    width: 17px;
    height: 17px;
    border: 1px solid #c6bbd8;
    border-radius: 50%;
    color: #fff;
}
.booking-saved-check svg { width: 12px; height: 12px; visibility: hidden; }
.booking-saved-option[aria-pressed="true"] .booking-saved-check { border-color: var(--booking-purple); background: var(--booking-purple); }
.booking-saved-option[aria-pressed="true"] .booking-saved-check svg { visibility: visible; }

.booking-field-grid { display: grid; gap: 12px; }
.booking-field { min-width: 0; }
.booking-shell .booking-input {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 50px;
    padding: 10px 12px;
    border: 1px solid #dcd4e9;
    border-radius: 12px;
    color: var(--booking-ink);
    background: #faf9fc;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    scroll-margin-block: 80px calc(var(--booking-dock) + 22px);
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.booking-input::placeholder { color: #746b82; font-weight: 400; }
.booking-input::-webkit-date-and-time-value { text-align: left; }
.booking-input::-webkit-calendar-picker-indicator { cursor: pointer; }
.booking-input:focus {
    background: #fff;
    border-color: #946dea;
    box-shadow: 0 0 0 3px #eee5fd;
    outline: none;
}
.booking-input[aria-invalid="true"] { border-color: #ba4e60; }
.booking-shell .booking-field-error { margin-top: 6px; color: #a52c43; font-size: .875rem; }
.booking-form-error {
    padding: 10px 14px;
    margin-bottom: 12px;
    color: #9b2940;
    background: #fff0f3;
    border-radius: 12px;
}

.booking-quick { min-width: 0; }
.booking-quick legend { float: none; }
.booking-quick-options { display: flex; flex-wrap: wrap; gap: 7px; }
.booking-shell .booking-duration {
    flex: 1 0 auto;
    min-height: 44px;
    padding: 5px 9px;
    color: var(--booking-muted);
    background: #faf9fc;
    border: 1px solid var(--booking-line);
    border-radius: 11px;
    font-size: .83rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.booking-shell .booking-duration[aria-pressed="true"] {
    background: #ede4fd;
    color: #4c2b98;
    border-color: #a383df;
}

.booking-summary {
    padding: 0;
}
.booking-summary-top {
    padding: 16px;
    background: linear-gradient(145deg, #f3ecff, #fbf8ff 95%);
    border-radius: 20px 20px 0 0;
}
.booking-summary-top .booking-heading-icon { color: #fff; background: var(--booking-purple); }
.booking-availability {
    --status-color: #5d497f;
    --status-bg: #f6f1fd;
    display: grid;
    align-items: center;
    justify-items: start;
    gap: 5px;
    padding: 11px 12px;
    background: var(--status-bg);
    color: var(--status-color);
    border: 1px solid color-mix(in srgb, var(--status-color) 19%, transparent);
    border-radius: 12px;
}
.booking-availability[data-state="available"] { --status-color: #135f49; --status-bg: #e8f8ef; }
.booking-availability:is([data-state="full"], [data-state="invalid"]) { --status-color: #9f2f48; --status-bg: #fff0f3; }
.booking-availability[data-state="error"] { --status-color: #834710; --status-bg: #fff5e5; }
.booking-availability-label { display: block; font-size: .76rem; font-weight: 650; }
.booking-availability strong { display: flex; align-items: baseline; gap: 8px; font-size: 1.025rem; }
.booking-status-dot {
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 14%, transparent);
}
.booking-availability[data-state="checking"] .booking-status-dot { animation: booking-pulse .8s ease-in-out 3 alternate; }
@keyframes booking-pulse { to { opacity: .35; } }
.booking-availability p { margin-top: 3px; font-size: .85rem; }
.booking-retry {
    min-height: 44px;
    padding: 0 10px;
    color: inherit;
    background: #fff;
    border: 1px solid currentColor;
    border-radius: 8px;
    cursor: pointer;
}
.booking-breakdown { display: grid; gap: 8px; margin: 0; padding: 14px 16px; }
.booking-breakdown > div { display: flex; justify-content: space-between; gap: 12px; }
.booking-breakdown dt { display: flex; gap: 6px; align-items: center; color: var(--booking-muted); font-size: .875rem; font-weight: 550; }
.booking-breakdown dt svg { width: 16px; height: 16px; color: var(--booking-purple); }
.booking-breakdown dd { margin: 0; font-size: .9rem; font-weight: 700; text-align: right; }
.booking-breakdown small { display: block; color: var(--booking-muted); font-weight: 500; }
.booking-breakdown .booking-duration-line { border-bottom: 1px solid var(--booking-line); padding-bottom: 9px; }

.booking-action {
    position: fixed;
    z-index: 1015;
    inset: auto 0 0;
    background: #fff;
    border-top: 1px solid var(--booking-line);
    box-shadow: 0 -8px 28px rgba(38, 21, 72, .1);
    padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
}
.booking-action-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 680px);
    margin-inline: auto;
}
.booking-action-status {
    display: flex;
    align-items: center;
    gap: 7px;
    width: min(100%, 680px);
    margin: 0 auto 7px;
    color: var(--booking-muted);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.25;
}
.booking-action-status[data-state="available"] { color: #135f49; }
.booking-action-status:is([data-state="full"], [data-state="invalid"]) { color: #9f2f48; }
#bookingActionDuration { margin-left: auto; text-align: right; }
.booking-total { flex: none; min-width: 0; max-width: 40%; }
.booking-total span { display: block; color: var(--booking-muted); font-size: .79rem; font-weight: 650; line-height: 1.25; }
.booking-total strong {
    display: block;
    color: #382168;
    font-size: clamp(1.22rem, 4vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.booking-shell .booking-submit {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 7px 11px;
    background: linear-gradient(115deg, #5735a6, #7048c3);
    color: #fff;
    border: 1px solid transparent;
    border-radius: 13px;
    box-shadow: 0 5px 12px rgba(92, 62, 176, .23);
    font-size: .93rem;
    font-weight: 750;
    line-height: 1.25;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease;
}
.booking-submit svg { width: 17px; height: 17px; }
.booking-shell .booking-submit:disabled { background: #e9e2f3; color: #675c78; box-shadow: none; cursor: default; }
.booking-shell .booking-hold {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    margin: 0 16px;
    padding: 10px 0 14px;
    border-top: 1px solid var(--booking-line);
    color: var(--booking-muted);
    font-size: .77rem;
    line-height: 1.4;
}
.booking-hold svg { width: 15px; height: 15px; color: var(--booking-purple); }

.booking-save-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin-top: 9px;
    color: var(--booking-muted);
    font-size: .875rem;
    cursor: pointer;
}
.booking-save-toggle input { flex: none; width: 19px; height: 19px; accent-color: var(--booking-purple); }

@media (hover: hover) {
    .booking-vehicle-option:hover .booking-vehicle-tile, .booking-duration:hover, .booking-saved-option:hover { border-color: #a383df; }
    .booking-submit:not(:disabled):hover { box-shadow: 0 8px 18px rgba(92, 62, 176, .35); }
}

.booking-submit:not(:disabled):active, .booking-duration:active, .booking-vehicle-option:active .booking-vehicle-tile { transform: scale(.98); }

@media (max-width: 575px) {
    .booking-page .app-header { padding-inline: max(9px, env(safe-area-inset-left)) max(9px, env(safe-area-inset-right)); }
    .booking-page .app-header-inner, .booking-page .app-header-actions { gap: 5px; }
    .booking-page .location-picker-chip { padding-inline: 7px; min-height: 36px; }
    .booking-page .app-header-actions .btn-group .btn { min-height: 36px; display: grid; place-items: center; }
}

@media (max-width: 430px) {
    .booking-page .app-header .location-picker-chip { min-width: 38px; justify-content: center; }
    .booking-page #headerLocationText { display: none; }
}

@media (max-width: 365px) {
    .booking-page .app-header .brand-badge-pill span { display: none; }
    .booking-shell { padding-inline: max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-right)); }
    .booking-card { padding-inline: 12px; }
    .booking-summary { padding-inline: 0; }
    .booking-step { font-size: .71rem; }
    .booking-submit { gap: 5px; }
}

@media (min-width: 540px) {
    .booking-shell { padding-inline: 24px; }
    .booking-card { padding: 20px; }
    .booking-summary { padding: 0; }
    .booking-summary-top { padding: 20px; }
    .booking-field-grid, .booking-saved-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .booking-quick-options { justify-content: flex-start; }
    .booking-shell .booking-duration { flex: 0 1 auto; padding-inline: 15px; }
    .booking-options { gap: 9px; }
    .booking-progress ol { gap: 6px; }
    .booking-step { gap: 8px; font-size: .875rem; }
    .booking-step-icon { width: 28px; height: 28px; }
}

@media (min-width: 768px) {
    .booking-shell { padding-top: 20px; }
    .booking-intro {
        grid-template-columns: minmax(0, 1fr) minmax(355px, 40%);
        align-items: end;
        margin-bottom: 22px;
    }
    .booking-parking { min-height: 158px; padding: 22px; }
    .booking-parking-change { padding-inline: 15px; }
}

@media (min-width: 900px) {
    .booking-page { padding-bottom: 0; }
    .booking-shell { padding-bottom: 12px; }
    .booking-grid { grid-template-columns: minmax(0, 1.75fr) minmax(295px, 1fr); gap: 16px 20px; align-items: start; }
    .booking-grid > section { grid-column: 1; }
    .booking-summary-column { grid-area: 1 / 2 / 5; align-self: stretch; }
    .booking-summary { position: sticky; top: calc(var(--app-header-height) + 16px); }
    .booking-card:not(.booking-summary) { padding: 22px; }
    .booking-breakdown { padding-inline: 20px; }
    .booking-action {
        position: static;
        padding: 13px 20px;
        border: 0;
        box-shadow: none;
    }
    .booking-action-status { display: none; }
    .booking-action-inner { flex-direction: column; align-items: stretch; }
    .booking-total {
        display: flex;
        max-width: none;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
    .booking-total span { font-size: .9rem; }
    .booking-total strong { font-size: 1.85rem; }
    .booking-shell .booking-hold { margin-inline: 20px; }
}

/* Scoped Date & Time Schedule Section Polish */
.booking-schedule-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
.booking-shell .booking-schedule-heading .booking-heading {
    margin-bottom: 0;
    gap: 9px;
}
.booking-schedule-heading .booking-heading-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}
.booking-timezone-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 9999px;
    background: #f4f0fb;
    border: 1px solid #e6def7;
    color: var(--booking-purple);
    font-size: .74rem;
    font-weight: 700;
    white-space: nowrap;
}
.booking-schedule .booking-field-grid {
    gap: 10px;
}
.booking-shell .booking-time-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--booking-muted);
}
.booking-time-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex: none;
}
.booking-time-dot.is-entry {
    background: #168567;
    box-shadow: 0 0 0 3px rgba(22, 133, 103, .14);
}
.booking-time-dot.is-exit {
    background: var(--booking-purple);
    box-shadow: 0 0 0 3px rgba(92, 62, 176, .14);
}
.booking-shell .booking-time-input {
    min-height: 46px;
    padding: 8px 11px;
    font-size: .88rem;
    font-variant-numeric: tabular-nums;
    border-radius: 12px;
    background: #faf9fd;
    border-color: #e4ddf2;
}
.booking-shell .booking-time-input:hover {
    border-color: #c5b3e8;
}
.booking-schedule .booking-quick {
    margin-top: 12px;
}
.booking-schedule .booking-quick-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}
.booking-shell .booking-schedule .booking-duration {
    min-height: 38px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 700;
    background: #faf9fd;
    border-color: #e4ddf2;
    text-align: center;
}
.booking-shell .booking-schedule .booking-duration[aria-pressed="true"] {
    background: linear-gradient(135deg, #f3ecff, #ebe1fe);
    color: #4c2b98;
    border-color: #9e7de0;
    box-shadow: 0 2px 8px rgba(92, 62, 176, .14);
}
@media (max-width: 360px) {
    .booking-schedule .booking-quick-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .booking-shell *, .booking-shell *::before, .booking-shell *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
