/* ==========================================================================
   Taxi Route Detail Page - Udaipur Taxi
   ========================================================================== */

/* Dark route hero */
.route-detail-hero {
    background: #f8fafc;
    padding: 2rem 0 2.5rem;
    border-bottom: 1px solid var(--soft-border);
}

.route-detail-hero-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.route-detail-hero-breadcrumb a {
    color: #64748b;
    text-decoration: none !important;
}

.route-detail-hero-breadcrumb a:hover {
    color: var(--primary-blue);
}

.route-detail-hero-breadcrumb .sep {
    color: #cbd5e1;
}

.route-detail-hero-breadcrumb .current {
    color: var(--primary-blue);
}

.route-detail-hero-panel {
    background: linear-gradient(135deg, #0b1a30 0%, #123a6b 55%, #1d4ed8 100%);
    border-radius: 22px;
    padding: 2rem 1.75rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.route-detail-hero-panel::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.35), transparent 70%);
    pointer-events: none;
}

.route-detail-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #e2e8f0;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.85rem;
    position: relative;
}

.route-detail-hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 0.65rem;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    position: relative;
}

@media (max-width: 767.98px) {
    .route-detail-hero-title {
        font-size: 1.55rem;
    }

    .route-detail-hero-panel {
        padding: 1.5rem 1.2rem;
    }
}

.route-detail-hero-lead {
    margin: 0 0 1.1rem;
    max-width: 640px;
    color: #e2e8f0 !important;
    font-size: 0.98rem;
    line-height: 1.65;
    position: relative;
}

.route-detail-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
}

.route-detail-hero-stats span {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.route-detail-hero-stats span i {
    opacity: 0.9;
}

/* Stats strip under image banner hero */
.route-detail-hero-stats-bar {
    background: #f8fafc;
    border-bottom: 1px solid var(--soft-border);
    padding: 0.85rem 0;
}

.route-detail-hero-stats-bar .route-detail-hero-stats {
    justify-content: flex-start;
}

.route-detail-hero-stats-bar .route-detail-hero-stats span {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a5f;
}

.route-detail-hero-stats-bar .route-detail-hero-stats span i {
    color: var(--primary-blue);
    opacity: 1;
}

/* Route & Best-Time Info Bar — Option C: chips + season highlight */
.route-info-bar-section {
    padding: 2rem 0 0;
}

.route-info-bar--facts {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1rem;
}

.route-info-bar--facts.is-single {
    grid-template-columns: 1fr;
}

@media (max-width: 767.98px) {
    .route-info-bar--facts {
        grid-template-columns: 1fr;
    }
}

.route-info-fact {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.1rem 1.2rem 1.2rem;
}

.route-info-fact-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    color: #64748b;
    margin-bottom: 0.65rem;
}

.route-info-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0.55rem;
}

.route-info-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
}

.route-info-fact-primary,
.route-info-fact-season {
    margin: 0 0 0.35rem;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--deep-navy);
    line-height: 1.35;
}

.route-info-fact-primary {
    font-size: 0.95rem;
}

.route-info-fact-note {
    margin: 0;
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.55;
}

@media (max-width: 575.98px) {
    .route-info-fact {
        padding: 1rem 1.05rem 1.05rem;
    }

    .route-info-chip {
        font-size: 0.74rem;
        padding: 0.26rem 0.58rem;
    }

    .route-info-fact-season {
        font-size: 1.05rem;
    }
}

/* Fare section — tabbed One Way / Round Trip with vehicle images */
.route-fare-section {
    padding: 3.5rem 0;
}

.route-fare-shell {
    margin-top: 2rem;
    background: #ffffff;
    border: 1px solid var(--soft-border);
    border-radius: 18px;
    padding: 1.1rem 1.15rem 1.25rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.route-fare-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 0 auto 1.15rem;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    padding: 5px;
    max-width: 320px;
    width: 100%;
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.04);
}

.route-fare-tabs--single {
    grid-template-columns: 1fr;
    max-width: 160px;
}

.route-fare-tab {
    border: 0;
    background: transparent;
    border-radius: 9999px;
    padding: 0.6rem 1rem;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.2px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.route-fare-tab:hover:not(.is-active) {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.65);
}

span.route-fare-tab {
    cursor: default;
}

.route-fare-tab i {
    font-size: 0.82rem;
}

.route-fare-tab.is-active[data-trip="oneway"] {
    background: linear-gradient(135deg, #1769e8 0%, #0c57c9 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(23, 105, 232, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.route-fare-tab.is-active[data-trip="roundtrip"] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.route-fare-sub {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 0.85rem;
    min-height: 1.2em;
}

.route-fare-shell.is-roundtrip .route-fare-sub {
    color: #92400e;
}

.route-fare-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

@media (min-width: 992px) {
    .route-fare-tiles {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 575px) {
    .route-fare-tiles {
        grid-template-columns: 1fr;
    }
}

.route-fare-vtile {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.route-fare-vtile-media {
    /* White stage matches baked studio PNGs (hides cutout fringe) */
    background: #ffffff;
    padding: 0.4rem 0.3rem 0;
    margin: 0;
    width: 100%;
    height: 140px;
    overflow: hidden;
    box-sizing: border-box;
    line-height: 0;
    border-bottom: 1px solid #e8eef5;
}

@media (min-width: 768px) {
    .route-fare-vtile-media {
        height: 128px;
    }
}

@media (min-width: 992px) {
    .route-fare-vtile-media {
        height: 120px;
        padding: 0.45rem 0.35rem 0;
    }
}

.route-fare-vtile-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transform: scale(1.15);
    transform-origin: center bottom;
}

/* Longer cutouts: match Mini/Sedan visual weight, slight inset so edges stay clear */
.route-fare-vtile-media--suv,
.route-fare-vtile-media--innova {
    padding: 0.55rem 0.45rem 0;
}

.route-fare-vtile-media--suv img,
.route-fare-vtile-media--innova img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
    transform: scale(1.1) translateY(4px);
    transform-origin: center bottom;
}

@media (min-width: 992px) {

    .route-fare-vtile-media--suv,
    .route-fare-vtile-media--innova {
        padding: 0.65rem 0.5rem 0;
    }

    .route-fare-vtile-media--suv img,
    .route-fare-vtile-media--innova img {
        transform: scale(1.12) translateY(5px);
    }
}

.route-fare-vtile-body {
    padding: 0.65rem 0.75rem 0.8rem;
}

@media (min-width: 992px) {
    .route-fare-vtile-body {
        padding: 0.55rem 0.65rem 0.7rem;
    }
}

.route-fare-vtile-name {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #64748b;
    margin: 0 0 2px;
}

.route-fare-vtile-seats {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 0.3rem;
}

.route-fare-vtile-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--deep-navy);
    line-height: 1.15;
}

@media (min-width: 992px) {
    .route-fare-vtile-price {
        font-size: 1.12rem;
    }
}

.route-fare-shell.is-roundtrip .route-fare-vtile-price {
    color: #92400e;
}

.route-fare-vtile-hint {
    font-size: 0.7rem;
    font-weight: 700;
    color: #2563eb;
    margin-top: 2px;
}

.route-fare-shell.is-roundtrip .route-fare-vtile-hint {
    color: #d97706;
}

.route-fare-vtile-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 0.65rem;
}

.route-fare-vtile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.48rem 0.5rem;
    border-radius: 9px;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: filter 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.route-fare-vtile-btn i {
    font-size: 0.8rem;
}

.route-fare-vtile-btn--call {
    background: #eff6ff;
    color: #1d4ed8 !important;
    border-color: #bfdbfe;
}

.route-fare-vtile-btn--call:hover {
    background: #dbeafe;
    color: #1e40af !important;
}

.route-fare-vtile-btn--wa {
    background: #25D366;
    color: #fff !important;
}

.route-fare-vtile-btn--wa:hover {
    filter: brightness(0.95);
    color: #fff !important;
}

.route-fare-tiles-note {
    margin: 1.15rem 0 0;
    text-align: center;
    font-size: 0.82rem;
    color: #94a3b8;
}

/* Description Content */
.route-content-section {
    padding: 1.5rem 0 2.75rem;
}

.route-content-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 1.35rem;
}

.route-detail-content {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1rem;
    color: #334155;
    line-height: 1.85;
}

.route-detail-content p {
    margin-bottom: 1.2rem;
}

.route-detail-content h2,
.route-detail-content h3 {
    color: var(--deep-navy);
    font-weight: 800;
    margin: 1.6rem 0 1rem;
}

.route-detail-content ul,
.route-detail-content ol {
    padding-left: 1.4rem;
    margin-bottom: 1.2rem;
}

.route-detail-content a {
    color: var(--primary-blue);
    font-weight: 600;
}

.route-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 1rem 0;
}

.route-detail-content h4 {
    color: var(--deep-navy);
    font-size: 1.18rem;
    font-weight: 700;
    margin: 1.4rem 0 0.6rem;
}

.route-detail-content .aeo-quick-facts {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0effe 100%);
    border: 1px solid #bfdbfe;
    border-left: 5px solid var(--primary-blue);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0 2rem;
}

.route-detail-content .aeo-quick-facts h3,
.route-detail-content .aeo-quick-facts h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #1e3a8a;
}

.route-detail-content .aeo-quick-facts ul {
    margin-bottom: 0;
}

.route-detail-content .route-tip-box {
    background: #fefce8;
    border: 1px solid #fde047;
    border-left: 4px solid #eab308;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    font-size: 0.95rem;
}

.route-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.92rem;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.route-detail-content th {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    text-align: left;
    padding: 0.85rem 1rem;
    border-bottom: 2px solid #cbd5e1;
}

.route-detail-content td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

.route-detail-content tr:last-child td {
    border-bottom: none;
}

.route-detail-content tr:nth-child(even) {
    background: #f8fafc;
}

/* Timeline content blocks (Option A) */
.route-timeline {
    max-width: 760px;
    margin: 0 auto;
}

.route-timeline-lead {
    text-align: center;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.route-timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.route-timeline-list::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, #93c5fd, #e2e8f0);
}

.route-timeline-item {
    position: relative;
    padding: 0 0 1.25rem 3rem;
}

.route-timeline-item:last-child {
    padding-bottom: 0;
}

.route-timeline-dot {
    position: absolute;
    left: 6px;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px #eff6ff;
    line-height: 1;
}

.route-timeline-title {
    margin: 0 0 0.3rem;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--deep-navy);
    line-height: 1.35;
}

.route-timeline-body {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #475569;
}

.route-timeline-title a,
.route-timeline-body a {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: underline;
}

.route-timeline-note {
    margin: 1.35rem 0 0;
    padding: 0.85rem 1.05rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.65;
}

@media (max-width: 575.98px) {
    .route-content-section {
        padding: 1.15rem 0 2.1rem;
    }

    .route-content-head {
        margin-bottom: 1.1rem;
    }

    .route-timeline-lead {
        text-align: left;
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .route-timeline-list::before {
        left: 13px;
    }

    .route-timeline-item {
        padding: 0 0 1.1rem 2.55rem;
    }

    .route-timeline-dot {
        left: 4px;
        width: 20px;
        height: 20px;
        font-size: 0.64rem;
        box-shadow: 0 0 0 3px #eff6ff;
    }

    .route-timeline-title {
        font-size: 0.96rem;
    }

    .route-timeline-body {
        font-size: 0.88rem;
    }

    .route-timeline-note {
        padding: 0.75rem 0.9rem;
        font-size: 0.84rem;
    }
}

/* FAQs — exclusive accordion (one open at a time) */
.route-faq-section {
    padding: 3.5rem 0;
    background: #f8fafc;
}

.route-faq-list {
    max-width: 820px;
    margin: 2rem auto 0;
}

.route-faq-item {
    background: #ffffff;
    border: 1px solid var(--soft-border);
    border-radius: 14px;
    margin-bottom: 0.85rem;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.route-faq-item.is-active {
    border-color: #bfdbfe;
    box-shadow: 0 8px 22px rgba(23, 105, 232, 0.08);
}

.route-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 1.1rem 1.3rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--deep-navy);
    font-family: inherit;
}

.route-faq-question .faq-toggle-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.route-faq-item.is-active .faq-toggle-icon,
.route-faq-question[aria-expanded="true"] .faq-toggle-icon {
    background: var(--primary-blue);
    color: #fff;
}

.route-faq-answer {
    display: none;
}

.route-faq-item.is-active .route-faq-answer {
    display: block;
}

.route-faq-answer-body {
    padding: 0 1.3rem 1.1rem;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.7;
}

.route-faq-answer-body a {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Related Routes */
.route-related-section {
    padding: 3.5rem 0;
}

/* Bottom CTA (kept as approved) */
.route-detail-cta-section {
    padding-top: 0.5rem;
    padding-bottom: 4.5rem;
}

.route-detail-cta-box {
    background: linear-gradient(135deg, #092b59 0%, #0f3d85 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.route-detail-cta-box::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, transparent 70%);
}

.route-detail-cta-box h2 {
    color: #fff;
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    position: relative;
}

.route-detail-cta-box p {
    color: #b6c6e3;
    font-size: 0.98rem;
    max-width: 520px;
    margin: 0 auto 1.6rem;
    position: relative;
}

@media (max-width: 575px) {
    .route-detail-cta-box {
        padding: 2.25rem 1.4rem;
    }

    .route-detail-cta-box h2 {
        font-size: 1.4rem;
    }
}

.route-detail-cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
}

.route-detail-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 1.6rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.route-detail-cta-btn.primary {
    background: #ffffff;
    color: var(--primary-blue) !important;
}

.route-detail-cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.route-detail-cta-btn.wa {
    background-color: var(--wa-green);
    color: #fff !important;
}

.route-detail-cta-btn.wa:hover {
    background-color: var(--wa-green-hover);
    transform: translateY(-2px);
}

/* Route page booking form */
.route-booking-section {
    padding: 0.5rem 0 3.5rem;
}

.route-booking-card {
    background: #ffffff;
    border: 1px solid var(--soft-border);
    border-radius: 22px;
    padding: 1.75rem 1.6rem 1.6rem;
    box-shadow: 0 18px 40px -14px rgba(15, 23, 42, 0.1);
}

.route-booking-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #059669;
    margin-bottom: 0.55rem;
}

.route-booking-live .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
    animation: route-live-pulse 1.8s infinite;
}

@keyframes route-live-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.route-booking-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #092b59;
    margin: 0 0 0.35rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.route-booking-title i {
    color: #1769e8;
}

.route-booking-sub {
    color: #64748b;
    font-size: 0.92rem;
    margin: 0 0 1.25rem;
}

.route-booking-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
}

.route-booking-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.route-trip-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 0 auto 1.35rem;
    max-width: 320px;
    width: 100%;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    padding: 5px;
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.04);
}

.route-trip-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0.6rem 1rem;
    border-radius: 9999px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.2px;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.route-trip-btn:hover:not(.is-active) {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.65);
}

.route-trip-btn i {
    font-size: 0.82rem;
}

.route-trip-btn input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.route-trip-btn.is-active[data-trip="oneway"] {
    background: linear-gradient(135deg, #1769e8 0%, #0c57c9 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(23, 105, 232, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.route-trip-btn.is-active[data-trip="roundtrip"] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

@media (max-width: 575.98px) {

    .route-trip-toggle,
    .route-fare-tabs {
        max-width: 280px;
    }

    .route-trip-btn,
    .route-fare-tab {
        padding: 0.52rem 0.75rem;
        font-size: 0.82rem;
    }
}

.route-booking-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 991.98px) {
    .route-booking-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .route-booking-grid {
        grid-template-columns: 1fr;
    }

    .route-booking-card {
        padding: 1.35rem 1.1rem 1.2rem;
    }

    .route-booking-title {
        font-size: 1.15rem;
    }
}

.route-booking-field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.route-booking-field label .optional {
    text-transform: none;
    font-weight: 600;
    color: #94a3b8;
}

.route-booking-field label .req {
    color: #ef4444;
    font-weight: 800;
    margin-left: 1px;
}

.route-booking-input {
    position: relative;
}

.route-booking-input i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #1769e8;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 2;
}

.route-booking-input input,
.route-booking-input select {
    width: 100%;
    height: 48px;
    min-height: 48px;
    border: 1.5px solid #e2e8f0;
    border-radius: 11px;
    padding: 0 0.85rem 0 2.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.route-booking-input select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 12px;
    padding-left: 2.4rem !important;
    padding-right: 36px;
    line-height: 48px;
    cursor: pointer;
}

.route-booking-input input[type="date"],
.route-booking-input input[type="time"] {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    line-height: normal;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.route-booking-input input:focus,
.route-booking-input select:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(23, 105, 232, 0.12);
}

.route-booking-grid .field-return-date .route-booking-input i {
    color: #d97706;
}

.route-booking-grid .field-return-date input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.14);
}

.route-booking-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 1.15rem;
    text-align: center;
    width: 100%;
}

.route-booking-turnstile {
    width: 100%;
    max-width: min(100%, 300px);
    margin-left: auto;
    margin-right: auto;
}

.route-booking-turnstile:empty {
    display: none;
}

.route-booking-submit {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 220px;
    margin-left: auto;
    margin-right: auto;
    border: none;
    border-radius: 12px;
    padding: 0.85rem 1.35rem;
    background: linear-gradient(135deg, #1769e8 0%, #0c57c9 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 10px 24px rgba(23, 105, 232, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.route-booking-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(23, 105, 232, 0.38);
    color: #ffffff;
}

@media (max-width: 575.98px) {
    .route-booking-submit {
        width: 100%;
        max-width: 100%;
    }
}

/* Live place suggestions on route booking form */
.route-booking-input .placeSuggestions {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 40;
    max-height: 220px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.route-booking-input .placeSuggestions.is-open {
    display: block;
}

.route-booking-input .place-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border-radius: 8px;
    color: #1e293b;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(23, 105, 232, 0.15);
}

.route-booking-input .place-dropdown-item i {
    position: static;
    transform: none;
    color: #1769e8;
    font-size: 0.75rem;
    flex-shrink: 0;
    pointer-events: auto;
}

.route-booking-input .place-dropdown-item:hover {
    background: #eff6ff;
    color: #0c57c9;
}

.route-booking-input .place-dropdown-hint {
    display: block;
    padding: 9px 11px;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Custom Vehicle Dropdown on Route Details Page */
.custom-vehicle-dropdown-wrap {
    position: relative;
}

.visually-hidden-vehicle {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.vehicle-custom-trigger {
    width: 100%;
    height: 48px;
    min-height: 48px;
    border: 1.5px solid #e2e8f0;
    border-radius: 11px;
    padding: 0 1rem 0 2.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.vehicle-custom-trigger:hover {
    border-color: #cbd5e1;
}

.vehicle-custom-trigger:focus-visible,
.custom-vehicle-dropdown-wrap.is-open .vehicle-custom-trigger {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(23, 105, 232, 0.12);
}

.vehicle-trigger-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #0f172a;
    font-size: 0.92rem;
}

.route-booking-input .vehicle-leading-icon {
    position: absolute;
    left: 12px;
    top: 24px;
    transform: translateY(-50%);
    color: #1769e8;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 2;
}

.route-booking-input .vehicle-chevron {
    position: static !important;
    transform: none !important;
    color: #64748b !important;
    font-size: 0.75rem !important;
    pointer-events: none !important;
    transition: transform 0.2s ease, color 0.2s ease;
    margin-left: 8px;
    flex-shrink: 0;
}

.custom-vehicle-dropdown-wrap.is-open .vehicle-chevron {
    transform: rotate(180deg) !important;
    color: #1769e8 !important;
}

.vehicle-dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    width: 100%;
    z-index: 100;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    padding: 6px;
    margin: 0;
    box-sizing: border-box;
}

.custom-vehicle-dropdown-wrap.is-open .vehicle-dropdown-menu {
    display: block;
    animation: vehicleDropdownFadeIn 0.15s ease-out;
}

@keyframes vehicleDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vehicle-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 8px;
    color: #1e293b;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer !important;
    transition: background 0.15s ease, color 0.15s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(23, 105, 232, 0.15);
}

.vehicle-dropdown-item:hover {
    background: #eff6ff;
    color: #1769e8;
}

.vehicle-dropdown-item.is-selected {
    background: #f0f7ff;
    color: #1769e8;
    font-weight: 700;
}

.route-booking-input .vehicle-dropdown-item .v-opt-check {
    position: static !important;
    transform: none !important;
    color: #1769e8 !important;
    font-size: 0.75rem !important;
    display: none !important;
    pointer-events: none !important;
    flex-shrink: 0;
}

.vehicle-dropdown-item.is-selected .v-opt-check {
    display: inline-block !important;
}