/* fare + payment */
.fare{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-radius:18px;background:var(--paper);border:1.5px solid var(--line-2)}
.fare .lbl{font-size:13px;font-weight:800} .fare .sub{font-size:12px;color:var(--muted);font-weight:600}
.fare .price{font-size:26px;font-weight:800;color:var(--green);letter-spacing:-.03em}
.quote{background:var(--paper);border-radius:18px;padding:16px;border:1.5px solid var(--line-2)}
.quote .price{font-size:34px;font-weight:800;color:var(--green);letter-spacing:-.03em}
.paychips{display:flex;gap:8px;margin-top:8px}
.paychips button{flex:1;padding:11px 6px;border-radius:12px;border:1.5px solid var(--line);background:#fff;font-weight:700;font-size:13px;cursor:pointer;position:relative}
.paychips button.on{border-color:var(--green);background:var(--green-soft);color:var(--green-ink)}
.paychips button[disabled]{opacity:.45;cursor:not-allowed}
.paychips small{display:block;font-size:10px;font-weight:700;color:var(--muted)}
.secure{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:18px;background:var(--green-soft);color:var(--green-ink)}
.secure svg{width:28px;height:28px;flex:none}

.kv{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line-2);font-size:14px}
.kv span:first-child{color:var(--muted);font-weight:600}
.kv b{text-align:right}
.kv:last-child{border-bottom:0}
.driver-card{display:flex;gap:12px;align-items:center;padding:12px;border-radius:18px;background:var(--paper);border:1.5px solid var(--line-2)}
.avatar{width:46px;height:46px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:800;font-size:16px;flex:none}
.plate{font:800 12px ui-monospace,monospace;background:#fff;border:1.5px solid var(--ink);border-radius:6px;padding:2px 7px;letter-spacing:.08em;white-space:nowrap}
.eta{font-size:12px;font-weight:700;color:var(--green)}
.steps{display:flex;gap:6px;margin:12px 0 4px}
.steps span{flex:1;height:5px;border-radius:9px;background:var(--line-2)}
.steps span.on{background:var(--green)}
.stars{display:flex;gap:4px}
.stars button{border:0;background:none;font-size:32px;cursor:pointer;color:var(--line);padding:0}
.stars button.on{color:var(--amber)}
.big-toggle{width:100%;padding:20px;border-radius:22px;border:0;font-weight:800;font-size:20px;cursor:pointer;letter-spacing:-.02em;transition:transform .1s}
.big-toggle:active{transform:scale(.98)}
.big-toggle.off{background:var(--green);color:#fff} .big-toggle.on{background:var(--ink);color:#fff}
.req{border:1.5px solid var(--line-2);border-radius:18px;padding:14px;animation:pop .3s ease;background:var(--paper)}
.stat{background:var(--card);border:1.5px solid var(--line-2);border-radius:18px;padding:14px}
.stat .n{font-size:26px;font-weight:800;margin-top:4px;letter-spacing:-.03em}
.stat.hl{background:var(--green);color:#fff;border-color:var(--green)} .stat.hl .n{color:#fff}

/* map markers */
.car-icon{background:var(--green);border:3px solid #fff;border-radius:50%;width:34px!important;height:34px!important;display:grid;place-items:center;box-shadow:0 4px 12px rgba(31,90,67,.4)}
.car-icon svg{width:18px;height:18px;color:#fff}
.pin-icon{width:20px!important;height:20px!important;border-radius:50%;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.pin-icon.a{background:#fff;border:5px solid var(--green)}
.pin-icon.b{background:var(--ink);border:4px solid #fff}

/* menu (account) sheet */
.overlay{position:fixed;inset:0;background:rgba(20,24,22,.35);z-index:2000;display:flex;align-items:flex-end;justify-content:center;animation:fade .2s}
.menu{background:var(--card);width:100%;max-width:480px;border-radius:28px 28px 0 0;padding:10px 20px calc(24px + var(--safe-b));animation:up .3s cubic-bezier(.2,.8,.2,1)}
.menu::before{content:"";display:block;width:38px;height:5px;border-radius:9px;background:var(--line);margin:0 auto 14px}
.menu-item{display:flex;align-items:center;gap:14px;width:100%;padding:15px 4px;border:0;background:none;border-bottom:1px solid var(--line-2);font-weight:700;cursor:pointer;text-align:left;font-size:15px}
.menu-item:last-child{border-bottom:0}
.menu-item .ic{width:38px;height:38px;border-radius:12px;background:var(--green-soft);color:var(--green);display:grid;place-items:center;flex:none}
.menu-item .ic svg{width:18px;height:18px}

/* ---------- admin */
.admin-shell{height:100%;display:flex;flex-direction:column}
.admin-top{display:flex;align-items:center;justify-content:space-between;padding:calc(12px + var(--safe-t)) 20px 12px;background:var(--card);border-bottom:1px solid var(--line);gap:10px}
.role-switch{display:flex;gap:4px;background:var(--line-2);border-radius:999px;padding:3px}
.role-switch button{border:0;background:none;color:var(--muted);padding:7px 14px;border-radius:999px;font-size:13px;font-weight:700;cursor:pointer}
.role-switch button.on{background:var(--green);color:#fff}
.admin{display:grid;grid-template-columns:230px 1fr;flex:1;min-height:0}
.side{background:var(--paper);border-right:1px solid var(--line);padding:16px;display:flex;flex-direction:column;gap:4px;overflow:auto}
.side button{text-align:left;border:0;background:none;padding:12px 14px;border-radius:14px;font-weight:700;cursor:pointer;color:var(--ink-2)}
.side button.on{background:var(--green);color:#fff}
.main{overflow:auto;padding:28px;-webkit-overflow-scrolling:touch}
.main h2{font-size:30px;margin-bottom:18px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:12px;margin-bottom:22px}
.panel{background:var(--card);border:1.5px solid var(--line-2);border-radius:var(--r);padding:20px;margin-bottom:18px}
.panel h3{font-size:18px;margin-bottom:12px}
table{width:100%;border-collapse:collapse;font-size:14px}
th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:8px 10px;border-bottom:1px solid var(--line)}
td{padding:11px 10px;border-bottom:1px solid var(--line-2);vertical-align:middle}
.tablewrap{overflow-x:auto}
.code{font:800 16px ui-monospace,monospace;letter-spacing:.12em;background:var(--green-soft);color:var(--green-ink);padding:5px 10px;border-radius:8px}
.seg{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.seg button{border:1.5px solid var(--line);background:var(--card);padding:7px 14px;border-radius:999px;font-size:13px;font-weight:700;cursor:pointer}
.seg button.on{background:var(--green);color:#fff;border-color:var(--green)}
.adminmap{height:520px;border-radius:var(--r);overflow:hidden;border:1.5px solid var(--line-2);position:relative}

#toast{position:fixed;left:50%;top:calc(16px + var(--safe-t));transform:translateX(-50%) translateY(-120px);background:var(--ink);color:#fff;padding:12px 18px;border-radius:999px;font-weight:700;font-size:14px;z-index:9999;transition:transform .3s cubic-bezier(.2,.8,.2,1);max-width:90vw;text-align:center}
#toast.show{transform:translateX(-50%) translateY(0)}
#toast.err{background:var(--red)}

@keyframes up{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes pop{from{transform:scale(.96);opacity:0}to{transform:none;opacity:1}}
@keyframes pulse{50%{opacity:.3}}

/* ---------- phones: native-app layout */
@media (max-width:760px){
  .sheet{left:0;right:0;bottom:0;width:100%;max-width:100%;max-height:72%;border-radius:28px 28px 0 0;padding-bottom:var(--safe-b)}
  .sheet-body{padding:12px 18px 18px}
  .admin{grid-template-columns:1fr;grid-template-rows:auto 1fr}
  .side{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:8px 12px;scrollbar-width:none}
  .side::-webkit-scrollbar{display:none}
  .side button{white-space:nowrap;padding:9px 14px}
  .main{padding:18px 16px calc(24px + var(--safe-b))} .main h2{font-size:26px}
  .grid2{grid-template-columns:1fr}
  .admin-top .who{display:none}
  .adminmap{height:60vh}
}

/* ---------- passengers, car sizes, notifications */
.pax{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding:12px 14px;border-radius:18px;border:1.5px solid var(--line-2)}
.stepper{display:flex;align-items:center;gap:14px}
.stepper button{width:38px;height:38px;border-radius:50%;border:1.5px solid var(--line);background:#fff;font-size:20px;font-weight:700;cursor:pointer;line-height:1}
.stepper button:not([disabled]):active{background:var(--green-soft)}
.stepper button[disabled]{opacity:.35}
.stepper b{font-size:20px;min-width:14px;text-align:center}
.sizes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.size{border:1.5px solid var(--line);background:#fff;border-radius:16px;padding:12px 6px;display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;text-align:center}
.size svg{width:28px;height:28px;color:var(--muted)}
.size b{font-size:14px} .size span{font-size:12px;font-weight:700;color:var(--ink-2)} .size small{font-size:10px;color:var(--muted);font-weight:600}
.size.on{border-color:var(--green);background:var(--green-soft)} .size.on svg{color:var(--green)}
.notify-card{display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:18px;background:var(--amber-soft);margin-top:12px}
.notify-card .ic{width:36px;height:36px;border-radius:12px;background:#fff;color:var(--amber);display:grid;place-items:center;flex:none}
.notify-card .ic svg{width:18px;height:18px}
.notify-card .small{color:#6b4a08;font-weight:600}


/* ---------- ride for someone else, WhatsApp share, outside-area prompt */
.who{margin-top:14px;padding:12px 14px;border-radius:18px;border:1.5px solid var(--line-2)}
.seg2{display:flex;background:var(--line-2);border-radius:999px;padding:3px;margin-top:8px}
.seg2 button{flex:1;border:0;background:none;padding:9px;border-radius:999px;font-weight:700;font-size:13px;cursor:pointer;color:var(--muted)}
.seg2 button.on{background:var(--card);color:var(--ink);box-shadow:0 1px 4px rgba(0,0,0,.08)}
.who .friend{margin-top:10px;gap:8px}
.who .friend .input{padding:11px 13px;font-size:15px}
.btn.wa{background:#25D366;color:#073b1c}
.btn.wa svg{width:20px;height:20px}
.away{width:64px;height:64px;border-radius:20px;background:var(--amber-soft);display:grid;place-items:center}
.away .mark{width:40px;height:40px;color:var(--amber)}
@media (max-width:760px){ .who .friend{grid-template-columns:1fr 1fr} }

/* ---------- driver photos, onboarding, desktop footer */
img.avatar.photo{object-fit:cover;background:var(--line-2)}
.avatar.xl{width:84px;height:84px;font-size:26px}
.avatar.sm{width:36px;height:36px;font-size:13px}
.photo-pick{display:flex;align-items:center;gap:14px;padding:12px;border:1.5px dashed var(--line);border-radius:18px;cursor:pointer;margin:0;font-weight:500}
.photo-pick:hover{border-color:var(--green)}
.car-photo{width:110px;height:72px;border-radius:12px;object-fit:cover;display:grid;place-items:center;background:var(--line-2)}
.car-photo.empty svg{width:34px;height:34px;color:var(--muted)}
.car-thumb{width:56px;height:38px;border-radius:8px;object-fit:cover}
.site-foot{display:none}
@media (min-width:900px){
  .site-foot{display:flex;justify-content:space-between;align-items:center;position:fixed;left:0;right:0;bottom:0;padding:12px 32px;font-size:13px;color:var(--muted);background:rgba(247,245,239,.92);border-top:1px solid var(--line);z-index:50}
  .auth{padding-bottom:56px}
}

.doc-icon{width:84px;height:56px;border-radius:12px;background:var(--line-2);display:grid;place-items:center;flex:none;font-weight:800;font-size:22px;color:var(--muted)}
.doc-icon svg{width:30px;height:30px}
.doc-icon.done{background:var(--green-soft);color:var(--green)}
