/* =====================================================================
   Fatafut — app theme (soft cards, blue gradient, floating dark tab bar)
   Loaded after style.css; overrides colours, shapes and the main screens.
   ===================================================================== */
:root {
  --brand: #2f6bff;
  --brand-dark: #1f54e0;
  --brand-soft: #eaf0ff;
  --icon: #2f6bff;
  --icon-2: #2f6bff;
  --icon-soft: #eaf0ff;
  --ink: #0f1222;
  --ink-2: #4b5368;
  --muted: #8b93a7;
  --line: #e9ecf3;
  --bg: #eef1f6;
  --card: #ffffff;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(15,18,34,.04), 0 10px 30px rgba(15,18,34,.06);
  --shadow-lg: 0 20px 50px rgba(15,18,34,.12);
  --grad-blue: linear-gradient(135deg, #2f6bff 0%, #5b8dff 55%, #9cc2ff 100%);
  --grad-violet: linear-gradient(135deg, #6d5dfc 0%, #8f7dff 100%);
  --nav: #0f1115;
}
body { background: var(--bg); color: var(--ink); }
body:not(.role-admin) { background: radial-gradient(1200px 500px at 50% -200px, #ffffff 0%, var(--bg) 60%) fixed, var(--bg); }
a { color: var(--brand); }
h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.025em; }
h2 { font-weight: 800; letter-spacing: -.02em; }
h3 { font-weight: 700; letter-spacing: -.01em; }

/* ---------- Top bar ---------- */
.topbar { background: rgba(238,241,246,.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 0; padding: 12px 18px; }
.role-admin .topbar { background: rgba(255,255,255,.9); border-bottom: 1px solid var(--line); }
.brand { gap: 10px; font-size: 1.2rem; letter-spacing: -.02em; }
.brand-logo { width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 6px 16px rgba(15,18,34,.12); }
.brand-tag { background: var(--ink); border-radius: 99px; }
.topnav { gap: 8px; }
.lang-switch, .bell, .nav-avatar, .nav-icon {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; padding: 0;
  background: #fff; border: 0; box-shadow: 0 4px 14px rgba(15,18,34,.08); color: var(--ink) !important; font-size: .78rem; font-weight: 800;
}
.lang-switch { width: auto; min-width: 42px; padding: 0 12px; border-radius: 99px; }
.bell .ic { width: 20px; height: 20px; color: var(--ink); }
.bell-count { box-shadow: 0 0 0 2px var(--bg); }
.nav-avatar { background: var(--grad-blue); color: #fff !important; font-size: 1rem; text-decoration: none; overflow: hidden; }
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 99px; background: var(--grad-violet); color: #fff !important; font-weight: 800; font-size: .9rem; box-shadow: 0 8px 20px rgba(109,93,252,.35); text-decoration: none; }
.nav-cta .ic { width: 16px; height: 16px; color: #fff; }
@media (max-width: 420px) { .nav-cta span { display: none; } .nav-cta { width: 42px; padding: 0; justify-content: center; } }
.bell-panel { border-radius: 22px; border: 0; box-shadow: var(--shadow-lg); }

/* ---------- Page ---------- */
.container { padding: 10px 16px 130px; }
.card { border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; border: 0; }
.card h2, .card h3 { letter-spacing: -.02em; }
.stat { border-radius: 22px; box-shadow: var(--shadow); padding: 16px 18px; }
.stat .value { letter-spacing: -.02em; }
.alert { border-radius: 16px; }
.empty .big-emoji { width: 72px; height: 72px; border-radius: 24px; background: var(--brand-soft); display: grid; place-items: center; margin: 0 auto 10px; }
.big-emoji .ic { width: 34px; height: 34px; }
.icon-circle { border-radius: 16px; background: var(--brand-soft); }
.list-item { padding: 14px 2px; }
.badge { padding: 4px 11px; font-weight: 700; }
.h-ic { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn { border-radius: 99px; background: linear-gradient(135deg, #3b7bff 0%, #2f6bff 50%, #2558e8 100%); box-shadow: 0 8px 20px rgba(47,107,255,.28); font-weight: 800; letter-spacing: -.005em; padding: 12px 20px; }
.btn:hover { background: linear-gradient(135deg, #2f6bff, #1f54e0); }
.btn-lg { border-radius: 99px; padding: 16px 22px; }
.btn-sm { border-radius: 99px; padding: 8px 14px; box-shadow: none; }
.btn-dark { background: var(--nav); box-shadow: 0 8px 20px rgba(15,17,21,.22); }
.btn-dark:hover { background: #000; }
.btn-ok { background: linear-gradient(135deg, #22c55e, #16a34a); box-shadow: 0 8px 20px rgba(22,163,74,.25); }
.btn-ok:hover { background: #15803d; }
.btn-bad { background: linear-gradient(135deg, #f43f5e, #dc2626); box-shadow: 0 8px 20px rgba(220,38,38,.22); }
.btn-ghost { background: #fff; color: var(--ink); border: 0; box-shadow: 0 2px 10px rgba(15,18,34,.08); }
.btn-ghost:hover { background: #f7f8fb; }
.link-btn { color: var(--brand); }

/* ---------- Forms ---------- */
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number],
input[type=date], input[type=datetime-local], input[type=search], select, textarea {
  background: #f3f5f9; border: 1.5px solid transparent; border-radius: 16px; padding: 13px 15px; transition: border-color .15s, box-shadow .15s, background .15s;
}
input:focus, select:focus, textarea:focus { background: #fff; border-color: var(--brand) !important; box-shadow: 0 0 0 4px rgba(47,107,255,.14); outline: none; }
.field label, label { font-weight: 700; }
.input-group .addon { background: #f3f5f9; border: 0; border-radius: 16px; }
.choice span { border-radius: 20px; border: 1.5px solid transparent; background: #f5f7fb; box-shadow: none; }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); box-shadow: 0 6px 16px rgba(47,107,255,.15); }
.seg-choice span, .fee-methods span { border-radius: 16px; border-color: transparent; background: #f5f7fb; }
.saved-addr span { border-radius: 20px !important; }

/* ---------- Hero / gradient cards ---------- */
.hero { background: var(--grad-blue); border-radius: 30px; box-shadow: 0 18px 40px rgba(47,107,255,.32); }
.hero .btn { background: #fff; color: var(--brand); box-shadow: none; }
.fare-box { background: var(--nav); border-radius: 24px; }
.otp-display { background: var(--brand-soft); color: var(--brand); border-radius: 20px; }
.wallet-card { background: var(--grad-blue); border-radius: 28px; box-shadow: 0 18px 40px rgba(47,107,255,.3); }
.toggle-online { border-radius: 26px; background: #3a4255; box-shadow: var(--shadow); padding: 18px 20px; }
.toggle-online.on { background: linear-gradient(135deg, #22c55e, #15803d); box-shadow: 0 16px 36px rgba(22,163,74,.3); }
.toggle-online .btn { box-shadow: none; }
.wizard-steps button { border-radius: 18px; box-shadow: var(--shadow); }
.wizard-steps button.active { box-shadow: 0 0 0 2px var(--brand), var(--shadow); color: var(--brand); }
.wizard-steps button.active b { background: var(--brand); }
.seg-tabs { background: #e3e7ef; border-radius: 99px; }
.seg-tabs a { border-radius: 99px; }
.sheet { border-radius: 30px 30px 0 0; }
.sheet-wrap .btn-block { border-radius: 99px; }

/* ---------- Floating tab bar ---------- */
.tabbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom)); top: auto; right: auto;
  width: min(440px, calc(100% - 28px)); height: 66px; padding: 0 8px; border: 0; border-radius: 99px;
  background: var(--nav); box-shadow: 0 18px 40px rgba(15,17,21,.35), inset 0 1px 0 rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: space-around; gap: 2px; z-index: 60;
}
.tabbar a { flex: 1; height: 52px; padding: 0; border-radius: 99px; color: #9aa3b5 !important; font-size: 0; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; position: relative; }
.tabbar a span { height: auto; }
.tabbar a span .ic { width: 23px; height: 23px; color: #9aa3b5 !important; opacity: 1; }
.tabbar a.on { flex: 1.35; background: #262a33; color: #fff !important; font-size: .72rem; gap: 6px; }
.tabbar a.on span .ic { color: #fff !important; }
.tabbar a:hover span .ic { color: #fff !important; }
.tabbar .tab-cta { flex: 0 0 56px; }
.tabbar .tab-cta span { width: 52px; height: 52px; margin: 0; border-radius: 50%; background: var(--grad-blue); box-shadow: 0 8px 22px rgba(47,107,255,.5); display: grid; place-items: center; }
.tabbar .tab-cta.on { flex: 0 0 56px; background: none; font-size: 0; }
.tabbar .tab-cta span .ic { width: 25px; height: 25px; stroke-width: 2.6; }

/* ---------- Home ---------- */
.home-hello { color: var(--muted); font-weight: 600; margin: 4px 2px 2px; }
.home-title { font-size: 1.75rem; margin: 0 2px 14px; letter-spacing: -.03em; }
.search-pill {
  display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 99px; padding: 8px 8px 8px 18px;
  box-shadow: var(--shadow); color: var(--muted); font-weight: 600; text-decoration: none; margin-bottom: 18px;
}
.search-pill .ic { width: 20px; height: 20px; color: var(--muted); }
.search-pill span { flex: 1; }
.search-pill b { width: 42px; height: 42px; border-radius: 50%; background: var(--nav); display: grid; place-items: center; }
.search-pill b .ic { color: #fff; width: 18px; height: 18px; }

.live-card {
  display: block; position: relative; overflow: hidden; color: #fff !important; text-decoration: none;
  background: var(--grad-blue); border-radius: 30px; padding: 18px 20px 20px; margin-bottom: 20px;
  box-shadow: 0 22px 44px rgba(47,107,255,.35);
}
.live-card::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(255,255,255,.35), transparent); pointer-events: none; }
.live-card::after { content: ""; position: absolute; left: -10%; bottom: -60%; width: 80%; height: 120%; background: radial-gradient(closest-side, rgba(255,255,255,.16), transparent); pointer-events: none; }
.live-top { display: flex; gap: 12px; align-items: center; position: relative; }
.live-ic { width: 46px; height: 46px; border-radius: 15px; background: rgba(255,255,255,.95); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 6px 14px rgba(15,18,34,.12); }
.live-ic img { width: 34px; height: 34px; }
.live-top .who { flex: 1; min-width: 0; line-height: 1.3; }
.live-top .who b { display: block; font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-top .who small { opacity: .9; font-weight: 600; }
.live-chip { background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.3); padding: 5px 11px; border-radius: 99px; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.live-main { position: relative; margin-top: 18px; }
.live-main small { display: block; font-weight: 700; opacity: .9; }
.live-main strong { display: block; font-size: 2.3rem; line-height: 1.05; letter-spacing: -.035em; font-weight: 800; margin-top: 2px; }
.live-bar { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; }
.live-bar i { height: 6px; border-radius: 99px; background: rgba(255,255,255,.35); }
.live-bar i.on { background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.6); }
.live-foot { position: relative; display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: .82rem; font-weight: 700; opacity: .95; }
.live-more { font-size: .82rem; font-weight: 800; color: var(--brand); text-align: end; margin: -10px 4px 16px; display: block; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 4px 12px; }
.section-head h2 { margin: 0; font-size: 1.3rem; }
.section-head a { font-weight: 700; font-size: .88rem; color: var(--muted); }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.svc {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px;
  background: #fff; border-radius: 26px; padding: 14px 16px; box-shadow: var(--shadow); color: var(--ink) !important; text-decoration: none; overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.svc:active { transform: scale(.98); }
.svc:hover { box-shadow: var(--shadow-lg); }
.svc { min-height: 172px; }
.svc img { position: absolute; top: 14px; right: 12px; width: 78px; height: 78px; filter: drop-shadow(0 10px 12px rgba(15,18,34,.12)); }
.svc b, .svc small { position: relative; z-index: 1; }
.svc b { font-size: 1.05rem; letter-spacing: -.01em; }
.svc small { color: var(--muted); font-weight: 600; font-size: .78rem; }
.svc .tag { position: absolute; top: 12px; left: 12px; font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: #dcfce7; color: #15803d; }
.svc .tag.red { background: #fee2e2; color: #dc2626; }
.svc .tag.blue { background: var(--brand-soft); color: var(--brand); }
.svc.wide { grid-column: span 2; min-height: 104px; padding-right: 110px; }
.svc.wide img { width: 88px; height: 88px; top: 8px; }
body.rtl .svc img { right: auto; left: 10px; }
body.rtl .svc .tag { left: auto; right: 12px; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.mini-stat { background: #fff; border-radius: 22px; padding: 14px 16px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; color: var(--ink) !important; text-decoration: none; }
.mini-stat img { width: 44px; height: 44px; }
.mini-stat small { display: block; color: var(--muted); font-weight: 600; font-size: .75rem; }
.mini-stat b { font-size: 1.1rem; letter-spacing: -.02em; }

/* ---------- Rider jobs ---------- */
.job-card { border-radius: 26px; }
.job-hero { background: var(--grad-blue); color: #fff !important; box-shadow: 0 22px 44px rgba(47,107,255,.35); position: relative; overflow: hidden; }
.job-hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(255,255,255,.3), transparent); pointer-events: none; }
.job-hero > * { position: relative; }
.job-hero .muted, .job-hero .small { color: rgba(255,255,255,.9) !important; }
.job-hero b { color: #fff; }
.job-hero .route .pt { background: rgba(255,255,255,.16); color: #fff; padding: 8px 12px; border-radius: 14px; }
.job-hero .route .pt::before { background: #fff; top: 14px; }
.job-hero .route::before { background: rgba(255,255,255,.4) !important; border-color: rgba(255,255,255,.4) !important; }
.job-hero .route .lbl { color: rgba(255,255,255,.85); }
.job-hero .badge { background: rgba(255,255,255,.22); color: #fff; }
.job-hero .btn { background: #fff; color: var(--brand); box-shadow: none; }
.job-hero .cash-pill { background: #ffe27a; }


/* ---------- Admin ---------- */
.role-admin { background: #eef1f6; }
.sidebar { top: 66px; left: 12px; bottom: 12px; width: 222px; border: 0; border-radius: 24px; box-shadow: var(--shadow); padding: 12px 10px; }
.container.with-sidebar { margin-left: 250px; padding-top: 18px; }
.side-link { border-radius: 14px; }
.side-link.active { background: var(--brand-soft); color: var(--brand); box-shadow: inset 3px 0 0 var(--brand); }
.role-admin .card, .role-admin .stat { border-radius: 22px; }
.role-admin table th { color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: .04em; }
@media (max-width: 900px) { .sidebar { position: static; width: auto; border-radius: 0; box-shadow: none; margin: 0; } .container.with-sidebar { margin-left: auto; } }

/* ---------- Auth pages ---------- */
.auth-box .card { border-radius: 28px; }
.role-public .container { padding-bottom: 40px; }
.wallet-btn { background: #fff !important; color: var(--brand) !important; box-shadow: none; }
.wallet-btn .ic { color: var(--brand) !important; }
.wallet-btn:disabled { opacity: .7; }

/* Customer header: sirf "Fatafut Send" likha (logo, + aur profile icon nahi) */
.brand.brand-text { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.brand.brand-text b { color: var(--brand, #1d4ed8); font-weight: 800; }

/* Account page: sections ke beech jagah, kuch bhi aik doosre par na chadhe */
#addresses .addr-section + .addr-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
#addresses .addr-section > .add-new-btn { margin-top: 12px; }
#addresses .addr-section > p.muted { margin: 0 0 12px !important; }
.input-group > input { min-width: 0; }
.card-title { flex-wrap: wrap; }
.card-title h2 { display: flex; align-items: center; gap: 10px; min-width: 0; line-height: 1.3; }
.saved-list { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.addr-card { min-width: 0; overflow-wrap: anywhere; }
.addr-card .spread { flex-wrap: wrap; row-gap: 6px; }
.mycode .row, #mycode .row { flex-wrap: wrap; }

/* ===== Desktop: customer app poore page par (Mart jaisa) ===== */
@media (min-width: 1000px) {
  body.role-customer .container, body.role-public .container { max-width: 1240px; padding: 26px 40px 130px; }
  body.role-customer .topbar, body.role-public .topbar { padding-left: max(40px, calc((100% - 1240px) / 2 + 40px)); padding-right: max(40px, calc((100% - 1240px) / 2 + 40px)); }
  body.role-customer .ff-apps, body.role-public .ff-apps { max-width: 1160px; margin-left: auto; margin-right: auto; }
  .home-title { font-size: 2.4rem; }
  .search-pill { max-width: 760px; }
  .services { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .svc.wide { grid-column: span 2; }
  .mini-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .live-card { max-width: 100%; }
  /* form / wizard / tracking pages: beech me aaram ki chaurai */
  body.role-customer .container[data-page="new"], body.role-customer .container[data-page="track"], body.role-customer .container[data-page="order"],
  body.role-customer .container[data-page="pay"], body.role-public .container[data-page="login"], body.role-public .container[data-page="register"] { max-width: 860px; }
  body.role-customer .container[data-page="account"] #addresses .saved-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===== Ek row: business order (status + delivery code · pickup code · customer ko bhejo) aur rider job (cash · kamai) ===== */
.ord-row, .rj-row { display: flex; gap: 8px; align-items: stretch; margin-bottom: 12px; }
.ord-row > *, .rj-row > * { flex: 1 1 0; min-width: 0; margin: 0 !important; }
.ord-row .card, .ord-row .code-box, .rj-row > * { padding: 10px !important; border-radius: 14px; }
.ord-row h2 { font-size: .95rem !important; margin: 6px 0 2px !important; }
.ord-row h3 { font-size: .85rem !important; margin: 0 0 4px; display: flex; gap: 4px; align-items: center; }
.ord-row h3 .h-ic { width: 22px; height: 22px; }
.ord-row p, .ord-row small, .rj-row small, .rj-row span { font-size: .68rem !important; line-height: 1.3; }
.ord-row p { margin: 0 0 6px; }
.ord-row .progress { gap: 3px; } .ord-row .progress span { height: 4px; }
.ord-row .otp-display { font-size: 1.25rem; letter-spacing: .25em; padding: 6px 0 6px .25em; border-radius: 10px; }
.ord-row .code-box { flex-direction: column; align-items: flex-start; gap: 4px; background: #0f172a; }
.ord-row .code-box .ic { width: 18px; height: 18px; }
.ord-row .code-box b { font-size: 1.25rem; letter-spacing: .2em; }
.ord-row .share-row { display: flex; flex-direction: column; gap: 5px; }
.ord-row .share-row .btn { padding: 7px 8px; font-size: .74rem; min-height: 0; width: 100%; }
.rj-row .cash-alert { display: flex; gap: 6px; align-items: flex-start; }
.rj-row .cash-alert b, .rj-row .fare-box .big { font-size: 1.05rem !important; display: block; }
.rj-row .cash-ic { width: 26px; height: 26px; flex: none; }
.rj-row .fare-line { font-size: .7rem; gap: 4px; }
.rj-row .fare-box .spread { gap: 4px; flex-wrap: wrap; }
@media (max-width: 380px) { .ord-row, .rj-row { gap: 5px; } .ord-row .otp-display, .ord-row .code-box b { font-size: 1.05rem; letter-spacing: .12em; } }
/* neeche wali tab-patti aakhri button na chhupaye */
body:has(.tabbar) main { padding-bottom: 110px; }

.ord-row .sm-t { display: none; }
.ord-row .card h2, .ord-row .ord-status h2 { font-size: .92rem !important; line-height: 1.2; }
.ord-row .ord-share h3 { font-size: .82rem !important; line-height: 1.2; }
@media (max-width: 640px) {
  .ord-row .lg-t { display: none !important; } .ord-row .sm-t { display: inline; } .ord-row small.sm-t { display: block; }
  .ord-row .ord-share h3 .h-ic { display: none; }
}

/* New delivery: professional compact — Vehicle · When · Who pays ek row me (icon baayen, chhota text) */
.nd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nd-two .field { margin: 0; }
.nd-two label { font-size: .78rem; font-weight: 600; margin-bottom: 4px; }
.nd-two textarea, .nd-two input { height: 46px; min-height: 46px; padding: 10px 12px; font-size: .86rem; resize: none; border-radius: 12px; }
.nd-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 10px; margin-bottom: 12px; align-items: start; }
.nd-row > .card { margin: 0; padding: 12px; min-width: 0; border-radius: 16px; }
.nd-row h2 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #64748b); margin: 0 0 8px; display: flex; gap: 6px; align-items: center; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd-row h2 .h-ic { width: 20px; height: 20px; min-width: 20px; border-radius: 6px; } .nd-row h2 .h-ic .ic { width: 13px; height: 13px; }
.nd-row .choices.two { grid-template-columns: 1fr; gap: 6px; }
.nd-row .choice span { flex-direction: row !important; justify-content: flex-start; align-items: center; gap: 8px; padding: 8px 10px !important; min-height: 38px; border-radius: 11px !important; font-size: .84rem; font-weight: 600; text-align: left; box-shadow: none !important; white-space: nowrap; overflow: hidden; }
.nd-row .choice span em { font-size: 1rem; line-height: 0; flex: none; }
.nd-row .choice span em .ic, .nd-row .choice span em svg { width: 17px !important; height: 17px !important; }
.nd-row .choice span small { display: none !important; }
.nd-hint { margin: 6px 2px 0; font-size: .7rem; color: var(--muted, #64748b); line-height: 1.3; }
.nd-row .sm-t, .nd-feehow .sm-t { display: none; }
.nd-feehow { padding: 10px 12px !important; margin: 0 0 12px; border-radius: 16px; }
.nd-feehow > label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #64748b); margin: 0 0 6px; display: block; }
.nd-feehow .fee-methods { display: flex; gap: 6px; flex-wrap: wrap; }
.nd-feehow .fee-methods label { flex: 1 1 0; min-width: 0; margin: 0; }
.nd-feehow .fee-methods label span { display: flex; align-items: center; gap: 6px; padding: 8px 10px; font-size: .78rem; border-radius: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 38px; }
.nd-feehow .fee-methods label span small { display: none; }
.nd-feehow .fee-methods .ic { width: 15px; height: 15px; flex: none; }
@media (max-width: 640px) {
  .nd-row { gap: 6px; } .nd-row > .card { padding: 9px 8px; border-radius: 14px; }
  .nd-row h2 { font-size: .64rem; gap: 4px; margin-bottom: 6px; } .nd-row h2 .h-ic { display: none; }
  .nd-row .lg-t { display: none; } .nd-row .sm-t { display: inline; }
  .nd-row .choice span { gap: 5px; padding: 7px 7px !important; min-height: 34px; font-size: .72rem; }
  .nd-row .choice span em .ic, .nd-row .choice span em svg { width: 15px !important; height: 15px !important; }
  .nd-hint { font-size: .6rem; }
  .nd-row input[type=datetime-local] { font-size: .66rem; padding: 6px 4px; height: 34px; }
  .nd-row #schedField label { font-size: .62rem; }
  .nd-two { gap: 6px; } .nd-two label { font-size: .7rem; }
  .nd-two textarea, .nd-two input { height: 40px; min-height: 40px; font-size: .76rem; padding: 8px 10px; }
  .nd-feehow .fee-methods label span { font-size: .68rem; padding: 7px 6px; gap: 4px; }
}
.nd-feehow[hidden], .nd-hint[hidden] { display: none !important; }
.nd-row .lg-t { display: none !important; } .nd-row .sm-t { display: inline !important; }

.nd-parcel { padding: 12px !important; border-radius: 16px; margin-bottom: 12px; }
.nd-parcel h2 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #64748b); margin: 0 0 8px; display: flex; gap: 6px; align-items: center; }
.nd-parcel h2 .h-ic { width: 20px; height: 20px; min-width: 20px; border-radius: 6px; } .nd-parcel h2 .h-ic .ic { width: 13px; height: 13px; }
.nd-parcel .sm-t { display: none; } .nd-two label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
@media (max-width: 640px) { .nd-parcel { padding: 9px 8px !important; } .nd-parcel h2 { font-size: .64rem; } .nd-parcel .lg-t { display: none; } .nd-parcel .sm-t { display: inline; } }
/* Mobile: Vehicle + When ek row me, "Who pays?" apni alag poori row me */
@media (max-width: 640px) {
  .nd-row { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .nd-row > .fee-card { grid-column: 1 / -1; }
  .nd-row > .fee-card .choices.two { grid-template-columns: 1fr 1fr; }
  .nd-row > .fee-card .choice span { font-size: .78rem; min-height: 38px; }
}
/* Far area charges (business) — fare box ke andar */
.extra-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin: 8px 0 4px; padding: 8px 0; border-top: 1px dashed rgba(255,255,255,.18); }
.extra-row label { font-size: .8rem; font-weight: 600; display: flex; gap: 5px; align-items: center; margin: 0; }
.extra-row label small { opacity: .7; font-weight: 500; } .extra-row .ic { width: 15px; height: 15px; }
.extra-row .input-group { width: 130px; flex: none; } .extra-row input { height: 36px; padding: 6px 8px; font-size: .9rem; }

/* Deliver to: "Add new address" + Search ek row me, saved list chhoti */
.addr-tools { display: flex; gap: 8px; align-items: stretch; margin: 10px 0; }
.addr-tools .at-add { flex: none; display: flex; align-items: center; gap: 6px; padding: 0 14px; height: 42px; font-size: .84rem; border-radius: 12px; white-space: nowrap; }
.addr-tools .at-add.on { background: var(--brand-soft); color: var(--brand); }
.addr-tools .at-add .ic { width: 16px; height: 16px; }
.addr-tools .at-search { flex: 1; min-width: 0; position: relative; }
.addr-tools .at-search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted, #64748b); pointer-events: none; }
.addr-tools .at-search input { width: 100%; height: 42px; padding: 8px 10px 8px 36px; border-radius: 12px; font-size: .86rem; }
#dropTools ~ .addr-box .add-new-btn { display: none !important; }
.addr-box[data-addr=drop] .saved-list .saved-addr[hidden] { display: none !important; }
.at-more { width: 100%; margin: 6px 0 4px; } .at-more[hidden], .at-none[hidden] { display: none !important; }
.at-none { margin: 6px 2px; }
@media (max-width: 640px) { .addr-tools .at-add { padding: 0 10px; font-size: .76rem; height: 40px; } .addr-tools .at-search input { height: 40px; font-size: .8rem; } }
.fare-box .extra-row label { color: #fff !important; opacity: .92; }
.fare-box .extra-row .input-group { display: flex; align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 10px; overflow: hidden; width: 120px; }
.fare-box .extra-row .input-group .addon { background: none !important; color: #fff; opacity: .75; padding: 0 4px 0 10px; font-size: .8rem; border: 0; height: auto; }
.fare-box .extra-row input { background: transparent !important; color: #fff !important; border: 0 !important; box-shadow: none !important; width: 100%; height: 34px; padding: 4px 8px 4px 2px; font-weight: 700; }
/* Saved addresses (deliver to) — chhote, saaf cards */
.addr-box[data-addr=drop] .saved-addr span { padding: 9px 12px; border-radius: 12px; gap: 2px; }
.addr-box[data-addr=drop] .saved-addr b { font-size: .88rem; }
.addr-box[data-addr=drop] .saved-addr small { font-size: .74rem; line-height: 1.35; }
.addr-box[data-addr=drop] .saved-addr em { font-size: .66rem; }
.addr-box[data-addr=drop] .saved-list { gap: 6px; }
