/* Mahar Basheer Movers — booking website. Navy #2B50AA primary.
   Professional redesign: cohesive spacing, refined cards, SVG icon system. */
:root {
  --navy: #2B50AA;
  --navy-dark: #1E3A7E;
  --navy-deep: #152B63;
  --navy-light: #EAF0FC;
  --navy-faint: #F2F5FD;
  --bg: #F4F6FB;
  --card: #ffffff;
  --text: #1D2440;
  --muted: #6b7690;
  --border: #dfe4f0;
  --green: #1e9e4a;
  --green-dark: #177a39;
  --red: #d33;
  --red-dark: #b3261e;
  --pink: #f6b8d0;
  --gold: #b8860b;
  --gold-bg: #fdf3d7;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(23,43,99,.07);
  --shadow-md: 0 8px 28px rgba(23,43,99,.12);
  --shadow-lg: 0 18px 48px rgba(23,43,99,.18);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--navy-dark); margin: 0 0 10px; letter-spacing: -.01em; }
p { margin: 0 0 10px; }
/* SVG icon sizing helper */
.ico-svg { width: 1em; height: 1em; vertical-align: -.12em; fill: currentColor; }

/* ---------- header ---------- */
.site-header {
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 60;
  box-shadow: 0 1px 12px rgba(23,43,99,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff; font-weight: 800; border-radius: 12px;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 15px;
  letter-spacing: .5px; box-shadow: 0 4px 12px rgba(43,80,170,.3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 15.5px; letter-spacing: .4px; color: var(--navy-dark); }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: .3px; }
.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav a, .main-nav button.nav-item {
  text-decoration: none; color: var(--text); font-weight: 600; font-size: 14.5px;
  background: none; border: 0; cursor: pointer; padding: 10px 14px; border-radius: 10px; font-family: inherit;
  transition: background .15s, color .15s;
}
.main-nav a:hover, .main-nav button.nav-item:hover { background: var(--navy-light); color: var(--navy); }
.nav-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%) !important;
  color: #fff !important; font-weight: 700; box-shadow: 0 4px 14px rgba(43,80,170,.28);
}
.nav-cta:hover { filter: brightness(1.08); box-shadow: 0 6px 18px rgba(43,80,170,.36); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; font-size: 20px; padding: 6px 12px; cursor: pointer; color: var(--navy); }
.account-chip { display: flex; align-items: center; gap: 8px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; box-shadow: 0 2px 8px rgba(43,80,170,.25); }

/* ---------- layout ---------- */
#app { padding: 22px 16px 60px; min-height: 60vh; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; box-shadow: 0 2px 8px rgba(20,40,90,.05); }
.section-title { text-align: center; margin: 34px 0 18px; }
.section-title p { color: var(--muted); }

/* ---------- hero / search ---------- */
.hero {
  background:
    radial-gradient(1100px 320px at 85% -60px, rgba(120,150,255,.28), transparent 60%),
    radial-gradient(900px 300px at 8% 120%, rgba(120,150,255,.16), transparent 55%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-dark) 100%);
  border-radius: 22px; color: #fff; padding: 58px 32px 96px; text-align: center;
  margin-bottom: -58px; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 90%);
}
.hero > * { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: #e8eeff; font-size: 12.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 8px 16px; border-radius: 100px; margin-bottom: 16px; backdrop-filter: blur(4px);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #7dffa8; box-shadow: 0 0 10px #7dffa8; }
.hero h1 { color: #fff; font-size: 38px; font-weight: 800; margin-bottom: 10px; letter-spacing: -.02em; line-height: 1.2; }
.hero p { color: #cdd8f5; margin: 0; font-size: 16.5px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-trust { display: flex; justify-content: center; gap: 26px; margin-top: 22px; flex-wrap: wrap; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; color: #dbe4fb; font-size: 13.5px; font-weight: 600; }
.hero-trust svg { width: 16px; height: 16px; color: #8fd6a4; }

.search-shell { position: relative; z-index: 5; }
.search-widget {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6);
  padding: 20px; display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: stretch;
  position: relative; margin-bottom: 8px;
}
.sw-field { display: flex; flex-direction: column; }
.search-widget label {
  font-size: 11.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  color: var(--navy); display: flex; align-items: center; gap: 6px; margin-bottom: 2px; padding: 0 2px;
}
.search-widget label svg { width: 14px; height: 14px; color: var(--navy); opacity: .75; }
.search-widget input, .search-widget select {
  width: 100%; margin-top: 6px; padding: 13px 14px; font-size: 15px;
  border: 1.5px solid var(--border); border-radius: 12px; background: #fbfcff; color: var(--text); font-family: inherit;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.search-widget input:hover, .search-widget select:hover { border-color: #b9c6e8; }
.search-widget input:focus, .search-widget select:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(43,80,170,.13); }
.search-widget .btn { align-self: end; padding: 13px 30px; font-size: 15.5px; border-radius: 12px; white-space: nowrap;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); box-shadow: 0 6px 18px rgba(43,80,170,.32); }
.search-widget .btn:hover { filter: brightness(1.07); }
.combo-list { position: relative; }
.combo-items {
  position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; max-height: 240px; overflow: auto; z-index: 40; box-shadow: var(--shadow-md); margin-top: 6px;
}
.combo-items div { padding: 11px 14px; cursor: pointer; font-size: 14px; border-bottom: 1px solid #f1f4fa; }
.combo-items div:last-child { border-bottom: 0; }
.combo-items div:hover, .combo-items div.hot { background: var(--navy-light); }

/* ---------- value props / services / stats ---------- */
.section-title { text-align: center; margin: 44px 0 22px; }
.section-title .eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--navy); background: var(--navy-light); padding: 6px 14px; border-radius: 100px; margin-bottom: 10px;
}
.section-title h2 { font-size: 27px; font-weight: 800; margin: 0 0 8px; }
.section-title p { color: var(--muted); font-size: 15px; max-width: 520px; margin: 0 auto; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .ico {
  width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 18px;
  background: linear-gradient(135deg, var(--navy-light) 0%, #dde7fb 100%);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.value-card .ico svg { width: 28px; height: 28px; }
.value-card h3 { font-size: 16.5px; margin: 0 0 8px; color: var(--navy-dark); }
.value-card p { color: var(--muted); font-size: 13.5px; margin: 0; line-height: 1.6; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px;
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; position: relative; overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), #6b8ce0); opacity: 0; transition: opacity .18s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-card:hover::before { opacity: 1; }
.svc-card .tag {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; background: var(--navy-light); color: var(--navy); margin-bottom: 12px;
}
.svc-card .svc-ico {
  width: 46px; height: 46px; border-radius: 14px; background: var(--navy-faint); color: var(--navy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.svc-card .svc-ico svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 15.5px; margin: 0 0 8px; color: var(--navy-dark); }
.svc-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }
.stats-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-dark) 100%);
  border-radius: 20px; padding: 36px 28px; margin-top: 10px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.stats-band::before {
  content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.13) 1.2px, transparent 1.2px); background-size: 24px 24px;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; z-index: 1; }
.stat { text-align: center; padding: 10px 8px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(255,255,255,.18);
}
.stat strong { font-size: 36px; display: block; color: #fff; font-weight: 800; letter-spacing: -.02em; }
.stat span { color: #c3d0f3; font-size: 13.5px; font-weight: 600; letter-spacing: .4px; }

/* ---------- buttons / forms ---------- */
.btn {
  border: 0; border-radius: 10px; padding: 12px 22px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background .15s; text-decoration: none; display: inline-block; text-align: center;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--navy-dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover:not(:disabled) { background: var(--green-dark); }
.btn-secondary { background: #e7ecf7; color: var(--navy); }
.btn-block { width: 100%; margin-top: 8px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
label.fld { display: block; margin: 12px 0; font-size: 14px; font-weight: 600; }
label.fld input, label.fld select {
  width: 100%; margin-top: 6px; padding: 11px 12px; font-size: 15px; font-weight: 400;
  border: 1.5px solid var(--border); border-radius: 10px; background: #fff; color: var(--text); font-family: inherit;
}
label.fld input:focus, label.fld select:focus { outline: none; border-color: var(--navy); }
label.fld input[readonly] { background: #f1f3f9; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { background: #fdecea; color: var(--red-dark); border: 1px solid #f5c6c2; border-radius: 8px; padding: 10px 12px; font-size: 13px; margin: 10px 0; }
.form-row-between { display: flex; justify-content: space-between; align-items: center; margin: 10px 0; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 400; }
.check input { width: auto; }
.link { color: var(--navy); text-decoration: none; font-weight: 600; cursor: pointer; background: none; border: 0; font-size: inherit; font-family: inherit; padding: 0; }
.link:hover { text-decoration: underline; }
.demo-hint { background: var(--navy-light); border-radius: 8px; padding: 10px 12px; font-size: 13px; color: var(--navy-dark); margin: 12px 0 0; }

/* ---------- results page (Baloch exact) ---------- */
.res-title-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(20,40,90,.05);
}
.res-title-card h2 { margin: 0; font-size: 19px; font-weight: 800; color: #111; }
.res-date { color: #6b7280; font-size: 13.5px; margin-top: 3px; }
.modify-btn {
  border: 1.5px solid #374151; background: #fff; color: #111; border-radius: 10px;
  padding: 9px 18px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; font-family: inherit;
}
.modify-btn:hover { background: #f3f4f6; }
.res-bar {
  background: #eef0f4; border-radius: 10px; padding: 12px 18px; margin-bottom: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.result-count { font-weight: 800; color: #111; font-size: 15px; }
.sort-wrap { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #374151; font-weight: 500; }
.sort-wrap select { padding: 9px 14px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; font-size: 14px; font-family: inherit; min-width: 170px; cursor: pointer; }
.results-layout { display: grid; grid-template-columns: 264px 1fr; gap: 20px; align-items: start; }
.filters { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 0 20px 20px; position: sticky; top: 88px; box-shadow: 0 2px 8px rgba(20,40,90,.05); overflow: hidden; }
.filters-head { background: #eef0f4; margin: 0 -20px 16px; padding: 13px 20px; font-weight: 800; font-size: 15px; color: #111; }
.filter-sec { margin-bottom: 22px; }
.filter-title { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; color: #111; margin-bottom: 12px; }
.filter-title .accent { width: 4px; height: 20px; background: var(--green); border-radius: 2px; }
.filter-title .chev { margin-left: auto; color: var(--green); font-size: 13px; }
.price-labels { display: flex; justify-content: space-between; font-size: 13px; color: #374151; margin-bottom: 4px; }
.dual-range { position: relative; height: 26px; }
.dual-track { position: absolute; top: 11px; left: 0; right: 0; height: 4px; background: #e5e7eb; border-radius: 2px; }
.dual-fill { position: absolute; top: 0; height: 4px; background: var(--green); border-radius: 2px; }
.dual-range input[type=range] {
  position: absolute; left: 0; top: 0; width: 100%; height: 26px; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.dual-range input[type=range]::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.dual-range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%;
  background: #e6a817; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); cursor: pointer; margin-top: -8px;
}
.dual-range input[type=range]::-moz-range-track { height: 4px; background: transparent; }
.dual-range input[type=range]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; background: #e6a817; border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.35); pointer-events: auto; cursor: pointer;
}
.time-pills { display: grid; gap: 10px; }
.time-pill {
  width: 100%; padding: 11px; background: #fff; border: 1.5px solid #374151; border-radius: 10px;
  font-size: 13.5px; color: #111; cursor: pointer; font-family: inherit;
}
.time-pill.on { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; }
.reset-btn {
  width: 100%; padding: 11px; background: #fff; border: 1.5px solid #374151; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: #111; cursor: pointer; font-family: inherit;
}
.reset-btn:hover { background: #f3f4f6; }

/* Trip cards — Baloch exact */
























.no-results { text-align: center; color: var(--muted); padding: 60px 20px; background: #fff; border-radius: var(--radius); border: 1px dashed var(--border); }

/* ---------- seat map (Baloch exact) ---------- */
.seat-rows { display: flex; flex-direction: column; gap: 8px; }
.seat-row { display: grid; grid-template-columns: repeat(5, 44px); gap: 8px; align-items: center; justify-content: start; }
.seat-gap { width: 44px; height: 44px; }
.seat {
  width: 44px; height: 44px; padding: 0; position: relative;
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.seat .seat-svg { width: 100%; height: 100%; display: block; }
.seat .sf { fill: none; }
.seat svg g { stroke: #9aa0a6; }
.seat.available:hover svg g { stroke: #16a34a; }
.seat.selected svg g { stroke: #16a34a; }
.seat.reserved svg g { stroke: #3b82f6; }
.seat.female svg g { stroke: #ec4899; }
.seat.reserved, .seat.female { cursor: not-allowed; }
.seat .biz-dot {
  position: absolute; top: 1px; right: 1px; width: 8px; height: 8px;
  border-radius: 50%; background: #E8A317; pointer-events: none;
}
.seat.nofare { opacity: .45; cursor: not-allowed; }
/* ---------- sleeper berths (Upper / Lower decks) ---------- */
.sleeper-deck { margin-bottom: 18px; }
.sleeper-deck:last-child { margin-bottom: 0; }
.seat-class-head.sleeper-head { font-size: 13px; padding-top: 2px; margin-bottom: 4px; }
.sleeper-driver-note { font-size: 12px; color: #6b7280; margin-bottom: 8px; }
.sleeper-grid { display: flex; flex-direction: column; gap: 8px; }
.sleeper-row { display: grid; grid-template-columns: repeat(6, minmax(44px, 1fr)); gap: 8px; }
.berth {
  height: 36px; min-width: 44px; padding: 0 6px; position: relative;
  background: #fff; border: 2px solid #9aa0a6; border-radius: 999px;
  cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 800; color: #14181d;
  display: inline-flex; align-items: center; justify-content: center;
}
.berth.available { border-color: #9aa0a6; color: #14181d; }
.berth.available:hover { border-color: #16a34a; color: #16a34a; }
.berth.selected { border-color: #16a34a; color: #16a34a; background: #f0fdf4; }
.berth.reserved { border-color: #3b82f6; color: #3b82f6; cursor: not-allowed; }
.berth.female { border-color: #ec4899; color: #ec4899; cursor: not-allowed; }
.berth:disabled { cursor: not-allowed; }
.berth-label { pointer-events: none; }
.berth-swatch { width: 28px; height: 16px; border-radius: 999px; flex-shrink: 0; display: inline-block; background: #fff; }
.berth-swatch.sel { border: 2px solid #16a34a; background: #f0fdf4; }
.berth-swatch.avail { border: 2px solid #9aa0a6; }
.berth-swatch.res { border: 2px solid #3b82f6; background: #eff6ff; }
.berth-swatch.fem { border: 2px solid #ec4899; background: #fdf2f8; }
@media (max-width: 640px) {
  .sleeper-row { grid-template-columns: repeat(6, minmax(38px, 1fr)); gap: 6px; }
  .berth { height: 32px; font-size: 11px; min-width: 38px; padding: 0 3px; }
}
.seat-class-head {
  font-size: 12px; font-weight: 800; letter-spacing: 0.8px; color: #374151;
  padding-top: 6px;
}
.seat-class-head.biz { color: #B7791F; }
.seat-class-head.gold { margin-top: 8px; }
.seat-num {
  position: absolute; left: 50%; top: 36%; transform: translate(-50%, -50%);
  font-size: 12px; font-weight: 800; color: #14181d; pointer-events: none;
}
.seat-modal { max-width: 760px; }
.seat-steps { display: flex; gap: 10px; margin-bottom: 20px; padding-right: 44px; }
.step-pill {
  border: 0; border-radius: 100px; padding: 10px 24px; font-size: 14px; font-weight: 700; font-family: inherit;
  background: #eef0f4; color: #6b7280; cursor: pointer;
}
.step-pill.active { background: var(--green); color: #fff; }
.modal-close.red-circle {
  width: 32px; height: 32px; border-radius: 50%; background: #d33; color: #fff;
  font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  top: 14px; right: 14px; line-height: 1; padding: 0;
}
.modal-close.red-circle:hover { background: #b3261e; }
.seatmap-wrap { display: flex; gap: 28px; align-items: flex-start; }
.seatmap-main { flex: 1; min-width: 0; }
.steer-row { margin-bottom: 12px; }
.steer {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--green); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
}
.steer svg { width: 26px; height: 26px; }
.seat-side { width: 168px; flex-shrink: 0; }
.legend-col { display: grid; gap: 11px; font-size: 13.5px; color: #374151; margin-bottom: 20px; }
.legend-col .li { display: flex; align-items: center; gap: 10px; }
.cdot { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; }
.cdot.sel { background: var(--green); }
.cdot.avail { background: #fff; border: 1.5px solid #9ca3af; }
.cdot.res { background: #93c5fd; border: 1.5px solid #3b82f6; }
.cdot.fem { background: #f9a8d4; border: 1.5px solid #ec4899; }
.side-totals { font-size: 14px; color: #374151; }
.side-totals b { font-size: 20px; color: #111; font-weight: 800; }
.seat-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid #e5e7eb; }
.btn-back { background: #eef0f4; color: #111; border: 0; border-radius: 8px; padding: 12px 36px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit; }
.btn-back:hover { background: #e2e6f0; }
.btn-next { background: var(--green); color: #fff; border: 0; border-radius: 8px; padding: 12px 46px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; }
.btn-next:hover:not(:disabled) { background: var(--green-dark); }
.btn-next:disabled { opacity: .45; cursor: not-allowed; }
.btn-next.btn-block { width: 100%; }
/* terminal step */
.term-label { display: block; font-size: 14px; font-weight: 600; color: #111; margin-bottom: 8px; }
.term-select { width: 100%; padding: 13px 14px; border: 1.5px solid #d1d5db; border-radius: 8px; font-size: 14px; font-family: inherit; margin-bottom: 18px; background: #fff; }
/* passenger popup */
.pax-modal h2 { margin-top: 0; font-size: 19px; }
.pax-genders { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 12px; }
.pax-gender {
  border: 0; border-radius: 8px; padding: 12px;
  font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; opacity: .45;
}
#paxFemale { background: #f9a8d4; color: #831843; }
#paxMale { background: #93c5fd; color: #1e3a8a; }
.pax-gender.on { opacity: 1; }
.pax-gender:disabled { background: #9ca3af; cursor: not-allowed; opacity: .6; }
.pax-note { color: #d33; font-size: 13.5px; font-weight: 600; margin-bottom: 12px; }
.pax-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.btn-confirm { background: var(--green); color: #fff; border: 0; border-radius: 8px; padding: 12px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; }
.btn-confirm:hover { background: var(--green-dark); }
.btn-cancel { background: #d33; color: #fff; border: 0; border-radius: 8px; padding: 12px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; }
.btn-cancel:hover { background: #b3261e; }

/* ---------- modals ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,25,50,.55); z-index: 100;
  display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto;
}
.modal-overlay[hidden] { display: none; }
.modal { background: #fff; border-radius: 16px; padding: 26px; width: 100%; max-width: 440px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.modal-wide { max-width: 560px; }
.modal-xl { max-width: 720px; }
.modal h2 { margin-top: 0; }
.modal-close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--muted); line-height: 1; }
.modal-alt { text-align: center; font-size: 14px; margin-top: 14px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

/* ---------- payment page (Baloch exact: two columns) ---------- */
.pay-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.pay-card { padding: 0; overflow: hidden; }
.pay-card > h3.card-gray-head { background: #eef0f4; margin: 0; padding: 13px 18px; font-size: 15px; font-weight: 800; color: #111; }
.pay-card .card-body { padding: 14px 18px 18px; }
.pm-row { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px solid #eef0f4; cursor: pointer; font-weight: 700; font-size: 14.5px; color: #111; }
.pm-row:last-of-type { border-bottom: 0; }
.pm-row input { width: 18px; height: 18px; accent-color: var(--green); cursor: pointer; }
.pm-row .pm-ico { width: 30px; height: 30px; color: var(--green); flex-shrink: 0; }
.pm-row .pm-ico svg { width: 100%; height: 100%; }
.pm-row.sel { color: var(--green); }
.pay-total-sub { font-style: italic; font-size: 12.5px; color: #6b7280; margin-top: 4px; text-align: right; }

/* ---------- payment / invoice ---------- */
.pay-methods { display: grid; gap: 10px; margin: 10px 0 4px; }
.pay-method { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.pay-method.sel { border-color: var(--navy); background: var(--navy-light); }
.pay-method input { width: auto; }
.pay-method .pm-name { font-weight: 700; }
.pay-method .pm-sub { font-size: 12px; color: var(--muted); display: block; }
.demo-note { background: #fff8e1; border: 1px solid #f0dfa0; color: #8a6d1a; border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-top: 10px; }
.change-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fff8e1; border: 1px solid #f0dfa0; color: #8a6d1a; border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tbl th, table.tbl td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); }
table.tbl th { color: var(--navy); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.status-pill { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 800; }
.status-PENDING { background: var(--gold-bg); color: #8a6d1a; }
.status-PAID { background: #e2f6e9; color: var(--green-dark); }
.status-CHANGED { background: var(--navy-light); color: var(--navy); }
.status-FULL-REFUND, .status-REFUNDED { background: #fdecea; color: var(--red-dark); }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv.total { font-size: 17px; font-weight: 800; color: var(--navy); }
.kv .strike { text-decoration: line-through; color: #999; }
.status-banner { border-radius: 10px; padding: 14px 18px; font-size: 18px; font-weight: 800; text-align: center; margin-bottom: 16px; }
.status-banner.PAID { background: #e2f6e9; color: var(--green-dark); }
.status-banner.PENDING { background: var(--gold-bg); color: #8a6d1a; }
.ticket-notice { background: var(--navy-light); border-radius: 10px; padding: 12px 14px; font-size: 13px; margin-top: 14px; }
.terms-banner { background: #f7f8fc; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ---------- dashboard ---------- */
.dash-head { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.dash-head .avatar { width: 56px; height: 56px; font-size: 22px; }
.dash-head h2 { margin: 0; }
.dash-head .joined { color: var(--muted); font-size: 13px; }
.dash-head .wallet-line { margin-left: auto; font-size: 15px; }
.dash-head .wallet-line b { color: var(--navy); font-size: 20px; }
.dash-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.dash-tab { padding: 10px 18px; border: 1px solid var(--border); background: #fff; border-radius: 10px; font-weight: 700; color: var(--navy); cursor: pointer; font-size: 14px; font-family: inherit; }
.dash-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.wallet-top { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.wallet-balance-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px; }
.wallet-balance-card span { color: #cfd9f2; font-size: 13px; }
.wallet-balance-card strong { font-size: 32px; display: block; margin-top: 6px; }
.txn { display: flex; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; font-size: 14px; }
.txn .amt.credit { color: var(--green); font-weight: 800; }
.txn .amt.debit { color: var(--red); font-weight: 800; }
.txn .lbl { font-weight: 600; }
.txn .dt { color: var(--muted); font-size: 12px; }

/* ---------- terms / static ---------- */
.terms-list { padding-left: 20px; }
.terms-list li { margin-bottom: 10px; }
.static-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- toast / footer ---------- */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; z-index: 200;
  background: #20263a; color: #fff; padding: 13px 20px; border-radius: 12px; font-size: 14px;
  max-width: 92%; box-shadow: 0 4px 18px rgba(0,0,0,.25);
}
.toast[hidden] { display: none; }
.toast.err { background: var(--red-dark); }
.site-footer { background: var(--navy-deep); margin-top: 40px; color: #c3d0f3; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; padding: 44px 20px 30px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; text-decoration: none; }
.footer-brand .brand-mark { width: 40px; height: 40px; font-size: 13px; }
.footer-brand strong { color: #fff; font-size: 15px; letter-spacing: .4px; display: block; }
.footer-brand small { color: #8fa0d4; font-size: 11px; }
.footer-grid p { color: #9fb0dd; font-size: 13.5px; line-height: 1.65; max-width: 340px; }
.footer-grid h4 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { text-decoration: none; color: #b9c6ec; font-size: 14px; transition: color .15s; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: #fff; }
.footer-links a svg { width: 13px; height: 13px; opacity: .6; }
.footer-bottom { text-align: center; color: #7e90c4; font-size: 12.5px; padding: 18px; border-top: 1px solid rgba(255,255,255,.1); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .search-widget { grid-template-columns: 1fr 1fr; }
  .search-widget .btn { grid-column: 1 / -1; }
  .results-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .value-grid, .svc-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 30px; }
}
@media (max-width: 640px) {
  .main-nav { display: none; position: absolute; top: 68px; right: 0; left: 0; background: #fff; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--border); padding: 8px 16px 14px; box-shadow: var(--shadow-md); }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }
  .search-widget { grid-template-columns: 1fr; padding: 18px; }
  .hero { padding: 40px 20px 84px; margin-bottom: -52px; border-radius: 18px; }
  .hero h1 { font-size: 25px; }
  .hero p { font-size: 14.5px; }
  .hero-trust { gap: 14px; }
  
  
  
  .seatmap-wrap { flex-direction: column; }
  .seat-side { width: 100%; }
  .pay-layout { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 4px; }
  .stat + .stat::before { display: none; }
  .stat { border-top: 1px solid rgba(255,255,255,.14); }
  .stat:first-child { border-top: 0; }
  .section-title h2 { font-size: 23px; }
  .grid-2, .wallet-top, .footer-grid, .static-grid { grid-template-columns: 1fr; }

  .modal-overlay { padding: 20px 10px; }

  table.tbl { font-size: 12.5px; }
  table.tbl th, table.tbl td { padding: 8px 5px; }
  .results-route h2 { font-size: 18px; }
}

/* ---------- user dropdown menu ---------- */
.user-menu { position: relative; display: inline-block; }
.user-menu .account-chip { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.user-menu .caret { font-size: 10px; color: var(--muted); }
.user-dropdown { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 32px rgba(20,40,90,.15); min-width: 160px; z-index: 100; overflow: hidden; }
.user-dropdown[hidden] { display: none; }
.user-dropdown a, .user-dropdown button { display: block; width: 100%; text-align: left; padding: 12px 16px; color: var(--navy); text-decoration: none; background: none; border: 0; font-size: 14px; cursor: pointer; }
.user-dropdown a:hover, .user-dropdown button:hover { background: #f0f4ff; }

/* Fix: constrain SVG icons in buttons */
.btn svg, button svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
#searchBtn {
  min-width: 120px;
  padding: 12px 24px;
}

/* (duplicate removed, using definition above) */


.tc-bus-icon { font-size: 32px; line-height: 1; }





.via-timeline { display: flex; align-items: center; justify-content: center; gap: 0; margin: 8px 0; }
.vt-dot { width: 8px; height: 8px; border-radius: 50%; background: #d4a017; flex-shrink: 0; }
.vt-line { width: 60px; height: 2px; background: #d4a017; }





.tc-book-btn { background: #16a34a; color: #fff; border: none; border-radius: 8px; padding: 10px 20px; font-weight: 700; font-size: 14px; cursor: pointer; }
.tc-book-btn:hover { background: #15803d; }
@media (max-width: 768px) {
  
  
  
}

/* Driver seat icon */
.seat.driver-seat {
  background: #f3f4f6;
  border: 2px dashed #9ca3af;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}
.driver-seat .steer { width: 42px; height: 42px; }
.driver-seat .steer svg { width: 24px; height: 24px; }

/* Wallet balance on payment method */
.pm-balance {
  margin-left: auto;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Trip card refinements */









/* ---------- Trip cards - Baloch style ---------- */
.trip-card.baloch-card {
  display: grid;
  grid-template-columns: 200px 1fr 180px 160px;
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 0;
  margin-bottom: 14px;
}
.tc-left, .tc-mid, .tc-right { padding: 4px 20px; border-right: 1px solid rgba(0,0,0,0.06); }
.tc-book { padding: 4px 20px; }
.tc-seats-left { margin-top: 6px; }
.tc-left { display: flex; gap: 14px; align-items: flex-start; }
.tc-busfig { width: 44px; height: 44px; color: #1f2937; flex-shrink: 0; }
.tc-busfig svg { width: 100%; height: 100%; }
.tc-time { font-size: 16px; font-weight: 700; color: #111; margin-bottom: 2px; }
.tc-date { font-size: 14px; color: #111; margin-bottom: 2px; }
.tc-city { font-size: 14px; color: #6b7280; }
.tc-mid { text-align: center; }
.tc-via { font-size: 14px; color: #6b7280; margin-bottom: 10px; }
.tc-timeline { display: flex; align-items: center; justify-content: center; margin: 10px 0; }
.tc-timeline .tdot { width: 10px; height: 10px; border-radius: 50%; background: #eab308; flex-shrink: 0; }
.tc-timeline .tline { width: 80px; height: 3px; background: #16a34a; }
.tc-class { font-size: 12px; font-weight: 700; color: #1f2937; letter-spacing: 0.3px; text-transform: uppercase; }
.tc-right .tc-time { font-size: 16px; font-weight: 700; color: #111; margin-bottom: 2px; }
.tc-right .tc-date { font-size: 14px; color: #111; margin-bottom: 2px; }
.tc-right .tc-city { font-size: 14px; color: #6b7280; }
.tc-book { text-align: right; }
.tc-offer, .tc-bookbtn { display: inline-block; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 3px; letter-spacing: 0.3px; line-height: 1.4; text-transform: uppercase; font-family: inherit; }
.tc-offer { background: #dc2626; color: #fff; margin-bottom: 4px; }
.tc-price { font-size: 19px; font-weight: 800; color: #111; margin-bottom: 1px; line-height: 1.2; }
.tc-was { font-size: 13px; color: #6b7280; text-decoration: line-through; margin-bottom: 6px; line-height: 1.2; }
.tc-biz { font-size: 12.5px; font-weight: 700; color: #B7791F; margin-bottom: 6px; line-height: 1.25; }
.biz-tag { color: #B7791F; font-size: 11px; font-weight: 700; white-space: nowrap; }
.tc-seats-left { font-size: 12px; color: #16a34a; font-weight: 600; line-height: 1.2; }
.tc-bookbtn { background: #16a34a; color: #fff; border: none; cursor: pointer; }
.tc-bookbtn:hover { background: #15803d; }

/* Trip card announcement marquee (under Seats Left, plain — no box) */
.tc-ann { display: flex; align-items: center; gap: 4px; margin-top: 3px; max-width: 108px; }
.tc-ann-ico { width: 12px; height: 12px; color: #b91c1c; flex-shrink: 0; display: inline-flex; }
.tc-ann-ico svg { width: 100%; height: 100%; }
.tc-ann-view { overflow: hidden; flex: 1; }
.tc-ann-text { display: inline-block; white-space: nowrap; font-size: 10px; font-weight: 600; color: #b91c1c; padding-left: 100%; animation: tcAnnScroll 10s linear infinite; }
@keyframes tcAnnScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* Coming Soon badge on unattached payment methods */
.soon-badge{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;background:#fef3c7;color:#92400e;font-size:11px;font-weight:700;white-space:nowrap}
