:root {
    color-scheme: light;
    --ink: #10201e;
    --muted: #5d6a67;
    --line: #dfe8e4;
    --surface: #ffffff;
    --soft: #f4f7f6;
    --green: #080c12;
    --green-dark: #080c12;
    --amber: #f0b44f;
    --blue: #2a2117;
    --danger: #b42318;
    --shadow: 0 18px 45px rgba(14, 31, 29, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.quick-booking-page {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ink);
    background: #eef4f1;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

button,
input,
select {
    font: inherit;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.quick-topbar {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 10px clamp(16px, 3vw, 40px);
    color: #ffffff;
    background: rgba(8, 12, 18, 0.94);
    border-bottom: 1px solid rgba(240, 180, 79, 0.28);
    backdrop-filter: blur(14px);
}

.brand-lockup,
.topbar-actions,
.topbar-actions a {
    display: inline-flex;
    align-items: center;
}

.brand-lockup {
    gap: 10px;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: transparent;
    background: #080c12 url("../assets/brand/goindiaride-mark.png") center / 82% auto no-repeat;
    border: 1px solid rgba(216, 138, 22, 0.52);
    border-radius: 8px;
    font-size: 0;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.topbar-actions {
    gap: 8px;
}

.topbar-actions a {
    min-height: 40px;
    gap: 8px;
    padding: 0 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
}

.topbar-actions a:focus-visible,
.brand-lockup:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(216, 138, 22, 0.45);
    outline-offset: 2px;
}

.booking-hero {
    position: relative;
    min-height: 88vh;
    padding: 98px clamp(16px, 4vw, 56px) 44px;
    background:
        linear-gradient(90deg, rgba(8, 12, 18, 0.84) 0%, rgba(8, 12, 18, 0.62) 38%, rgba(42, 33, 23, 0.22) 100%),
        url("../assets/images/quick-booking-hero.png") center / cover no-repeat;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25));
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(386px, 520px);
    gap: clamp(24px, 4vw, 52px);
    align-items: center;
    max-width: 1240px;
    min-height: calc(88vh - 142px);
    margin: 0 auto;
}

.hero-inner,
.hero-copy,
.booking-panel {
    min-width: 0;
}

.hero-copy {
    max-width: 660px;
    color: #ffffff;
}

.eyebrow,
.panel-kicker {
    margin: 0 0 8px;
    color: #f6c15d;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 700px;
    margin: 0;
    font-size: 3.75rem;
    line-height: 1.02;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.hero-lede {
    max-width: 560px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    line-height: 1.65;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    gap: 8px;
    padding: 0 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
}

.booking-panel {
    width: 100%;
    max-width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.panel-head h2 {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.2;
}

.panel-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    color: var(--green-dark);
    background: #e5f5ef;
    border: 1px solid #bfdfd4;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 800;
}

.service-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.service-tab,
.journey-btn,
.vehicle-card,
.route-suggestions button,
.submit-btn,
.ghost-btn,
.field-icon-btn {
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.service-tab {
    display: grid;
    min-height: 68px;
    place-items: center;
    gap: 5px;
    padding: 8px 6px;
    color: var(--muted);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 800;
}

.service-tab i {
    color: var(--blue);
}

.service-tab.is-active {
    color: #ffffff;
    background: var(--green);
    border-color: var(--green);
}

.service-tab.is-active i {
    color: #ffffff;
}

.journey-toggle {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.journey-btn {
    min-height: 40px;
    color: var(--green-dark);
    background: #eef7f3;
    border: 1px solid #cce3da;
    border-radius: 8px;
    font-weight: 800;
}

.journey-btn.is-active {
    color: #ffffff;
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.trip-plan-detail {
    display: grid;
    gap: 8px;
    margin: 0 0 12px;
    padding: 12px;
    background: #f2faf7;
    border: 1px solid #cce3da;
    border-radius: 8px;
}

.trip-plan-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.trip-plan-heading span,
.trip-plan-heading strong,
.trip-plan-detail p,
.trip-plan-point span {
    overflow-wrap: anywhere;
}

.trip-plan-heading span {
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.trip-plan-heading strong {
    color: var(--ink);
    font-size: 0.96rem;
    line-height: 1.3;
    text-align: right;
}

.trip-plan-detail p {
    margin: 0;
    color: #34423f;
    font-size: 0.84rem;
    line-height: 1.45;
}

.trip-plan-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.trip-plan-point {
    display: flex;
    align-items: flex-start;
    min-width: 0;
    gap: 7px;
    padding: 8px;
    color: #233c38;
    background: #ffffff;
    border: 1px solid #d9e6e1;
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.38;
}

.trip-plan-point i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--green);
    font-size: 0.72rem;
}

.service-detail-row,
.route-grid,
.details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.service-detail-row {
    margin-bottom: 12px;
}

.field-wide {
    grid-column: 1 / -1;
}

.field-shell {
    position: relative;
    display: grid;
    gap: 5px;
}

.field-shell span {
    color: #34423f;
    font-size: 0.78rem;
    font-weight: 800;
}

.field-shell input,
.field-shell select {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid #cfdcd8;
    border-radius: 8px;
}

.field-shell input::placeholder {
    color: #7a8784;
}

.field-shell.has-error input,
.field-shell.has-error select {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.field-icon-btn {
    position: absolute;
    right: 6px;
    bottom: 6px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--green);
    background: #e7f5ef;
    border: 1px solid #cce3da;
    border-radius: 8px;
}

#pickupInput {
    padding-right: 48px;
}

.location-suggest-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 40;
    display: grid;
    max-height: 248px;
    overflow-y: auto;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #bfd7cf;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(3, 25, 22, 0.18);
}

.location-suggest-panel[hidden] {
    display: none;
}

.location-suggest-panel button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    color: #082622;
    background: transparent;
    border: 0;
    border-radius: 7px;
    text-align: left;
    cursor: pointer;
}

.location-suggest-panel button:hover,
.location-suggest-panel button.is-active,
.location-suggest-panel button:focus-visible {
    background: #eaf5ef;
    outline: none;
}

.location-suggest-panel strong,
.location-suggest-panel small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-suggest-panel strong {
    font-size: 0.86rem;
    font-weight: 900;
}

.location-suggest-panel small {
    color: #526763;
    font-size: 0.72rem;
    font-weight: 800;
}

.return-field,
.stop-field {
    display: none;
}

.booking-panel.is-round-trip .return-field {
    display: grid;
}

.booking-panel.is-multi-city .stop-field {
    display: grid;
}

.route-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.route-suggestions button {
    flex: 1 1 130px;
    min-height: 36px;
    padding: 0 11px;
    color: #123633;
    background: #f8fbfa;
    border: 1px solid #d9e6e1;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    text-align: center;
    white-space: normal;
}

.route-suggestions button:hover,
.vehicle-card:hover,
.topbar-actions a:hover {
    transform: translateY(-1px);
}

.vehicle-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.vehicle-card {
    display: grid;
    min-height: 76px;
    gap: 3px;
    place-items: center;
    padding: 8px 6px;
    color: var(--muted);
    background: #ffffff;
    border: 1px solid #d7e2de;
    border-radius: 8px;
}

.vehicle-card i {
    color: var(--amber);
}

.vehicle-card strong {
    color: var(--ink);
    font-size: 0.9rem;
}

.vehicle-card span {
    font-size: 0.76rem;
}

.vehicle-card.is-active {
    background: #fff6e7;
    border-color: var(--amber);
}

.fare-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.fare-strip div {
    min-width: 0;
    min-height: 62px;
    padding: 10px;
    background: #f7faf9;
    border: 1px solid #dce8e4;
    border-radius: 8px;
}

.fare-strip span,
.fare-strip strong {
    display: block;
    overflow-wrap: anywhere;
}

.fare-strip span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.fare-strip strong {
    margin-top: 4px;
    color: var(--ink);
    font-size: 0.96rem;
}

.fare-strip small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.detail-drawer {
    margin-top: 12px;
    padding: 10px;
    background: #f8fbfa;
    border: 1px solid #dce8e4;
    border-radius: 8px;
}

.detail-drawer summary {
    cursor: pointer;
    color: var(--green-dark);
    font-weight: 900;
}

.extra-grid {
    margin-top: 10px;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.option-grid label {
    display: flex;
    align-items: center;
    min-height: 38px;
    gap: 8px;
    padding: 8px 10px;
    color: #243b37;
    background: #ffffff;
    border: 1px solid #d7e2de;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 800;
}

.option-grid input {
    width: 16px;
    height: 16px;
    accent-color: var(--green);
}

.submit-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 12px;
}

.manage-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: end;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #dce8e4;
}

.manage-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    gap: 8px;
    padding: 0 12px;
    color: #ffffff;
    background: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 8px;
    font-weight: 900;
    cursor: pointer;
}

.manage-btn.is-muted {
    color: var(--green-dark);
    background: #edf7f3;
    border-color: #cce3da;
}

.booking-panel.is-editing {
    border-color: rgba(216, 138, 22, 0.55);
    box-shadow: 0 18px 45px rgba(48, 37, 16, 0.22);
}

.submit-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    gap: 9px;
    border-radius: 8px;
    font-weight: 900;
}

.submit-btn {
    color: #ffffff;
    background: var(--green);
    border: 1px solid var(--green);
}

.submit-btn:hover {
    background: var(--green-dark);
}

.submit-btn:disabled {
    cursor: wait;
    opacity: 0.78;
}

.ghost-btn {
    padding: 0 14px;
    color: var(--green-dark);
    background: #eaf7f2;
    border: 1px solid #cce3da;
}

.form-message {
    min-height: 24px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-message.is-success {
    color: var(--green-dark);
    font-weight: 800;
}

.form-message.is-error {
    color: var(--danger);
    font-weight: 800;
}

.trust-band {
    background: #ffffff;
    border-top: 1px solid #dce7e2;
}

.trust-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 1240px;
    margin: 0 auto;
    background: #dfe8e4;
}

.trust-inner article {
    min-height: 176px;
    padding: 28px;
    background: #ffffff;
}

.trust-inner i {
    color: var(--green);
    font-size: 1.55rem;
}

.trust-inner h2 {
    margin: 14px 0 8px;
    font-size: 1.2rem;
}

.trust-inner p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

@media (max-width: 980px) {
    .booking-hero {
        min-height: auto;
        padding-top: 92px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-copy h1 {
        max-width: 720px;
        font-size: 2.9rem;
    }
}

@media (max-width: 700px) {
    .quick-topbar {
        min-height: 58px;
        padding: 8px 12px;
    }

    .brand-lockup {
        font-size: 0.95rem;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .topbar-actions a {
        min-width: 40px;
        padding: 0 10px;
        justify-content: center;
    }

    .booking-hero {
        padding: 82px 12px 24px;
        background-position: 62% center;
    }

    .hero-copy h1 {
        font-size: 2.12rem;
        line-height: 1.08;
    }

    .hero-lede {
        font-size: 1rem;
    }

    .hero-proof span {
        min-height: 34px;
        font-size: 0.82rem;
    }

    .booking-panel {
        padding: 14px;
    }

    .service-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trip-plan-heading {
        display: grid;
        gap: 4px;
    }

    .trip-plan-heading strong {
        text-align: left;
    }

    .trip-plan-points {
        grid-template-columns: 1fr;
    }

    .service-detail-row,
    .route-grid,
    .details-grid,
    .fare-strip,
    .submit-row,
    .manage-panel,
    .trust-inner {
        grid-template-columns: 1fr;
    }

    .option-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-card {
        min-height: 72px;
    }

    .ghost-btn {
        width: 100%;
    }

    .trust-inner article {
        min-height: auto;
        padding: 22px 18px;
    }
}

@media (max-width: 380px) {
    .hero-copy h1 {
        font-size: 1.84rem;
    }

    .vehicle-row {
        grid-template-columns: 1fr;
    }
}
