@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons+Outlined");
@import url("https://unpkg.com/leaflet@1.9.4/dist/leaflet.css");

/* ══ RESET ══════════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
body {
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background 0.35s,
    color 0.35s;
}
a {
  text-decoration: none;
}
input,
textarea,
select {
  font-family: "Outfit", sans-serif;
}
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
}

/* ══ DARK MODE (DEFAULT) ════════════════════════════════════════════════════ */
:root,
[data-theme="dark"] {
  --bg: #020b18;
  --bg-deep: #030912;
  --card: #0b1a30;
  --card-dark: #080f1e;
  --surface: #0d1f3c;
  --border: rgba(201, 125, 58, 0.15);
  --border-soft: rgba(201, 125, 58, 0.07);
  --gold: #c97d3a;
  --gold-lt: #e8a857;
  --cognac: #8b4513;
  --fire: #e8a857;
  --cyan: #00d4ff;
  --green: #00e87a;
  --red: #ff5a5a;
  --orange: #f5a623;
  --text: #eef3ff;
  --muted: #5a7399;
  --dim: #3a5a80;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.75);
  --glow: 0 0 32px rgba(201, 125, 58, 0.18);
  --sidebar-bg: #060e1c;
  --topbar-bg: #080f1e;
  --nav-bg: rgba(2, 11, 24, 0.97);
  --orb-bg: #0d1f3c;
  --orb-border: rgba(201, 125, 58, 0.3);
  --orb-icon: #c97d3a;
  --input-bg: #080f1e;
  --map-bg: #030912;
  --sidebar-w: 64px;
  --sidebar-expanded: 220px;
}

/* ══ LIGHT MODE ═════════════════════════════════════════════════════════════ */
[data-theme="light"] {
  --bg: #f8f9fb;
  --bg-deep: #f0f2f6;
  --card: #ffffff;
  --card-dark: #f5f7fa;
  --surface: #eef1f7;
  --border: rgba(139, 69, 19, 0.13);
  --border-soft: rgba(139, 69, 19, 0.06);
  --gold: #c97d3a;
  --gold-lt: #e8a857;
  --cognac: #8b4513;
  --fire: #b5651d;
  --cyan: #0099bb;
  --green: #00a855;
  --red: #e03030;
  --orange: #d4861a;
  --text: #020b18;
  --muted: #4a6080;
  --dim: #8aabcc;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --glow: 0 0 32px rgba(201, 125, 58, 0.1);
  --sidebar-bg: #ffffff;
  --topbar-bg: #ffffff;
  --nav-bg: rgba(255, 255, 255, 0.97);
  --orb-bg: #ffffff;
  --orb-border: rgba(139, 69, 19, 0.18);
  --orb-icon: #8b4513;
  --input-bg: #f5f7fa;
  --map-bg: #e8eef4;
}

body {
  background: var(--bg);
  color: var(--text);
}
a {
  color: var(--gold);
}

/* ══ MODE ORB — TOP RIGHT ════════════════════════════════════════════════════ */
#mode-orb {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 10000;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orb-bg);
  border: 1px solid var(--orb-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}
#mode-orb:hover {
  transform: scale(1.12);
  box-shadow: var(--glow);
  border-color: var(--gold);
}
#mode-orb .material-icons-outlined {
  font-size: 17px;
  color: var(--orb-icon);
  transition:
    transform 0.4s,
    opacity 0.2s;
}
#mode-orb.switching .material-icons-outlined {
  transform: rotate(180deg);
  opacity: 0;
}
#mode-orb::after {
  content: attr(data-tip);
  position: absolute;
  top: 110%;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#mode-orb:hover::after {
  opacity: 1;
}

/* ══ TEST BANNER ════════════════════════════════════════════════════════════ */
#test-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--orange);
  color: #1a0a00;
  padding: 7px 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Space Mono", monospace;
  letter-spacing: 0.5px;
}
#test-banner .close-banner {
  cursor: pointer;
  margin-left: 12px;
  opacity: 0.7;
  display: flex;
  align-items: center;
}
#test-banner .close-banner:hover {
  opacity: 1;
}
body.has-banner {
  padding-top: 36px;
}

/* ══ LAYOUT ═════════════════════════════════════════════════════════════════ */
.page {
  min-height: 100vh;
  transition: opacity 0.22s ease;
}
.dashboard-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ══ SLIM SIDEBAR ═══════════════════════════════════════════════════════════ */
.sidebar {
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  height: 100vh;
  overflow: hidden;
  flex-shrink: 0;
  border-right: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  transition:
    width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s;
  position: relative;
  z-index: 100;
}
.sidebar:hover {
  width: var(--sidebar-expanded);
}

.sidebar-logo {
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  white-space: nowrap;
  min-height: 68px;
  justify-content: center;
}
.sidebar:hover .sidebar-logo {
  justify-content: flex-start;
  padding-left: 16px;
}
.sidebar-logo .logo-icon {
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}
.sidebar-logo .logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.sidebar-logo .logo-sub {
  font-size: 10px;
  display: block;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  margin-top: 2px;
  opacity: 0;
  transition: opacity 0.2s;
}
.sidebar:hover .logo-text,
.sidebar:hover .logo-sub {
  opacity: 1;
}

.sidebar-nav {
  list-style: none;
  padding: 8px 0;
  flex: 1;
  overflow: hidden;
}
.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}
.sidebar:hover .sidebar-nav li a {
  justify-content: flex-start;
  padding-left: 13px;
}
.sidebar-nav li a:hover {
  color: var(--text);
  background: rgba(201, 125, 58, 0.06);
}
.sidebar-nav li a.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(201, 125, 58, 0.09);
}
.sidebar-nav li a .material-icons-outlined {
  font-size: 20px;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}
.sidebar:hover .sidebar-nav li a .material-icons-outlined {
  width: auto;
  margin-left: 0;
}
.nav-label {
  opacity: 0;
  transition: opacity 0.15s;
  font-size: 13px;
}
.sidebar:hover .nav-label {
  opacity: 1;
}

.sidebar-bottom {
  padding: 8px 0;
  border-top: 1px solid var(--border-soft);
}

/* Tooltip for collapsed sidebar */
.sidebar-nav li a::after {
  content: attr(data-label);
  position: absolute;
  left: calc(var(--sidebar-w) + 8px);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 200;
  box-shadow: var(--shadow-md);
}
.sidebar:not(:hover) .sidebar-nav li a:hover::after {
  opacity: 1;
}

/* ══ MAIN CONTENT ═══════════════════════════════════════════════════════════ */
.main-content {
  flex: 1;
  overflow-y: auto;
  padding: 28px 32px;
  background: var(--bg);
  scroll-behavior: smooth;
}

/* ══ TOP BAR ════════════════════════════════════════════════════════════════ */
.top-bar {
  height: 60px;
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  padding: 0 24px 0 20px;
  flex-shrink: 0;
  gap: 16px;
  transition: background 0.35s;
  box-shadow: var(--shadow-sm);
}
.topbar-greeting {
  flex: 1;
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--text);
}
.topbar-greeting span {
  color: var(--gold);
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-notif {
  position: relative;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.topbar-notif:hover {
  background: rgba(201, 125, 58, 0.08);
}
.topbar-notif .material-icons-outlined {
  font-size: 20px;
  color: var(--muted);
}
.topbar-notif #notif-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  min-width: 16px;
  height: 16px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--topbar-bg);
  padding: 0 3px;
  pointer-events: none;
}
.topbar-notif #notif-badge:empty {
  display: none;
}

/* ══ CARDS ══════════════════════════════════════════════════════════════════ */
.card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 22px;
  transition:
    background 0.35s,
    border-color 0.35s;
}
.card-sm {
  padding: 14px;
}
.card-dark {
  background: var(--card-dark);
}
.card-hover {
  transition: all 0.3s;
}
.card-hover:hover {
  border-color: rgba(201, 125, 58, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ══ PREMIUM STAT CARDS ═════════════════════════════════════════════════════ */
.stat-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 20px 22px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cognac), var(--fire));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.stat-card:hover::before {
  transform: scaleX(1);
}
.stat-card:hover {
  border-color: rgba(201, 125, 58, 0.25);
  box-shadow: var(--shadow-sm);
}
.stat-card .stat-icon {
  color: var(--gold);
  margin-bottom: 12px;
  opacity: 0.7;
}
.stat-card .stat-icon .material-icons-outlined {
  font-size: 22px;
}
.stat-card .stat-val {
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card .stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}
.stat-card .stat-change {
  font-size: 12px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.stat-change.up {
  color: var(--green);
}
.stat-change.down {
  color: var(--red);
}
.stat-change .material-icons-outlined {
  font-size: 14px;
}

/* ══ BUTTONS ════════════════════════════════════════════════════════════════ */
.btn {
  border: none;
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  padding: 11px 22px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.btn .material-icons-outlined {
  font-size: 17px;
}
.btn-gold {
  background: linear-gradient(135deg, var(--cognac), var(--gold));
  color: #fff;
  box-shadow: 0 4px 16px rgba(139, 69, 19, 0.25);
}
.btn-gold:hover {
  box-shadow: 0 6px 24px rgba(139, 69, 19, 0.35);
}
.btn-green {
  background: var(--green);
  color: #020b18;
}
.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-ghost:hover {
  background: rgba(201, 125, 58, 0.08);
}
.btn-ghost-green {
  background: transparent;
  border: 1.5px solid var(--green);
  color: var(--green);
}
.btn-ghost-red {
  background: transparent;
  border: 1.5px solid var(--red);
  color: var(--red);
}
.btn-test {
  background: var(--orange);
  color: #1a0a00;
  border: 2px dashed rgba(26, 10, 0, 0.3);
}
.btn-sm {
  padding: 7px 16px;
  font-size: 12px;
  border-radius: 8px;
}
.btn-full {
  width: 100%;
}
.btn-icon {
  padding: 9px;
  border-radius: 10px;
}

/* ══ INPUTS ═════════════════════════════════════════════════════════════════ */
.input-group {
  margin-bottom: 18px;
}
.input-group label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 7px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.input-field {
  width: 100%;
  background: var(--input-bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 16px;
  font-size: 14px;
  transition:
    border-color 0.2s,
    background 0.35s,
    color 0.35s;
}
.input-field:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 125, 58, 0.1);
}
.input-field::placeholder {
  color: var(--dim);
}
.input-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.input-prefix {
  background: var(--input-bg);
  border: 1.5px solid var(--border);
  border-radius: 10px 0 0 10px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
  border-right: none;
}
.input-row .input-field {
  border-radius: 0 10px 10px 0;
}
select.input-field {
  appearance: none;
  cursor: pointer;
}

/* ══ BADGES ═════════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.badge-gold {
  background: rgba(201, 125, 58, 0.15);
  color: var(--gold);
}
.badge-green {
  background: rgba(0, 232, 122, 0.12);
  color: var(--green);
}
.badge-red {
  background: rgba(255, 90, 90, 0.12);
  color: var(--red);
}
.badge-orange {
  background: rgba(245, 166, 35, 0.12);
  color: var(--orange);
}
.badge-cyan {
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
}
.badge-muted {
  background: rgba(90, 115, 153, 0.12);
  color: var(--muted);
}

/* ══ TOAST ══════════════════════════════════════════════════════════════════ */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.toast {
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  animation: slideIn 0.3s ease;
  max-width: 300px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
}

/* ══ MODAL ══════════════════════════════════════════════════════════════════ */
#modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 20px;
}
#modal-content {
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--border);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  transition: background 0.35s;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--gold);
}
.modal-body {
  padding: 26px;
}
.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}
.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.modal-close .material-icons-outlined {
  font-size: 20px;
}

/* ══ SHIMMER ════════════════════════════════════════════════════════════════ */
.shimmer {
  background: linear-gradient(
    90deg,
    var(--card) 25%,
    var(--surface) 50%,
    var(--card) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 10px;
}

/* ══ GRID / UTILS ═══════════════════════════════════════════════════════════ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gap-8 {
  gap: 8px;
}
.gap-12 {
  gap: 12px;
}
.gap-16 {
  gap: 16px;
}
.mt-8 {
  margin-top: 8px;
}
.mt-12 {
  margin-top: 12px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mb-16 {
  margin-bottom: 16px;
}
.mb-24 {
  margin-bottom: 24px;
}
.text-gold {
  color: var(--gold);
}
.text-green {
  color: var(--green);
}
.text-red {
  color: var(--red);
}
.text-cyan {
  color: var(--cyan);
}
.text-muted {
  color: var(--muted);
}
.text-sm {
  font-size: 13px;
}
.text-lg {
  font-size: 18px;
}
.text-xl {
  font-size: 24px;
}
.font-bold {
  font-weight: 700;
}
.font-serif {
  font-family: "Cormorant Garamond", serif;
}
.divider {
  height: 1px;
  background: var(--border-soft);
  margin: 18px 0;
}

/* ══ PAGE HEADER ════════════════════════════════════════════════════════════ */
.page-header {
  margin-bottom: 28px;
}
.page-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--text);
  line-height: 1;
}
.page-header h2 span {
  color: var(--gold);
}
.page-header p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}
.section-label {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

/* ══ LOGIN PAGE ═════════════════════════════════════════════════════════════ */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.login-wrap::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      ellipse at 30% 60%,
      rgba(139, 69, 19, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 75% 20%,
      rgba(74, 125, 191, 0.1) 0%,
      transparent 45%
    );
  pointer-events: none;
}
.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}
.login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-logo .logo-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--gold);
}
.login-logo .logo-mark .material-icons-outlined {
  font-size: 32px;
}
.login-logo h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 52px;
  color: var(--gold);
  line-height: 1;
  font-weight: 300;
  background: linear-gradient(135deg, #8b4513, #c97d3a, #e8a857);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.login-logo p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}
.mode-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.mode-card {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  background: var(--card-dark);
}
.mode-card:hover {
  border-color: rgba(201, 125, 58, 0.4);
}
.mode-card.active-customer {
  border-color: var(--gold);
  background: rgba(201, 125, 58, 0.07);
}
.mode-card.active-driver {
  border-color: var(--green);
  background: rgba(0, 232, 122, 0.07);
}
.mode-card .icon {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--gold);
}
.mode-card .icon.driver-icon {
  color: var(--green);
}
.mode-card .icon .material-icons-outlined {
  font-size: 26px;
}
.mode-card .label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.mode-card .sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.otp-boxes {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
}
.otp-box {
  width: 46px;
  height: 54px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  background: var(--input-bg);
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  caret-color: var(--gold);
  transition: border-color 0.2s;
}
.otp-box:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 125, 58, 0.1);
}
.otp-box.shake {
  animation: shake 0.4s ease;
}
.test-hint {
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--orange);
  margin-bottom: 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.test-hint .material-icons-outlined {
  font-size: 15px;
}
.countdown {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* ══ CUSTOMER — HERO WELCOME ════════════════════════════════════════════════ */
.customer-hero {
  background: linear-gradient(135deg, var(--card-dark) 0%, var(--surface) 100%);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 28px 28px 0;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.customer-hero::before {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 125, 58, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-greeting {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 4px;
}
.hero-greeting span {
  color: var(--gold);
}
.hero-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.hero-wallet {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201, 125, 58, 0.08);
  border: 1px solid rgba(201, 125, 58, 0.2);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s;
}
.hero-wallet:hover {
  background: rgba(201, 125, 58, 0.12);
  border-color: rgba(201, 125, 58, 0.35);
}
.hero-wallet .material-icons-outlined {
  font-size: 18px;
  color: var(--gold);
}
.hero-wallet-amount {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--gold);
}
.hero-wallet-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.hero-bottom {
  display: flex;
  gap: 8px;
  padding: 0 0 20px;
}

/* City pills */
.city-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}
.city-pill {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.city-pill .material-icons-outlined {
  font-size: 14px;
}
.city-pill.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 125, 58, 0.07);
}

/* Booking type tabs */
.booking-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  background: var(--card-dark);
  border-radius: 12px;
  padding: 4px;
}
.booking-tab {
  flex: 1;
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.booking-tab .material-icons-outlined {
  font-size: 20px;
}
.booking-tab.active {
  background: var(--card);
  color: var(--gold);
  box-shadow: var(--shadow-sm);
}

/* ══ CAR CARDS — PREMIUM ════════════════════════════════════════════════════ */
.car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.car-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
}
.car-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 125, 58, 0.3);
  box-shadow: var(--shadow-md);
}
.car-card .car-img {
  width: 100%;
  height: 170px;
  background: var(--card-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.car-card .car-img .material-icons-outlined {
  font-size: 52px;
  color: var(--dim);
}
.car-card .car-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.car-card .car-img .car-cat-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(2, 11, 24, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.car-card .car-body {
  padding: 14px 16px;
}
.car-card .car-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 3px;
}
.car-card .car-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.car-card .car-price span {
  font-size: 12px;
  color: var(--muted);
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  vertical-align: middle;
}
.car-card .car-meta {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
}
.car-card .car-meta span {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--muted);
}
.car-card .car-meta .material-icons-outlined {
  font-size: 13px;
}

/* ══ ACTIVE BOOKING BANNER ══════════════════════════════════════════════════ */
.active-booking-banner {
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 1.2s ease infinite;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

/* ══ SCROLL ROW ═════════════════════════════════════════════════════════════ */
.scroll-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scroll-row::-webkit-scrollbar {
  display: none;
}
.scroll-row .car-card {
  min-width: 240px;
  flex-shrink: 0;
}

/* ══ DRIVER — ONLINE TOGGLE HERO ════════════════════════════════════════════ */
.driver-status-hero {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}
.driver-status-hero.online {
  border-color: rgba(0, 232, 122, 0.3);
  background: rgba(0, 232, 122, 0.03);
}
.driver-status-hero::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 125, 58, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.driver-status-hero.online::before {
  background: radial-gradient(
    circle,
    rgba(0, 232, 122, 0.06) 0%,
    transparent 70%
  );
}
.driver-status-text h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 4px;
}
.driver-status-text p {
  font-size: 13px;
  color: var(--muted);
}

/* Large toggle */
.toggle-xl {
  position: relative;
  width: 72px;
  height: 38px;
  cursor: pointer;
}
.toggle-xl input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-xl-track {
  position: absolute;
  inset: 0;
  border-radius: 38px;
  background: rgba(90, 115, 153, 0.25);
  transition: background 0.35s;
  border: 1.5px solid var(--border);
}
.toggle-xl-track::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--muted);
  transition: 0.35s;
  box-shadow: var(--shadow-sm);
}
.toggle-xl input:checked + .toggle-xl-track {
  background: var(--green);
  border-color: var(--green);
}
.toggle-xl input:checked + .toggle-xl-track::before {
  transform: translateX(34px) translateY(-50%);
  background: #020b18;
}

/* ══ DRIVER EARNINGS DISPLAY ════════════════════════════════════════════════ */
.earnings-hero {
  text-align: center;
  padding: 28px 20px;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.earnings-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(201, 125, 58, 0.06) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.earnings-label {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.earnings-amount {
  font-family: "Cormorant Garamond", serif;
  font-size: 64px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  position: relative;
  z-index: 1;
}
.earnings-period {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* ══ TRIP REQUEST CARD ══════════════════════════════════════════════════════ */
.trip-request-card {
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 22px;
  background: rgba(201, 125, 58, 0.04);
  animation: pulse-border 1.5s ease infinite;
  position: relative;
  overflow: hidden;
}
.trip-request-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(201, 125, 58, 0.04) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.trip-countdown {
  font-family: "Cormorant Garamond", serif;
  font-size: 52px;
  font-weight: 300;
  color: var(--orange);
  text-align: center;
  line-height: 1;
  margin: 8px 0;
}

/* ══ CHART BAR ══════════════════════════════════════════════════════════════ */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  margin: 16px 0;
}
.bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
}
.bar {
  width: 100%;
  background: rgba(201, 125, 58, 0.2);
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
  min-height: 4px;
}
.bar.today {
  background: linear-gradient(180deg, var(--fire), var(--gold));
}
.bar-label {
  font-size: 10px;
  color: var(--muted);
}

/* ══ PHOTO GRID ═════════════════════════════════════════════════════════════ */
.photo-slot {
  aspect-ratio: 4/3;
  background: var(--card-dark);
  border: 2px dashed var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  overflow: hidden;
  position: relative;
}
.photo-slot:hover {
  border-color: var(--gold);
  background: rgba(201, 125, 58, 0.04);
}
.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-slot .slot-label {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  padding: 8px;
  margin-top: 4px;
}
.photo-slot .slot-icon {
  color: var(--dim);
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}
.photo-slot .slot-icon .material-icons-outlined {
  font-size: 26px;
}

/* ══ TABLE ══════════════════════════════════════════════════════════════════ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th {
  padding: 11px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-soft);
}
.data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}
.data-table tr:hover td {
  background: rgba(201, 125, 58, 0.03);
}
.data-table tr:last-child td {
  border-bottom: none;
}

/* ══ WALLET ═════════════════════════════════════════════════════════════════ */
.wallet-balance-card {
  background: linear-gradient(135deg, var(--card) 0%, var(--card-dark) 100%);
  border: 1px solid rgba(201, 125, 58, 0.25);
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.wallet-balance-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(201, 125, 58, 0.08) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.wallet-balance-card .balance-label {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.wallet-balance-card .balance-amount {
  font-family: "Cormorant Garamond", serif;
  font-size: 56px;
  font-weight: 300;
  color: var(--gold);
  position: relative;
  z-index: 1;
}
.bank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}
.bank-btn {
  background: var(--card-dark);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
}
.bank-btn:hover,
.bank-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 125, 58, 0.06);
}
.amount-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.amount-pill {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.amount-pill:hover,
.amount-pill.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 125, 58, 0.07);
}

/* ══ MESSAGES ═══════════════════════════════════════════════════════════════ */
.message-bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  margin-bottom: 8px;
}
.message-bubble.sent {
  background: rgba(201, 125, 58, 0.12);
  border: 1px solid rgba(201, 125, 58, 0.18);
  margin-left: auto;
  border-radius: 14px 14px 4px 14px;
}
.message-bubble.received {
  background: var(--card-dark);
  border: 1px solid var(--border-soft);
  border-radius: 14px 14px 14px 4px;
}
.messages-wrap {
  display: flex;
  flex-direction: column;
  padding: 16px;
  min-height: 300px;
  max-height: 400px;
  overflow-y: auto;
}

/* ══ UNDER REVIEW ═══════════════════════════════════════════════════════════ */
.under-review-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: var(--bg);
}
.under-review-card {
  max-width: 420px;
  text-align: center;
}
.under-review-icon {
  margin-bottom: 20px;
  color: var(--gold);
}
.under-review-icon .material-icons-outlined {
  font-size: 64px;
}

/* ══ ADMIN ══════════════════════════════════════════════════════════════════ */
.action-badge {
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
}
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

/* ══ LEAFLET MAP ════════════════════════════════════════════════════════════ */
.map-container {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  position: relative;
}
.leaflet-container {
  background: var(--map-bg) !important;
  font-family: "Outfit", sans-serif !important;
}
[data-theme="dark"] .leaflet-tile-pane {
  filter: brightness(0.5) saturate(0.5) hue-rotate(180deg) invert(1);
}
[data-theme="light"] .leaflet-tile-pane {
  filter: none;
}
.map-search-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.map-search-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  box-shadow: var(--shadow-md);
}
.map-search-wrap .material-icons-outlined {
  font-size: 18px;
  color: var(--muted);
}
.map-search-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  padding: 11px 0;
  outline: none;
}
.map-search-input::placeholder {
  color: var(--muted);
}
.map-suggestions {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: none;
}
.map-suggestion-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  border-bottom: 1px solid var(--border-soft);
}
.map-suggestion-item:last-child {
  border-bottom: none;
}
.map-suggestion-item:hover {
  background: rgba(201, 125, 58, 0.07);
  color: var(--gold);
}
.map-suggestion-item .material-icons-outlined {
  font-size: 15px;
  color: var(--muted);
}
.map-driver-card {
  position: absolute;
  bottom: 16px;
  left: 12px;
  right: 12px;
  z-index: 800;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}
.map-driver-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.map-driver-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-dark);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-driver-avatar .material-icons-outlined {
  font-size: 20px;
  color: var(--gold);
}
.map-driver-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.map-driver-eta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.map-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.map-action-btn:hover {
  border-color: var(--gold);
}
.map-action-btn .material-icons-outlined {
  font-size: 17px;
  color: var(--gold);
}
.map-action-btn.sos {
  border-color: rgba(255, 90, 90, 0.25);
}
.map-action-btn.sos .material-icons-outlined {
  color: var(--red);
}
.map-action-btn.sos:hover {
  background: rgba(255, 90, 90, 0.08);
  border-color: var(--red);
}
.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px rgba(0, 232, 122, 0.2);
  animation: livePulse 1.5s ease infinite;
}
@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* ══ MOBILE BOTTOM NAV ══════════════════════════════════════════════════════ */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--sidebar-bg);
  border-top: 1px solid var(--border-soft);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}
.mobile-nav-items {
  display: flex;
  justify-content: space-around;
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 16px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--muted);
  border-radius: 10px;
  min-width: 60px;
}
.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--gold);
}
.mobile-nav-item .material-icons-outlined {
  font-size: 22px;
}
.mobile-nav-item span:last-child {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ══ ANIMATIONS ═════════════════════════════════════════════════════════════ */
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@keyframes slideIn {
  from {
    transform: translateX(60px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}
@keyframes pulse-border {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 125, 58, 0.3);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(201, 125, 58, 0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeIn 0.3s ease;
}

/* ══ RESPONSIVE ═════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .sidebar {
    display: none !important;
  }
  .mobile-nav {
    display: block;
  }
  .main-content {
    padding: 18px 16px 90px;
  }
  .top-bar {
    padding: 0 16px;
  }
  .car-grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .admin-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .modal-body {
    padding: 16px;
  }
  .data-table {
    font-size: 12px;
  }
  .data-table th,
  .data-table td {
    padding: 10px 10px;
  }
}
@media (max-width: 600px) {
  .car-grid {
    grid-template-columns: 1fr;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .admin-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mode-cards {
    grid-template-columns: 1fr 1fr;
  }
  .otp-box {
    width: 40px;
    height: 50px;
    font-size: 20px;
  }
  .booking-tabs .booking-tab span:last-child {
    display: none;
  }
  .main-content {
    padding: 16px 14px 90px;
  }
}

/* Spin animation for loading states */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ══ NOTIFICATIONS DROPDOWN ════════════════════════════════════════════════ */
.notif-dropdown {
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  width: min(320px, calc(10vw -24px));
  max-height: 440px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 9000;
  overflow: hidden;
  animation: fadeIn 0.2s ease;
}
.notif-dropdown-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.notif-dropdown-header span {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.notif-dropdown-header button {
  background: none;
  border: none;
  color: var(--amber);
  font-size: 11px;
  cursor: pointer;
  font-family: "Space Mono", monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.notif-dropdown-header button:hover {
  color: var(--fire);
}
.notif-list {
  overflow-y: auto;
  max-height: 360px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.notif-list::-webkit-scrollbar {
  display: none;
}
.notif-item {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-soft);
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.notif-item:last-child {
  border-bottom: none;
}
.notif-item:hover {
  background: rgba(201, 125, 58, 0.04);
}
.notif-item.unread {
  background: rgba(201, 125, 58, 0.05);
}
.notif-item.unread::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  margin-top: 5px;
}
.notif-item.read::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
}
.notif-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 125, 58, 0.1);
}
.notif-icon .material-icons-outlined {
  font-size: 16px;
  color: var(--amber);
}
.notif-body {
  flex: 1;
  min-width: 0;
}
.notif-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.3;
}
.notif-msg {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.notif-time {
  font-size: 10px;
  color: var(--dim);
  margin-top: 4px;
  font-family: "Space Mono", monospace;
}
.notif-empty {
  padding: 40px 20px;
  text-align: center;
}
.notif-empty .material-icons-outlined {
  font-size: 40px;
  color: var(--dim);
  display: block;
  margin-bottom: 10px;
}
.notif-empty p {
  color: var(--muted);
  font-size: 13px;
}

/* ══ APP LOADER ════════════════════════════════════════════════════════════ */
.app-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}
.loader-content {
  text-align: center;
}
.loader-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 8px;
}
.loader-tagline {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.loader-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

/* ══ ACTION CARDS (Home page) ═══════════════════════════════════════════════ */
.action-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.action-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ══ CAR CARDS ══════════════════════════════════════════════════════════════ */
.car-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
}
.car-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.car-card-img {
  position: relative;
  height: 160px;
  background: var(--card-dark);
  overflow: hidden;
}
.car-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.car-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.car-img-placeholder .material-icons-outlined {
  font-size: 48px;
  color: var(--dim);
}
.car-card-body {
  padding: 12px;
}
.car-card-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}
.car-specs-mini {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.car-specs-mini span {
  font-size: 11px;
  color: var(--muted);
  background: var(--card-dark);
  padding: 2px 8px;
  border-radius: 20px;
}
.car-unavailable {
  opacity: 0.6;
  cursor: default;
}
.car-unavailable:hover {
  transform: none;
  border-color: var(--border);
}

/* ══ AVAILABILITY BADGES ════════════════════════════════════════════════════ */
.availability-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.badge-available {
  background: rgba(0, 232, 122, 0.9);
  color: #000;
}
.badge-in-use {
  background: rgba(255, 90, 90, 0.9);
  color: #fff;
}
.return-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 20px;
}

/* ══ SPECS GRID (Car modal) ═════════════════════════════════════════════════ */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-dark);
  padding: 10px 12px;
  border-radius: 10px;
}
.spec-item .material-icons-outlined {
  font-size: 18px;
  color: var(--muted);
  flex-shrink: 0;
}
.spec-label {
  font-size: 10px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.spec-val {
  font-size: 13px;
  font-weight: 600;
}

/* ══ DRIVER CARD MINI ═══════════════════════════════════════════════════════ */
.driver-card-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-dark);
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 16px;
}

/* ══ MODAL CAR PHOTOS ═══════════════════════════════════════════════════════ */
.modal-car-photos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
}
.modal-car-photo {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

/* ══ CHAT ═══════════════════════════════════════════════════════════════════ */
.chat-container {
  display: flex;
  flex-direction: column;
  height: 480px;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 8px;
}
.chat-messages::-webkit-scrollbar {
  display: none;
}
.chat-input-bar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}
.chat-input-bar .input-field {
  flex: 1;
  margin-bottom: 0;
}
.chat-msg {
  display: flex;
  flex-direction: column;
}
.chat-msg-me {
  align-items: flex-end;
}
.chat-msg-them {
  align-items: flex-start;
}
.chat-msg-admin {
  margin-bottom: 12px;
}
.chat-bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
}
.chat-msg-me .chat-bubble {
  background: var(--gold);
  color: #020b18;
  border-bottom-right-radius: 4px;
}
.chat-msg-them .chat-bubble {
  background: var(--card-dark);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-msg-admin .chat-bubble {
  background: var(--card-dark);
  color: var(--text);
}
.chat-flagged {
  border: 1px solid var(--fire) !important;
}
.chat-time {
  font-size: 10px;
  color: var(--dim);
  margin-top: 3px;
  padding: 0 4px;
}

/* ══ ACTIVE BOOKING BANNER ══════════════════════════════════════════════════ */
.active-booking-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0 20px 16px;
}

/* ══ STAT CARDS ═════════════════════════════════════════════════════════════ */
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.stat-mini {
  background: var(--card-dark);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.stat-mini-val {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--gold);
}
.stat-mini-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* ══ ADMIN ALERT ITEMS ══════════════════════════════════════════════════════ */
.alert-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--card-dark);
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 13px;
}
.alert-item:hover {
  background: var(--border);
}

/* ══ CARD FLAGGED ═══════════════════════════════════════════════════════════ */
.card-flagged {
  border-color: var(--fire) !important;
}

/* ══ DRIVER STATUS HERO ═════════════════════════════════════════════════════ */
.driver-status-hero {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  transition: all 0.3s;
}
.driver-status-hero.online {
  border-color: var(--green);
  background: rgba(0, 232, 122, 0.05);
}
.driver-status-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.driver-status-text p {
  font-size: 13px;
  color: var(--muted);
}

/* ══ TOGGLE SWITCH ══════════════════════════════════════════════════════════ */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--border);
  border-radius: 28px;
  transition: 0.3s;
}
.toggle-slider:before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--green);
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

/* ══ TRIP REQUEST CARD ══════════════════════════════════════════════════════ */
.trip-request-card {
  background: var(--card);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  animation: pulse-border 1s infinite;
}
@keyframes pulse-border {
  0%,
  100% {
    border-color: var(--gold);
  }
  50% {
    border-color: rgba(201, 125, 58, 0.3);
  }
}

/* ══ CITY SELECTOR ══════════════════════════════════════════════════════════ */
.city-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--card-dark);
  padding: 6px 10px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
}
.city-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 4px;
}
.city-option:hover {
  background: var(--card-dark);
}
.city-option-active {
  background: rgba(201, 125, 58, 0.1);
  color: var(--gold);
}

/* ══ INFO BANNER ════════════════════════════════════════════════════════════ */
.info-banner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* ══ PHOTO SLOTS ════════════════════════════════════════════════════════════ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.photo-slot {
  aspect-ratio: 1;
  background: var(--card-dark);
  border: 1.5px dashed var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s;
}
.photo-slot:hover {
  border-color: var(--gold);
}
.photo-slot.approved {
  border: 1.5px solid var(--green);
}
.slot-icon .material-icons-outlined {
  font-size: 28px;
  color: var(--dim);
}
.slot-label {
  font-size: 10px;
  color: var(--dim);
  margin-top: 4px;
  text-align: center;
}

/* ══ NOTIFICATIONS DROPDOWN ═════════════════════════════════════════════════ */
.notif-dropdown {
  position: fixed;
  top: 70px;
  left: 42%;
  transform: translateX(-50%);
  width: auto;
  max-height: 300px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 9000;
  overflow: hidden;
  animation: fadeIn 0.2s ease;
}
.notif-dropdown-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.notif-dropdown-header span {
  font-family: "Space Mono", monospace;
  font-size: 6px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.notif-dropdown-header button {
  background: none;
  border: none;
  color: var(--amber);
  font-size: 9px;
  cursor: pointer;
  font-family: "Space Mono", monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.notif-list {
  overflow-y: auto;
  max-height: 360px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.notif-list::-webkit-scrollbar {
  display: none;
}
.notif-item {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.notif-item:last-child {
  border-bottom: none;
}
.notif-item:hover {
  background: rgba(201, 125, 58, 0.04);
}
.notif-item.unread {
  background: rgba(201, 125, 58, 0.05);
}
.notif-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 125, 58, 0.1);
}
.notif-icon .material-icons-outlined {
  font-size: 16px;
  color: var(--amber);
}
.notif-body {
  flex: 1;
  min-width: 0;
}
.notif-title {
  font-size: 9px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.3;
}
.notif-msg {
  font-size: 8px;
  color: var(--muted);
  line-height: 1.4;
}
.notif-time {
  font-size: 7px;
  color: var(--dim);
  margin-top: 4px;
  font-family: "Space Mono", monospace;
}
.notif-empty {
  padding: 40px 20px;
  text-align: center;
}
.notif-empty .material-icons-outlined {
  font-size: 40px;
  color: var(--dim);
  display: block;
  margin-bottom: 5px;
}
.notif-empty p {
  color: var(--muted);
  font-size: 13px;
}

/* ══ MISC ═══════════════════════════════════════════════════════════════════ */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn-green {
  background: var(--green);
  color: #020b18;
  font-weight: 700;
}
.btn-green:hover {
  background: #00cc6a;
}
.topbar-greeting span {
  color: var(--gold);
}
.topbar-greeting {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 300;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.modal-car-photos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.modal-car-photos::-webkit-scrollbar {
  display: none !important;
}
.modal-car-photo {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-car-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--gold);
  .modal-car-photo:active {
    transform: scale(0.97);
    border: 2px solid var(--gold);
    opacity: 0.85;
  }
}

/* ══ RIDE TYPE RADIO BUTTONS ════════════════════════════════════════════════ */
.ride-type-radios {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ride-radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  flex: 1;
  min-width: 90px;
}

.ride-radio-option:hover {
  border-color: var(--gold);
}

.ride-radio-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}

.ride-radio-option input[type="radio"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ride-radio-option input[type="radio"]:checked {
  border-color: var(--gold);
  background: var(--bg);
}

.ride-radio-option input[type="radio"]:checked::after {
  transform: translate(-50%, -50%) scale(1);
}

.ride-radio-option:has(input:checked) {
  border-color: var(--gold);
  background: var(--bg);
}

.ride-radio-label {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  user-select: none;
}

.ride-radio-option:has(input:checked) .ride-radio-label {
  color: var(--text);
}

/* ══ ADDRESS AUTOCOMPLETE SUGGESTIONS ══════════════════════════════════════ */
.address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--bg);
  border: 1.5px solid var(--gold);
  border-top: none;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  display: none;
}

.ac-item {
  padding: 11px 14px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border-soft);
}

.ac-item:last-child {
  border-bottom: none;
}

.ac-item:hover {
  background: rgba(201, 125, 58, 0.1);
  color: var(--text);
}

/* ── Autocomplete keyboard highlight ── */
.ac-item.ac-active {
  background: rgba(201, 125, 58, 0.12);
  color: var(--text);
}

.map-suggestion-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Address input with search icon ── */
.addr-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.addr-search-icon {
  position: absolute;
  left: 12px;
  font-size: 18px;
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
  transition: color 0.2s;
}

.addr-input-field {
  padding-left: 40px !important;
  width: 100%;
}

.addr-input-wrap:focus-within .addr-search-icon {
  color: var(--gold);
}
.phone-input-wrap {
  display: flex;
  align-items: center;
  background: var(--input-bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.phone-input-wrap:focus-within {
  border-color: var(--gold);
}
.phone-prefix {
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  background: rgba(201, 125, 58, 0.08);
  border-right: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: 'Space Mono', monospace;
  letter-spacing: 1px;
  min-height: 48px;
}
.phone-input {
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  flex: 1;
  padding-left: 12px !important;
}
.phone-input:focus {
  outline: none;
  box-shadow: none;
}
