/* =========================================================================
   Sayyar Web App — passenger booking.
   Visual language taken from the Sayyar passenger app (Flutter): orange header
   band, navy actions, light grey canvas, white cards, Plus Jakarta Sans /
   IBM Plex Sans Arabic. Restrained on purpose: one shadow scale, no glows.
   ========================================================================= */
:root {
  /* action colour (app AppColors.primary) */
  --primary: #1B3B77;
  --primary-dark: #122B57;
  --primary-light: #2C5CAD;
  --primary-soft: rgba(27, 59, 119, .09);
  --primary-grad: #1B3B77;
  /* brand band (app AppColors.sayyarOrange → hero gradient end) */
  --brand: #CC2800;
  --brand-2: #D3401C;
  --brand-soft: rgba(204, 40, 0, .08);
  --price: #D35400;
  --transfer-bg: #FFF1E6;
  --transfer-ink: #8A3B00;
  /* titles */
  --navy: #1E2A3B;
  --navy-2: #1B3B77;
  --navy-3: #122B57;
  --ink: #1E2A3B;
  --city-bg: linear-gradient(180deg, #CC2800 0%, #D3401C 100%);

  --bg: #F5F6FA;
  --surface: #ffffff;
  --surface-2: #F5F6FA;
  --text: #2D3436;
  --text-2: #636E72;
  --text-3: #9AA6AD;
  --border: #E2E8F0;
  --border-2: #E2E8F0;

  --success: #00A383;
  --success-soft: rgba(0, 184, 148, .12);
  --error: #D63031;
  --error-soft: rgba(214, 48, 49, .09);
  --warning: #E8961E;
  --warning-soft: #FFF1E6;
  --info: #0984E3;
  --info-soft: rgba(9, 132, 227, .09);

  --r-sm: 12px;
  --r-field: 16px;
  --r-card: 20px;
  --r-sheet: 24px;
  --r-pill: 999px;

  --sh-card: 0 6px 18px rgba(18, 43, 87, .08);
  --sh-raised: 0 12px 32px rgba(18, 43, 87, .12), 0 2px 6px rgba(18, 43, 87, .06);
  --sh-btn: 0 8px 18px rgba(27, 59, 119, .26);
  --glow: none;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-en: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif;
  --nav-h: 72px;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-en);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: var(--font-ar); }
a { color: var(--primary); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.ltr { direction: ltr; unicode-bidi: embed; }
::selection { background: rgba(239, 77, 35, .2); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.topbar-inner { max-width: 1200px; margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 24px; padding: 0 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--brand); font-weight: 800; letter-spacing: .4px; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.brand span { font-size: 17px; }
.topnav { display: flex; gap: 4px; margin-inline-start: 8px; }
.topnav a {
  color: var(--text-2); padding: 8px 14px; border-radius: 12px;
  font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; transition: background .15s, color .15s; white-space: nowrap;
}
.topnav a:hover { color: var(--text); background: var(--surface-2); }
.topnav a.active { color: var(--primary); background: var(--primary-soft); font-weight: 700; }
.topbar-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.chip-btn {
  border: 1px solid var(--border); background: #fff; color: var(--text);
  border-radius: 12px; padding: 8px 14px; cursor: pointer; font-weight: 600; font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 7px; transition: background .15s, border-color .15s; white-space: nowrap;
}
.chip-btn:hover { background: var(--surface-2); }
.chip-btn.solid { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip-btn.solid:hover { background: var(--primary-dark); }
.chip-btn.round { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 12px; }
.icon-badge { position: relative; }
.icon-badge .dot {
  position: absolute; top: -5px; inset-inline-end: -5px; min-width: 18px; height: 18px; border-radius: 9px;
  background: var(--brand); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; padding: 0 5px;
  box-shadow: 0 0 0 2px #fff;
}
.user-chip { display: flex; align-items: center; gap: 9px; padding: 3px 12px 3px 3px; border-radius: 12px; background: #fff; border: 1px solid var(--border); color: var(--text); cursor: pointer; font-weight: 700; font-size: 13.5px; position: relative; }
html[dir="rtl"] .user-chip { padding: 3px 3px 3px 12px; }
.user-chip .av { width: 32px; height: 32px; border-radius: 9px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; overflow: hidden; }
.user-chip .av img { width: 100%; height: 100%; object-fit: cover; }
.menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; background: #fff; color: var(--text); border-radius: 16px; box-shadow: var(--sh-raised); border: 1px solid var(--border); min-width: 220px; padding: 6px; z-index: 80; animation: sheetIn .18s var(--ease); }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: 14px; border: 0; background: none; cursor: pointer; text-align: start; }
.menu a:hover, .menu button:hover { background: var(--surface-2); }
.menu .sep { height: 1px; background: var(--border); margin: 6px 4px; }
.menu .danger { color: var(--error); }

/* ---------- Notifications dropdown (Facebook-style) ---------- */
.nf-wrap { position: relative; }
@keyframes nfIn { from { transform: translateY(-8px); } }
.nf-panel {
  position: absolute; top: calc(100% + 12px); inset-inline-end: -8px; width: 380px; max-height: min(78vh, 640px);
  display: flex; flex-direction: column; background: #fff; color: var(--text); border-radius: 20px;
  box-shadow: 0 24px 60px rgba(9, 14, 28, .28), 0 0 0 1px rgba(22, 33, 62, .06); z-index: 90; animation: nfIn .2s var(--ease); overflow: hidden;
}
.nf-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 16px 6px; }
.nf-head h3 { font-size: 20px; font-weight: 800; color: var(--navy); }
.nf-mark { border: 0; background: none; color: var(--primary); font-weight: 700; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 10px; }
.nf-mark:hover { background: var(--primary-soft); }
.nf-tabs { display: flex; gap: 6px; padding: 4px 16px 8px; }
.nf-tabs button { border: 0; background: transparent; padding: 7px 14px; border-radius: var(--r-pill); font-weight: 700; font-size: 13px; color: var(--text-2); cursor: pointer; transition: .2s; }
.nf-tabs button:hover { background: var(--surface-2); }
.nf-tabs button.on { background: var(--primary-soft); color: var(--primary); }
.nf-list { overflow-y: auto; padding: 0 8px 8px; flex: 1; }
.nf-sec { font-size: 13px; font-weight: 800; color: var(--navy); padding: 10px 8px 6px; }
.nf-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 8px; border-radius: 14px; color: inherit; cursor: pointer; position: relative; transition: background .15s; }
.nf-item:hover { background: var(--surface-2); }
.nf-item.unread { background: rgba(239, 77, 35, .05); }
.nf-item.unread:hover { background: rgba(239, 77, 35, .09); }
.nf-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; flex: none; }
.nf-ic.orange { background: var(--primary-soft); } .nf-ic.red { background: var(--error-soft); } .nf-ic.navy { background: rgba(22, 33, 62, .08); }
.nf-ic.yellow { background: var(--warning-soft); } .nf-ic.blue { background: var(--info-soft); }
.nf-body { min-width: 0; flex: 1; display: block; padding-inline-end: 16px; }
.nf-body b { display: block; font-size: 14px; color: var(--navy); line-height: 1.35; font-weight: 700; }
.nf-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: var(--text-2); line-height: 1.4; margin-top: 2px; }
.nf-item.unread .nf-body b { font-weight: 800; }
.nf-time { display: block; font-size: 12px; font-weight: 700; color: var(--text-3); margin-top: 4px; }
.nf-item.unread .nf-time { color: var(--primary); }
.nf-dot { position: absolute; inset-inline-end: 10px; top: 50%; width: 11px; height: 11px; margin-top: -5px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px rgba(239, 77, 35, .15); }
.nf-empty { text-align: center; padding: 40px 20px; color: var(--text-2); display: grid; gap: 4px; }
.nf-empty div { font-size: 36px; }
.nf-empty b { color: var(--navy); }
.nf-more { padding: 10px 0 4px; }
.nf-more > * { margin: 0 auto; transform: scale(.7); }
.nf-panel::before { /* caret pointing at the bell */
  content: ''; position: absolute; top: -7px; inset-inline-end: 22px; width: 14px; height: 14px; background: #fff;
  transform: rotate(45deg); border-radius: 3px 0 0 0; box-shadow: -1px -1px 0 rgba(22, 33, 62, .06);
}
.nf-panel { overflow: visible; }
.nf-panel > .nf-list { border-radius: 0 0 20px 20px; }
@media (max-width: 640px) {
  .nf-panel { position: fixed; top: 64px; left: 8px; right: 8px; width: auto; max-height: calc(100vh - 160px); overflow: hidden; }
  .nf-panel::before { display: none; }
}

/* ---------- Bottom nav (mobile) — white bar with a pill on the active tab, like the app ---------- */
.bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .06);
  display: none; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  justify-content: space-around;
}
.bottomnav a {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 22px;
  color: var(--text); font-weight: 700; font-size: 13px; transition: background .25s, color .25s;
}
.bottomnav a span { display: none; }
.bottomnav a.active { background: rgba(27, 59, 119, .14); color: var(--primary); }
.bottomnav a.active span { display: inline; }
.bottomnav svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .topnav { display: none; }
  .bottomnav { display: flex; }
  body:not(.has-bottomnav) .bottomnav { display: none; }
  body.has-bottomnav .page { padding-bottom: calc(var(--nav-h) + 24px); }
  .topbar-inner { height: 58px; gap: 12px; }
  .hide-mobile { display: none !important; }
  .user-chip .nm { display: none; }
  .user-chip { padding: 3px !important; }
}

/* ---------- Page ---------- */
#app { min-height: calc(100vh - 64px); }
.page { animation: pageIn .3s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* ---------- Header band (the app's orange hero with a curved bottom edge) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
  border-radius: 0 0 50% 50% / 0 0 36px 36px;
  padding: 26px 0 100px;
  isolation: isolate;
}
.hero-bg { display: none; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 800; line-height: 1.2; letter-spacing: -.3px; }
html[lang="ar"] .hero h1 { letter-spacing: 0; }
.hero h1 em { font-style: normal; color: #fff; }
.hero p { color: rgba(255, 255, 255, .9); margin-top: 6px; font-weight: 500; font-size: 15px; max-width: 620px; }
/* the app's dotted road across the band */
.road { position: absolute; left: 0; right: 0; bottom: 70px; height: 40px; z-index: 1; overflow: hidden; background: none; pointer-events: none; }
.road::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .45) 0 2px, transparent 2px 16px); background-size: 16px 2px; animation: lane 2.4s linear infinite; }
/* the Sayyar bus driving along the dotted road (reverses in Arabic) */
.road .bus { position: absolute; top: 50%; left: 0; width: 84px; height: 30px; margin-top: -15px; animation: drive 18s linear infinite; }
.road .bus i { position: absolute; inset: 0; background: url('../img/bus-top.png') center / contain no-repeat; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .25)); }
html[dir="rtl"] .road .bus { animation-name: driveRtl; }
html[dir="rtl"] .road .bus i { transform: scaleX(-1); }
@keyframes drive { from { transform: translateX(-120px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes driveRtl { from { transform: translateX(calc(100vw + 40px)); } to { transform: translateX(-120px); } }
@media (prefers-reduced-motion: reduce) { .road .bus { animation: none; transform: translateX(24px); } }
html[dir="rtl"] .road::before { animation-direction: reverse; }
@keyframes lane { to { background-position: 16px 0; } }
.hero-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hero-btn {
  width: 44px; height: 44px; border-radius: 12px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; transition: background .15s;
}
.hero-btn:hover { background: rgba(255, 255, 255, .26); }
html[dir="rtl"] .flip { transform: scaleX(-1); }
.overlap { margin-top: -64px; position: relative; z-index: 5; }
.eyebrow { display: none; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-card);
  padding: 22px; border: 1px solid var(--border);
}
.card.raised { box-shadow: var(--sh-raised); border-color: transparent; }
.card + .card { margin-top: 16px; }
.grid > .card + .card, .grid > * + .card { margin-top: 0; }
.card-title { font-size: 16.5px; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 9px; }
.card-title svg { color: var(--primary); }
.card-sub { color: var(--text-2); font-size: 14px; }
.section-title { font-size: 19px; font-weight: 800; color: var(--navy); margin: 34px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.section-title a { font-size: 13.5px; font-weight: 700; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.muted { color: var(--text-2); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.bold { font-weight: 700; }
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.divider { height: 1px; background: var(--border); margin: 18px 0; }
.spacer { flex: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; border-radius: var(--r-field); padding: 14px 22px; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: transform .15s, box-shadow .25s, background .2s, opacity .2s, filter .2s; white-space: nowrap; position: relative;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--primary-grad); color: #fff; box-shadow: var(--sh-btn); }
.btn-primary:hover:not([disabled]) { filter: brightness(1.06); box-shadow: 0 14px 30px rgba(239, 77, 35, .45); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 22px rgba(22, 33, 62, .25); }
.btn-navy:hover:not([disabled]) { background: var(--navy-2); }
.btn-ghost { background: var(--surface-2); color: var(--navy); border: 1px solid var(--border-2); }
.btn-ghost:hover:not([disabled]) { background: #eef1f6; }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-danger { background: var(--error-soft); color: var(--error); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 24px; font-size: 16px; border-radius: 18px; }
.btn-sm { padding: 9px 14px; font-size: 13px; border-radius: var(--r-sm); }
.btn .spin { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn-ghost .spin, .btn-outline .spin, .btn-danger .spin { border-color: rgba(239, 77, 35, .3); border-top-color: var(--primary); }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { background: none; border: 0; color: var(--primary); font-weight: 700; cursor: pointer; padding: 4px; }

/* ---------- Forms ---------- */
.field { display: block; }
.field + .field { margin-top: 16px; }
.label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-2); margin-bottom: 7px; letter-spacing: .2px; }
.input, .select, .textarea {
  width: 100%; border: 1.5px solid var(--border-2); background: var(--surface-2);
  border-radius: var(--r-field); padding: 14px 16px; font-size: 15px; outline: none; transition: .2s; color: var(--navy); font-weight: 600;
}
.input::placeholder, .textarea::placeholder { color: var(--text-3); font-weight: 500; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-soft); }
.input.invalid, .input-group.invalid, .seg.invalid { border-color: var(--error) !important; }
.field-error { color: var(--error); font-size: 12.5px; margin-top: 6px; font-weight: 600; }
.input-group { display: flex; align-items: stretch; border: 1.5px solid var(--border-2); border-radius: var(--r-field); background: var(--surface-2); overflow: hidden; transition: .2s; }
.input-group:focus-within { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-soft); }
.input-group .addon { padding: 0 15px; display: flex; align-items: center; gap: 6px; font-weight: 800; color: var(--navy); background: rgba(22, 33, 62, .04); border-inline-end: 1px solid var(--border-2); direction: ltr; }
.input-group .input { border: 0; background: transparent; box-shadow: none !important; }
.seg {
  display: flex; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: var(--r-field); padding: 4px; gap: 4px;
}
.seg button {
  flex: 1; border: 0; background: transparent; padding: 11px 8px; border-radius: 12px; font-weight: 700; font-size: 13.5px;
  color: var(--text-2); cursor: pointer; transition: .25s var(--ease); display: flex; align-items: center; justify-content: center; gap: 7px;
}
.seg button:hover { color: var(--navy); }
.seg button.on { background: #fff; color: var(--primary); box-shadow: 0 2px 10px rgba(22, 33, 62, .1); }
.seg.dark { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .1); }
.seg.dark button { color: rgba(255, 255, 255, .75); }
.seg.dark button.on { background: var(--primary-grad); color: #fff; box-shadow: 0 6px 16px rgba(239, 77, 35, .35); }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; color: var(--text-2); }
.check input { width: 18px; height: 18px; accent-color: var(--primary); margin-top: 2px; flex: none; }

/* OTP boxes */
.otp { display: flex; gap: 12px; justify-content: center; direction: ltr; }
.otp input {
  width: 60px; height: 68px; text-align: center; font-size: 28px; font-weight: 800; color: var(--navy);
  border: 1.5px solid var(--border-2); border-radius: 18px; background: var(--surface-2); outline: none; transition: .2s;
}
.otp input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 5px var(--primary-soft); transform: translateY(-2px); }
.otp input:not(:placeholder-shown), .otp input.filled { border-color: var(--primary); background: #fff; }
@media (max-width: 400px) { .otp input { width: 52px; height: 60px; } .otp { gap: 9px; } }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 1.1fr 1fr; background: var(--bg); }
.auth-side {
  background: var(--city-bg); color: #fff; position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: center; padding: 60px 50px 110px; gap: 40px;
}
.auth-side .copy { max-width: 400px; position: relative; z-index: 2; }
.auth-side h2 { font-size: 42px; line-height: 1.12; font-weight: 800; letter-spacing: -.6px; }
.auth-side h2 em { font-style: normal; background: linear-gradient(90deg, #ff8a66, #EF4D23); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-side p { color: rgba(255, 255, 255, .7); margin-top: 16px; font-size: 15.5px; }
.auth-side .ticks { margin-top: 26px; display: grid; gap: 12px; }
.auth-side .ticks div { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 14.5px; color: rgba(255,255,255,.9); }
.auth-side .ticks i { width: 28px; height: 28px; border-radius: 9px; background: rgba(239, 77, 35, .18); color: #ff8a66; display: grid; place-items: center; font-style: normal; font-size: 14px; flex: none; }
.phone-mock { position: relative; width: 230px; flex: none; z-index: 2; animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-12px); } }
.phone-mock .frame { border-radius: 36px; padding: 9px; background: linear-gradient(145deg, #2a3350, #0b1122); box-shadow: 0 40px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255,255,255,.08), var(--glow); }
.phone-mock .frame img { border-radius: 28px; width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; background: #fff; }
.float-card { position: absolute; background: rgba(255, 255, 255, .95); color: var(--navy); border-radius: 16px; padding: 10px 14px; box-shadow: 0 18px 40px rgba(0,0,0,.35); display: flex; gap: 10px; align-items: center; font-size: 12.5px; font-weight: 700; white-space: nowrap; animation: floatY 5s ease-in-out infinite; }
.float-card small { display: block; font-weight: 600; color: var(--text-2); font-size: 11px; }
.float-card .fi { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; }
.float-card.f1 { top: 18%; inset-inline-start: -70px; }
.float-card.f2 { bottom: 16%; inset-inline-end: -64px; animation-delay: -2.5s; }
.auth-main { display: flex; flex-direction: column; justify-content: center; }
.auth-main .hero { display: none; }
.auth-card { width: 100%; max-width: 470px; margin: auto; padding: 40px 24px; }
.auth-card .logo-badge { width: 56px; height: 56px; border-radius: 16px; background: var(--city-bg); display: grid; place-items: center; box-shadow: var(--glow); margin-bottom: 22px; }
.auth-card .logo-badge img { width: 34px; height: 34px; }
.auth-card h1 { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -.4px; }
.auth-card .sub { color: var(--text-2); margin: 8px 0 26px; }
.auth-card > .card { padding: 26px; }
@media (max-width: 1100px) { .phone-mock { display: none; } }
@media (max-width: 960px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { justify-content: flex-start; }
  .auth-main .hero { display: block; padding-bottom: 104px; }
  .auth-card { margin: -72px auto 30px; padding: 0 16px; max-width: 520px; position: relative; z-index: 5; }
  .auth-card > .card { box-shadow: var(--sh-raised); border-color: transparent; }
  .auth-card h1, .auth-card > .sub, .auth-card .logo-badge { display: none; }
}

/* ---------- Search card ---------- */
.search-card { padding: 0; overflow: hidden; }
.search-tabs { display: flex; gap: 4px; padding: 8px 8px 0; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.search-tabs button { border: 0; background: transparent; padding: 14px 20px 13px; font-weight: 700; color: var(--text-2); cursor: pointer; border-radius: 14px 14px 0 0; display: flex; align-items: center; gap: 8px; font-size: 14px; position: relative; transition: .2s; }
.search-tabs button.on { background: #fff; color: var(--primary); box-shadow: 0 -4px 14px rgba(22,33,62,.05); }
.search-tabs button.on::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary); }
.search-body { padding: 22px; }
.loc-stack { position: relative; border: 1.5px solid var(--border-2); border-radius: var(--r-card); background: var(--surface-2); }
.loc-row { display: flex; align-items: center; gap: 14px; padding: 15px 18px; cursor: pointer; min-height: 70px; transition: background .2s; padding-inline-end: 64px; }
.loc-row:hover { background: #fff; }
.loc-row:first-child { border-radius: var(--r-card) var(--r-card) 0 0; }
.loc-row:last-child { border-radius: 0 0 var(--r-card) var(--r-card); }
.loc-row + .loc-row { border-top: 1px dashed var(--border-2); }
.loc-dot { width: 34px; height: 34px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--success-soft); color: var(--success); }
.loc-dot.end { background: var(--primary-soft); color: var(--primary); }
.loc-row .lbl { font-size: 11.5px; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
html[lang="ar"] .loc-row .lbl { text-transform: none; letter-spacing: 0; }
.loc-row .val { font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.loc-row .val.ph { color: var(--text-3); font-weight: 600; }
.loc-row > div { min-width: 0; flex: 1; }
.swap-btn {
  position: absolute; inset-inline-end: 16px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 14px; border: 0; background: var(--navy); cursor: pointer;
  display: grid; place-items: center; color: #fff; box-shadow: 0 8px 18px rgba(22, 33, 62, .3); transition: transform .35s var(--ease);
}
.swap-btn:hover { transform: translateY(-50%) rotate(180deg); }
.pick-tile {
  display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1.5px solid var(--border-2); border-radius: var(--r-field);
  background: var(--surface-2); cursor: pointer; transition: .2s; text-align: start; width: 100%; min-height: 66px;
}
.pick-tile:hover { border-color: var(--primary); background: #fff; }
.pick-tile .ic:not(svg) { width: 38px; height: 38px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.pick-tile .lbl { font-size: 11.5px; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
html[lang="ar"] .pick-tile .lbl { text-transform: none; letter-spacing: 0; }
.pick-tile .val { font-weight: 700; color: var(--navy); font-size: 14.5px; }
.pick-tile > div { min-width: 0; }
.quick-places { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
.quick-places .qp { border: 1px dashed var(--border-2); background: #fff; border-radius: var(--r-pill); padding: 6px 12px; font-size: 12.5px; font-weight: 700; color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: .2s; }
.quick-places .qp:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Home dashboard ---------- */
.next-trip { position: relative; overflow: hidden; background: var(--city-bg); color: #fff; border: 0; }
.next-trip::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; inset-inline-end: -80px; top: -120px; background: radial-gradient(circle, rgba(239,77,35,.45), transparent 65%); }
.next-trip > * { position: relative; z-index: 1; }
.next-trip .timeline .t { color: #fff; }
.next-trip .timeline .p { color: rgba(255,255,255,.65); }
.next-trip .timeline .line { background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 6px, transparent 6px 11px); }
.next-trip .timeline .line::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6v6'/%3E%3Cpath d='M15 6v6'/%3E%3Cpath d='M2 12h19.6'/%3E%3Cpath d='M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Cpath d='M9 18h5'/%3E%3Ccircle cx='16' cy='18' r='2'/%3E%3C/svg%3E") center/15px no-repeat, var(--primary-grad); border-color: rgba(255,255,255,.22); box-shadow: 0 6px 16px rgba(239, 77, 35, .45); }
.countdown { display: inline-flex; gap: 6px; align-items: baseline; font-weight: 800; }
.countdown b { font-size: 26px; color: #ff8a66; }
.qa { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--border); box-shadow: var(--sh-card); color: var(--navy); transition: .25s var(--ease); min-height: 132px; }
.qa:hover { transform: translateY(-3px); box-shadow: var(--sh-raised); }
.qa .ic:not(svg) { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--primary-grad); box-shadow: 0 8px 18px rgba(239,77,35,.3); }
.qa .ic.navy:not(svg) { background: var(--city-bg); box-shadow: 0 8px 18px rgba(22,33,62,.3); }
.qa b { font-size: 15px; }
.qa span { font-size: 12.5px; color: var(--text-2); }

/* ---------- Chips / badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--text-2); white-space: nowrap; border: 1px solid var(--border); }
.badge.orange { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.badge.green { background: var(--success-soft); color: var(--success); border-color: transparent; }
.badge.red { background: var(--error-soft); color: var(--error); border-color: transparent; }
.badge.blue { background: var(--info-soft); color: var(--info); border-color: transparent; }
.badge.yellow { background: var(--warning-soft); color: #a0650a; border-color: transparent; }
.badge.navy { background: rgba(22, 33, 62, .07); color: var(--navy); border-color: transparent; }
.badge.glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.14); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--border-2); background: #fff; border-radius: var(--r-pill); padding: 8px 15px; font-weight: 700; font-size: 13.5px;
  cursor: pointer; transition: .2s; color: var(--text);
}
.chip:hover { border-color: var(--primary); }
.chip.on { background: var(--primary-grad); border-color: transparent; color: #fff; box-shadow: 0 6px 14px rgba(239,77,35,.3); }
.chip[disabled] { opacity: .4; cursor: not-allowed; }

/* ---------- Trip / result cards (ticket style) ---------- */
.trip-card { padding: 0; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; display: flex; flex-direction: column; }
.trip-card > .tc-body { padding: 20px; flex: 1; }
.trip-card > .tc-foot { position: relative; padding: 16px 20px; border-top: 2px dashed var(--border-2); background: var(--surface-2); display: flex; align-items: center; gap: 12px; }
.trip-card > .tc-foot::before, .trip-card > .tc-foot::after { content: ''; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); }
.trip-card > .tc-foot::before { left: -11px; box-shadow: inset -2px 0 3px rgba(22,33,62,.05); } .trip-card > .tc-foot::after { right: -11px; box-shadow: inset 2px 0 3px rgba(22,33,62,.05); }
.trip-card.clickable { cursor: pointer; }
.trip-card.clickable:hover { transform: translateY(-3px); box-shadow: var(--sh-raised); }
.trip-card.selected { outline: 2.5px solid var(--primary); outline-offset: -1px; }
.company { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo { width: 48px; height: 48px; border-radius: 15px; background: var(--city-bg); color: #fff; display: grid; place-items: center; font-weight: 800; overflow: hidden; flex: none; font-size: 19px; box-shadow: 0 6px 14px rgba(22,33,62,.2); }
.logo img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.company .name { font-weight: 800; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { font-weight: 800; color: var(--primary); font-size: 22px; white-space: nowrap; letter-spacing: -.3px; }
.price small { font-size: 11.5px; font-weight: 700; color: var(--text-2); letter-spacing: 0; }
.timeline { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.timeline .t { font-weight: 800; font-size: 20px; color: var(--navy); direction: ltr; letter-spacing: -.3px; }
.timeline .p { font-size: 12.5px; color: var(--text-2); font-weight: 600; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline .line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--border-2) 0 6px, transparent 6px 11px); position: relative; min-width: 40px; }
.timeline .line::before, .timeline .line i { content: ''; position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translateY(-50%); }
.timeline .line::before { inset-inline-start: -2px; background: var(--success); }
.timeline .line::after { content: ''; position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EF4D23' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6v6'/%3E%3Cpath d='M15 6v6'/%3E%3Cpath d='M2 12h19.6'/%3E%3Cpath d='M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Cpath d='M9 18h5'/%3E%3Ccircle cx='16' cy='18' r='2'/%3E%3C/svg%3E") center/15px no-repeat; border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(22, 33, 62, .1); }
html[dir="rtl"] .timeline .line::after { transform: translate(-50%, -50%) scaleX(-1); }
.timeline .end { text-align: end; }
.meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .count { color: #fff; font-weight: 700; font-size: 14px; }
.toolbar .spacer { flex: 1; }
.toolbar select { width: auto; padding: 10px 14px; font-size: 13.5px; background: #fff; }

/* stops list */
.stops { position: relative; padding-inline-start: 26px; }
.stops::before { content: ''; position: absolute; inset-inline-start: 8px; top: 12px; bottom: 12px; width: 2px; background: repeating-linear-gradient(180deg, var(--border-2) 0 5px, transparent 5px 9px); }
.stop { position: relative; padding: 9px 0; }
.stop::before { content: ''; position: absolute; inset-inline-start: -23px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--text-3); }
.stop.pickup::before { border-color: var(--success); }
.stop.dropoff::before { border-color: var(--primary); }
.stop.done::before { background: var(--success); border-color: var(--success); }
.stop .n { font-weight: 700; color: var(--navy); font-size: 14.5px; }
.stop .s { font-size: 12.5px; color: var(--text-2); }

/* ---------- No exact match → closest alternatives ---------- */
.alt-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; border-inline-start: 4px solid var(--primary); }
.alt-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 24px; flex: none; }
.alt-copy { flex: 1; min-width: 220px; }
.alt-copy h3 { font-size: 17px; font-weight: 800; color: var(--navy); }
.alt-copy p { color: var(--text-2); font-size: 14px; margin-top: 3px; }
.ring-sm { width: 24px; height: 24px; border: 3px solid var(--primary-soft); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
.alt-notes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding: 10px; border-radius: 14px; background: var(--surface-2); border: 1px dashed var(--border-2); }
.trip-card { position: relative; }
.trip-card.best { box-shadow: 0 0 0 2px var(--primary), var(--sh-raised); }
.ribbon { display: inline-flex; align-items: center; gap: 5px; position: absolute; top: 14px; inset-inline-end: -1px; z-index: 2; background: var(--primary-grad); color: #fff; font-size: 11.5px; font-weight: 800; padding: 5px 12px; border-radius: 10px 0 0 10px; box-shadow: 0 6px 14px rgba(239, 77, 35, .35); }
html[dir="rtl"] .ribbon { border-radius: 0 10px 10px 0; }
.trip-card.best .tc-body > .row:first-child { padding-inline-end: 96px; }
.trip-card.best .tc-body > .row:first-child > .badge { display: none; }
.alt-days .chip { background: #fff; }
.alt-sort { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.alt-sort > span { font-weight: 700; color: var(--text-2); font-size: 13.5px; }
.alt-sort .seg { background: #fff; box-shadow: var(--sh-card); }
.alt-sort .seg button { white-space: nowrap; padding-inline: 16px; }

/* Addresses / coordinates keep their own order in both languages (lat, lng stays lat-first in Arabic). */
.loc-row .val, .pick-tile .val, .timeline .p, .list-item .t, .list-item .s, .stop .n, .kv .v { unicode-bidi: plaintext; }
/* …but keep each block aligned with the page, not with its text. */
html[dir="rtl"] :is(.loc-row .val, .pick-tile .val, .list-item .t, .list-item .s, .stop .n, .kv .v, .timeline > div:first-child .p) { text-align: right; }
html[dir="ltr"] :is(.loc-row .val, .pick-tile .val, .list-item .t, .list-item .s, .stop .n, .kv .v, .timeline > div:first-child .p) { text-align: left; }
html[dir="rtl"] .timeline .end .p { text-align: left; }
html[dir="ltr"] .timeline .end .p { text-align: right; }

/* ---------- Connected journeys ---------- */
.transfer { display: block; padding: 9px 12px; border-radius: 12px; background: var(--warning-soft); color: #7a4d06; font-size: 12.5px; line-height: 1.5; }
.transfer b { color: #7a4d06; }
.bus-marker { position: relative; }
.bus-marker .bus-n { position: absolute; top: -6px; inset-inline-end: -8px; min-width: 16px; height: 16px; border-radius: 8px; color: #fff; font: 800 10px/16px var(--font-en); text-align: center; box-shadow: 0 0 0 2px #fff; }
.hub-marker { width: 28px; height: 28px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 15px; box-shadow: 0 0 0 3px var(--warning), 0 4px 10px rgba(0,0,0,.25); }
.leg-stepper .leg-step { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; margin-top: 10px; border: 1.5px solid var(--border); opacity: .7; }
.leg-stepper .leg-step.on { opacity: 1; border-color: var(--primary); background: var(--primary-soft); }
.leg-stepper .leg-step.done { opacity: .55; }
.leg-stepper .leg-step > div { flex: 1; min-width: 0; }
.leg-dot { width: 30px; height: 30px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.leg-hub { margin: 8px 0 0; padding-inline-start: 26px; border-inline-start: 2px dashed var(--border-2); margin-inline-start: 26px; font-size: 12.5px; font-weight: 700; color: #7a4d06; padding-block: 6px; }
.resch-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 640px) { .resch-form { grid-template-columns: 1fr 1fr; } .resch-form .btn { grid-column: 1 / -1; } }

/* ---------- Lists ---------- */
.list-item { display: flex; align-items: center; gap: 14px; padding: 14px 6px; border-bottom: 1px solid var(--border); cursor: pointer; color: inherit; transition: background .2s; border-radius: 12px; }
.list-item:hover { background: var(--surface-2); }
.list-item:last-child { border-bottom: 0; }
.list-item .ic:not(svg) { width: 44px; height: 44px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.list-item .ic.navy:not(svg) { background: rgba(22, 33, 62, .07); color: var(--navy); }
.list-item .ic.red:not(svg) { background: var(--error-soft); color: var(--error); }
.list-item .t { font-weight: 700; color: var(--navy); }
.list-item .s { font-size: 13px; color: var(--text-2); }
.list-item > div { min-width: 0; flex: 1; }
.list-item .chev { color: var(--text-3); }
html[dir="rtl"] .chev { transform: scaleX(-1); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; background: #fff; border-radius: var(--r-pill); box-shadow: var(--sh-card); width: fit-content; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: transparent; border-radius: var(--r-pill); padding: 10px 18px; font-weight: 700; color: var(--text-2); cursor: pointer; white-space: nowrap; transition: .25s var(--ease); font-size: 13.5px; }
.tab:hover { color: var(--navy); }
.tab.on { background: var(--navy); color: #fff; }
.tab .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 11px; margin-inline-start: 6px; padding: 0 5px; }

/* ---------- Empty / loading ---------- */
.empty { text-align: center; padding: 50px 20px; color: var(--text-2); }
.empty .big { width: 92px; height: 92px; border-radius: 28px; display: grid; place-items: center; margin: 0 auto 16px; font-size: 44px; background: var(--surface-2); border: 1px solid var(--border); color: var(--navy); }
.empty .big .ic { width: 42px; height: 42px; color: var(--primary); }
.empty h3 { color: var(--navy); font-size: 18px; margin-bottom: 6px; }
.err-state .big { background: var(--error-soft); border-color: transparent; color: var(--error); }
.err-state p { max-width: 420px; margin: 0 auto; line-height: 1.6; }
.err-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.err-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.err-ref { margin-top: 16px; font-size: 12px; color: var(--text-3); }
.err-tech { margin: 12px auto 0; max-width: 460px; font-size: 12px; color: var(--text-3); text-align: start; }
.err-tech summary { cursor: pointer; text-align: center; }
.err-tech code { display: block; margin-top: 6px; padding: 8px 10px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); white-space: pre-wrap; word-break: break-word; }
.skeleton { background: linear-gradient(90deg, #eceff5 25%, #f6f7fa 50%, #eceff5 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--r-card); }
@keyframes shimmer { to { background-position: -200% 0; } }
.loader { display: grid; place-items: center; padding: 60px; }
.loader .ring { width: 44px; height: 44px; border: 4px solid var(--primary-soft); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }

/* ---------- Sheet / modal ---------- */
.overlay { position: fixed; inset: 0; background: rgba(9, 14, 28, .55); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeIn .2s; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes fadeIn { from { opacity: 0; } }
.sheet {
  background: #fff; border-radius: var(--r-sheet); width: 100%; max-width: 560px; max-height: 88vh; display: flex; flex-direction: column;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .3); animation: sheetIn .35s var(--ease);
}
.sheet.wide { max-width: 880px; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sheet-head { display: flex; align-items: center; gap: 12px; padding: 20px 22px 12px; }
.sheet-head h3 { font-size: 19px; font-weight: 800; color: var(--navy); flex: 1; }
.sheet-body { padding: 4px 22px 22px; overflow-y: auto; }
.sheet-foot { padding: 14px 22px 22px; border-top: 1px solid var(--border); display: flex; gap: 10px; }
.close-x { width: 38px; height: 38px; border-radius: 12px; border: 0; background: var(--surface-2); cursor: pointer; display: grid; place-items: center; color: var(--text-2); flex: none; }
.close-x:hover { background: var(--border); }
@media (max-width: 640px) {
  .overlay { align-items: flex-end; padding: 0; }
  .sheet { border-radius: var(--r-sheet) var(--r-sheet) 0 0; max-height: 92vh; }
  .sheet::before { content: ''; width: 40px; height: 4px; border-radius: 2px; background: var(--border-2); margin: 10px auto 0; }
}

/* ---------- Toast ---------- */
.toasts { position: fixed; top: 82px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--ink); color: #fff; border-radius: 16px; padding: 14px 16px; font-weight: 600; font-size: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.25); animation: sheetIn .3s var(--ease); display: flex; gap: 10px; align-items: center; pointer-events: auto; border: 1px solid rgba(255,255,255,.08); }
.toast.error { background: #b52525; }
.toast.success { background: #04876d; }

/* ---------- Map ---------- */
.map { width: 100%; height: 360px; border-radius: 18px; overflow: hidden; background: #e9eef3; z-index: 1; }
.map.tall { height: min(64vh, 580px); }
.map.picker { height: 310px; }
.leaflet-container { font: inherit; }
.leaflet-bar { border: 0 !important; box-shadow: var(--sh-card) !important; border-radius: 12px !important; overflow: hidden; }
.bus-marker { position: relative; width: 40px; height: 40px; display: grid; place-items: center; }
.bus-marker .bm-core { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-grad); color: #fff; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(239, 77, 35, .5), 0 2px 4px rgba(0, 0, 0, .2); }
.bus-marker .bm-core .ic { width: 17px; height: 17px; }
.bus-marker .bm-pulse { position: absolute; inset: 3px; border-radius: 50%; background: rgba(239, 77, 35, .35); animation: bm-pulse 1.8s ease-out infinite; }
@keyframes bm-pulse { from { transform: scale(.9); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: blink 1.4s infinite; flex: none; }
.stop-marker { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--navy); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.stop-marker.pickup { border-color: var(--success); }
.stop-marker.dropoff { border-color: var(--primary); }
.stop-marker.me { border-color: var(--info); }
.pin-marker { position: relative; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--primary-grad); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(239, 77, 35, .45); }
.pin-marker::after { content: ''; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%; background: #fff; }

/* ---------- Profile ---------- */
.avatar { width: 78px; height: 78px; border-radius: 24px; background: var(--primary-grad); border: 3px solid rgba(255, 255, 255, .25); display: grid; place-items: center; font-size: 28px; font-weight: 800; overflow: hidden; color: #fff; flex: none; box-shadow: var(--glow); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Key/value ---------- */
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kv .k { font-size: 11.5px; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
html[lang="ar"] .kv .k { text-transform: none; letter-spacing: 0; }
.kv .v { font-weight: 700; color: var(--navy); word-break: break-word; }

/* ---------- Calendar ---------- */
.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head b { color: var(--navy); font-size: 16px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.cal-grid .dow { font-size: 12px; color: var(--text-3); font-weight: 800; padding: 6px 0; }
.cal-grid button { aspect-ratio: 1; border: 0; background: transparent; border-radius: 14px; font-weight: 700; cursor: pointer; color: var(--navy); transition: .15s; }
.cal-grid button:hover:not([disabled]) { background: var(--primary-soft); }
.cal-grid button.on { background: var(--primary-grad); color: #fff; box-shadow: 0 6px 14px rgba(239,77,35,.3); }
.cal-grid button.today { box-shadow: inset 0 0 0 1.5px var(--primary); }
/* week picker: a day inside the chosen week that the passenger removed */
.cal-grid button.off-in { background: var(--primary-soft); color: var(--text-3); text-decoration: line-through; }
.cal-grid button[disabled] { color: var(--text-3); opacity: .45; cursor: not-allowed; }

/* ---------- Steps ---------- */
.steps { display: flex; gap: 6px; margin-top: 18px; max-width: 220px; }
.steps i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); }
.steps i.on { background: var(--primary); box-shadow: 0 0 8px var(--primary); }

/* ---------- Result status pages ---------- */
.result-ic { width: 100px; height: 100px; border-radius: 32px; display: grid; place-items: center; margin: 0 auto 20px; font-size: 46px; font-weight: 800; animation: pop .5s var(--ease); }
.result-ic.ok { background: var(--success-soft); color: var(--success); }
.result-ic.bad { background: var(--error-soft); color: var(--error); }
.result-ic .ic { width: 50px; height: 50px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- Footer ---------- */
.app-foot { text-align: center; color: var(--text-3); font-size: 12.5px; padding: 30px 20px 40px; }
.app-foot a { color: var(--text-2); margin: 0 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================================
   App design layer — components restyled to match the Sayyar passenger app.
   (Kept last so it settles the look regardless of earlier rules.)
   ========================================================================= */

/* typography & base */
body { letter-spacing: 0; }
::selection { background: rgba(27, 59, 119, .16); }
a { color: var(--primary); }
.section-title { font-size: 16px; font-weight: 800; color: var(--text); margin: 28px 0 12px; }
.card-title { font-size: 16px; font-weight: 800; color: var(--text); }
.card-title svg { color: var(--primary); }
.label, .loc-row .lbl, .pick-tile .lbl, .kv .k { font-size: 11.5px; font-weight: 700; color: var(--text-2); text-transform: none; letter-spacing: 0; }

/* cards: one shadow, no outline */
.card { border: 0; border-radius: var(--r-card); box-shadow: var(--sh-card); }
.card.raised { box-shadow: var(--sh-raised); }

/* buttons: navy, solid, calm hover */
.btn { border-radius: var(--r-field); font-weight: 700; transition: background .15s, box-shadow .15s, opacity .15s; }
.btn:active { transform: none; opacity: .92; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--sh-btn); }
.btn-primary:hover:not([disabled]) { background: var(--primary-dark); filter: none; transform: none; box-shadow: var(--sh-btn); }
.btn-lg { height: 56px; padding: 0 24px; font-size: 17px; border-radius: 18px; }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover:not([disabled]) { background: var(--surface-2); }
.btn-outline { color: var(--primary); border: 1.5px solid var(--primary); background: #fff; }
.btn-sm { border-radius: 12px; }
.link-btn { color: var(--primary); }

/* fields */
.input, .select, .textarea, .input-group { background: #fff; border: 1px solid var(--border); border-radius: var(--r-field); }
.input:focus, .select:focus, .textarea:focus, .input-group:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); background: #fff; }
.input-group .addon { background: var(--surface-2); border-inline-end: 1px solid var(--border); }

/* segmented control (track + white pill), as home_segmented_control.dart */
.seg { background: var(--bg); border: 0; border-radius: 14px; padding: 4px; }
.seg button { border-radius: 11px; color: var(--text-2); font-weight: 600; }
.seg button.on { background: #fff; color: var(--primary); font-weight: 700; box-shadow: 0 2px 8px rgba(18, 43, 87, .14); }
.seg.dark { background: rgba(255, 255, 255, .16); }
.seg.dark button { color: #fff; }
.seg.dark button.on { background: #fff; color: var(--primary); box-shadow: 0 4px 16px rgba(0, 0, 0, .14); }

/* chips & badges */
.chip { border: 1px solid var(--border); border-radius: 12px; font-weight: 600; }
.chip:hover { border-color: var(--primary); }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: none; }
.badge { background: var(--bg); color: var(--text-2); border: 0; border-radius: 8px; font-weight: 700; }
.badge.orange { background: var(--brand-soft); color: var(--brand); }
.badge.yellow { background: var(--transfer-bg); color: var(--transfer-ink); }
.badge.navy { background: var(--primary-soft); color: var(--primary); }
.badge.glass { background: rgba(255, 255, 255, .18); color: #fff; border: 0; }

/* ---------- Home search card (app home screen) ---------- */
.search-card { border-radius: 22px; }
.search-tabs { margin: 16px 16px 0; padding: 4px; gap: 4px; background: var(--bg); border: 0; border-radius: 14px; }
.search-tabs button { flex: 1; justify-content: center; padding: 11px 14px; border-radius: 11px; color: var(--text-2); font-weight: 600; font-size: 14px; }
.search-tabs button.on { background: #fff; color: var(--primary); font-weight: 700; box-shadow: 0 2px 8px rgba(18, 43, 87, .14); }
.search-tabs button.on::after { display: none; }
.search-body { padding: 16px; }
/* From / To block: grey field, ring + square markers, round white swap button */
.loc-stack { background: var(--bg); border: 0; border-radius: 18px; }
.loc-row { min-height: 68px; padding: 12px 16px; padding-inline-end: 66px; }
.loc-row:hover { background: rgba(255, 255, 255, .55); }
.loc-row + .loc-row { border-top: 1px solid var(--border); margin: 0 12px; padding-inline: 4px; padding-inline-end: 54px; }
.loc-dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); flex: none; margin-inline: 2px 4px; }
.loc-dot.end { background: var(--brand); border-color: var(--brand); border-radius: 3px; }
.loc-dot svg, .loc-dot .ic { display: none; }
.loc-row .val { font-size: 15px; font-weight: 700; color: var(--text); }
.loc-row .val.ph { color: var(--text-2); font-weight: 500; }
.swap-btn { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--primary); border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(18, 43, 87, .10); }
.swap-btn:hover { transform: translateY(-50%) rotate(180deg); }
.pick-tile { background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.pick-tile:hover { border-color: var(--primary); background: #fff; }
.pick-tile .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.pick-tile .val { color: var(--text); }
.quick-places .qp { border: 1px solid var(--border); border-radius: 10px; color: var(--text); }
.quick-places .qp:hover { border-color: var(--primary); color: var(--primary); }

/* next trip: navy card, no glow */
.next-trip { background: var(--primary); }
.next-trip::after { display: none; }
.next-trip .timeline .t, .next-trip .timeline .end .t { color: #fff; }
.next-trip .timeline .p { color: rgba(255, 255, 255, .72); }
.next-trip .timeline .line { border-top-color: rgba(255, 255, 255, .35); }
.countdown b { color: #fff; }

/* quick actions */
.qa { border: 0; box-shadow: var(--sh-card); }
.qa:hover { transform: translateY(-2px); box-shadow: var(--sh-raised); }
.qa .ic:not(svg), .qa .ic.navy:not(svg) { background: var(--primary-soft); color: var(--primary); box-shadow: none; }

/* ---------- Results (results_ui.dart) ---------- */
.trip-card { border-radius: 22px; box-shadow: 0 8px 24px rgba(18, 43, 87, .09), 0 1px 3px rgba(18, 43, 87, .05); }
.trip-card.clickable:hover { transform: none; box-shadow: 0 12px 30px rgba(18, 43, 87, .13), 0 1px 3px rgba(18, 43, 87, .05); }
.trip-card > .tc-body { padding: 18px 18px 16px; }
.trip-card > .tc-foot { background: var(--bg); border-top: 0; padding: 14px 18px; }
.trip-card > .tc-foot::before, .trip-card > .tc-foot::after { display: none; }
.trip-card.best { box-shadow: 0 0 0 2px var(--primary), 0 8px 24px rgba(18, 43, 87, .09); }
.ribbon { background: var(--primary); box-shadow: none; border-radius: 8px 0 0 8px; font-weight: 700; }
html[dir="rtl"] .ribbon { border-radius: 0 8px 8px 0; }
.logo { background: var(--primary-soft); color: var(--primary); box-shadow: none; border-radius: 14px; }
.company .name { color: var(--text); }
.price { color: var(--price); font-size: 22px; letter-spacing: 0; }
.price small { color: var(--text-2); font-weight: 600; }
.timeline .t { color: var(--text); font-size: 17px; font-weight: 800; letter-spacing: 0; }
.timeline .end .t { color: var(--text); }
.timeline .line { height: 0; background: none; border-top: 2px dashed #C7C7C7; }
.timeline .line::before { background: var(--primary); width: 8px; height: 8px; top: -1px; }
.timeline .line::after {
  content: ''; width: 26px; height: 26px; padding: 0; top: -1px; border-radius: 50%; background: #fff center / 15px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B3B77' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6v6M15 6v6M2 12h19.6M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Cpath d='M9 18h5'/%3E%3Ccircle cx='16' cy='18' r='2'/%3E%3C/svg%3E");
  border: 1px solid var(--border); transform: translate(-50%, -50%);
}
html[dir="rtl"] .timeline .line::after { transform: translate(-50%, -50%) scaleX(-1); }
.transfer { background: var(--transfer-bg); color: var(--transfer-ink); border-radius: 12px; }
.transfer b { color: var(--transfer-ink); }
.toolbar .count { color: #fff; font-weight: 700; }
.alt-head { border-inline-start: 0; }
.alt-ic { background: var(--brand-soft); }
.alt-notes { background: var(--bg); border: 0; }

/* ---------- Auth (login / signup / OTP) — orange panel like the app's AuthHero ---------- */
.auth-side { background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%); }
.auth-side .hero-bg { display: none; }
.auth-side .road { bottom: 40px; }
.auth-side h2 em { background: none; -webkit-background-clip: initial; background-clip: initial; color: #fff; }
.auth-side p { color: rgba(255, 255, 255, .9); }
.auth-side .ticks i { background: rgba(255, 255, 255, .18); color: #fff; }
.phone-mock .frame { background: #1E2A3B; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.float-card { box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }
.auth-card .logo-badge { background: #fff; box-shadow: var(--sh-card); border-radius: 14px; }
.auth-card h1 { color: var(--text); }
.otp input { background: #fff; border: 1px solid var(--border); border-radius: 14px; color: var(--text); }
.otp input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); transform: none; }
.otp input:not(:placeholder-shown), .otp input.filled { border-color: var(--primary); }
.steps i.on { background: #fff; box-shadow: none; }

/* misc */
.avatar { background: rgba(255, 255, 255, .2); box-shadow: none; border-radius: 22px; }
.tab.on { background: var(--primary); }
.tabs { box-shadow: var(--sh-card); }
.cal-grid button.on { background: var(--primary); box-shadow: none; }
.cal-grid button.today { box-shadow: inset 0 0 0 1.5px var(--primary); }
.empty .big { background: var(--primary-soft); border: 0; color: var(--primary); }
.toast { background: #2D3436; border: 0; }
.leg-stepper .leg-step.on { border-color: var(--primary); background: var(--primary-soft); }
.pin-marker { background: var(--brand); box-shadow: 0 4px 10px rgba(204, 40, 0, .35); }
.nf-item.unread { background: var(--primary-soft); }
.nf-item.unread .nf-time, .nf-mark { color: var(--primary); }
.nf-dot { background: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }

/* ---------- Time picker (wheels, as in the mobile app) ---------- */
.sheet.sheet-time { max-width: 420px; }
.tw-read { text-align: center; font-size: 30px; font-weight: 800; color: var(--primary); letter-spacing: 0; margin: 2px 0 12px; direction: ltr; }
.tw { position: relative; display: flex; justify-content: center; align-items: stretch; gap: 6px; height: 240px; user-select: none; }
.tw-band { position: absolute; left: 0; right: 0; top: 50%; height: 48px; margin-top: -24px; border-radius: 14px; background: rgba(27, 59, 119, .07); border: 1px solid rgba(27, 59, 119, .10); pointer-events: none; }
.tw-col { position: relative; width: 84px; height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; padding: 96px 0; outline: none; border-radius: 14px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28%, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 28%, #000 72%, transparent 100%); }
.tw-col::-webkit-scrollbar { display: none; }
.tw-col { cursor: grab; }
.tw-col.dragging { cursor: grabbing; scroll-snap-type: none; }
.tw-col:focus-visible { box-shadow: inset 0 0 0 2px rgba(27, 59, 119, .25); }
.tw-item { height: 48px; display: grid; place-items: center; scroll-snap-align: center; font-size: 20px; font-weight: 600; color: var(--text-2); cursor: pointer; transition: color .15s, font-size .15s; font-variant-numeric: tabular-nums; }
.tw-item.on { color: var(--primary); font-size: 26px; font-weight: 800; }
.tw-sep { align-self: center; font-size: 26px; font-weight: 800; color: var(--primary); }
.tw-quick { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.tw-quick .chip { padding: 7px 12px; font-size: 13px; direction: ltr; }
.pick-tile .chev { margin-inline-start: auto; }
.loc-row.invalid .val { color: var(--error); }
.loc-row.invalid .loc-dot { box-shadow: 0 0 0 4px var(--error-soft); }

/* Share a trip (result cards) + open a shared one */
.share-btn { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--primary); cursor: pointer; transition: .15s; }
.share-btn:hover { background: var(--primary-soft); border-color: var(--primary); }
.share-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.share-preview { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.6; color: var(--text); white-space: normal; overflow-wrap: anywhere; }
.share-url { margin-top: 6px; font-size: 12px; color: var(--text-2); direction: ltr; text-align: start; max-height: 3.2em; overflow: hidden; }
.share-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.share-way { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 14px; border: 1px solid var(--border); background: #fff; color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.share-way:hover { border-color: var(--primary); background: var(--surface-2); }
.share-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.paste-trip { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 12px; padding: 10px; border: 1px dashed var(--border); border-radius: var(--r-field); background: transparent; color: var(--primary); font-weight: 600; font-size: 14px; cursor: pointer; }
.paste-trip:hover { background: var(--primary-soft); border-color: var(--primary); }
.trip-card.shared-hit { box-shadow: 0 0 0 2.5px #25D366, 0 8px 24px rgba(18, 43, 87, .12); }
.shared-tag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(37, 211, 102, .12); color: #128C4B; font-size: 12px; font-weight: 700; }

/* ---------- Footer (same look as the website's footer; links lead back to the landing page) ---------- */
.app-footer { background: var(--ink); color: rgba(255, 255, 255, .72); margin-top: 40px; padding: 48px 22px 0; }
.af-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.app-footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.app-footer a, .app-footer p { display: block; margin: 0 0 10px; font-size: 14.5px; color: inherit; text-decoration: none; }
.app-footer a:hover { color: #fff; }
.app-footer p a { display: inline; margin: 0; unicode-bidi: isolate; }
.af-brand { display: inline-flex !important; align-items: center; gap: 10px; color: #fff !important; font-weight: 800; font-size: 20px; }
.af-brand img { width: 34px; height: 34px; }
.af-tag { margin-top: 8px !important; }
.af-bottom { max-width: 1100px; margin: 34px auto 0; border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: 13px; color: rgba(255, 255, 255, .5); }
body:not(.has-bottomnav) .app-footer { display: none; }
@media (max-width: 860px) {
  .af-grid { grid-template-columns: 1fr; gap: 24px; }
  body.has-bottomnav .page { padding-bottom: 24px; }
  body.has-bottomnav .app-footer { padding-bottom: calc(var(--nav-h) + 12px); }
}
@media (max-width: 440px) { .topbar .brand span { display: none; } } /* room for Home · language · login; the logo still links home */
#chips > * { pointer-events: auto; } /* tracking map: the chip row itself lets map drags through */

/* Shared trip: the receiver's own place vs the stop zones (booking.js sharedPlaceGate) */
.place-check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); }
.place-check + .place-check { margin-top: 8px; }
.place-check .pc-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.place-check.ok .pc-ic { background: rgba(37, 211, 102, .14); color: #128C4B; }
.place-check.far { border-color: rgba(239, 77, 35, .35); background: rgba(239, 77, 35, .05); }
.place-check.far .pc-ic { background: rgba(239, 77, 35, .14); color: #C2410C; }
.place-check.far .small { color: #C2410C; font-weight: 600; }
