@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');

/* ═══════════════════════════════════════════════════
   Palette — matches Flutter Palette class exactly
   ═══════════════════════════════════════════════════ */
:root {
  --midnight-blue: #0A2E66;
  --night-blue: #031F49;
  --card-blue: #123975;
  --sun-yellow: #FFC400;
  --deep-yellow: #F0AC00;
  --charcoal: #1C1C1C;
  --lime-green: #11A94D;
  --alert-red: #E84C3C;
  --warm-beige: #F4E7D3;
  --white-70: rgba(255,255,255,0.7);
  --white-12: rgba(255,255,255,0.12);
  --white-54: rgba(255,255,255,0.54);
  --text-muted: #94a3b8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: auto;
}

body {
  background: var(--midnight-blue);
  color: #fff;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--sun-yellow); text-decoration: none; }
a:hover { color: var(--deep-yellow); }

/* ═══════════════════════════════════════════════════
   App Shell — fills the mockup screen or viewport
   ═══════════════════════════════════════════════════ */
.app-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: var(--midnight-blue);
  position: relative;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════
   AppBar — matches Flutter AppBar(backgroundColor: sunYellow)
   ═══════════════════════════════════════════════════ */
.app-bar {
  background: var(--sun-yellow);
  color: var(--midnight-blue);
  padding: 0 16px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.app-bar-title {
  font-size: 18px;
  font-weight: 700;
  flex: 1;
  color: var(--midnight-blue);
}
.app-bar-action {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--midnight-blue);
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}
.app-bar-action:hover {
  background: rgba(10, 46, 102, 0.12);
}

/* ═══════════════════════════════════════════════════
   App Content — fills between AppBar and BottomNav
   ═══════════════════════════════════════════════════ */
.app-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.app-body.no-scroll {
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════
   Bottom Navigation Bar — matches Flutter MainShell
   ═══════════════════════════════════════════════════ */
.bottom-nav {
  background: var(--midnight-blue);
  border-top: 0.5px solid var(--white-12);
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 64px;
  flex-shrink: 0;
  z-index: 100;
}
.bottom-nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  background: none;
  border: none;
  color: var(--white-70);
  font-size: 19px;
  transition: all 0.2s ease;
  padding: 4px 0;
  gap: 2px;
}
.bottom-nav-tab.active {
  color: var(--sun-yellow) !important;
}
.bottom-nav-tab .nav-icon-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  border-radius: 18px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.2s, transform 0.15s ease, color 0.2s;
}
.bottom-nav-tab .nav-icon-pill i {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}
.bottom-nav-tab:active .nav-icon-pill {
  transform: scale(0.92);
}
.bottom-nav-tab.active .nav-icon-pill {
  background: rgba(255, 196, 0, 0.2) !important;
  color: var(--sun-yellow) !important;
}
.bottom-nav-tab.active .nav-icon-pill i {
  color: var(--sun-yellow) !important;
}
.bottom-nav-tab .nav-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.75);
  display: block;
  line-height: 1.2;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: color 0.2s, font-weight 0.2s;
}
.bottom-nav-tab.active .nav-label {
  color: var(--sun-yellow) !important;
  font-weight: 700 !important;
}
.bottom-nav-tab .nav-badge {
  position: absolute;
  top: 4px;
  right: calc(50% - 18px);
  width: 9px;
  height: 9px;
  background: var(--sun-yellow);
  border-radius: 50%;
  border: 1.5px solid var(--midnight-blue);
}

/* ═══════════════════════════════════════════════════
   Tab Content Panels
   ═══════════════════════════════════════════════════ */
.tab-panel {
  display: none;
  flex-direction: column;
  height: 100%;
  width: 100%;
}
.tab-panel.active {
  display: flex;
}

/* ═══════════════════════════════════════════════════
   Login Screen — matches Flutter LoginScreen
   ═══════════════════════════════════════════════════ */
.login-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  background: var(--midnight-blue);
  padding: 32px;
  overflow-y: auto;
}
.login-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 48px;
}
.login-input {
  width: 100%;
  max-width: 380px;
  padding: 18px 20px;
  background: var(--card-blue);
  border: none;
  border-radius: 18px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  margin-bottom: 16px;
  transition: box-shadow 0.3s;
}
.login-input::placeholder {
  color: var(--white-70);
}
.login-input:focus {
  box-shadow: 0 0 0 2px var(--sun-yellow);
}
.login-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 380px;
  margin-bottom: 8px;
  color: var(--white-70);
  font-size: 13px;
  cursor: pointer;
}
.login-checkbox-row input[type="checkbox"] {
  accent-color: var(--sun-yellow);
  width: 18px;
  height: 18px;
}
.login-btn {
  width: 100%;
  max-width: 380px;
  padding: 16px;
  background: var(--sun-yellow);
  color: var(--charcoal);
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all 0.3s;
  margin-top: 8px;
}
.login-btn:hover {
  background: var(--deep-yellow);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 196, 0, 0.3);
}
.login-btn:active {
  transform: translateY(0);
}
.login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.login-link {
  margin-top: 16px;
  color: var(--white-70);
  font-size: 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.login-link:hover {
  color: #fff;
}

/* Register form extras */
.login-subtitle {
  color: var(--white-70);
  font-size: 13px;
  margin-bottom: 24px;
  text-align: center;
}
.login-form-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  text-align: center;
}
.login-divider {
  width: 100%;
  max-width: 380px;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 16px 0;
}
.login-section-label {
  width: 100%;
  max-width: 380px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sun-yellow);
  margin-bottom: 12px;
}
.login-row {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 380px;
}
.login-row .login-input {
  flex: 1;
  min-width: 0;
}

/* ═══════════════════════════════════════════════════
   Map Fullscreen with Overlay — matches _NoRoutesPanel
   ═══════════════════════════════════════════════════ */
.map-fullscreen {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.map-fullscreen .leaflet-container {
  width: 100%;
  height: 100%;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 16px;
  pointer-events: none;
}
.map-overlay > * {
  pointer-events: auto;
}
.map-overlay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

/* Logo circle */
.map-logo-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--midnight-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.26);
  padding: 8px;
  flex-shrink: 0;
}
.map-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* Status pill */
.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 24px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.38);
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  font-family: inherit;
}
.status-pill:hover {
  transform: scale(1.03);
}
.status-pill.available {
  background: var(--lime-green);
}
.status-pill.unavailable {
  background: var(--alert-red);
}
.status-pill.suspended {
  background: var(--alert-red);
}
.status-pill i {
  font-size: 18px;
}

/* Report/action circle button */
.map-action-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--midnight-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.26);
  color: #fca5a5;
  font-size: 18px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.map-action-circle:hover {
  transform: scale(1.08);
}

/* ═══════════════════════════════════════════════════
   Route Card — matches Flutter _RouteCard
   ═══════════════════════════════════════════════════ */
.route-card {
  background: var(--charcoal);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
.route-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.route-card-badge {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.route-card-badge.waiting {
  background: var(--lime-green);
}
.route-card-badge.active {
  background: var(--alert-red);
}
.route-card-value {
  color: var(--sun-yellow);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
}
.route-card-info {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white-70);
  font-size: 14px;
  margin-bottom: 4px;
}
.route-card-info i {
  color: var(--white-54);
  font-size: 15px;
}
.route-card-detail {
  color: var(--white-70);
  font-size: 14px;
  margin-bottom: 4px;
}
.route-card-btn {
  width: 100%;
  padding: 14px;
  background: var(--sun-yellow);
  color: var(--charcoal);
  border: none;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 16px;
  text-transform: uppercase;
  transition: all 0.3s;
}
.route-card-btn:hover {
  background: var(--deep-yellow);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 196, 0, 0.3);
}
.route-card-btn.danger {
  background: var(--alert-red);
  color: #fff;
}
.route-card-btn.danger:hover {
  box-shadow: 0 4px 12px rgba(232, 76, 60, 0.3);
}
.route-card-btn.success {
  background: var(--lime-green);
  color: #fff;
}
.route-card-btn.success:hover {
  box-shadow: 0 4px 12px rgba(17, 169, 77, 0.3);
}
.route-card-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ═══════════════════════════════════════════════════
   Proposal Popup — pulse animation
   ═══════════════════════════════════════════════════ */
.proposal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 31, 73, 0.92);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.new-proposal-design {
  background: var(--night-blue);
  border: none;
  border-radius: 24px;
  padding: 20px;
  max-width: 95%;
  width: 400px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  position: relative;
  overflow: visible;
  text-align: center;
  animation: slideUpFade 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.proposal-pulse-ring {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 196, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ringPulse 2s infinite;
}

@keyframes ringPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 196, 0, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(255, 196, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 196, 0, 0); }
}

.proposal-time-circle {
  width: 48px;
  height: 48px;
  background: var(--sun-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #000;
  box-shadow: 0 4px 10px rgba(255, 196, 0, 0.4);
}

.proposal-title {
  margin-top: 24px;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 800;
  color: var(--white-70);
  letter-spacing: -0.5px;
}

body.light-mode .proposal-title {
  color: #1E293B;
}

.proposal-trip-info {
  background: rgba(0,0,0,0.15);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  text-align: left;
}

body.light-mode .proposal-trip-info {
  background: rgba(0,0,0,0.04);
}

.trip-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trip-info-icon {
  width: 24px;
  display: flex;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 2px;
}

.trip-info-text {
  display: flex;
  flex-direction: column;
}

.trip-route-line {
  position: absolute;
  left: 27px;
  top: 96px;
  bottom: 40px;
  width: 0;
  border-left: 2px dashed rgba(255, 255, 255, 0.2);
  z-index: 1;
}

body.light-mode .trip-route-line {
  border-left: 2px dashed rgba(0, 0, 0, 0.2);
}

.trip-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.trip-info-text strong {
  font-size: 14px;
  color: var(--white-70);
  line-height: 1.3;
  margin-top: 2px;
}

body.light-mode .trip-info-text strong {
  color: #1E293B;
}

.proposal-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  background: rgba(0,0,0,0.2);
  border-radius: 16px;
  padding: 16px;
}

body.light-mode .proposal-stats {
  background: rgba(0,0,0,0.06);
}

.prop-stat-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prop-stat-divider {
  width: 1px;
  background: var(--white-12);
  margin: 0 16px;
}

body.light-mode .prop-stat-divider {
  background: rgba(0,0,0,0.1);
}

.prop-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.prop-stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--white-70);
  white-space: nowrap;
}

body.light-mode .prop-stat-value {
  color: #1E293B;
}

.prop-stat-box.highlight .prop-stat-value {
  color: var(--sun-yellow);
  font-size: 20px;
}

body.light-mode .prop-stat-box.highlight .prop-stat-value {
  color: #d97706;
}

.proposal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.proposal-actions .route-card-btn {
  margin-top: 0;
  flex: 1;
  font-size: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.proposal-actions .outline {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.proposal-actions .outline:active {
  background: rgba(239, 68, 68, 0.1);
}

.pulse-btn {
  animation: btnPulse 1.5s infinite;
}

@keyframes btnPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* ═══════════════════════════════════════════════════
   Active Ride Map + Info Card
   ═══════════════════════════════════════════════════ */
.ride-map-area {
  flex: 1;
  position: relative;
  min-height: 200px;
}
.ride-map-area #ride-map {
  width: 100%;
  height: 100%;
}
.ride-info-card {
  background: var(--night-blue);
  border-top: 1px solid var(--white-12);
  padding: 16px;
  flex-shrink: 0;
}
.ride-info-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--white-12);
}
.ride-info-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
.ride-info-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.ride-info-sub {
  font-size: 12px;
  color: var(--text-muted);
}
.ride-plate-badge {
  font-size: 10px;
  background: var(--sun-yellow);
  color: #000;
  padding: 3px 6px;
  border-radius: 5px;
  font-weight: 700;
}
.ride-value {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-top: 6px;
}

/* Ride status step banner */
.ride-status-banner {
  background: rgba(255, 196, 0, 0.08);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 196, 0, 0.2);
  margin-bottom: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--sun-yellow);
}

/* ═══════════════════════════════════════════════════
   Chat — same as before but refined
   ═══════════════════════════════════════════════════ */
.chat-box {
  background: rgba(7, 12, 22, 0.6);
  border: 1px solid var(--white-12);
  border-radius: 12px;
  height: 140px;
  overflow-y: auto;
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chat-msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
}
.chat-msg.passenger {
  background: #2563eb;
  color: white;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.chat-msg.driver {
  background: var(--sun-yellow);
  color: var(--charcoal);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  font-weight: 500;
}
.chat-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.chat-input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(10, 16, 27, 0.85);
  border: 1px solid var(--white-12);
  color: white;
  font-size: 13px;
  border-radius: 10px;
  outline: none;
  font-family: inherit;
}
.chat-input:focus {
  border-color: var(--sun-yellow);
}
.chat-send-btn {
  width: 40px;
  height: 40px;
  background: var(--sun-yellow);
  color: var(--charcoal);
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}
.chat-send-btn:hover {
  background: var(--deep-yellow);
}

/* ═══════════════════════════════════════════════════
   Suspension Banner
   ═══════════════════════════════════════════════════ */
.suspension-banner {
  background: linear-gradient(135deg, rgba(232, 76, 60, 0.25) 0%, rgba(232, 76, 60, 0.08) 100%);
  border: 1px solid rgba(232, 76, 60, 0.35);
  border-radius: 12px;
  padding: 16px;
  color: #fca5a5;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.suspension-banner strong {
  color: white;
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════
   Financial Screen
   ═══════════════════════════════════════════════════ */
.fin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 16px;
}
.fin-stats-card {
  background: linear-gradient(135deg, rgba(255, 196, 0, 0.08) 0%, var(--night-blue) 100%);
  border: 1px solid var(--white-12);
  border-radius: 16px;
  padding: 20px;
  margin: 0 16px 20px;
}
.fin-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 8px;
}
.fin-earnings {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.fin-commission {
  font-size: 13px;
  font-weight: 700;
  color: var(--sun-yellow);
}

.bill-item {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid var(--white-12);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 16px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bill-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bill-info span { font-size: 11px; color: var(--text-muted); }
.bill-info strong { font-size: 14px; color: white; }
.bill-value {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.bill-value span { font-size: 14px; font-weight: 700; }
.badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-pending {
  background: rgba(232, 76, 60, 0.15);
  color: var(--alert-red);
  border: 1px solid rgba(232, 76, 60, 0.3);
}
.badge-paid {
  background: rgba(17, 169, 77, 0.15);
  color: var(--lime-green);
  border: 1px solid rgba(17, 169, 77, 0.3);
}

/* ═══════════════════════════════════════════════════
   Support / Messages screens
   ═══════════════════════════════════════════════════ */
.support-screen, .messages-screen {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--white-70);
}
.support-screen i, .messages-screen i {
  font-size: 3rem;
  color: var(--sun-yellow);
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════
   Passenger Search Overlay (bottom card on map)
   ═══════════════════════════════════════════════════ */
.search-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: var(--night-blue);
  border-top: 1px solid var(--white-12);
  border-radius: 20px 20px 0 0;
  padding: 20px 16px;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.4);
}
.search-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--card-blue);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  margin-bottom: 10px;
}
.search-input::placeholder {
  color: var(--white-70);
}
.search-input:focus {
  box-shadow: 0 0 0 2px var(--sun-yellow);
}

/* ═══════════════════════════════════════════════════
   Passenger New Search Design
   ═══════════════════════════════════════════════════ */
.new-search-design {
  border-radius: 24px 24px 0 0;
  padding: 24px 20px;
  background: var(--night-blue);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
  border: none;
}

body.light-mode .new-search-design {
  background: #ffffff;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.search-inputs-container {
  background: rgba(0,0,0,0.15);
  border-radius: 16px;
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

body.light-mode .search-inputs-container {
  background: rgba(0,0,0,0.04);
}

.search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-icon-col {
  width: 24px;
  display: flex;
  justify-content: center;
  font-size: 16px;
  z-index: 2;
}

.search-input-col {
  flex: 1;
}

.clean-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--white-12);
  color: var(--white-70);
  font-size: 15px;
  padding: 8px 0;
  outline: none;
  font-weight: 600;
  transition: all 0.3s;
}

body.light-mode .clean-input {
  color: #1E293B;
  border-bottom-color: rgba(0,0,0,0.1);
}

.clean-input:focus {
  border-bottom-color: var(--sun-yellow);
  color: #fff;
}

body.light-mode .clean-input:focus {
  color: #000;
}

.search-route-line {
  position: absolute;
  left: 27px;
  top: 36px;
  bottom: 36px;
  width: 0;
  border-left: 2px dashed rgba(255, 255, 255, 0.2);
  z-index: 1;
}

body.light-mode .search-route-line {
  border-left-color: rgba(0, 0, 0, 0.2);
}

.new-estimate-design {
  display: flex;
  background: rgba(0,0,0,0.2) !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 16px !important;
  gap: 4px;
  justify-content: space-between;
}

body.light-mode .new-estimate-design {
  background: rgba(0,0,0,0.06) !important;
}

.new-estimate-design .prop-stat-box {
  align-items: center;
  text-align: center;
  justify-content: center;
}
/* Estimate box */
.estimate-box {
  background: rgba(7, 12, 22, 0.5);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid var(--white-12);
}
.estimate-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}
.estimate-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--white-12);
  padding-top: 6px;
}
.estimate-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--sun-yellow);
}

/* Matching / searching animation */
.matching-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 32px;
  text-align: center;
}
.matching-icon {
  font-size: 4rem;
  color: var(--sun-yellow);
  margin-bottom: 20px;
  animation: bounce-car 1.5s infinite;
}
@keyframes bounce-car {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Preset buttons row */
.presets-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.preset-btn {
  padding: 6px 10px;
  font-size: 11px;
  white-space: nowrap;
  background: var(--card-blue);
  border: 1px solid var(--white-12);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.preset-btn:hover {
  background: var(--sun-yellow);
  color: var(--charcoal);
  border-color: var(--sun-yellow);
}

/* ═══════════════════════════════════════════════════
   Buttons (generic)
   ═══════════════════════════════════════════════════ */
.btn-back {
  background: var(--sun-yellow);
  color: #031f49 !important;
  border: none;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-back:hover {
  background: #fbbf24;
  color: #031f49 !important;
}

/* ═══════════════════════════════════════════════════
   Modal styling
   ═══════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  place-items: center;
  z-index: 10000;
  padding: 20px;
}
.modal.show {
  display: grid;
}
.modal-content {
  background: var(--night-blue);
  border: 1px solid var(--white-12);
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.modal-close {
  cursor: pointer;
  font-size: 20px;
  color: var(--text-muted);
  background: none;
  border: none;
}

/* ═══════════════════════════════════════════════════
   Utility pulse animation
   ═══════════════════════════════════════════════════ */
@keyframes animate-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.animate-pulse {
  animation: animate-pulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════
   Scrollbar styling
   ═══════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--white-12); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--white-54); }

/* ═══════════════════════════════════════════════════
   Admin Panel (keeping existing styles)
   ═══════════════════════════════════════════════════ */
.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: #0f172a;
  border-right: 1px solid var(--white-12);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.admin-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.admin-menu-item:hover, .admin-menu-item.active {
  background: rgba(255, 196, 0, 0.1);
  color: var(--sun-yellow);
}
.admin-main {
  padding: 40px;
  overflow-y: auto;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.stat-box {
  background: var(--card-blue);
  border: 1px solid var(--white-12);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-box-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(255, 196, 0, 0.1);
  color: var(--sun-yellow);
}
.stat-box-info { display: flex; flex-direction: column; }
.stat-box-info span { font-size: 13px; color: var(--text-muted); }
.stat-box-info strong { font-size: 20px; color: white; }
.admin-table-container {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--white-12);
  background: var(--card-blue);
  margin-bottom: 32px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.admin-table th {
  background: rgba(15, 23, 42, 0.6);
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--white-12);
}
.admin-table td {
  padding: 14px 16px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--white-12);
  color: #fff;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-tab-content { display: none; }
.admin-tab-content.active { display: block; }
.config-peak-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(10, 16, 27, 0.85);
  border: 1px solid var(--white-12);
  color: white;
  font-size: 14px;
  border-radius: 10px;
  transition: all 0.3s;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
  font-family: inherit;
  outline: none;
}
.form-control:focus {
  border-color: var(--sun-yellow);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.15);
}

/* Admin buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  outline: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(180deg, #FFE082 0%, var(--sun-yellow) 100%);
  color: var(--charcoal);
  box-shadow: 0 4px 14px rgba(255, 196, 0, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 196, 0, 0.35);
}
.btn-secondary {
  background: rgba(30, 41, 59, 0.8);
  color: #fff;
  border: 1px solid var(--white-12);
}
.btn-secondary:hover { background: rgba(30, 41, 59, 1); }
.btn-danger {
  background: linear-gradient(180deg, #f87171 0%, var(--alert-red) 100%);
  color: white;
}
.btn-success {
  background: linear-gradient(180deg, #86efac 0%, var(--lime-green) 100%);
  color: #064e3b;
}

/* Landing page */
.landing-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  width: 100%;
  max-width: 1000px;
}
.portal-card {
  background: var(--card-blue);
  border: 1px solid var(--white-12);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}
.portal-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 196, 0, 0.35);
  box-shadow: 0 20px 40px rgba(255, 196, 0, 0.12), 0 20px 40px rgba(0,0,0,.45);
}
.portal-icon {
  font-size: 3rem;
  color: var(--sun-yellow);
  margin-bottom: 20px;
  background: rgba(255, 196, 0, 0.08);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 196, 0, 0.15);
}
.portal-card h3 { margin-bottom: 12px; }
.portal-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* Ambient blobs for landing */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .35;
  animation: drift 20s ease-in-out infinite alternate;
}
.blob1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #F0AC00 0%, transparent 70%);
  top: -200px; left: -100px;
}
.blob2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #123975 0%, transparent 70%);
  bottom: 0; right: -100px;
  animation-delay: -8s;
}
.blob3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #11A94D 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation-delay: -4s;
  opacity: .15;
}
@keyframes drift {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px,30px) scale(1.08); }
}
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,196,0,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,196,0,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ═══════════════════════════════════════════════════
   Phone Simulator Wrapper & Mockup
   ═══════════════════════════════════════════════════ */
.simulator-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: auto;
  padding: 40px 20px;
  z-index: 1;
}

.smartphone-mockup {
  position: relative;
  width: 390px;
  height: 844px;
  background: #000;
  border-radius: 48px;
  padding: 12px;
  box-shadow: 
    0 0 0 4px #262626,
    0 0 0 10px #171717,
    0 25px 50px rgba(0, 0, 0, 0.6),
    0 5px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10;
}

/* Sensor Notch */
.smartphone-notch {
  width: 140px;
  height: 28px;
  background: #000;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.smartphone-camera {
  width: 8px;
  height: 8px;
  background: #111827;
  border-radius: 50%;
  margin-left: 20px;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.2);
}
.smartphone-speaker {
  width: 40px;
  height: 4px;
  background: #262626;
  border-radius: 2px;
}

/* Time and Status Bar */
.cell-status-bar {
  height: 40px;
  padding: 12px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  z-index: 100;
  background: var(--midnight-blue);
  flex-shrink: 0;
}
.cell-status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Home Indicator */
.cell-home-indicator {
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  pointer-events: none;
}

/* Inner Screen Container */
.app-screen {
  flex: 1;
  width: 100%;
  height: 100%;
  border-radius: 0 0 36px 36px; /* Topo reto para encaixar na barra de status, baixo arredondado */
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--midnight-blue);
}

/* Responsive: Native fullscreen on small mobile devices */
@media (max-width: 480px) {
  html, body {
    overflow: hidden;
  }
  .simulator-container {
    padding: 0;
    background: var(--midnight-blue);
    overflow: hidden;
  }
  .smartphone-mockup {
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  .smartphone-notch, .cell-home-indicator {
    display: none !important;
  }
  .cell-status-bar {
    display: none !important;
  }
  .app-screen {
    border-radius: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
  }
  .login-screen {
    justify-content: flex-start !important;
    padding: 24px 16px 120px !important; /* Extra bottom padding to push buttons up past mobile browser bars */
    height: 100% !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .login-logo {
    width: 80px !important;
    height: 80px !important;
    margin-bottom: 20px !important;
    margin-top: 10px !important;
  }
}

/* Leaflet Zoom Control Positioning - Abaixo do ícone da carteira */
.leaflet-top.leaflet-right {
  margin-top: 100px !important;
  margin-right: 12px !important;
}

/* ═══════════════════════════════════════════════════
   Light Mode Overrides
   ═══════════════════════════════════════════════════ */
body.light-mode {
  --midnight-blue: #F0F4F8; /* Light gray-blue background */
  --night-blue: #FFFFFF;    /* Cards */
  --card-blue: #E2E8F0;     /* Inputs */
  --charcoal: #FFFFFF;      /* Route card */
  
  --white-70: rgba(0, 0, 0, 0.7);
  --white-54: rgba(0, 0, 0, 0.54);
  --white-12: rgba(0, 0, 0, 0.12);
  --text-muted: #64748B;
  
  color: #1E293B !important;
}

body.light-mode .app-shell,
body.light-mode .app-body,
body.light-mode .login-screen {
  background: var(--midnight-blue) !important;
}

body.light-mode .cell-status-bar,
body.light-mode .bottom-nav {
  background: #0A2E66 !important;
}

body.light-mode .login-input,
body.light-mode .route-card,
body.light-mode .proposal-card,
body.light-mode .ride-info-card,
body.light-mode .fin-stats-card,
body.light-mode .bill-item,
body.light-mode .chat-box,
body.light-mode .map-action-circle,
body.light-mode .map-logo-circle {
  background: var(--night-blue) !important;
  border: 1px solid var(--white-12) !important;
  color: #1E293B !important;
}

body.light-mode .app-bar-title,
body.light-mode .login-form-title,
body.light-mode .route-card-title,
body.light-mode .ride-info-name,
body.light-mode .ride-value,
body.light-mode .fin-earnings,
body.light-mode .stat-box-info strong,
body.light-mode .bill-info strong,
body.light-mode .login-input,
body.light-mode .chat-msg.driver {
  color: #1E293B !important;
}

body.light-mode .route-card-info,
body.light-mode .route-card-detail,
body.light-mode .login-subtitle,
body.light-mode .bill-info span,
body.light-mode .fin-commission {
  color: var(--white-70) !important;
}

body.light-mode .bottom-nav-tab {
  color: rgba(255, 255, 255, 0.75) !important;
}
body.light-mode .bottom-nav-tab.active {
  color: var(--sun-yellow) !important;
}
body.light-mode .bottom-nav-tab.active .nav-icon-pill {
  background: rgba(255, 196, 0, 0.2) !important;
  color: var(--sun-yellow) !important;
}
body.light-mode .bottom-nav-tab.active .nav-icon-pill i {
  color: var(--sun-yellow) !important;
}
body.light-mode .bottom-nav-tab.active .nav-label {
  color: var(--sun-yellow) !important;
  font-weight: 700 !important;
}
body.light-mode .chat-input {
  background: #F1F5F9;
  color: #1E293B;
  border: 1px solid #CBD5E1;
}

/* ═══════════════════════════════════════════════════
   Sonar / Heatmap Animation
   ═══════════════════════════════════════════════════ */
@keyframes sonarPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1.1; /* Permite um brilho um pouco maior no pico */
  }
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.sonar-pulse {
  animation: sonarPulse 3s infinite ease-in-out;
  transform-origin: center;
  transform-box: fill-box;
}

/* ═══════════════════════════════════════════════════
   Animated Route Polyline
   ═══════════════════════════════════════════════════ */
.animated-route {
  stroke-dasharray: 12, 12;
  animation: dashRoute 1s linear infinite;
}
@keyframes dashRoute {
  from {
    stroke-dashoffset: 24;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* ═══════════════════════════════════════════════════
   Quick Messages Buttons
   ═══════════════════════════════════════════════════ */
.quick-msg-btn {
  background: var(--night-blue);
  color: #fff;
  border: 1px solid var(--white-12);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.quick-msg-btn:active {
  background: var(--sun-yellow);
  color: #000;
}
body.light-mode .quick-msg-btn {
  background: #fff;
  color: #1E293B;
  border: 1px solid #CBD5E1;
}

/* ═══════════════════════════════════════════════════
   Passenger Dashboard (Levo & Busco)
   ═══════════════════════════════════════════════════ */
.state-dashboard {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 70px;
  background: var(--night-blue);
}
body.light-mode .state-dashboard {
  background: #f8fafc;
}

.dash-header {
  padding: 20px 20px 10px;
}
.dash-search-pill {
  background: var(--card-blue);
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
}
body.light-mode .dash-search-pill {
  background: #f1f5f9;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}
.dash-search-left {
  display: flex;
  align-items: center;
  color: var(--white-70);
}
body.light-mode .dash-search-left {
  color: #1e293b;
}
.dash-search-right {
  background: var(--night-blue);
  color: var(--white-70);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
body.light-mode .dash-search-right {
  background: #fff;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dash-recent-list {
  background: var(--card-blue);
  border-radius: 16px;
  margin-top: 16px;
  padding: 8px 0;
}
body.light-mode .dash-recent-list {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.dash-recent-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--white-12);
}
.dash-recent-item:last-child {
  border-bottom: none;
}
body.light-mode .dash-recent-item {
  border-bottom-color: rgba(0,0,0,0.05);
}
.dash-recent-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--night-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-70);
  margin-right: 12px;
}
body.light-mode .dash-recent-icon {
  background: #f1f5f9;
  color: #64748b;
}
.dash-recent-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dash-recent-text strong {
  font-size: 15px;
  color: #fff;
  margin-bottom: 2px;
}
body.light-mode .dash-recent-text strong {
  color: #1e293b;
}
.dash-recent-text span {
  font-size: 13px;
  color: var(--text-muted);
}

.dash-section-title {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 16px;
  color: #fff;
}
body.light-mode .dash-section-title {
  color: #1e293b;
}

.dash-services-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.dash-service-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.dash-service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--card-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
body.light-mode .dash-service-icon {
  background: #f1f5f9;
  color: #1e293b;
  box-shadow: none;
}
.dash-service-item span {
  font-size: 13px;
  font-weight: 600;
  color: var(--white-70);
}
body.light-mode .dash-service-item span {
  color: #475569;
}

.dash-promos-scroll {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 20px;
}
.dash-promo-card {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
}
.dash-promo-img {
  width: 100%;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
}
