/* ==========================================================================
   SwiftDrop — UI theme
   Matches the reference app design: light lavender canvas, white rounded
   cards, violet primary buttons, dark pill chips, floating bottom nav.
   ========================================================================== */

:root {
  --bg: #EFECFA;
  --bg-2: #F7F5FE;
  --card: #FFFFFF;
  --line: #EEE9F8;
  --line-2: #E3DCF3;
  --ink: #17121F;
  --ink-2: #524A63;
  --ink-3: #8B829E;
  --brand: #6D28D9;
  --brand-2: #8B5CF6;
  --brand-grad: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
  --brand-soft: #F3EEFD;
  --dark: #17121F;
  --blue: #4C7DF0;
  --ok: #16A34A;
  --ok-soft: #E9F9EF;
  --warn: #D97706;
  --warn-soft: #FDF3E3;
  --bad: #DC2626;
  --bad-soft: #FDECEC;
  --info: #2563EB;
  --info-soft: #EAF1FE;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(109, 40, 217, .08), 0 2px 6px rgba(23, 18, 31, .04);
  --shadow-lg: 0 24px 60px rgba(76, 29, 149, .16);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 85% -100px, rgba(139, 92, 246, .14), transparent 60%),
    radial-gradient(900px 420px at -80px 30%, rgba(124, 58, 237, .10), transparent 55%),
    var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img, svg { vertical-align: middle; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-3); }
.small { font-size: .85rem; }
.tiny { font-size: .78rem; }
.center { text-align: center; }
.right { text-align: right; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.flex { display: flex; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; }
.grid { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.card.pad-lg { padding: 28px; }
.card.tight { padding: 16px; }
.card-hover { transition: transform .18s ease, box-shadow .18s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 15px; border: 1px solid transparent;
  font: 600 .95rem var(--font); cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: 0 10px 22px rgba(109, 40, 217, .35); }
.btn-primary:hover { box-shadow: 0 12px 26px rgba(109, 40, 217, .45); filter: brightness(1.05); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #2A2338; }
.btn-light { background: var(--brand-soft); color: var(--brand); }
.btn-light:hover { background: #EAE2FA; }
.btn-outline { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand-2); color: var(--brand); }
.btn-wa { background: #22B85C; color: #fff; box-shadow: 0 10px 22px rgba(34, 184, 92, .3); }
.btn-wa:hover { filter: brightness(1.05); }
.btn-danger { background: var(--bad-soft); color: var(--bad); }
.btn-danger:hover { background: #FBDDDD; }
.btn-sm { padding: 8px 14px; border-radius: 11px; font-size: .85rem; }
.btn-lg { padding: 16px 28px; border-radius: 17px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .55; pointer-events: none; }
.ic { width: 20px; height: 20px; flex: none; }
.ic-sm { width: 15px; height: 15px; }
.ic-lg { width: 26px; height: 26px; }
.ic-xl { width: 34px; height: 34px; }

/* ---------- Chips (like "Recommended / Faster / Cheaper") ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 15px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: var(--brand-soft); color: var(--ink-2);
  border: 1px solid transparent; cursor: pointer; transition: all .15s;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { border-color: var(--brand-2); color: var(--brand); }
.chip.active { background: var(--dark); color: #fff; }
.chip.static { cursor: default; }
.chip.static:hover { border-color: transparent; color: var(--ink-2); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-row.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip-row.scroll::-webkit-scrollbar { display: none; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .75rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
}
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.info { background: var(--info-soft); color: var(--info); }
.badge.live { background: var(--brand-soft); color: var(--brand); }
.badge.mutedb { background: #F1EEF8; color: var(--ink-3); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.live .dot { animation: pulse 1.2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: .3; } 100% { opacity: 1; } }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; }
.input, select.input, textarea.input {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-2); background: #FCFBFF; color: var(--ink);
  font: 500 .95rem var(--font); outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(139, 92, 246, .14); background: #fff; }
textarea.input { resize: vertical; min-height: 88px; }
.input-wrap { position: relative; }
.input-wrap .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.input-wrap .input { padding-left: 42px; }
.hint { font-size: .78rem; color: var(--ink-3); margin-top: 5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.check input { width: 18px; height: 18px; accent-color: var(--brand); margin-top: 2px; }

/* ---------- Section headings ---------- */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.sec-head .kicker {
  display: inline-flex; padding: 7px 16px; border-radius: 999px; background: var(--brand-soft);
  color: var(--brand); font-weight: 700; font-size: .8rem; margin-bottom: 14px; letter-spacing: .02em;
}
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }

/* ---------- Public top navigation ---------- */
.topnav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topnav-inner { display: flex; align-items: center; gap: 26px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: -.02em; }
.logo .mark { width: 36px; height: 36px; flex: none; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  color: var(--ink-2); font-weight: 600; font-size: .92rem; padding: 9px 14px; border-radius: 12px;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand); background: var(--brand-soft); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; }
@media (max-width: 920px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn.hide-mobile { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 .grad { background: linear-gradient(120deg, #7C3AED, #A855F7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-stats { display: flex; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats .n { font-size: 1.45rem; font-weight: 800; }
.hero-stats .l { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.hero-visual { position: relative; }
.hero-visual .phone {
  border-radius: 34px; background: #fff; padding: 14px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 34px 0 10px; }
}

/* ---------- App frame (customer/rider dashboards) ---------- */
.appwrap { max-width: 560px; margin: 0 auto; padding: 18px 16px 110px; }
.appwrap.wide { max-width: 900px; }
.appbar {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.appbar .title { font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; }
.appbar .sub { font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--brand-grad); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.02rem;
  border: 2px solid #fff; box-shadow: 0 4px 14px rgba(109, 40, 217, .3); flex: none;
}
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; position: relative; transition: all .15s; flex: none;
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand-2); }
.icon-btn .bubble {
  position: absolute; top: -4px; right: -4px; background: var(--bad); color: #fff;
  font-size: .64rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.back-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); flex: none; }

/* ---------- Bottom navigation (mobile app nav) ---------- */
.bottom-nav {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 95; display: none;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-lg);
  padding: 7px; gap: 2px; width: min(430px, calc(100% - 28px));
}
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 6px; border-radius: 999px; color: var(--ink-3); font-size: .62rem; font-weight: 700;
}
.bottom-nav a .ic { width: 21px; height: 21px; }
.bottom-nav a.active { background: var(--dark); color: #fff; }
.bottom-nav .fab-slot { display: flex; align-items: center; }
.bottom-nav .fab {
  width: 46px; height: 46px; border-radius: 50%; background: var(--brand-grad); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 2px;
  box-shadow: 0 8px 20px rgba(109, 40, 217, .4); border: 4px solid #fff;
}
@media (max-width: 760px) { .bottom-nav { display: flex; } }

/* ---------- Vehicle selection rows (the "Select your ride" list) ---------- */
.vrow {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: #fff; border: 1.8px solid var(--line); border-radius: 18px;
  padding: 14px 16px; cursor: pointer; transition: all .15s; font-family: var(--font);
}
.vrow:hover { border-color: var(--brand-2); }
.vrow.selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 6px 18px rgba(109, 40, 217, .12); }
.vrow .vic {
  width: 52px; height: 52px; border-radius: 16px; background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.vrow.selected .vic { background: #fff; }
.vrow .vname { font-weight: 800; font-size: .98rem; }
.vrow .vmeta { font-size: .78rem; color: var(--ink-3); font-weight: 600; display: flex; align-items: center; gap: 5px; }
.vrow .vprice { margin-left: auto; text-align: right; }
.vrow .vprice .amt { font-weight: 800; font-size: 1.06rem; }
.vrow .vprice .dur { font-size: .75rem; color: var(--ink-3); font-weight: 600; display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.vrow input { display: none; }
.vrow .radio {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; position: relative;
}
.vrow.selected .radio { border-color: var(--brand); }
.vrow.selected .radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--brand); }

/* ---------- Timeline (order tracking) ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2.5px; border-radius: 2px; background: var(--line-2); }
.tstep { position: relative; padding: 0 0 22px; }
.tstep:last-child { padding-bottom: 2px; }
.tstep .tdot {
  position: absolute; left: -30px; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--line-2); display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.tstep.done .tdot { background: var(--brand); border-color: var(--brand); }
.tstep.current .tdot { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 5px rgba(139, 92, 246, .18); animation: pulse 1.6s infinite; }
.tstep .tdot .ic { width: 11px; height: 11px; }
.tstep .tlabel { font-weight: 700; font-size: .93rem; color: var(--ink-3); }
.tstep.done .tlabel, .tstep.current .tlabel { color: var(--ink); }
.tstep .ttime { font-size: .76rem; color: var(--ink-3); }

/* ---------- Rider card on tracking (like Ethan Parker card) ---------- */
.rider-card { display: flex; align-items: center; gap: 14px; }
.rider-card .avatar { width: 52px; height: 52px; font-size: 1.1rem; }
.rider-card .rname { font-weight: 800; }
.rider-card .rmeta { font-size: .78rem; color: var(--ink-3); font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.route-pts { margin-top: 14px; display: grid; gap: 0; }
.route-pts .pt { display: flex; gap: 12px; padding: 10px 0; }
.route-pts .pt + .pt { border-top: 1px dashed var(--line-2); }
.route-pts .pt .bullet { width: 34px; height: 34px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.route-pts .pt .lbl { font-size: .72rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.route-pts .pt .val { font-weight: 700; font-size: .95rem; }
.bullet.green { background: var(--ok-soft); color: var(--ok); }
.bullet.purple { background: var(--brand-soft); color: var(--brand); }

/* ---------- Tables (admin) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 640px; }
.tbl th {
  text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3); font-weight: 800; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #FBFAFE;
  white-space: nowrap;
}
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: #FCFBFF; }

/* ---------- Admin shell ---------- */
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side {
  background: #fff; border-right: 1px solid var(--line); padding: 22px 14px;
  display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-side .logo { padding: 4px 10px 18px; }
.side-label { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 14px 12px 6px; }
.side-link {
  display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 13px;
  color: var(--ink-2); font-weight: 600; font-size: .9rem; transition: all .13s;
}
.side-link .ic { width: 19px; height: 19px; }
.side-link:hover { background: var(--brand-soft); color: var(--brand); }
.side-link.active { background: var(--dark); color: #fff; box-shadow: 0 8px 18px rgba(23, 18, 31, .18); }
.side-link .count { margin-left: auto; background: var(--bad); color: #fff; font-size: .66rem; font-weight: 800; border-radius: 999px; padding: 2px 7px; }
.admin-main { padding: 24px 28px 60px; min-width: 0; }
.admin-topbar { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.admin-topbar h1 { font-size: 1.45rem; margin: 0; }
@media (max-width: 960px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side {
    position: fixed; left: 0; top: 0; bottom: 0; width: 262px; z-index: 120;
    transform: translateX(-105%); transition: transform .22s ease; box-shadow: var(--shadow-lg); height: 100vh;
  }
  .admin-side.open { transform: translateX(0); }
  .admin-burger { display: inline-flex !important; }
  .admin-main { padding: 16px 14px 90px; }
}
.admin-burger { display: none; }
.side-overlay { display: none; position: fixed; inset: 0; background: rgba(23, 18, 31, .35); z-index: 110; }
.side-overlay.show { display: block; }

/* ---------- Stat cards ---------- */
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  box-shadow: var(--shadow);
}
.stat .s-ic { width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.stat .s-val { font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; }
.stat .s-lbl { font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.stat .s-sub { font-size: .74rem; font-weight: 700; margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; }
.s-ic.purple { background: var(--brand-soft); color: var(--brand); }
.s-ic.green { background: var(--ok-soft); color: var(--ok); }
.s-ic.amber { background: var(--warn-soft); color: var(--warn); }
.s-ic.blue { background: var(--info-soft); color: var(--info); }

/* ---------- Flash & toast ---------- */
.flash-wrap { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(430px, calc(100% - 32px)); }
.flash {
  display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 15px;
  font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-lg); animation: slideIn .25s ease;
  border: 1px solid var(--line); background: #fff;
}
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.flash.ok { border-left: 4px solid var(--ok); }
.flash.error { border-left: 4px solid var(--bad); }
.flash.info { border-left: 4px solid var(--info); }

/* ---------- Misc ---------- */
.price-big { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }
.price-unit { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.stars .ic { display: inline-block; }
.divider { height: 1px; background: var(--line); border: 0; margin: 20px 0; }
.list-tick { list-style: none; padding: 0; margin: 0 0 1em; }
.list-tick li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; color: var(--ink-2); }
.list-tick li .ic { color: var(--ok); margin-top: 2px; }
.pill-tabs { display: flex; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 6px; border-radius: 999px; width: fit-content; box-shadow: var(--shadow); flex-wrap: wrap; }
.pill-tabs a { padding: 9px 18px; border-radius: 999px; font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.pill-tabs a.active { background: var(--dark); color: #fff; }
.empty { text-align: center; padding: 46px 18px; color: var(--ink-3); }
.empty .ic { width: 44px; height: 44px; color: var(--line-2); margin-bottom: 10px; }
.fab-wa {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 94;
  width: 56px; height: 56px; border-radius: 50%; background: #22B85C; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(34, 184, 92, .45);
}
.fab-wa .ic { width: 27px; height: 27px; }
.fab-wa:hover { filter: brightness(1.06); }
@media (max-width: 760px) { .fab-wa { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
.map-canvas { height: 320px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); position: relative; background: var(--bg-2); z-index: 1; }
.map-canvas .leaflet-container { height: 100%; width: 100%; }
.search-item { padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.search-item:hover { background: var(--brand-soft); }
.notif { display: flex; gap: 12px; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.notif:last-child { border-bottom: 0; }
.notif.unread { background: var(--brand-soft); }
.notif .n-ic { width: 38px; height: 38px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.login-hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .login-hero { grid-template-columns: 1fr; } .login-side { display: none; } }
.login-side { background: var(--brand-grad); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-side::after { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .08); right: -160px; bottom: -160px; }
.login-side::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .07); right: -60px; top: -60px; }
.login-form { display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.login-form .box { width: 100%; max-width: 420px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.pager a, .pager span {
  padding: 8px 13px; border-radius: 11px; background: #fff; border: 1px solid var(--line);
  font-size: .84rem; font-weight: 700; color: var(--ink-2);
}
.pager .cur { background: var(--dark); color: #fff; border-color: var(--dark); }
.footer { border-top: 1px solid var(--line); background: rgba(255, 255, 255, .6); margin-top: 70px; padding: 44px 0 90px; }
.footer h4 { font-size: .95rem; }
.footer a { color: var(--ink-2); font-size: .88rem; display: inline-block; padding: 3px 0; }
.footer a:hover { color: var(--brand); }
.copyline { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px; font-size: .8rem; color: var(--ink-3); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
@media (max-width: 700px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .cols-3, .cols-2 { grid-template-columns: 1fr; } }

@media (max-width: 420px) {
  .vrow { padding: 12px 13px; gap: 10px; }
  .vrow .vic { width: 44px; height: 44px; border-radius: 13px; }
  .vrow .vname { font-size: .9rem; }
  .vrow .vmeta { font-size: .7rem; }
  .vrow .vprice .amt { font-size: .97rem; }
  .vrow .vprice .dur { font-size: .7rem; }
}

/* step wizard */
.wizard-steps { display: flex; gap: 6px; align-items: center; margin-bottom: 18px; }
.wizard-steps .ws { flex: 1; height: 6px; border-radius: 99px; background: var(--line-2); }
.wizard-steps .ws.on { background: var(--brand); }

/* print-safe for receipts */
@media print {
  .topnav, .bottom-nav, .fab-wa, .no-print, .admin-side { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}
