.booking-area {
    padding: 65px 0;
    background: #fff7f1;
    min-height: 55vh;
}
.booking-heading {
    background: #153354;
    color: white;
    padding: 55px 0;
}
.booking-heading h1 {
    color: white;
    font-size: clamp(30px, 4vw, 48px);
}
.booking-heading p {
    color: #d4deea;
    margin-bottom: 0;
}
.booking-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
    color: #64748b;
    font-size: 14px;
}
.booking-steps b {
    color: #c04416;
}
.booking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.booking-columns {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 28px;
    align-items: start;
}
.booking-card {
    background: white;
    border: 1px solid #eadfd5;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 30px #15335408;
    margin-bottom: 24px;
}
.booking-card h2,
.booking-card h3 {
    color: #153354;
}
.booking-card h2 {
    font-size: 25px;
}
.booking-card h3 {
    font-size: 20px;
}
.booking-card label {
    display: block;
    font-weight: 600;
    color: #153354;
    margin-bottom: 8px;
}
.booking-card input:not([type="checkbox"]),
.booking-card select {
    display: block;
    width: 100%;
    border: 1px solid #d6dde4;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 18px;
    background: white;
    color: #153354;
}
.booking-card input:focus-visible,
.booking-card select:focus-visible {
    outline: 2px solid #f25a29;
}
.booking-vehicle {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}
.booking-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0;
    color: #637388;
}
.booking-pill {
    border-radius: 24px;
    background: #fff1e9;
    color: #b23b12;
    padding: 6px 12px;
    font-size: 13px;
}
.booking-price {
    color: #c04416;
    font-size: 26px;
    font-weight: 700;
}
.seat-map {
    width: min(100%, 330px);
    margin: 25px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border: 2px solid #e6e9ed;
    border-radius: 25px;
    padding: 25px;
}
.seat-front {
    grid-column: 1/-1;
    text-align: center;
    background: #153354;
    color: white;
    border-radius: 20px;
    padding: 8px;
    margin-bottom: 15px;
    font-size: 13px;
}
.seat-choice {
    position: relative;
    margin: 0 !important;
}
.seat-choice input {
    position: absolute;
    opacity: 0;
}
.seat-choice span {
    display: grid;
    place-items: center;
    height: 55px;
    border: 1px solid #f5ad80;
    border-radius: 10px 10px 5px 5px;
    color: #ad3b13;
    background: #fff8f1;
    cursor: pointer;
}
.seat-choice input:checked + span {
    background: #f25a29;
    color: white;
    border-color: #f25a29;
}
.seat-choice input:disabled + span {
    background: #e9edf1;
    border-color: #d7dfe7;
    color: #8794a4;
    cursor: not-allowed;
    text-decoration: line-through;
}
.seat-choice input:focus-visible + span {
    outline: 3px solid #153354;
    outline-offset: 2px;
}
.booking-summary {
    list-style: none;
    padding: 0;
}
.booking-summary li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    overflow-wrap: anywhere;
}
.booking-summary strong {
    text-align: right;
}
.booking-notice {
    background: #fff0e3;
    color: #763a19;
    padding: 16px;
    border-radius: 10px;
    margin: 15px 0;
}
.ticket {
    max-width: 900px;
    margin: 30px auto;
    border-top: 6px solid #f25a29;
}
.ticket-number {
    font-family: monospace;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
    font-size: 20px;
    color: #c04416;
}
.ticket-footer {
    border-top: 2px dashed #e4d7cc;
    padding-top: 22px;
    margin-top: 22px;
}
.booking-admin-table {
    width: 100%;
    border-collapse: collapse;
}
.booking-admin-table th,
.booking-admin-table td {
    padding: 15px;
    border-bottom: 1px solid #e1e6eb;
    text-align: left;
}
.booking-admin-table th {
    background: #153354;
    color: white;
}
.booking-status {
    background: #e2f5eb;
    color: #146a42;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .booking-grid,
    .booking-columns {
        grid-template-columns: 1fr;
    }
    .booking-card {
        padding: 20px;
    }
    .booking-area {
        padding: 35px 0;
    }
}
@media print {
    header,
    footer,
    .sidebar,
    .booking-heading,
    .ticket-search,
    .no-print {
        display: none !important;
    }
    .booking-area,
    .booking-card {
        background: white;
        box-shadow: none;
    }
}

/* Compact public booking flow. Vehicle photos remain available in the dashboard. */
.booking-heading--compact {
    padding: 24px 0;
}
.booking-heading--compact h1 {
    font-family: inherit;
    font-size: clamp(22px, 2.3vw, 30px);
    margin: 6px 0;
}
.booking-heading--compact p {
    font-size: 13px;
}
.booking-flow {
    padding: 25px 16px 65px;
    background: #faf7f3;
}
.booking-shell {
    max-width: 900px;
    margin: auto;
}
.booking-shell--wide {
    max-width: 1050px;
}
.booking-flow .booking-card {
    padding: 22px 24px;
    border-radius: 13px;
    margin-bottom: 20px;
}
.booking-flow h2,
.booking-flow h3 {
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
}
.booking-flow .booking-card > h2 {
    padding-bottom: 16px;
    border-bottom: 1px solid #eadfd5;
    margin-bottom: 18px;
}
.booking-flow p,
.booking-flow label,
.booking-flow input,
.booking-flow select {
    font-size: 14px;
}
.booking-flow .primary-btn1 {
    font-size: 13px;
    padding: 13px 17px;
}
.booking-progress {
    display: flex;
    justify-content: center;
    margin: 0 0 26px;
    border-bottom: 1px solid #e5ddd4;
    background: white;
    border-radius: 10px 10px 0 0;
}
.booking-progress__step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 16px 8px;
    border-bottom: 3px solid transparent;
    color: #78818d;
    font-size: 12px;
}
.booking-progress__step span {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border-radius: 50%;
    background: #f0ece7;
}
.booking-progress__step b {
    font-weight: 600;
}
.booking-progress__step.is-current {
    border-color: #f25a29;
    color: #b84016;
}
.booking-progress__step.is-current span {
    background: #f25a29;
    color: white;
}
.booking-progress__step.is-complete {
    color: #a64120;
}
.booking-progress__step.is-complete span {
    background: #fff0e4;
}
.route-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.route-option {
    position: relative;
    margin: 0 !important;
}
.route-option input {
    position: absolute;
    opacity: 0;
    width: 1px !important;
    height: 1px;
}
.route-option > span {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 1px solid #e2d8cf;
    border-radius: 9px;
    background: #faf8f5;
    padding: 16px;
    cursor: pointer;
}
.route-option strong {
    font-size: 14px;
    line-height: 1.5;
}
.route-option small {
    font-size: 12px;
    color: #75808b;
    font-weight: 400;
}
.route-option em {
    font-size: 13px;
    color: #b84016;
    font-style: normal;
}
.route-option input:checked + span {
    border-color: #f25a29;
    background: #fff1e7;
    box-shadow: 0 0 0 2px #f25a2915;
}
.route-option input:focus-visible + span {
    outline: 2px solid #153354;
    outline-offset: 2px;
}
.travel-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.booking-form-action {
    text-align: right;
}
.booking-back {
    display: inline-block;
    font-size: 13px;
    color: #ae3e19;
    margin-bottom: 18px;
}
.departure-top,
.departure-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}
.departure-top > div:last-child {
    text-align: right;
}
.departure-top h3 {
    font-size: 16px;
    margin: 0 0 4px;
}
.departure-time {
    font-size: 29px;
    color: #c04416;
}
.departure-card small {
    display: block;
    color: #7a828b;
    font-size: 12px;
}
.departure-details {
    display: grid;
    grid-template-columns: 0.6fr 1fr 1fr;
    gap: 18px;
    border-top: 1px solid #eadfd5;
    border-bottom: 1px solid #eadfd5;
    padding: 16px 0;
    margin: 18px 0;
    font-size: 13px;
}
.departure-bottom p {
    margin: 0;
}
.departure-bottom small {
    display: inline;
}
.departure-bottom .booking-price {
    font-size: 23px;
}
.booking-flow .booking-columns {
    grid-template-columns: minmax(0, 1.3fr) minmax(310px, 1fr);
    gap: 22px;
}
.booking-flow .seat-map {
    width: 270px;
    padding: 15px;
    gap: 9px;
    margin: 20px auto;
}
.booking-flow .seat-choice span {
    height: 49px;
    font-size: 13px;
    line-height: 1;
    align-content: center;
    gap: 4px;
}
.seat-choice small {
    font-size: 9px;
    font-weight: 400;
}
.booking-flow .booking-summary li {
    font-size: 13px;
    padding: 9px 0;
}
.booking-flow .booking-notice {
    font-size: 12px;
    padding: 12px;
}
.booking-flow .booking-card input:not([type="checkbox"]),
.booking-flow .booking-card select {
    padding: 10px;
    margin-bottom: 12px;
}
.booking-flow .ticket-number {
    display: block;
    margin-top: 8px;
    font-size: 24px;
}
@media (max-width: 650px) {
    .booking-progress__step {
        flex-direction: column;
        gap: 5px;
        font-size: 10px;
        text-align: center;
        padding: 12px 3px;
    }
    .route-options,
    .travel-fields,
    .booking-flow .booking-columns {
        grid-template-columns: 1fr;
    }
    .booking-flow .booking-card {
        padding: 18px;
    }
    .departure-details {
        grid-template-columns: 1fr 1fr;
    }
    .departure-bottom {
        flex-wrap: wrap;
        gap: 12px;
    }
    .departure-top {
        gap: 12px;
    }
    .departure-time {
        font-size: 24px;
    }
}

/* Passenger seat map: single seats, a clear aisle, and paired seats. */
.booking-flow .seat-map--aisle {
    width: min(100%, 345px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 25px auto;
    padding: 24px 0;
    border: 0;
    border-top: 1px solid #e1e5e9;
    border-bottom: 1px solid #e1e5e9;
    border-radius: 0;
}
.booking-flow .seat-map-title {
    grid-column: 1 / -1;
    margin: 12px 0 16px;
    text-align: center;
    color: #75808b;
    font-size: 16px;
    font-weight: 400;
}
.booking-flow .seat-map--aisle .seat-choice {
    min-width: 0;
}
.booking-flow .seat-map--aisle .seat-choice input {
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
}
.booking-flow .seat-map--aisle .seat-choice span {
    height: auto;
    aspect-ratio: 1;
    min-height: 44px;
    border: 2px solid #ff843c;
    border-radius: 11px;
    background: #fff;
    color: #111;
    font-size: 16px;
    font-weight: 600;
}
.booking-flow .seat-map--aisle .seat-choice input:checked + span {
    background: #f25a29;
    border-color: #f25a29;
    color: #fff;
}
.booking-flow .seat-map--aisle .seat-choice input:disabled + span {
    background: #e9edf1;
    border-color: #d7dfe7;
    color: #8794a4;
}
.seat-map--aisle .seat-driver {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1px;
}
.seat-map--aisle .seat-driver > span {
    display: grid;
    place-items: center;
    width: 46px;
    max-width: 100%;
    aspect-ratio: 1;
    border: 3px solid #999;
    border-radius: 50%;
}
.seat-map--aisle .seat-driver > span::after {
    content: "";
    width: 9px;
    height: 9px;
    background: #999;
    border-radius: 50%;
}
@media (max-width: 380px) {
    .booking-flow .seat-map--aisle {
        gap: 9px;
    }
}
.booking-flow .seat-map--car,
.seat-map--car {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.seat-map--car .seat-map-title {
    grid-column: 1 / -1;
}
.seat-map--aisle .seat-choice span {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    min-height: 64px;
}
.seat-map--aisle .seat-choice small {
    font-size: 10px;
    line-height: 1.2;
}
.route-option {
    text-decoration: none;
    color: inherit;
}
.booking-admin-table {
    font-size: 13px;
    line-height: 1.5;
}
.booking-admin-table th,
.booking-admin-table td {
    padding: 12px 14px;
}

.seat-map--aisle {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.seat-map--aisle.seat-map--car {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.route-option:focus-visible > span {
    outline: 2px solid #153354;
    outline-offset: 2px;
}
.route-option:hover > span {
    border-color: #f25a29;
    background: #fff1e7;
}
