/* Compact booking progress header used by the legacy 2024 result viewer. */
.booking-progress-bar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    min-height: 42px;
    padding: 8px 26px;
    border-bottom: 1px solid #e6ebef;
    background: #fff;
    color: #8995a0;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.booking-progress-breadcrumb {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    line-height: 1.2;
}

.booking-progress-breadcrumb a {
    color: #102b3b;
    text-decoration: none;
}

.booking-progress-breadcrumb strong {
    color: #b17d08;
    font-weight: 800;
}

.booking-progress-steps {
    align-items: center;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.booking-progress-steps li {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    white-space: nowrap;
}

.booking-progress-steps li + li::before {
    width: 16px;
    height: 1px;
    margin-right: 8px;
    background: #dce3e8;
    content: "";
}

.booking-progress-steps span {
    align-items: center;
    border: 1px solid #cbd5dc;
    border-radius: 50%;
    display: inline-flex;
    height: 20px;
    justify-content: center;
    width: 20px;
    font-size: 10px;
}

.booking-progress-steps .is-active {
    color: #102b3b;
}

.booking-progress-steps .is-active span {
    border-color: #e1ae35;
    background: #e1ae35;
    color: #102b3b;
}

.booking-progress-steps .is-complete {
    color: #b17d08;
}

.booking-progress-steps .is-complete span {
    border-color: #e1ae35;
    color: #b17d08;
}

@media (max-width: 767px) {
    .booking-progress-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 10px 16px;
    }

    .booking-progress-steps {
        justify-content: space-between;
        width: 100%;
        gap: 8px;
        overflow-x: auto;
    }

    .booking-progress-steps li + li::before {
        width: 10px;
        margin-right: 4px;
    }
}

/* Passenger details page styling. */
#modal_home_page #passenger_form {
    max-width: 960px;
    padding-top: 30px;
}

#modal_home_page #passenger_form > hr {
    display: none;
}

#modal_home_page .passenger-step-intro {
    align-items: flex-end;
    border-bottom: 1px solid #edf1f4;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 24px;
}

#modal_home_page .passenger-step-intro__eyebrow,
#modal_home_page .passenger-section__eyebrow {
    color: #b17d08;
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

#modal_home_page .passenger-step-intro h1 {
    color: #102b3b;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.12;
    margin: 7px 0 8px;
}

#modal_home_page .passenger-step-intro p {
    color: #687783;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

#modal_home_page .passenger-step-intro__trust,
#modal_home_page .passenger-section__required {
    align-items: center;
    border: 1px solid #e3e9ed;
    border-radius: 999px;
    color: #52636e;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 800;
    gap: 7px;
    padding: 9px 12px;
    white-space: nowrap;
}

#modal_home_page .passenger-step-intro__trust i,
#modal_home_page .passenger-section__required i {
    color: #d09b1b;
}

#modal_home_page .passenger-section {
    margin-top: 26px;
}

#modal_home_page .passenger-section__header {
    align-items: flex-end;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 13px;
}

#modal_home_page .passenger-section__header h2 {
    color: #102b3b;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    margin: 5px 0 0;
}

#modal_home_page .passenger-edit-button {
    align-items: center;
    background: #fff;
    border: 1px solid #d8e1e6;
    border-radius: 999px;
    color: #102b3b;
    display: inline-flex;
    font-size: 10px;
    font-weight: 800;
    gap: 7px;
    letter-spacing: .05em;
    padding: 9px 13px;
    text-transform: uppercase;
}

#modal_home_page .passenger-edit-button:hover,
#modal_home_page .passenger-edit-button:focus-visible {
    background: #fff8e8;
    border-color: #e1ae35;
    outline: 0;
}

#modal_home_page #passenger_form .passenger-card,
#modal_home_page #passenger_form .passenger-details-card {
    border: 1px solid #e3e9ed;
    border-radius: 18px;
}

#modal_home_page #passenger_form .passenger-card {
    background: #f8fafb;
    padding: 12px !important;
}

#modal_home_page #selected_car_spot {
    border: 0;
    border-radius: 13px;
    box-shadow: 0 8px 22px rgba(16, 43, 59, .06);
    min-height: 88px;
}

#modal_home_page #passenger_form .passenger-details-card {
    background: #fff;
    box-shadow: 0 10px 26px rgba(16, 43, 59, .05);
    padding: 22px !important;
}

#modal_home_page .passenger-details-card__hint {
    color: #81909a;
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 18px;
}

#modal_home_page .passenger-details-grid {
    display: grid;
    gap: 18px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#modal_home_page .passenger-details-grid > .mb-3 {
    margin-bottom: 0 !important;
}

#modal_home_page .passenger-details-grid > .passenger-message-field {
    grid-column: 1 / -1;
}

#modal_home_page #passenger_form .passenger-details-card label {
    color: #304c5b;
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .03em;
    margin-bottom: 7px;
}

#modal_home_page #passenger_form .passenger-details-card .input-group {
    background: #fff;
    border: 1px solid #dce5ea;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

#modal_home_page #passenger_form .passenger-details-card .input-group:focus-within {
    border-color: #e1ae35;
    box-shadow: 0 0 0 3px rgba(225, 174, 53, .15);
}

#modal_home_page #passenger_form .passenger-details-card .input-group-text {
    align-items: center;
    background: #fff8e8;
    border: 0 !important;
    color: #b17d08;
    display: inline-flex;
    justify-content: center;
    min-width: 44px;
}

#modal_home_page #passenger_form .passenger-details-card .form-control {
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
    min-height: 48px;
    padding: 12px 14px;
}

#modal_home_page #passenger_form .passenger-details-card textarea.form-control {
    min-height: 88px;
    resize: vertical;
}

#modal_home_page #passenger_form .passenger-next-action {
    border-top: 1px solid #edf1f4;
    margin-top: 30px !important;
    padding-top: 24px;
}

#modal_home_page #passenger_form .passenger-next-action .btn-round {
    border-radius: 12px;
    min-height: 56px;
}

@media (max-width: 767px) {
    #modal_home_page .passenger-step-intro,
    #modal_home_page .passenger-section__header {
        align-items: flex-start;
        flex-direction: column;
    }

    #modal_home_page .passenger-step-intro__trust,
    #modal_home_page .passenger-section__required {
        align-self: flex-start;
    }

    #modal_home_page .passenger-details-grid {
        grid-template-columns: 1fr;
    }

    #modal_home_page .passenger-details-grid > .passenger-message-field {
        grid-column: auto;
    }

    #modal_home_page #passenger_form .passenger-details-card {
        padding: 16px !important;
    }
}

/* Keep checkout focused and avoid repeating the route details. */
#modal_home_page.is-checkout-step #passenger_form #transferdetail,
#modal_home_page.is-checkout-step #passenger_form #hourlydetail {
    display: none !important;
}

#modal_home_page.is-checkout-step #passenger_form {
    padding-top: 18px;
}

#modal_home_page.is-checkout-step .passenger-vehicle-card {
    margin-top: 0;
}

/* Desktop checkout layout: show the selected ride beside passenger entry. */
@media (min-width: 992px) {
    #modal_home_page.is-passenger-step #passenger_form {
        column-gap: 28px;
        display: grid !important;
        grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
        row-gap: 0;
    }

    #modal_home_page #passenger_form > .passenger-step-intro {
        grid-column: 1 / -1;
    }

    #modal_home_page #passenger_form > .passenger-section {
        margin-top: 0;
    }

    #modal_home_page #passenger_form > .passenger-vehicle-card {
        align-self: start;
        grid-column: 1;
        grid-row: 2;
        position: sticky;
        top: 112px;
    }

    #modal_home_page #passenger_form > .passenger-section:not(.passenger-vehicle-card) {
        grid-column: 2;
        grid-row: 2;
    }

    #modal_home_page #passenger_form > #flight_form,
    #modal_home_page #passenger_form > #twoway_place_form {
        grid-column: 1 / -1;
    }

    #modal_home_page #passenger_form > .passenger-next-action {
        grid-column: 2;
    }

    #modal_home_page.is-passenger-step #selected_car_spot {
        padding: 12px !important;
    }

    #modal_home_page.is-passenger-step #selected_car_spot .result-info {
        align-items: stretch;
        display: flex !important;
        flex-direction: column;
        gap: 10px;
    }

    #modal_home_page.is-passenger-step #selected_car_spot .result-left {
        align-items: center;
        display: flex;
        height: 96px;
        justify-content: center;
        margin: 0;
        width: 100% !important;
    }

    #modal_home_page.is-passenger-step #selected_car_spot .result-left img {
        display: block;
        height: 90px !important;
        max-width: 190px;
        object-fit: contain;
        width: 100% !important;
    }

    #modal_home_page.is-passenger-step #selected_car_spot .result-right {
        min-width: 0;
        width: 100%;
    }

    #modal_home_page.is-passenger-step #selected_car_spot .result-subhead {
        font-size: 13px;
        line-height: 1.2;
        margin: 0 0 7px !important;
    }

    #modal_home_page.is-passenger-step #selected_car_spot .result-right p {
        font-size: 9px;
        line-height: 1.35;
        margin: 0 0 8px;
    }

#modal_home_page.is-passenger-step #selected_car_spot .title_badge {
    border: 1px solid #1e1764;
    border-radius: 999px;
    color: #1e1764;
    display: inline-block;
    font-size: 8px;
    letter-spacing: .05em;
    padding: 4px 12px;
    text-transform: uppercase;
}

/* Round-trip checkout: make the second leg a compact continuation of the
   one-way checkout with a clear date, route and fare summary. */
#modal_home_page .round-trip-panel {
    border-top: 1px solid #edf1f4;
    margin-top: 32px;
    padding-top: 28px;
}

#modal_home_page .round-trip-panel__heading {
    align-items: flex-end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
}

#modal_home_page .round-trip-panel__eyebrow,
#modal_home_page .round-trip-card__eyebrow {
    color: #b17d08;
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

#modal_home_page .round-trip-panel__heading h2 {
    color: #102b3b;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
    margin: 6px 0 5px;
}

#modal_home_page .round-trip-panel__heading p {
    color: #81909a;
    font-size: 12px;
    margin: 0;
}

#modal_home_page .round-trip-panel__badge {
    align-items: center;
    border: 1px solid #e3e9ed;
    border-radius: 999px;
    color: #52636e;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 800;
    gap: 7px;
    padding: 9px 12px;
    white-space: nowrap;
}

#modal_home_page .round-trip-panel__badge i { color: #d09b1b; }

#modal_home_page .round-trip-panel__body {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
}

#modal_home_page .round-trip-date-card,
#modal_home_page .round-trip-route-card {
    background: #fff;
    border: 1px solid #e3e9ed;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(16, 43, 59, .045);
    padding: 18px;
}

#modal_home_page .round-trip-date-card { background: #f8fafb; }

#modal_home_page .round-trip-date-card label {
    color: #304c5b;
    display: block;
    font-size: 11px;
    font-weight: 800;
    margin: 14px 0 7px;
}

#modal_home_page .round-trip-date-card .input-group {
    background: #fff;
    border: 1px solid #dce5ea;
    border-radius: 12px;
    overflow: hidden;
}

#modal_home_page .round-trip-date-card .input-group:focus-within {
    border-color: #e1ae35;
    box-shadow: 0 0 0 3px rgba(225, 174, 53, .15);
}

#modal_home_page .round-trip-date-card .input-group-text {
    background: #fff8e8;
    border: 0;
    color: #b17d08;
    justify-content: center;
    min-width: 44px;
}

#modal_home_page .round-trip-date-card .form-control {
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
    min-height: 46px;
    padding: 11px 12px;
}

#modal_home_page .round-trip-date-card small {
    color: #81909a;
    display: block;
    font-size: 10px;
    line-height: 1.4;
    margin-top: 10px;
}

#modal_home_page .round-trip-route-card { min-width: 0; }

#modal_home_page .round-trip-route {
    margin-top: 14px;
    position: relative;
}

#modal_home_page .round-trip-stop {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

#modal_home_page .round-trip-stop__marker {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 30px;
    height: 30px;
    justify-content: center;
    width: 30px;
}

#modal_home_page .round-trip-stop__marker--start { background: #e7f5ef; color: #16865e; }
#modal_home_page .round-trip-stop__marker--end { background: #fff5df; color: #b17d08; }

#modal_home_page .round-trip-stop__copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

#modal_home_page .round-trip-stop__label {
    color: #81909a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 3px;
}

#modal_home_page .round-trip-stop__copy strong,
#modal_home_page .round-trip-stop__copy > .return_to_place {
    color: #102b3b;
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    overflow: hidden;
    padding-right: 30px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#modal_home_page .round-trip-stop__connector {
    border-left: 1px dashed #d2dde3;
    height: 16px;
    margin: -1px 0 -1px 15px;
}

#modal_home_page .round-trip-stop__copy--editable { position: relative; }

#modal_home_page .round-trip-edit {
    color: #b17d08 !important;
    font-size: 12px;
    position: absolute;
    right: 0;
    top: 15px;
}

#modal_home_page .round-trip-stop__copy .txt4 input {
    border: 1px solid #dce5ea;
    border-radius: 9px;
    min-height: 38px;
}

#modal_home_page .round-trip-metrics {
    align-items: center;
    background: #102b3b;
    border-radius: 10px;
    color: rgba(255, 255, 255, .78);
    display: flex;
    font-size: 10px;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 16px;
    padding: 10px 12px;
}

#modal_home_page .round-trip-metrics span { align-items: center; display: inline-flex; gap: 6px; }
#modal_home_page .round-trip-metrics i { color: #f3ce79; }
#modal_home_page .round-trip-metrics strong { color: #fff; font-weight: 700; }

#modal_home_page .round-trip-charges {
    display: none;
    gap: 16px;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
    margin-top: 16px;
}

#modal_home_page .round-trip-charges.is-visible { display: grid; }

#modal_home_page .round-trip-charges__map,
#modal_home_page .round-trip-fares {
    background: #fff;
    border: 1px solid #e3e9ed;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(16, 43, 59, .045);
    min-width: 0;
    padding: 16px;
}

#modal_home_page .round-trip-charges__map { overflow: hidden; }

#modal_home_page .round-trip-charges__label {
    color: #b17d08;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    margin-bottom: 12px;
}

#modal_home_page .round-trip-charges__map .google_map_frame {
    border-radius: 11px;
    height: 190px;
}

#modal_home_page .round-trip-fares { display: flex; flex-direction: column; }

#modal_home_page .round-trip-fare-row,
#modal_home_page .round-trip-fare-total {
    align-items: center;
    border-bottom: 1px solid #edf1f4;
    color: #52636e;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    padding: 12px 0;
}

#modal_home_page .round-trip-fare-row strong,
#modal_home_page .round-trip-fare-total strong { color: #102b3b; font-size: 12px; }
#modal_home_page .round-trip-fare-row b,
#modal_home_page .round-trip-fare-total b { font-size: 14px; margin-left: 4px; }
#modal_home_page .round-trip-fare-row--discount,
#modal_home_page .round-trip-fare-row--discount strong { color: #16865e; }

#modal_home_page .round-trip-fare-total {
    border: 0;
    color: #102b3b;
    font-weight: 800;
    padding-bottom: 0;
}

#modal_home_page .round-trip-fare-total strong { color: #b17d08; font-size: 15px; }

@media screen and (max-width: 767px) {
    #modal_home_page .round-trip-panel__heading { align-items: flex-start; flex-direction: column; }
    #modal_home_page .round-trip-panel__body,
    #modal_home_page .round-trip-charges { grid-template-columns: 1fr; }
    #modal_home_page .round-trip-charges__map .google_map_frame { height: 180px; }
    #modal_home_page .round-trip-metrics { align-items: flex-start; flex-direction: column; gap: 6px; }
}
}

/* Selected ride summary: show the vehicle image above its description at
   every checkout width so the card remains readable on narrow screens. */
#modal_home_page.is-passenger-step #selected_car_spot .result-info {
    align-items: stretch;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
}

#modal_home_page.is-passenger-step #selected_car_spot .result-left {
    align-items: center;
    display: flex;
    height: 96px;
    justify-content: center;
    margin: 0;
    width: 100% !important;
}

#modal_home_page.is-passenger-step #selected_car_spot .result-left img {
    display: block;
    height: 90px !important;
    max-width: 190px;
    object-fit: contain;
    width: 100% !important;
}

#modal_home_page.is-passenger-step #selected_car_spot .result-right {
    min-width: 0;
    width: 100%;
}
