/* Bus booking home (busbooking.index) — loaded only on this page. Light
   theme only, matching the rest of the consumer site. Every class is
   bh- prefixed and rules are scoped under #busbooking, so nothing leaks
   elsewhere and main.css's older #busbooking rules (the banner image, the
   dark translucent form box, the centred 40px h2) are cleanly superseded
   since this file loads after main.css. */

#busbooking {
    background: #f4f6f9;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    box-sizing: border-box;
}
#busbooking *, #busbooking *::before, #busbooking *::after { box-sizing: border-box; }

/* ---------- hero ---------- */
#busbooking .bh-hero { position: relative; isolation: isolate; overflow: hidden; padding: 56px 24px 0; }
#busbooking .bh-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
#busbooking .bh-hero__inner { max-width: 1140px; margin: 0 auto; padding-bottom: 118px; }
#busbooking .bh-eyebrow {
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: #c9d8e6;
}
#busbooking .bh-hero h1 {
    color: #fff; font-family: "Poppins", "IBM Plex Sans", sans-serif;
    font-size: clamp(28px, 4.2vw, 44px); font-weight: 700; line-height: 1.1;
    margin: 12px 0 14px; max-width: 20ch; letter-spacing: -.01em; text-transform: none; text-align: left;
    text-wrap: balance;
}
#busbooking .bh-hero p { color: #c9d8e6; font-size: 16px; margin: 0; max-width: 54ch; line-height: 1.6; }

/* ---------- shell ---------- */
#busbooking .bh-shell {
    max-width: 1140px; width: 100%; margin: 0 auto; padding: 0 24px 76px;
    font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #1f2430; font-size: 15px; line-height: 1.6;
    box-sizing: border-box;
}
#busbooking .bh-num { font-variant-numeric: tabular-nums; }
#busbooking .bh-band { margin-top: 52px; width: 100%; max-width: 100%; box-sizing: border-box; }
#busbooking .bh-sec-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin-bottom: 20px; width: 100%; max-width: 100%; box-sizing: border-box;
    flex-wrap: wrap;
}
#busbooking .bh-sec-head h2 { font-family: "Poppins", sans-serif; font-size: 22px; font-weight: 600; color: #1f2430; margin: 0; text-transform: none; }
#busbooking .bh-sec-head a { font-size: 13.5px; font-weight: 500; color: #08538a; text-decoration: none; }
#busbooking .bh-sec-head a:hover { text-decoration: underline; }

/* ---------- search card ---------- */
#busbooking .bh-search {
    margin: -94px auto 0; position: relative; z-index: 1;
    background: #fff; border: 1px solid #e3e6ee; border-radius: 18px;
    box-shadow: 0 22px 50px -28px rgba(19, 26, 42, .42);
    padding: 22px; display: flex; gap: 18px;
}
#busbooking .bh-rail { flex: none; display: flex; flex-direction: column; align-items: center; padding-top: 9px; }
#busbooking .bh-rail i { width: 9px; height: 9px; border-radius: 50%; border: 2px solid #08538a; background: #fff; flex: none; }
#busbooking .bh-rail i.dest { border-color: #e2003a; }
#busbooking .bh-rail span { flex: 1; width: 2px; min-height: 24px; background: repeating-linear-gradient(#e3e6ee 0 5px, transparent 5px 10px); margin: 3px 0; }
#busbooking .bh-search__main { flex: 1; min-width: 0; }

/* ---------- quick row (chips + trending) ---------- */
#busbooking .bh-quick { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #eef0f5; }
#busbooking .bh-chip {
    font-family: inherit; font-size: 12.5px; font-weight: 500; color: #565f73;
    border: 1px solid #e3e6ee; border-radius: 999px; padding: 5px 13px; cursor: pointer; background: #fff;
    line-height: 1.4; height: auto;
}
#busbooking .bh-chip:hover { border-color: #08538a; color: #08538a; }
#busbooking .bh-chip.on { background: #08538a; border-color: #08538a; color: #fff; }
#busbooking .bh-lede { font-size: 12.5px; color: #8a94a6; margin-left: 4px; }
#busbooking .bh-lede a { color: #565f73; font-weight: 500; text-decoration: none; }
#busbooking .bh-lede a:hover { color: #08538a; text-decoration: underline; }

/* ---------- trust strip ---------- */
#busbooking .bh-trust {
    margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border: 1px solid #e3e6ee; border-radius: 14px;
    box-shadow: 0 14px 34px -22px rgba(19, 26, 42, .30); overflow: hidden;
}
#busbooking .bh-trust div { padding: 16px 20px; }
#busbooking .bh-trust div + div { border-left: 1px solid #eef0f5; }
#busbooking .bh-trust b { display: block; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 20px; color: #1f2430; }
#busbooking .bh-trust span { font-size: 12.5px; color: #565f73; }

/* ---------- route cards ---------- */
#busbooking .bh-route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
#busbooking .bh-rc {
    background: #fff; border: 1px solid #e3e6ee; border-radius: 14px; padding: 18px;
    display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
#busbooking .bh-rc:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -22px rgba(19, 26, 42, .3); border-color: #d7dbe6; }
#busbooking .bh-rc__od { display: flex; align-items: center; gap: 8px; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 15.5px; color: #1f2430; }
#busbooking .bh-rc__od .bh-arrow { color: #8a94a6; }
#busbooking .bh-rc__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12.5px; color: #565f73; align-items: center; }
#busbooking .bh-rc__meta .bh-num { color: #1f2430; font-weight: 500; }
#busbooking .bh-tag { font-size: 11px; font-weight: 600; color: #1a9a56; background: #e7f4ec; border-radius: 6px; padding: 2px 8px; display: inline-flex; align-items: center; gap: 5px; }
#busbooking .bh-tag i { width: 6px; height: 6px; border-radius: 50%; background: #1a9a56; }
#busbooking .bh-tag.warn { color: #b45309; background: #fdf0dc; }
#busbooking .bh-tag.warn i { background: #b45309; }
#busbooking .bh-rc__foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid #eef0f5; }
#busbooking .bh-rc__price em { font-style: normal; font-size: 11px; color: #8a94a6; display: block; letter-spacing: .06em; text-transform: uppercase; }
#busbooking .bh-rc__price b { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 19px; color: #1f2430; }
#busbooking .bh-rc__cta { font-size: 13px; font-weight: 500; color: #08538a; display: flex; align-items: center; gap: 5px; white-space: nowrap; }

/* ---------- why book ---------- */
#busbooking .bh-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
#busbooking .bh-why-grid > div { display: flex; gap: 14px; }
#busbooking .bh-why-ic { flex: none; width: 42px; height: 42px; border-radius: 11px; background: #eef1f6; display: flex; align-items: center; justify-content: center; color: #08538a; }
#busbooking .bh-why-grid h3 { font-family: "Poppins", sans-serif; font-size: 15px; font-weight: 600; margin: 0 0 3px; color: #1f2430; }
#busbooking .bh-why-grid p { margin: 0; font-size: 13.5px; color: #565f73; line-height: 1.55; }

/* ---------- operators ---------- */
#busbooking .bh-ops { display: flex; flex-wrap: wrap; gap: 10px; }
#busbooking .bh-ops span { font-size: 13px; color: #565f73; background: #fff; border: 1px solid #e3e6ee; border-radius: 10px; padding: 8px 15px; font-weight: 500; }

/* ---------- footer note ---------- */
#busbooking .bh-foot {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid #e3e6ee;
    font-size: 13px;
    color: #64748b;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ---------- focus ---------- */
#busbooking .bh-chip:focus-visible, #busbooking .bh-rc:focus-visible, #busbooking .bh-sec-head a:focus-visible, #busbooking .bh-lede a:focus-visible {
    outline: 2px solid #08538a; outline-offset: 2px; border-radius: 6px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    #busbooking .bh-route-grid, #busbooking .bh-why-grid { grid-template-columns: 1fr 1fr; }
    #busbooking .bh-trust { grid-template-columns: 1fr 1fr; }
    #busbooking .bh-trust div:nth-child(3) { border-left: none; }
    #busbooking .bh-trust div:nth-child(3), #busbooking .bh-trust div:nth-child(4) { border-top: 1px solid #eef0f5; }
}
@media (max-width: 680px) {
    #busbooking .bh-hero__inner { padding-bottom: 96px; }
    #busbooking .bh-search { flex-direction: column; gap: 12px; margin-top: -84px; padding: 18px; }
    #busbooking .bh-rail { flex-direction: row; width: 100%; padding-top: 0; }
    #busbooking .bh-rail span { height: 2px; min-height: 0; width: auto; flex: 1; background: repeating-linear-gradient(to right, #e3e6ee 0 5px, transparent 5px 10px); }
    #busbooking .bh-route-grid, #busbooking .bh-why-grid, #busbooking .bh-trust { grid-template-columns: 1fr; }
    #busbooking .bh-trust div + div { border-left: none; border-top: 1px solid #eef0f5; }
    #busbooking .bh-why-grid > div { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    #busbooking .bh-rc { transition: none; }
}

/* ---------- Become Bus Operator Partner CTA & Header Button ---------- */
#busbooking a.bh-become-partner-btn,
#busbooking button.bh-become-partner-btn,
a.bh-become-partner-btn,
button.bh-become-partner-btn,
.bh-become-partner-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-family: "Poppins", system-ui, -apple-system, sans-serif !important;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#busbooking .bh-become-partner-btn span,
.bh-become-partner-btn span,
#busbooking .bh-become-partner-btn i,
.bh-become-partner-btn i {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 600;
}
#busbooking .bh-become-partner-btn:hover,
.bh-become-partner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.5);
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
#busbooking .bh-become-partner-btn:hover span,
.bh-become-partner-btn:hover span,
#busbooking .bh-become-partner-btn:hover i,
.bh-become-partner-btn:hover i {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
#busbooking .bh-become-partner-btn svg,
.bh-become-partner-btn svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
    fill: none;
    transition: transform 0.2s ease;
}
#busbooking .bh-become-partner-btn:hover svg,
.bh-become-partner-btn:hover svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
    transform: translateX(3px);
}

#busbooking .bh-partner-cta-card,
.bh-partner-cta-card {
    margin-top: 36px;
    background: linear-gradient(135deg, #091b2c 0%, #0f3456 50%, #08538a 100%);
    border-radius: 20px;
    padding: clamp(24px, 3.2vw, 36px) clamp(22px, 3.5vw, 38px);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px -15px rgba(9, 27, 44, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.bh-partner-cta-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.3) 0%, transparent 70%);
    pointer-events: none;
}
.bh-partner-cta-card::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: 20%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.18) 0%, transparent 70%);
    pointer-events: none;
}
#busbooking .bh-partner-card-inner,
.bh-partner-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}
#busbooking .bh-partner-info,
.bh-partner-info {
    flex: 1 1 480px;
    min-width: 0 !important;
    max-width: 100%;
    box-sizing: border-box;
}
.bh-partner-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 189, 248, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 9999px;
    padding: 6px 16px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #38bdf8 !important;
    -webkit-text-fill-color: #38bdf8 !important;
    margin-bottom: 14px;
    backdrop-filter: blur(4px);
}
.bh-partner-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35);
    animation: tmPulseDot 1.5s infinite;
}
@keyframes tmPulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}
.bh-partner-info h3 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 10px 0;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.bh-partner-info p {
    font-size: 14.5px;
    color: #f1f5f9 !important;
    -webkit-text-fill-color: #f1f5f9 !important;
    line-height: 1.65;
    margin: 0 0 20px 0;
    max-width: 640px;
    -webkit-font-smoothing: antialiased;
}
#busbooking .bh-partner-perks,
.bh-partner-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
#busbooking .bh-partner-perks span,
.bh-partner-perks span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9999px;
    padding: 6px 14px;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}
.bh-partner-perks span i {
    color: #34d399 !important;
    font-size: 14px;
}
#busbooking .bh-partner-action-box,
.bh-partner-action-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
    max-width: 100%;
    box-sizing: border-box;
}
a.bh-partner-cta-btn,
button.bh-partner-cta-btn,
.bh-partner-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff !important;
    color: #08538a !important;
    -webkit-text-fill-color: #08538a !important;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    white-space: nowrap;
}
.bh-partner-cta-btn span {
    color: #08538a !important;
    -webkit-text-fill-color: #08538a !important;
}
.bh-partner-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    background: #f8fafc !important;
    color: #0284c7 !important;
    -webkit-text-fill-color: #0284c7 !important;
}
.bh-partner-cta-btn:hover span {
    color: #0284c7 !important;
    -webkit-text-fill-color: #0284c7 !important;
}
.bh-partner-cta-btn i.fa-bus {
    font-size: 18px;
    color: #08538a !important;
}
.bh-partner-cta-btn i.fa-arrow-right {
    font-size: 14px;
    color: #08538a !important;
    transition: transform 0.2s ease;
}
.bh-partner-cta-btn:hover i.fa-arrow-right {
    transform: translateX(4px);
}
.bh-partner-note {
    font-size: 12.5px;
    color: #f8fafc !important;
    -webkit-text-fill-color: #f8fafc !important;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: 4px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 900px) {
    #busbooking .bh-sec-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    #busbooking .bh-partner-card-inner,
    .bh-partner-card-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }
    #busbooking .bh-partner-action-box,
    .bh-partner-action-box {
        width: 100%;
        align-items: flex-start;
    }
    #busbooking .bh-partner-cta-btn,
    .bh-partner-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Bus Running Animation Loader Modal Overlay ---------- */
.tm-bus-loader-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 23, 39, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.tm-bus-loader-overlay.is-active {
    opacity: 1;
    visibility: visible;
}
.tm-bus-loader-card {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    border-radius: 26px;
    padding: 36px 32px 30px;
    text-align: center;
    box-shadow: 0 25px 65px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.tm-bus-loader-overlay.is-active .tm-bus-loader-card {
    transform: scale(1);
}
.tm-loader-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 9999px;
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
}
.tm-loader-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16a34a;
}
.tm-loader-title {
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}
.tm-loader-desc {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 0 20px 0;
}
.tm-bus-running-track {
    position: relative;
    width: 100%;
    height: 88px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 16px;
    overflow: hidden;
    margin: 0 0 18px 0;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}
.tm-road-lane {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 26px;
}
.tm-road-stripes {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 3px;
    background-image: repeating-linear-gradient(
        to right,
        #ffffff 0,
        #ffffff 22px,
        transparent 22px,
        transparent 40px
    );
    background-size: 40px 100%;
    animation: tmRoadStripesAnim 0.45s linear infinite;
}
@keyframes tmRoadStripesAnim {
    from { background-position-x: 40px; }
    to   { background-position-x: 0; }
}
.tm-running-bus-wrapper {
    position: absolute;
    bottom: 3px;
    width: 175px;
    height: 52px;
    left: -190px;
}
.tm-bus-loader-overlay.is-active .tm-running-bus-wrapper {
    animation: tmBusDriveAcross 1.7s cubic-bezier(0.25, 0.1, 0.25, 1) forwards,
               tmBusChassisBounce 0.35s ease-in-out infinite;
}
@keyframes tmBusDriveAcross {
    0%   { left: -190px; }
    30%  { left: calc(50% - 87px); }
    72%  { left: calc(50% - 87px); }
    100% { left: calc(100% + 50px); }
}
@keyframes tmBusChassisBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-1.5px); }
}
.tm-bus-loader-overlay.is-active .tm-bus-wheel {
    transform-box: fill-box;
    transform-origin: center;
    animation: tmSpokeSpin 0.35s linear infinite;
}
@keyframes tmSpokeSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.tm-progress-track {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}
.tm-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #08538a 0%, #0284c7 50%, #10b981 100%);
    border-radius: 9999px;
}
.tm-bus-loader-overlay.is-active .tm-progress-fill {
    animation: tmProgressFillAnim 1.7s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
@keyframes tmProgressFillAnim {
    0%   { width: 0%; }
    40%  { width: 55%; }
    80%  { width: 90%; }
    100% { width: 100%; }
}

/* ========================================================
   TicketMart Partner Selection Modal (Travel Partner vs Bus Partner)
   ======================================================== */
.tm-partner-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.tm-partner-modal-overlay.is-active {
    display: flex;
    opacity: 1;
}
.tm-partner-modal-dialog {
    background: #ffffff;
    border-radius: 24px;
    max-width: 860px;
    width: 100%;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
    position: relative;
    transform: scale(0.95) translateY(10px);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}
.tm-partner-modal-overlay.is-active .tm-partner-modal-dialog {
    transform: scale(1) translateY(0);
}
.tm-partner-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    line-height: 1;
}
.tm-partner-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}
.tm-partner-modal-header {
    padding: 32px 32px 16px 32px;
    text-align: center;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #f1f5f9;
}
.tm-partner-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.25);
    border-radius: 9999px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #0284c7;
    margin-bottom: 10px;
}
.tm-partner-modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}
.tm-partner-modal-subtitle {
    font-size: 14px;
    color: #64748b;
    max-width: 580px;
    margin: 0 auto;
}
.tm-partner-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 24px 32px 32px 32px;
}
.tm-partner-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.tm-partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(2, 132, 199, 0.16);
}
.tm-partner-card--travel:hover {
    border-color: #0284c7;
}
.tm-partner-card--bus:hover {
    border-color: #059669;
}
.tm-partner-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    padding: 4px 10px;
    width: fit-content;
    margin-bottom: 14px;
}
.tm-badge--travel {
    background: #e0f2fe;
    color: #0369a1;
}
.tm-badge--bus {
    background: #d1fae5;
    color: #065f46;
}
.tm-partner-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}
.tm-icon--travel {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
}
.tm-icon--bus {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
}
.tm-partner-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}
.tm-partner-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 16px;
}
.tm-partner-perks-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}
.tm-partner-perks-list li {
    font-size: 12.5px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.tm-partner-card--travel .tm-partner-perks-list li i {
    color: #0284c7;
    font-size: 14px;
}
.tm-partner-card--bus .tm-partner-perks-list li i {
    color: #059669;
    font-size: 14px;
}
.tm-partner-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}
.tm-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.tm-btn-primary span,
.tm-btn-primary i {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.tm-btn--travel {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
}
.tm-btn--travel:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%) !important;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
    transform: translateY(-1px);
}
.tm-btn--bus {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}
.tm-btn--bus:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4);
    transform: translateY(-1px);
}
.tm-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 500;
    color: #475569 !important;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.tm-btn-secondary:hover {
    background: #f1f5f9;
    color: #0f172a !important;
    border-color: #cbd5e1;
}
@media (max-width: 640px) {
    .tm-partner-modal-dialog {
        border-radius: 18px;
    }
    .tm-partner-modal-header {
        padding: 24px 20px 14px 20px;
    }
    .tm-partner-options-grid {
        grid-template-columns: 1fr;
        padding: 16px 20px 24px 20px;
        gap: 16px;
    }
}

