:root {
  --primary: #78c63a;
  --primary-dark: #087c35;
  --dark: #1f1a1c;
  --muted: #6b7280;
  --light: #f9fafb;
  --white: #ffffff;
  --green: #078a3d;
  --border: #e5e7eb;
  --shadow: 0 14px 35px rgba(17, 24, 39, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Arial, Helvetica, sans-serif; color: var(--dark); line-height: 1.65; background: var(--white); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, 92%); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--dark); color: #fff; padding: 10px; z-index: 999; }
.skip-link:focus { left: 10px; }
.topbar { background: var(--dark); color: #fff; font-size: 14px; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.header { position: sticky; top: 0; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); z-index: 100; border-bottom: 1px solid var(--border); }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--primary); display: grid; place-items: center; color: var(--dark); font-weight: 900; }
.nav-links { display: flex; align-items: center; gap: 18px; font-weight: 700; font-size: 15px; }
.nav-links a:hover { color: var(--primary-dark); }
.menu-btn { display: none; border: 1px solid var(--border); background: #fff; border-radius: 10px; padding: 9px 12px; font-weight: 800; }
.hero { background: linear-gradient(135deg, #f3fff0 0%, #ffffff 50%, #ecfdf3 100%); padding: 74px 0 62px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #efffed; color: #075c2f; border: 1px solid #bceba5; border-radius: 999px; padding: 7px 13px; font-weight: 800; font-size: 14px; margin-bottom: 18px; }
h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: -1px; margin-bottom: 18px; }
.hero p { font-size: 19px; color: #374151; max-width: 720px; margin-bottom: 26px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 13px 20px; font-weight: 900; border: 2px solid transparent; transition: .2s ease; }
.btn-primary { background: var(--primary); color: #111827; }
.btn-primary:hover { background: #fbbf24; transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-outline { background: #fff; border-color: var(--border); }
.hero-card { background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.hero-card h2 { font-size: 24px; margin-bottom: 12px; }
.quick-list { list-style: none; display: grid; gap: 12px; margin: 18px 0; }
.quick-list li { display: flex; gap: 10px; align-items: flex-start; color: #374151; }
.check { color: var(--green); font-weight: 900; }
.section { padding: 64px 0; }
.section-alt { background: var(--light); }
.section-title { max-width: 820px; margin-bottom: 34px; }
.section-title h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin-bottom: 12px; }
.section-title p { color: var(--muted); font-size: 18px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: 0 8px 22px rgba(17,24,39,.06); }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: #4b5563; }
.card a { display: inline-block; margin-top: 14px; color: var(--primary-dark); font-weight: 900; }
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.city-card { border-radius: 22px; padding: 28px; min-height: 245px; color: #fff; background: linear-gradient(135deg, #111827, #374151); display: flex; flex-direction: column; justify-content: space-between; }
.city-card h3 { font-size: 27px; }
.city-card p { color: #e5e7eb; margin-top: 8px; }
.city-card a { margin-top: 18px; background: #fff; color: var(--dark); width: fit-content; padding: 10px 14px; border-radius: 10px; font-weight: 900; }
.keyword-cloud { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.keyword-cloud span, .keyword-cloud a { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 12px; color: #374151; font-weight: 700; font-size: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.panel h2, .panel h3 { margin-bottom: 12px; }
.service-list { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.service-list li { padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; min-width: 650px; background: #fff; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); }
th { background: #efffed; color: #075c2f; }
.faq { display: grid; gap: 14px; }
details { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
summary { font-weight: 900; cursor: pointer; }
details p { margin-top: 10px; color: #4b5563; }
.footer { background: var(--dark); color: #fff; padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 28px; }
.footer h3 { margin-bottom: 14px; color: #fff; }
.footer p, .footer a { color: #d1d5db; }
.footer a { display: block; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; color: #d1d5db; font-size: 14px; }
.floating-cta { position: fixed; right: 18px; bottom: 18px; display: grid; gap: 10px; z-index: 200; }
.floating-cta a { padding: 12px 16px; border-radius: 999px; box-shadow: var(--shadow); font-weight: 900; }
.floating-cta .call { background: var(--primary); color: var(--dark); }
.floating-cta .wa { background: var(--green); color: #fff; }
.form { display: grid; gap: 14px; }
.form input, .form textarea, .form select { width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: 12px; font: inherit; }
.form textarea { min-height: 120px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--primary-dark); font-weight: 800; }
@media (max-width: 880px) {
  .hero-grid, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .cards, .city-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding-top: 12px; }
  .nav-links.active { display: flex; }
  .navbar { flex-wrap: wrap; }
  .menu-btn { display: inline-block; }
  .floating-cta { left: 12px; right: 12px; grid-template-columns: 1fr 1fr; }
  .floating-cta a { text-align: center; }
}

.all-city-grid { grid-template-columns: repeat(4, 1fr); }
.big-cloud { max-height: none; }
@media (max-width: 1100px) { .all-city-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .all-city-grid { grid-template-columns: 1fr; } }


/* SEO expansion blocks */
.seo-intro { font-size: 18px; color: #374151; margin: 16px 0; }
.content-block { background:#fff; border:1px solid var(--border); border-radius:20px; padding:24px; box-shadow:0 8px 22px rgba(17,24,39,.05); margin-bottom:22px; }
.content-block h3 { font-size:24px; margin-bottom:10px; }
.content-block p { color:#4b5563; margin-bottom:10px; }
.route-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.route-card { border:1px solid var(--border); border-radius:16px; padding:16px; background:#fff; }
.route-card strong { display:block; margin-bottom:6px; }
.area-columns { columns:3; column-gap:28px; }
.area-columns li { break-inside:avoid; margin-bottom:8px; }
.priority-links { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.priority-links a { border:1px solid var(--border); background:#fff; padding:10px 13px; border-radius:999px; font-weight:800; color:var(--primary-dark); }
.notice { border-left:5px solid var(--primary); background:#efffed; padding:18px; border-radius:14px; color:#4b5563; }
.checklist { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; list-style:none; margin-top:12px; }
.checklist li { background:#fff; border:1px solid var(--border); border-radius:12px; padding:12px; }
@media (max-width: 880px) { .route-grid { grid-template-columns:1fr; } .area-columns { columns:1; } .checklist { grid-template-columns:1fr; } }


/* Vasu Cabs brand refresh: green + dark logo/banner sizing */
.brand { gap: 12px; min-width: 190px; }
.brand-logo { width: 186px; height: auto; max-height: 54px; object-fit: contain; display: block; }
.brand-mark { display: none; }
.header { background: rgba(255,255,255,0.98); box-shadow: 0 8px 24px rgba(8,124,53,.06); }
.topbar { background: linear-gradient(90deg, #1f1a1c, #083b22); }
.nav-links a:hover { color: var(--green); }
.btn-primary { background: linear-gradient(135deg, #78c63a, #087c35); color: #fff; box-shadow: 0 10px 22px rgba(8,124,53,.22); }
.btn-primary:hover { background: linear-gradient(135deg, #87d948, #066d30); color: #fff; }
.btn-outline:hover { border-color: #78c63a; color: #087c35; }
.hero { border-bottom: 1px solid rgba(8,124,53,.08); }
.hero h1 strong, .section-title h2 strong { color: var(--primary-dark); }
.hero-card { border-color: rgba(8,124,53,.18); box-shadow: 0 20px 42px rgba(8,124,53,.12); }
.city-card { background: linear-gradient(135deg, #1f1a1c 0%, #063b20 100%); }
.city-card a:hover { background: #efffed; color: #087c35; }
.card, .panel, .content-block, details { border-color: rgba(8,124,53,.14); }
.card a, .breadcrumb a, .priority-links a { color: var(--primary-dark); }
.keyword-cloud span, .keyword-cloud a { border-color: rgba(8,124,53,.18); }
.keyword-cloud a:hover, .priority-links a:hover { background: #efffed; color: #075c2f; }
.footer { background: linear-gradient(135deg, #1f1a1c 0%, #052c18 100%); }
.footer-logo { width: 210px; height: auto; max-height: 74px; object-fit: contain; margin-bottom: 14px; background: rgba(255,255,255,.96); border-radius: 14px; padding: 8px; }
.home-banner-section { padding: 28px 0 0; background: #fff; }
.home-banner-img { width: 100%; height: auto; max-height: 430px; object-fit: cover; border-radius: 24px; box-shadow: 0 18px 42px rgba(31,26,28,.16); border: 1px solid rgba(8,124,53,.12); }
.hero-brand-note { color: #087c35; font-weight: 900; }
@media (max-width: 880px) {
  .brand-logo { width: 150px; max-height: 48px; }
  .navbar { padding: 10px 0; }
  .home-banner-section { padding-top: 16px; }
  .home-banner-img { border-radius: 16px; max-height: 260px; }
}
@media (max-width: 420px) {
  .brand-logo { width: 132px; }
}


/* Trust and unique city content upgrades */
.trust-section { background: linear-gradient(135deg, #ffffff 0%, #efffed 100%); }
.trust-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:16px; }
.trust-card { background:#fff; border:1px solid rgba(8,124,53,.16); border-radius:18px; padding:20px; box-shadow:0 10px 26px rgba(8,124,53,.07); }
.trust-card strong { display:block; color:#063b20; font-size:18px; margin-bottom:8px; }
.trust-card span { display:block; color:#4b5563; line-height:1.55; }
.local-depth-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:18px; }
.local-depth-grid .content-block { margin-bottom:0; }
.big-cloud span { background:#fff; }
@media (max-width: 960px) { .trust-grid, .local-depth-grid { grid-template-columns:1fr; } }

/* Final usability polish: cleaner spacing and stronger mobile layout */
p { margin-bottom: 0.85rem; }
.section-title p { margin-top: 10px; margin-bottom: 0; }
.content-block p + p,
.panel p + p,
.card p + p,
.trust-card span + span { margin-top: 10px; }
.content-block + .content-block { margin-top: 22px; }
.cards + .content-block,
.local-depth-grid + .content-block,
.keyword-cloud + .content-block { margin-top: 24px; }
.quick-list { margin-top: 20px; margin-bottom: 22px; }
.service-list li,
.checklist li,
.route-card,
.card,
.trust-card { line-height: 1.55; }
.keyword-cloud { row-gap: 12px; }
.area-columns { line-height: 1.85; padding-left: 20px; }
.area-columns li { padding-right: 10px; }
.footer a { line-height: 1.5; }

@media (max-width: 880px) {
  body { font-size: 16px; padding-bottom: 74px; }
  .topbar { font-size: 13px; }
  .topbar .container { gap: 6px; }
  .hero { padding: 42px 0 38px; }
  h1 { font-size: clamp(30px, 9vw, 42px); line-height: 1.12; }
  .hero p { font-size: 17px; line-height: 1.65; }
  .section { padding: 42px 0; }
  .section-title { margin-bottom: 24px; }
  .section-title h2 { font-size: clamp(25px, 7vw, 34px); line-height: 1.2; }
  .section-title p { font-size: 16px; line-height: 1.65; }
  .card,
  .content-block,
  .panel,
  .trust-card,
  details { padding: 18px; border-radius: 16px; }
  .cards,
  .trust-grid,
  .local-depth-grid,
  .city-grid { gap: 16px; }
  .keyword-cloud span,
  .keyword-cloud a,
  .priority-links a { font-size: 13px; padding: 8px 10px; }
  .home-banner-img { object-fit: contain; background: #1f1a1c; }
  .floating-cta { bottom: 10px; left: 10px; right: 10px; gap: 8px; }
  .floating-cta a { padding: 12px 10px; font-size: 14px; }
}

@media (max-width: 520px) {
  .container { width: min(94%, 1120px); }
  .cta-row { display: grid; grid-template-columns: 1fr; width: 100%; }
  .btn { width: 100%; padding: 13px 16px; }
  .hero-card { padding: 18px; border-radius: 18px; }
  .brand-logo { width: 126px; }
  .menu-btn { padding: 8px 10px; }
  .nav-links a { padding: 8px 0; }
  .footer-grid { gap: 20px; }
  .footer-logo { width: 170px; }
}


/* Live fare and booking widget */
.fare-booking-section { background: linear-gradient(135deg, #ffffff 0%, #f4fff1 100%); }
.booking-widget { background: #ffffff; border: 1px solid rgba(8,124,53,.16); border-radius: 24px; padding: 24px; box-shadow: 0 18px 44px rgba(8,124,53,.10); }
.booking-widget-pro { max-width: 980px; margin: 0 auto; }
.fare-form, .book-api-form { display: grid; gap: 18px; }
.trip-toggle { display: grid; grid-template-columns: 1fr 1fr; background: #ecfdf5; border: 1px solid rgba(8,124,53,.18); border-radius: 999px; padding: 6px; gap: 6px; }
.trip-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.trip-toggle label { text-align: center; padding: 13px 16px; border-radius: 999px; font-weight: 900; color: #075c2f; cursor: pointer; transition: .2s ease; }
.trip-toggle input:checked + label { background: #087c35; color: #fff; box-shadow: 0 8px 20px rgba(8,124,53,.22); }
.route-search-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: end; }
.route-field input { font-size: 16px; min-height: 52px; }
.swap-route { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; background: #0f172a; color: #fff; font-weight: 900; margin-bottom: 5px; }
.time-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.form-grid.two-fields { grid-template-columns: repeat(2, 1fr); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 900; color: #063b20; }
.field input, .field select { width: 100%; padding: 13px 14px; border: 1px solid rgba(8,124,53,.20); border-radius: 13px; font: inherit; background: #fff; color: #111827; }
.field input:focus, .field select:focus { outline: 3px solid rgba(120,198,58,.22); border-color: #087c35; }
.optional-text { color: #6b7280; font-weight: 700; font-size: 13px; }
.required-star { color: #b91c1c; }
.distance-preview { padding: 13px 15px; border-radius: 14px; background: #f8fff6; border: 1px dashed rgba(8,124,53,.24); color: #374151; font-weight: 700; }
.booking-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.search-actions { justify-content: center; }
.search-actions .btn { min-width: 210px; }
.small-note { font-size: 14px; color: #6b7280; margin: 0; text-align: center; }
.api-message { display: none; margin-top: 18px; padding: 13px 15px; border-radius: 14px; font-weight: 800; }
.api-message.visible { display: block; }
.api-message.info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.api-message.success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.api-message.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.loader-dot { width: 16px; height: 16px; display: inline-block; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); border-top-color: #fff; animation: vasuSpin .8s linear infinite; margin-right: 8px; vertical-align: -3px; }
@keyframes vasuSpin { to { transform: rotate(360deg); } }
.fare-results { display: grid; gap: 16px; margin-top: 20px; }
.fare-table-wrap { border: 1px solid rgba(8,124,53,.16); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 10px 26px rgba(17,24,39,.05); }
.fare-table-heading { display: grid; gap: 6px; padding: 18px 18px 8px; }
.fare-table-heading h3 { color: #063b20; margin: 0; }
.result-note { color: #4b5563; margin: 0; font-size: 14px; }
.fare-table { width: 100%; border-collapse: collapse; }
.fare-table th, .fare-table td { padding: 15px 16px; text-align: left; border-top: 1px solid rgba(8,124,53,.12); vertical-align: middle; }
.fare-table th { background: #f4fff1; color: #063b20; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; }
.fare-table td strong { color: #063b20; }
.info-chip { width: 22px; height: 22px; border-radius: 50%; border: 0; margin-left: 6px; background: #dcfce7; color: #087c35; font-weight: 900; cursor: help; }
.table-book-btn { padding: 10px 16px; min-width: 84px; }
.empty-result, .booking-success { padding: 18px; border-radius: 16px; border: 1px solid rgba(8,124,53,.16); background: #fff; display: grid; gap: 10px; }
.booking-success { background: #ecfdf5; color: #047857; }
.booking-success span { color: #065f46; }
.confirmed-booking { margin-bottom: 14px; }
.book-modal.hidden { display: none; }
.book-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 18px; }
.book-modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.58); }
.book-modal-card { position: relative; width: min(560px, 100%); background: #fff; border-radius: 22px; padding: 24px; box-shadow: 0 24px 70px rgba(0,0,0,.25); display: grid; gap: 18px; }
.book-modal-card h3 { color: #063b20; margin: 0; }
.modal-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f3f4f6; color: #111827; font-size: 24px; line-height: 1; cursor: pointer; }
.selected-cab-text { color: #374151; font-weight: 800; padding-right: 24px; }
.hidden-on-oneway { display: none; }
@media (max-width: 980px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .booking-widget { padding: 16px; border-radius: 18px; }
  .route-search-grid, .time-grid, .form-grid, .form-grid.two-fields { grid-template-columns: 1fr; gap: 14px; }
  .swap-route { display: none; }
  .trip-toggle { border-radius: 18px; }
  .trip-toggle label { border-radius: 14px; }
  .booking-actions .btn, .search-actions .btn { width: 100%; justify-content: center; text-align: center; min-width: 0; }
  .small-note { text-align: left; }
  .fare-table thead { display: none; }
  .fare-table, .fare-table tbody, .fare-table tr, .fare-table td { display: block; width: 100%; }
  .fare-table tr { border-top: 1px solid rgba(8,124,53,.16); padding: 10px 0; }
  .fare-table td { border-top: 0; padding: 9px 16px; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .fare-table td::before { content: attr(data-label); font-weight: 900; color: #063b20; text-align: left; }
  .fare-table td[data-label="Action"] { display: block; text-align: left; }
  .fare-table td[data-label="Action"]::before { display: none; }
  .table-book-btn { width: 100%; }
  .book-modal { align-items: end; padding: 0; }
  .book-modal-card { border-radius: 24px 24px 0 0; max-height: 92vh; overflow-y: auto; }
}

/* Final customer-ready booking polish */
.vehicle-desc { display:block; margin-top:4px; color:#6b7280; font-size:13px; line-height:1.35; font-weight:700; }
.fare-table td[data-label="Vehicle"] { min-width: 150px; }
.confirmed-booking strong { font-size: 18px; }
.confirmed-booking span { line-height: 1.55; }
@media (max-width: 720px) {
  .fare-table td[data-label="Vehicle"] { display:block; text-align:left; }
  .fare-table td[data-label="Vehicle"]::before { display:block; margin-bottom:6px; }
  .vehicle-desc { font-size:12px; }
  .booking-widget { margin-left: -2px; margin-right: -2px; }
  .distance-preview { line-height:1.55; }
}


/* Location autocomplete and booking widget improvements */
.popular-suggestions { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: #f8fff6; border: 1px solid rgba(8,124,53,.14); }
.popular-suggestions > span { font-weight: 900; color: #063b20; }
.suggestion-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.suggestion-scroll button { flex: 0 0 auto; border: 1px solid rgba(8,124,53,.20); background: #ffffff; color: #075c2f; border-radius: 999px; padding: 8px 12px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.suggestion-scroll button:hover { background: #ecfdf5; border-color: #087c35; }
.pac-container { z-index: 2000 !important; border-radius: 12px; box-shadow: 0 16px 40px rgba(15,23,42,.18); border: 1px solid rgba(8,124,53,.18); font-family: inherit; }
.swap-route { border: 0; cursor: pointer; font-size: 18px; }
.swap-route:hover { background: #087c35; }
@media (max-width: 720px) {
  .popular-suggestions { padding: 10px; }
  .suggestion-scroll button { padding: 8px 10px; font-size: 13px; }
}

/* Better route search suggestions and mobile booking UX */
.route-field { position: relative; }
.place-suggest-box {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 80;
  background: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 14px;
  box-shadow: 0 16px 35px rgba(2, 6, 23, 0.16);
  padding: 6px;
  max-height: 260px;
  overflow-y: auto;
}
.place-suggest-box.visible { display: block; }
.place-suggest-box button,
.place-suggest-box .suggest-loading {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.35;
  border-radius: 10px;
}
.place-suggest-box button:hover,
.place-suggest-box button:focus {
  background: #ecfdf5;
  outline: none;
}
.place-suggest-box .suggest-loading { color: #64748b; }
.distance-preview { line-height: 1.55; }
.result-note { line-height: 1.55; margin-top: 6px; }
@media (max-width: 768px) {
  .route-search-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .swap-route {
    width: 44px;
    height: 44px;
    margin: -4px auto;
    transform: rotate(90deg);
  }
  .place-suggest-box {
    max-height: 220px;
    position: absolute;
  }
  .fare-table td[data-label="Trip KM"]::before { content: attr(data-label); }
}

/* Mobile fare and booking result fixes */
.fare-mobile-cards { display: none; }
.mobile-book-btn { width: 100%; min-height: 48px; font-size: 16px; border-radius: 14px; }
.booking-id-line b { font-size: 20px; color: #064e3b; }
.contact-line { word-break: break-word; overflow-wrap: anywhere; }

@media (max-width: 720px) {
  .fare-results { margin-top: 16px; gap: 14px; }
  .fare-table-heading { padding: 16px 14px 10px; }
  .fare-table-heading h3 { font-size: 20px; line-height: 1.25; }
  .result-note { font-size: 13px; line-height: 1.5; }

  /* Hide the wide table on phones and show clean card results instead */
  .fare-table { display: none !important; }
  .fare-mobile-cards { display: grid; gap: 14px; padding: 0 12px 14px; }
  .fare-mobile-card {
    border: 1px solid rgba(8,124,53,.18);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fff6 100%);
    padding: 14px;
    box-shadow: 0 10px 24px rgba(8,124,53,.08);
  }
  .fare-mobile-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
  }
  .fare-mobile-top h4 {
    margin: 0 0 4px;
    font-size: 20px;
    line-height: 1.2;
    color: #063b20;
  }
  .fare-mobile-top p {
    margin: 0;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
  }
  .mobile-fare-price {
    flex: 0 0 auto;
    background: #ecfdf5;
    border: 1px solid rgba(8,124,53,.18);
    color: #047857;
    font-size: 20px;
    line-height: 1;
    font-weight: 950;
    border-radius: 14px;
    padding: 10px 12px;
    white-space: nowrap;
  }
  .fare-mobile-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 13px;
  }
  .fare-mobile-details span {
    display: grid;
    gap: 3px;
    padding: 10px 8px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(8,124,53,.12);
    color: #111827;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
  }
  .fare-mobile-details b {
    display: block;
    color: #64748b;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .03em;
  }
  .mobile-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 16px;
    font-weight: 950;
  }

  .book-modal { align-items: end; padding: 0; }
  .book-modal-card {
    width: 100%;
    max-width: none;
    border-radius: 24px 24px 0 0;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
    max-height: 92vh;
    overflow-y: auto;
  }
  .book-modal-card h3 { font-size: 21px; padding-right: 38px; }
  .selected-cab-text {
    font-size: 14px;
    line-height: 1.5;
    background: #f8fff6;
    border: 1px solid rgba(8,124,53,.14);
    border-radius: 14px;
    padding: 12px;
  }
  .book-api-form .field input { min-height: 52px; font-size: 16px; }
  .book-api-form .booking-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .book-api-form .booking-actions .btn { width: 100%; min-height: 48px; }

  .booking-success.confirmed-booking {
    margin: 0 0 14px;
    padding: 16px;
    border-radius: 18px;
    display: grid;
    gap: 8px;
    box-shadow: 0 10px 24px rgba(4,120,87,.12);
  }
  .booking-success.confirmed-booking strong { font-size: 20px; line-height: 1.25; }
  .booking-success.confirmed-booking span { display: block; font-size: 14px; line-height: 1.45; }
  .booking-id-line {
    background: #ffffff;
    border: 1px solid rgba(4,120,87,.18);
    border-radius: 12px;
    padding: 10px 12px;
    color: #065f46;
    font-weight: 900;
  }
}

@media (max-width: 390px) {
  .fare-mobile-details { grid-template-columns: 1fr; }
  .fare-mobile-top { flex-direction: column; }
  .mobile-fare-price { width: 100%; text-align: center; }
}

/* Booking modal inline validation and status message */
.book-modal-message {
  display: none;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1.45;
}
.book-modal-message.visible { display: block; }
.book-modal-message.info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.book-modal-message.success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.book-modal-message.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
@media (max-width: 720px) {
  .book-modal-message { font-size: 15px; padding: 13px 14px; }
}
