:root {
  --primary: #0d7a6f;
  --primary-dark: #095c53;
  --primary-soft: #ecfdf8;
  --primary-border: #99f6e4;
  --accent: #f59e0b;
  --pickup: #059669;
  --drop: #dc2626;
  --bg: #f3f6f8;
  --card: #ffffff;
  --surface: #f8fafc;
  --text: #101828;
  --muted: #667085;
  --border: #e4e7ec;
  --danger: #d92d20;
  --danger-soft: #fee4e2;
  --warn: #b54708;
  --warn-soft: #fef0c7;
  --ok: #027a48;
  --ok-soft: #d1fadf;
  --radius: 16px;
  --shadow: 0 4px 16px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 12px 32px rgba(13, 122, 111, 0.14);
}

[data-theme="dark"] {
  --primary: #14b8a6;
  --primary-dark: #0d9488;
  --primary-soft: #0f2926;
  --primary-border: #115e59;
  --bg: #0b1120;
  --card: #111827;
  --surface: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: #273549;
  --danger-soft: #3b1219;
  --warn-soft: #3b2809;
  --ok-soft: #0b3324;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0; padding: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  min-height: 100vh; transition: background .2s ease, color .2s ease;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.hidden { display: none !important; }

/* PWA INSTALL BANNER */
.pwa-banner {
  background: linear-gradient(90deg, #0f172a 0%, #134e4a 100%);
  color: #fff; padding: 8px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 12px; position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 10px rgba(0,0,0,0.22);
}
.pwa-banner-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pwa-banner-ico { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; background: #fff; flex-shrink: 0; }
.pwa-banner-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.pwa-dismiss-btn { background: none; border: none; color: rgba(255,255,255,0.75); font-size: 16px; cursor: pointer; padding: 2px 6px; }

/* TOP BAR */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(135deg, #0d7a6f 0%, #095c53 100%);
  color: #fff; padding: 10px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  box-shadow: 0 2px 10px rgba(9, 92, 83, 0.18);
}
.brand { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 18px; color: #fff; flex-shrink: 0; }
.brand-logo-img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; background: #fff; padding: 2px; }
.brand-badge { background: var(--accent); color: #111; padding: 2px 6px; border-radius: 6px; font-size: 9.5px; font-weight: 800; }
.topbar-right { display: flex; align-items: center; gap: 6px; min-width: 0; }
.lang-pill {
  font-size: 11px; font-weight: 800; color: #fff; max-width: 116px;
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.34);
  padding: 5px 8px; border-radius: 999px; outline: none; cursor: pointer;
}
.lang-pill option { color: #101828; background: #fff; }
.icon-pill-btn {
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.32);
  color: #fff; border-radius: 999px; width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; cursor: pointer; flex-shrink: 0;
}

/* HOMEPAGE / AUTH HERO */
.auth-screen { min-height: 100vh; background: var(--bg); padding-bottom: 42px; }
.auth-hero {
  background: linear-gradient(160deg, #0f8a7d 0%, #0a635a 100%);
  color: #fff; padding: 14px 18px 76px; text-align: center;
  border-bottom-left-radius: 30px; border-bottom-right-radius: 30px;
}
.auth-hero-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; max-width: 560px; margin: 0 auto 12px; }
.logo-tile {
  width: 78px; height: 78px; border-radius: 22px; background: #fff;
  margin: 0 auto 12px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18); padding: 6px; overflow: hidden;
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; display: block; }
.auth-hero h1 { font-size: 29px; font-weight: 800; margin: 0 0 6px; }
.auth-tagline { font-size: 13px; color: rgba(255,255,255,0.92); margin: 0; }
.auth-shell { max-width: 560px; margin: -52px auto 0; padding: 0 14px; position: relative; z-index: 5; }
.auth-card { background: var(--card); border-radius: 22px; padding: 20px 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.auth-card-title { font-size: 20px; font-weight: 800; color: var(--primary); margin: 0 0 4px; }
.auth-card-sub { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.45; }
.auth-role-label { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; margin: 0 0 8px; }
.auth-role-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.auth-role-tile { border: 1.5px solid var(--border); border-radius: 12px; padding: 10px 4px; text-align: center; cursor: pointer; background: var(--card); }
.auth-role-tile .ico { font-size: 18px; display: block; margin-bottom: 3px; }
.auth-role-tile .lbl { font-size: 11px; font-weight: 700; color: var(--text); display: block; }
.auth-role-tile.active { border-color: var(--primary); background: var(--primary-soft); }
.auth-role-tile.active .lbl { color: var(--primary); }
.gsi-center { display: flex; justify-content: center; margin: 12px 0; min-height: 44px; }
.admin-portal-wrap { text-align: center; margin: 14px 0 18px; }
.admin-portal-pill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--card); color: var(--text);
  border: 1px solid var(--border); border-radius: 999px; padding: 9px 18px;
  font-size: 12.5px; font-weight: 700; cursor: pointer; box-shadow: var(--shadow);
}
.admin-banner-box { background: #0f172a; color: #f8fafc; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-size: 12.5px; line-height: 1.45; }

/* INFORMATIVE HOMEPAGE */
.home-section { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 16px; margin-bottom: 14px; box-shadow: var(--shadow); }
.home-section h3 { margin: 0 0 8px; font-size: 16px; color: var(--primary); }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.feat-box { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 11px; }
.feat-box strong { display: block; font-size: 13px; margin-bottom: 3px; color: var(--text); }
.feat-box p { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.legal-footer { text-align: center; padding: 16px 12px 6px; color: var(--muted); font-size: 12px; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0 12px; }
.legal-btn { background: var(--card); border: 1px solid var(--border); color: var(--primary); padding: 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; cursor: pointer; }

/* CORE LAYOUT & BUTTONS */
.container { max-width: 920px; margin: 0 auto; padding: 14px 14px 92px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; box-shadow: var(--shadow); }
h1, h2, h3 { margin: 0 0 10px; }
h2 { font-size: 18px; font-weight: 800; }
h3 { font-size: 15px; font-weight: 800; }
.muted { color: var(--muted); font-size: 13px; }
.small { font-size: 12px; line-height: 1.45; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: none; border-radius: 12px; padding: 11px 16px; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-outline { background: var(--card); color: var(--text); border: 1px solid var(--border); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-warn { background: var(--warn-soft); color: var(--warn); border: 1px solid #fec84b; }
.btn-call { background: var(--ok-soft); color: var(--ok); border: 1px solid #a6f4c5; }
.btn-upi { background: #1d4ed8; color: #fff; }
.btn-chat { background: #eef2ff; color: #3730a3; border: 1px solid #c7d2fe; }
[data-theme="dark"] .btn-chat { background: #1e1b4b; color: #c7d2fe; border-color: #3730a3; }
.btn-nav { background: #0f172a; color: #fff; }
.btn-speak { background: #facc15; color: #111827; font-weight: 800; border-radius: 999px; padding: 8px 13px; font-size: 12.5px; border: none; cursor: pointer; flex-shrink: 0; }
.btn-speak.listening { background: #ef4444; color: #fff; }
.btn-sm { padding: 7px 11px; font-size: 12px; border-radius: 9px; }
.btn-block { width: 100%; }

/* GRIDS & FORMS */
.grid-2, .grid-2-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px; }
.grid-full { grid-column: 1 / -1; }
@media (max-width: 480px) {
  .grid-2-form, .feat-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 11px;
  font-size: 14px; background: var(--card); color: var(--text); outline: none; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); }
.field input[readonly] { background: var(--surface); color: var(--muted); }
.check-row { display: flex; align-items: flex-start; gap: 9px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; cursor: pointer; }
.check-row input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.seg-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.seg-btn { border: 1.5px solid var(--border); background: var(--card); color: var(--text); border-radius: 11px; padding: 9px 6px; font-size: 12px; font-weight: 700; cursor: pointer; text-align: center; }
.seg-btn.active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }

/* TOGGLE SWITCHES (NOTIFICATIONS, PROMO SMS/WHATSAPP, THEME) */
.pref-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--border);
}
.pref-row:last-child { border-bottom: none; padding-bottom: 0; }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; inset: 0; background: #cbd5e1;
  border-radius: 999px; transition: .2s;
}
.slider:before {
  position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px;
  background: #fff; border-radius: 50%; transition: .2s;
}
.switch input:checked + .slider { background: var(--primary); }
.switch input:checked + .slider:before { transform: translateX(18px); }

/* DIETARY BADGES & SORT BAR */
.sort-filter-bar { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.sort-select {
  padding: 6px 10px; border: 1.5px solid var(--border); border-radius: 999px;
  background: var(--card); color: var(--text); font-size: 12px; font-weight: 700; outline: none;
}
.diet-badge {
  display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 800;
  padding: 2px 6px; border-radius: 6px; border: 1px solid;
}
.diet-veg { color: #15803d; border-color: #86efac; background: #f0fdf4; }
.diet-non_veg { color: #b91c1c; border-color: #fca5a5; background: #fef2f2; }
.diet-vegan { color: #047857; border-color: #6ee7b7; background: #ecfdf5; }
.diet-easy { color: #b45309; border-color: #fcd34d; background: #fffbeb; }
[data-theme="dark"] .diet-veg { background: #052e16; border-color: #166534; color: #86efac; }
[data-theme="dark"] .diet-non_veg { background: #450a0a; border-color: #991b1b; color: #fca5a5; }
[data-theme="dark"] .diet-vegan { background: #022c22; border-color: #065f46; color: #6ee7b7; }
[data-theme="dark"] .diet-easy { background: #451a03; border-color: #92400e; color: #fcd34d; }

/* DIRECT UPI QR, SETTLEMENTS & LIVE CHAT */
.settle-box { background: var(--surface); border: 1.5px solid var(--border); border-radius: 12px; padding: 10px 11px; margin-top: 9px; font-size: 12px; }
.settle-box.is-done { background: var(--ok-soft); border-color: #a6f4c5; color: var(--ok); }
.settle-box.is-warn { background: var(--warn-soft); border-color: #fde68a; color: var(--warn); }
.upi-qr-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--card); border: 2px dashed var(--primary-border); border-radius: 16px; padding: 14px; margin: 10px 0; text-align: center; }
#upiQrBox { width: 204px; height: 204px; display: flex; align-items: center; justify-content: center; background: #fff; padding: 8px; border-radius: 12px; border: 1px solid var(--border); }
#upiQrBox img, #upiQrBox canvas { max-width: 100%; max-height: 100%; display: block; }
.upi-id-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; background: var(--primary-soft); color: var(--primary); border: 1px solid var(--primary-border); padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; }

.chat-modal-panel { background: var(--card); border-radius: 18px; max-width: 520px; width: 100%; height: 82vh; max-height: 680px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.34); }
.chat-head { background: linear-gradient(135deg, #0d7a6f 0%, #095c53 100%); color: #fff; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chat-privacy { background: var(--surface); border-bottom: 1px solid var(--border); padding: 7px 12px; font-size: 11px; color: var(--muted); text-align: center; }
.chat-feed { flex: 1; overflow-y: auto; padding: 12px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; }
.chat-bubble { max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: 13px; line-height: 1.4; word-break: break-word; box-shadow: 0 1px 4px rgba(16,24,40,0.06); }
.chat-bubble.me { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble.other { align-self: flex-start; background: var(--card); color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.chat-meta { font-size: 10px; opacity: 0.78; margin-top: 4px; }
.chat-quick-row { display: flex; gap: 6px; overflow-x: auto; padding: 7px 10px; background: var(--card); border-top: 1px solid var(--border); scrollbar-width: none; }
.chat-quick-row::-webkit-scrollbar { display: none; }
.chat-composer { display: flex; gap: 6px; padding: 9px 10px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--card); border-top: 1px solid var(--border); align-items: center; }
.chat-composer input { flex: 1; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 999px; font-size: 13.5px; outline: none; background: var(--surface); color: var(--text); }
.chat-composer input:focus { border-color: var(--primary); background: var(--card); }

/* LANGUAGE HUB */
.trans-hint-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; margin-top: 8px; padding: 7px 10px; border-radius: 10px; background: var(--primary-soft); border: 1px dashed var(--primary-border); font-size: 11.5px; color: var(--primary); }
.trans-link-btn { background: var(--card); color: var(--primary); border: 1px solid var(--primary-border); border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.vote-bar-track { width: 100%; height: 7px; border-radius: 999px; background: var(--border); overflow: hidden; margin: 6px 0; }
.vote-bar-fill { height: 100%; border-radius: 999px; background: var(--primary); transition: width .2s; }
.word-trans-row { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px; margin-bottom: 8px; }
.word-trans-input-row { display: flex; gap: 6px; margin-top: 6px; }
.word-trans-input-row input { flex: 1; padding: 8px 10px; border: 1.5px solid var(--border); border-radius: 9px; font-size: 13px; background: var(--card); color: var(--text); outline: none; }
.verify-card { background: var(--card); border: 1.5px solid var(--border); border-radius: 14px; padding: 12px; margin-bottom: 10px; box-shadow: var(--shadow); }
.verify-proposed { background: var(--primary-soft); border: 1px solid var(--primary-border); border-radius: 10px; padding: 8px 10px; margin: 6px 0; font-size: 14px; font-weight: 800; color: var(--primary); }
.btn-vote-yes { background: var(--ok); color: #fff; flex: 1; }
.btn-vote-no { background: var(--danger-soft); color: var(--danger); border: 1px solid #fecdca; flex: 1; }
.lang-grid-wrap { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* RIDES & MAP UI */
.ride-hero-card { padding: 0; overflow: hidden; }
.ride-hero-map-wrap { position: relative; height: 240px; width: 100%; z-index: 1; isolation: isolate; overflow: hidden; }
#rideMapBox, #pinMapBox, #navMapBox, .map-stage-wrap { position: relative; z-index: 1; isolation: isolate; overflow: hidden; touch-action: none; }
.ride-sheet-body { padding: 14px; background: var(--card); }
.where-bar { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 999px; padding: 5px 6px 5px 14px; margin-bottom: 10px; }
.where-bar-text { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.where-bar-text.empty { color: var(--muted); font-weight: 600; }
.pin-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; flex-shrink: 0; border: 2px solid #fff; box-shadow: 0 0 0 1.5px rgba(0,0,0,0.18); }
.pin-dot-p { background: var(--pickup); }
.pin-dot-d { background: var(--drop); }
.ride-point-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); margin-bottom: 10px; }
.ride-point-row.is-pickup { border-left: 4px solid var(--pickup); }
.ride-point-text { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.ride-point-text.empty { color: var(--muted); font-weight: 500; }
.spot-card { flex-shrink: 0; width: 122px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 8px 9px; cursor: pointer; text-align: left; }
.spot-card strong { display: block; font-size: 11.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot-card span { display: block; font-size: 10.5px; color: var(--muted); }
.svc-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 2px solid var(--border); border-radius: 14px; padding: 11px 12px; margin-bottom: 8px; cursor: pointer; background: var(--card); }
.svc-option.active { border-color: var(--primary); background: var(--primary-soft); }
.svc-option .svc-ico { font-size: 24px; width: 34px; text-align: center; flex-shrink: 0; }
.svc-option .svc-price { font-size: 17px; font-weight: 900; color: var(--primary); text-align: right; }

.pin-box-row { display: inline-flex; gap: 5px; align-items: center; }
.pin-digit-box { width: 28px; height: 32px; border-radius: 8px; background: var(--surface); border: 1.5px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px; color: var(--text); }
.partner-active-box { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px; margin-top: 8px; }
.pack-timer-pill { display: inline-flex; align-items: center; gap: 5px; background: var(--warn-soft); color: var(--warn); border: 1px solid #fcd34d; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; }
.pack-timer-pill.overdue { background: var(--danger-soft); color: var(--danger); border-color: #fecdca; }
.store-mini-card { flex-shrink: 0; width: 176px; background: var(--card); border: 1.5px solid var(--border); border-radius: 14px; padding: 10px; cursor: pointer; box-shadow: var(--shadow); }
.store-mini-card:hover { border-color: var(--primary); }
.store-link-btn { background: none; border: none; padding: 0; color: var(--primary); font-size: 11.5px; font-weight: 700; cursor: pointer; text-align: left; }

.map-stage-wrap { height: 270px; width: 100%; border-radius: 14px; border: 1.5px solid var(--border); margin-bottom: 8px; }
.center-pin-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%); z-index: 1005 !important; pointer-events: none; transition: transform .12s ease-out; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.35)); }
.center-pin-overlay.lifting { transform: translate(-50%, -118%); }
.center-pin-shadow { position: absolute; top: 50%; left: 50%; width: 12px; height: 5px; background: rgba(0,0,0,0.35); border-radius: 50%; transform: translate(-50%, -50%); z-index: 1004 !important; pointer-events: none; }
.map-float-gps { position: absolute; right: 10px; bottom: 10px; z-index: 1006 !important; background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 7px 10px; font-size: 12px; font-weight: 800; box-shadow: 0 4px 12px rgba(0,0,0,0.2); cursor: pointer; }
.custom-pin-badge { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; border: 2.5px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,0.32); }
.custom-pin-badge span { transform: rotate(45deg); color: #fff; font-weight: 900; font-size: 12px; }
.custom-pin-badge.p-pin { background: var(--pickup); }
.custom-pin-badge.d-pin { background: var(--drop); }
.custom-pin-badge.s-pin { background: #d97706; }
.live-me-dot { width: 18px; height: 18px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(37,99,235,0.28); }

.nav-fullscreen { position: fixed; inset: 0; z-index: 2200 !important; background: #0f172a; display: flex; flex-direction: column; }
.nav-hud-top { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; z-index: 5; }
.nav-map-canvas { flex: 1; width: 100%; position: relative; }
.nav-hud-bottom { background: var(--card); padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); z-index: 5; }
.nav-metric-strip { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.contact-bar { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 9px; padding-top: 9px; border-top: 1px dashed var(--border); }

/* ROLES, PILLS, TABS, CHIPS, SEARCH */
.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0 16px; }
.role-card { border: 2px solid var(--border); border-radius: 14px; padding: 12px 8px; text-align: center; cursor: pointer; background: var(--card); }
.role-card.active { border-color: var(--primary); background: var(--primary-soft); }
.role-card .title { font-weight: 800; font-size: 13.5px; margin-bottom: 3px; }
.role-card .sub { font-size: 11px; color: var(--muted); line-height: 1.3; }
.capture-box { border: 1.5px dashed var(--border); border-radius: 14px; padding: 12px; background: var(--surface); margin-bottom: 12px; }
.capture-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.capture-preview { margin-top: 10px; width: 100%; max-height: 190px; object-fit: contain; border-radius: 10px; border: 1px solid var(--border); background: #0f172a; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; }
.pill-verified { background: var(--ok-soft); color: var(--ok); }
.pill-pending { background: var(--warn-soft); color: var(--warn); }
.pill-rejected, .pill-suspended { background: var(--danger-soft); color: var(--danger); }
.pill-info { background: #e0f2fe; color: #026aa2; }
[data-theme="dark"] .pill-info { background: #0c4a6e; color: #7dd3fc; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--surface); padding: 4px; border-radius: 12px; }
.tabs.tabs-2 { grid-template-columns: repeat(2, 1fr); }
.tabs.tabs-4 { grid-template-columns: repeat(4, 1fr); }
.tabs.tabs-5 { grid-template-columns: repeat(5, 1fr); }
.tabs.tabs-6 { grid-template-columns: repeat(3, 1fr); }
.tab { border: none; background: transparent; color: var(--muted); padding: 8px 3px; border-radius: 9px; font-weight: 700; font-size: 11px; cursor: pointer; text-align: center; }
.tab.active { background: var(--primary); color: #fff; }
.chip-row { display: flex; gap: 7px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip { border: 1px solid var(--border); background: var(--card); color: var(--text); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.chip.active { background: var(--primary-soft); color: var(--primary); border-color: var(--primary); }
.search-wrap { position: relative; margin-top: 10px; }
.search-wrap input { width: 100%; padding: 10px 12px 10px 34px; border: 1.5px solid var(--border); border-radius: 12px; font-size: 13.5px; background: var(--surface); color: var(--text); outline: none; }
.search-ico { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); }

/* STORES, INVENTORY, NAV, AVATARS, CAMERA, MODALS */
.store-box { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin-top: 10px; }
.store-warn { background: var(--warn-soft); border: 1px solid #fde68a; border-radius: 10px; padding: 9px 11px; margin-top: 8px; font-size: 12px; color: var(--warn); }
.helmet-box { background: var(--primary-soft); border: 1.5px solid var(--primary-border); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.admin-store-row { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; margin-top: 6px; font-size: 12px; }
.inv-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; box-shadow: var(--shadow); }
.inv-item.is-off { opacity: 0.72; }
.inv-thumb { width: 66px; height: 66px; border-radius: 12px; object-fit: cover; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; flex-shrink: 0; border: 1px solid var(--border); }
.cancel-countdown-btn { background: var(--danger); color: #fff; }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: var(--card); border-top: 1px solid var(--border); display: flex; justify-content: space-around; padding: 6px 4px calc(8px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -4px 18px rgba(16,24,40,0.06); }
.nav-btn { background: none; border: none; color: var(--muted); font-size: 10.5px; font-weight: 700; padding: 6px 8px; border-radius: 12px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 62px; }
.nav-btn svg { width: 20px; height: 20px; }
.nav-btn.active { color: var(--primary); background: var(--primary-soft); }
.avatar-box { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; border: 2.5px solid var(--primary); background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; overflow: hidden; }
.avatar-box.sm { width: 46px; height: 46px; font-size: 15px; }
.avatar-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doc-card-box { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.doc-thumb { width: 100%; height: 145px; object-fit: contain; border-radius: 8px; border: 1px solid var(--border); cursor: pointer; background: #0f172a; display: block; }
.doc-thumb-hint { font-size: 10.5px; color: var(--primary); font-weight: 700; text-align: right; }
.kyc-warn-box { background: var(--danger-soft); border: 1px solid #fecdca; color: var(--danger); border-radius: 10px; padding: 9px 11px; font-size: 12px; font-weight: 600; margin-top: 10px; }
.kyc-audit-line { background: var(--ok-soft); color: var(--ok); border-radius: 9px; padding: 7px 10px; font-size: 11.5px; font-weight: 700; margin-top: 10px; }
.prod-img { width: 100%; height: 120px; object-fit: cover; border-radius: 11px; background: var(--surface); display: block; }
.prod-img-placeholder { width: 100%; height: 120px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 26px; }
.stat-box { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.stat-val { font-size: 18px; font-weight: 800; color: var(--primary); }
.stat-lbl { font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.empty-state { text-align: center; padding: 24px 16px; }
.empty-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.bill-box { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.bill-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 4px 0; color: var(--text); }
.bill-row.total { border-top: 1px dashed var(--border); margin-top: 6px; padding-top: 8px; font-size: 15px; font-weight: 800; color: var(--text); }
.slab-row { border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin-bottom: 10px; background: var(--surface); }
.slab-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.slab-sim { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: var(--primary-soft); border: 1px solid var(--primary-border); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.slab-sim input { width: 110px; padding: 7px 10px; border: 1.5px solid var(--primary-border); border-radius: 8px; font-size: 13px; font-weight: 700; background: var(--card); color: var(--text); }
.cam-modal { position: fixed; inset: 0; z-index: 2100 !important; background: #000; display: flex; flex-direction: column; }
.cam-header { position: relative; z-index: 3; padding: 12px 16px; color: #fff; background: rgba(0,0,0,0.75); display: flex; align-items: center; justify-content: space-between; }
.cam-stage { position: relative; flex: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #000; }
.cam-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-stage video.mirror { transform: scaleX(-1); }
.cam-guide { position: relative; z-index: 2; border: 3px solid #facc15; box-shadow: 0 0 0 9999px rgba(0,0,0,0.68); pointer-events: none; }
.cam-guide.ready { border-color: #22c55e; }
.cam-guide.oval { width: 66vw; max-width: 280px; aspect-ratio: 3 / 4; border-radius: 50%; }
.cam-guide.doc-card { width: 88vw; max-width: 440px; aspect-ratio: 1.586 / 1; border-radius: 12px; }
.cam-guide.doc-sheet { width: 82vw; max-width: 360px; aspect-ratio: 0.72 / 1; border-radius: 12px; }
.cam-status { position: absolute; bottom: 14px; left: 12px; right: 12px; z-index: 3; text-align: center; color: #fff; font-size: 13px; font-weight: 700; background: rgba(0,0,0,0.74); padding: 8px 12px; border-radius: 999px; }
.cam-footer { position: relative; z-index: 3; padding: 14px 16px; background: #0b0b0b; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 2000 !important; background: rgba(15,23,42,0.74); display: flex; align-items: center; justify-content: center; padding: 12px; }
.modal-panel { background: var(--card); color: var(--text); border-radius: 16px; max-width: 580px; width: 100%; max-height: 92vh; overflow-y: auto; padding: 14px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.pin-res-item { padding: 8px 10px; border-bottom: 1px solid var(--border); cursor: pointer; font-size: 12.5px; }
.pin-res-item:hover { background: var(--primary-soft); }
.toast { position: fixed; top: 68px; left: 50%; transform: translateX(-50%); z-index: 2500 !important; background: #101828; color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; max-width: 90vw; text-align: center; }
.divider { height: 1px; background: var(--border); margin: 12px 0; }
.auth-err { margin-top: 10px; padding: 9px 11px; border-radius: 10px; background: var(--danger-soft); color: var(--danger); font-size: 12px; text-align: left; word-break: break-word; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 700; }
/* =========================================================================
   PHASE A: BOTTOM SHEETS, DIALOGS, UPI APPS, CHAT BADGES & COMMUNITY SPOTS
   ========================================================================= */

/* Soft Floating Toast Notifications */
.toast {
  position: fixed; top: 18px; left: 50%; transform: translate(-50%, -14px);
  z-index: 2600 !important; background: #0f172a; color: #fff;
  padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  max-width: 92vw; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast.toast-ok { background: #065f46; }
.toast.toast-warn { background: #92400e; }
.toast.toast-err { background: #991b1b; }

/* Native Bottom Sheet Modal (Sort, Filters, City Picker, Dialogs) */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 2300 !important;
  background: rgba(15, 23, 42, 0.62); backdrop-filter: blur(2px);
  display: flex; align-items: flex-end; justify-content: center;
}
.sheet-panel {
  background: var(--card); color: var(--text); width: 100%; max-width: 560px;
  border-top-left-radius: 22px; border-top-right-radius: 22px;
  padding: 12px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  max-height: 85vh; overflow-y: auto;
  box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.26);
  animation: sheetSlideUp .22s ease-out;
}
@keyframes sheetSlideUp {
  from { transform: translateY(36px); opacity: 0.7; }
  to { transform: translateY(0); opacity: 1; }
}
.sheet-handle {
  width: 40px; height: 4px; border-radius: 999px;
  background: var(--border); margin: 0 auto 12px;
}
.sheet-option {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 12px 13px; margin-bottom: 7px; border-radius: 13px;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  font-size: 13.5px; font-weight: 700; cursor: pointer; text-align: left;
}
.sheet-option.active {
  border-color: var(--primary); background: var(--primary-soft); color: var(--primary);
}
.sheet-radio {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sheet-option.active .sheet-radio { border-color: var(--primary); }
.sheet-option.active .sheet-radio::after {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--primary);
}

/* Multi-App UPI Grid & Save QR */
.upi-apps-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px; margin-bottom: 10px;
}
.upi-app-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 8px; border-radius: 12px; font-size: 12.5px; font-weight: 800;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  text-decoration: none; cursor: pointer;
}
.upi-app-btn:hover { border-color: var(--primary); text-decoration: none; }
.upi-app-btn.gpay { border-color: #93c5fd; color: #1d4ed8; }
.upi-app-btn.phonepe { border-color: #c4b5fd; color: #6d28d9; }
.upi-app-btn.paytm { border-color: #7dd3fc; color: #0369a1; }
[data-theme="dark"] .upi-app-btn.gpay { color: #93c5fd; }
[data-theme="dark"] .upi-app-btn.phonepe { color: #c4b5fd; }
[data-theme="dark"] .upi-app-btn.paytm { color: #7dd3fc; }

/* Unread Chat Count Badges */
.btn-chat { position: relative; }
.chat-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--danger); color: #fff; font-size: 10.5px; font-weight: 900;
  margin-left: 4px; line-height: 1;
}
.nav-btn { position: relative; }
.nav-badge {
  position: absolute; top: 3px; right: 12px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  background: var(--danger); color: #fff; font-size: 10px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--card);
}

/* Community City Spots Bar & Search Source Tags */
.city-bar-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px; margin-bottom: 8px; flex-wrap: wrap;
}
.spot-src-tag {
  display: inline-block; font-size: 9.5px; font-weight: 800; padding: 2px 6px;
  border-radius: 999px; margin-right: 5px; vertical-align: middle;
}
.spot-src-tag.verified { background: var(--ok-soft); color: var(--ok); }
.spot-src-tag.ola { background: #fef3c7; color: #92400e; }
.spot-src-tag.map { background: var(--surface); color: var(--muted); border: 1px solid var(--border); }
/* =========================================================================
   PHASE B: LEFT DRAWER, SEPARATE ENTITIES, SERVICES, GST RECEIPTS, RAIN & FEST
   ========================================================================= */

/* Hamburger Button in Topbar */
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.12); color: #fff; font-size: 19px; font-weight: 800;
  cursor: pointer; flex-shrink: 0; line-height: 1;
}

/* Left Slide-Out Category Drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 2400 !important;
  background: rgba(15, 23, 42, 0.58); backdrop-filter: blur(2px);
  display: flex; justify-content: flex-start;
}
.drawer-panel {
  width: 84vw; max-width: 330px; height: 100%; background: var(--card); color: var(--text);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 10px 0 32px rgba(0, 0, 0, 0.28);
  animation: drawerSlideIn .22s ease-out;
}
@keyframes drawerSlideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
.drawer-head {
  background: linear-gradient(135deg, #0d7a6f, #0a5c54); color: #fff;
  padding: 16px 14px; display: flex; justify-content: space-between; align-items: center;
}
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 14px 28px; }
.drawer-sec-title {
  font-size: 11px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--primary); margin: 14px 0 7px; display: flex; align-items: center; gap: 6px;
}
.drawer-sec-title:first-child { margin-top: 2px; }
.drawer-item {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 11px; margin-bottom: 5px; border-radius: 11px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font-size: 13px; font-weight: 700; cursor: pointer; text-align: left;
}
.drawer-item:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }

/* Rain Surge Live Banner */
.rain-banner {
  background: linear-gradient(135deg, #0369a1, #1e3a8a); color: #fff;
  padding: 10px 13px; border-radius: 14px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(3, 105, 161, 0.24);
}

/* Festival Spotlight Shelf */
.festival-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(234, 88, 12, 0.10));
  border: 1.5px solid #f59e0b; border-radius: 16px; padding: 13px; margin-bottom: 14px;
}
.festival-item-mini {
  min-width: 148px; max-width: 158px; flex-shrink: 0; background: var(--card);
  border: 1px solid var(--border); border-radius: 13px; padding: 9px;
  display: flex; flex-direction: column; gap: 4px;
}

/* Separate Entity Switcher (All / Shops / Restaurants) */
.entity-tabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px; margin-bottom: 10px;
}
.entity-tab-btn {
  padding: 9px 6px; border-radius: 12px; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 12.5px; font-weight: 800;
  cursor: pointer; text-align: center; transition: all .15s ease;
}
.entity-tab-btn.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* Service Cards & Pricing Pills */
.service-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 12px; display: flex; flex-direction: column; gap: 8px;
}
.service-card-top { display: flex; gap: 10px; align-items: flex-start; }
.service-price-tag {
  font-size: 15px; font-weight: 900; color: var(--primary);
}

/* Seller GST Breakdown Live Box */
.gst-preview-box {
  background: var(--surface); border: 1.5px dashed var(--primary); border-radius: 12px;
  padding: 10px 12px; margin-bottom: 12px; font-size: 12.5px;
}
.gst-preview-row { display: flex; justify-content: space-between; margin: 3px 0; }

/* Digital Sale Receipt / GST Tax Invoice */
.receipt-sheet {
  background: #ffffff; color: #0f172a; border: 1.5px solid #cbd5e1;
  border-radius: 14px; padding: 14px; font-size: 12.5px; line-height: 1.45;
}
.receipt-head {
  text-align: center; border-bottom: 1.5px dashed #94a3b8; padding-bottom: 10px; margin-bottom: 10px;
}
.receipt-table {
  width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 11.5px;
}
.receipt-table th, .receipt-table td {
  padding: 5px 4px; border-bottom: 1px solid #e2e8f0; text-align: left;
}
.receipt-table th:last-child, .receipt-table td:last-child { text-align: right; }
.receipt-totals {
  border-top: 1.5px dashed #94a3b8; padding-top: 8px; margin-top: 8px;
}
.receipt-tot-row { display: flex; justify-content: space-between; margin: 3px 0; }
.receipt-tot-row.grand {
  font-size: 15px; font-weight: 900; border-top: 1px solid #cbd5e1; padding-top: 6px; margin-top: 6px;
}

/* 5-tile Auth Role Strip */
.auth-role-strip-5 {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px;
}
@media (max-width: 420px) {
  .auth-role-strip-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* =========================================================================
   PHASE C: NOTIFICATION BELL, INBOX, PHOTO NUDGES, ANNOUNCEMENT & STUDIO
   ========================================================================= */

/* Topbar Notification Bell */
.bell-btn { position: relative; }
.bell-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  background: var(--danger); color: #fff; font-size: 10px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid #0d7a6f;
}

/* Site-Wide Admin Announcement Bar */
.announce-bar {
  background: linear-gradient(135deg, #0d7a6f, #0f766e); color: #fff;
  padding: 10px 13px; border-radius: 14px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12.5px; font-weight: 700; cursor: pointer;
  box-shadow: 0 6px 16px rgba(13, 122, 111, 0.22);
}

/* Gentle Partner Photo Nudge Card */
.nudge-card {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(13, 122, 111, 0.08));
  border: 1.5px solid #f59e0b; border-radius: 16px; padding: 13px; margin-bottom: 12px;
}

/* Notification Inbox Items */
.notif-row {
  padding: 11px 12px; border-radius: 13px; border: 1px solid var(--border);
  background: var(--surface); margin-bottom: 8px; cursor: pointer;
  display: flex; gap: 10px; align-items: flex-start;
}
.notif-row.is-unread {
  border-color: var(--primary); background: var(--primary-soft);
}
.notif-ico {
  width: 34px; height: 34px; border-radius: 10px; background: var(--card);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0; border: 1px solid var(--border);
}

/* Maintenance Mode Full-Screen Overlay */
.maint-overlay {
  position: fixed; inset: 0; z-index: 2900 !important;
  background: var(--bg); color: var(--text);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  text-align: center;
}
.maint-card {
  max-width: 420px; width: 100%; background: var(--card);
  border: 1.5px solid var(--border); border-radius: 22px; padding: 26px 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* Campaign & Archive Log Rows */
.archive-row {
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); margin-bottom: 8px;
}
