/* =========================================================
   PROJECT 3 WHEEL - APPLE LIQUID GLASS DESIGN SYSTEM
   Professional Vector UI, Centered Modals & Bicycle Wheel Logo
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@500;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Deep Space Theme */
  --bg-dark: #090C10;
  --bg-card: #121722;
  --bg-elevated: #1A2130;
  --bg-elevated-hover: #222B3D;

  /* Liquid Glass Translucency Tokens */
  --glass-white-light: rgba(255, 255, 255, 0.07);
  --glass-white-medium: rgba(255, 255, 255, 0.12);
  --glass-white-heavy: rgba(255, 255, 255, 0.22);
  --glass-dark-medium: rgba(9, 12, 16, 0.72);
  --glass-dark-heavy: rgba(9, 12, 16, 0.92);

  /* Specular Borders */
  --specular-border: 1px solid rgba(255, 255, 255, 0.15);
  --specular-border-light: 1px solid rgba(255, 255, 255, 0.08);
  --specular-border-active: 1px solid rgba(10, 132, 255, 0.6);

  /* Liquid Pastel Hues */
  --emerald: #10B981;
  --emerald-light: #34D399;
  --crimson: #FF3B30;
  --crimson-light: #FF6961;
  --amber: #FF9500;
  --amber-light: #FFB340;
  --blue: #0A84FF;
  --blue-light: #60A5FA;
  --purple: #5E5CE6;
  --purple-light: #A78BFA;
  --cyan: #64D2FF;

  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-tertiary: #64748B;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0A84FF 0%, #5E5CE6 100%);
  --grad-emerald: linear-gradient(135deg, #10B981 0%, #059669 100%);
  --grad-crimson: linear-gradient(135deg, #FF453A 0%, #FF3B30 100%);
  --grad-amber: linear-gradient(135deg, #FF9F0A 0%, #FF8500 100%);

  /* Radii & Shadows */
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
}

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

body {
  background-color: var(--bg-dark);
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.lang-en {
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
}

body.lang-bn {
  font-family: 'Hind Siliguri', -apple-system, sans-serif;
}

/* Ambient Radial Mesh Lights */
.mesh-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  opacity: 0.35;
  animation: floatOrb 20s infinite alternate ease-in-out;
}

.mesh-blue {
  width: 400px;
  height: 400px;
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.55) 0%, transparent 70%);
}

.mesh-purple {
  width: 500px;
  height: 500px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(94, 92, 230, 0.45) 0%, transparent 70%);
  animation-delay: -5s;
}

.mesh-emerald {
  width: 350px;
  height: 350px;
  top: 40%;
  left: 30%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
  animation-delay: -10s;
}

/* App Layout */
.app-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  max-width: 100vw;
  overflow: visible;
}

/* Glass Sidebar */
.glass-sidebar {
  width: 260px;
  background: rgba(9, 12, 16, 0.88);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-right: var(--specular-border);
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.glass-sidebar.collapsed {
  width: 68px;
  padding: 20px 8px;
}

.glass-sidebar.collapsed .brand-text,
.glass-sidebar.collapsed .nav-item span,
.glass-sidebar.collapsed .sidebar-section-divider,
.glass-sidebar.collapsed .user-info,
.glass-sidebar.collapsed .role-actions,
.glass-sidebar.collapsed .badge-pill {
  display: none !important;
}

.glass-sidebar.collapsed .nav-item {
  justify-content: center;
  padding: 12px 0;
}

.glass-sidebar.collapsed .nav-item i {
  margin: 0;
  font-size: 18px;
}

.glass-sidebar.collapsed .brand-header {
  justify-content: center;
  padding: 0;
}

.glass-sidebar.collapsed .user-card {
  justify-content: center;
  padding: 8px 0;
}

.sidebar-toggle-btn {
  background: var(--glass-white-light);
  border: var(--specular-border-light);
  color: var(--text-secondary);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  transition: all 0.2s;
}

.sidebar-toggle-btn:hover {
  background: var(--glass-white-heavy);
  color: white;
}

.glass-sidebar.collapsed .sidebar-toggle-btn {
  margin: 10px auto 0;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 95;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px;
  margin-bottom: 20px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--grad-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: white;
  box-shadow: 0 4px 14px rgba(10, 132, 255, 0.35);
  flex-shrink: 0;
}

.brand-text h2 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: white;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
  text-align: left;
  width: 100%;
}

.nav-item i {
  font-size: 15px;
  width: 20px;
  text-align: center;
}

.nav-item:hover {
  background: var(--glass-white-light);
  color: var(--text-primary);
  transform: translateX(3px);
}

.nav-item.active {
  background: var(--grad-primary);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(10, 132, 255, 0.35);
}

.sidebar-section-divider {
  padding: 14px 10px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.sidebar-footer {
  background: var(--glass-white-light);
  border: var(--specular-border-light);
  border-radius: var(--radius-md);
  padding: 10px;
  margin-top: 10px;
}

.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.user-info h4 {
  font-size: 12px;
  font-weight: 600;
  color: white;
}

.role-actions {
  display: flex;
  gap: 6px;
}

.btn-role-switch, .btn-logout {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: var(--specular-border-light);
  color: var(--text-secondary);
  padding: 6px 4px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s;
}

.btn-role-switch:hover, .btn-logout:hover {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

/* Main Content Area */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  min-width: 0;
  overflow: visible;
}

/* Top Navigation Bar */
.top-nav {
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(12, 16, 24, 0.82) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: var(--specular-border);
  position: sticky !important;
  top: 0 !important;
  z-index: 90 !important;
  gap: 14px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.greeting-box h1 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.greeting-box p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.3;
  margin-top: 2px;
}

.mobile-menu-btn {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Date Picker Trigger */
.date-picker-wrapper {
  position: relative;
}

.glass-date-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-white-medium);
  border: var(--specular-border);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.glass-date-trigger:hover {
  background: var(--glass-white-heavy);
  border-color: rgba(10, 132, 255, 0.5);
  box-shadow: 0 0 12px rgba(10, 132, 255, 0.3);
}

.glass-date-trigger i {
  color: var(--blue);
}

.glass-calendar-modal {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(18, 24, 38, 0.96);
  border: var(--specular-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 500;
  width: 300px;
  max-width: calc(100vw - 32px);
  animation: fadeIn 0.2s ease;
}

.glass-calendar-modal.open {
  display: block;
}

.cal-presets {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.btn-cal-preset {
  flex: 1;
  background: var(--glass-white-light);
  border: var(--specular-border-light);
  color: var(--text-secondary);
  padding: 6px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-cal-preset.active {
  background: var(--grad-primary);
  color: white;
  border-color: transparent;
}

.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cal-month-title {
  font-size: 13px;
  font-weight: 700;
  color: white;
}

.cal-nav-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  font-size: 12px;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.15s;
}

.cal-day:hover {
  background: var(--glass-white-medium);
  color: white;
}

.cal-day.today {
  border: 1px solid var(--blue);
  color: var(--blue-light);
  font-weight: 700;
}

.cal-day.selected {
  background: var(--grad-primary) !important;
  color: white !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(10, 132, 255, 0.4);
}

.cal-day.empty {
  pointer-events: none;
  opacity: 0;
}

/* Google 9-Dot Apps Launcher Button */
.apps-launcher-wrapper {
  position: relative;
}

.btn-apps-grid {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass-white-medium);
  border: var(--specular-border);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-apps-grid:hover {
  background: var(--glass-white-heavy);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(10, 132, 255, 0.35);
  border-color: rgba(10, 132, 255, 0.5);
}

.glass-apps-popup {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 290px;
  background: rgba(18, 23, 34, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: var(--specular-border);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  padding: 14px;
  z-index: 500;
  animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-apps-popup.open {
  display: block;
}

.apps-popup-header {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 6px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.apps-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.app-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.18s;
  text-align: center;
}

.app-card-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.app-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.app-card-item span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
}

.apps-popup-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-download-app-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald-light);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-download-app-banner:hover {
  background: rgba(16, 185, 129, 0.3);
}

/* Glass Buttons */
.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: var(--specular-border);
  background: var(--glass-white-light);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
}

.btn-glass:hover {
  background: var(--glass-white-heavy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.btn-glass.btn-sm {
  padding: 5px 10px;
  font-size: 11px;
}

.btn-glass.btn-primary { background: var(--grad-primary); border: none; }
.btn-glass.btn-emerald { background: rgba(16, 185, 129, 0.2); border-color: rgba(16, 185, 129, 0.4); color: var(--emerald-light); }
.btn-glass.btn-crimson { background: rgba(255, 59, 48, 0.2); border-color: rgba(255, 59, 48, 0.4); color: var(--crimson-light); }
.btn-glass.btn-amber { background: rgba(255, 149, 0, 0.2); border-color: rgba(255, 149, 0, 0.4); color: var(--amber-light); }
.btn-glass.btn-blue { background: rgba(10, 132, 255, 0.2); border-color: rgba(10, 132, 255, 0.4); color: var(--blue-light); }

/* High-Clarity Liquid Glass Cards */
.glass-card, .metric-card, .teammate-card, .glass-modal-sheet {
  background: rgba(18, 24, 38, 0.72) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45), inset 0 1px 0 0 rgba(255, 255, 255, 0.2) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}

.glass-card:hover, .metric-card:hover, .teammate-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255, 255, 255, 0.32) !important;
  box-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.6), inset 0 1px 0 0 rgba(255, 255, 255, 0.35) !important;
}

/* 5 Metrics Row for Desktop */
.metrics-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 24px !important;
  width: 100%;
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.icon-emerald { background: rgba(16, 185, 129, 0.18); color: var(--emerald-light); }
.icon-crimson { background: rgba(255, 59, 48, 0.18); color: var(--crimson-light); }
.icon-blue { background: rgba(10, 132, 255, 0.18); color: var(--blue-light); }
.icon-amber { background: rgba(255, 149, 0, 0.18); color: var(--amber-light); }
.icon-purple { background: rgba(94, 92, 230, 0.18); color: var(--purple-light); }

.metric-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 21px;
  font-weight: 700;
  margin: 6px 0 2px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trend-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.trend-up { background: rgba(16, 185, 129, 0.15); color: var(--emerald-light); }
.trend-down { background: rgba(255, 59, 48, 0.15); color: var(--crimson-light); }
.trend-warning { background: rgba(255, 149, 0, 0.15); color: var(--amber-light); }

.sub-label {
  font-size: 10px;
  color: var(--text-tertiary);
}

.garage-rent-badge {
  background: rgba(94, 92, 230, 0.15);
  border: 1px solid rgba(94, 92, 230, 0.35);
  color: var(--purple-light);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

/* Spacious Table Action Headers */
.table-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.search-input-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-input-wrapper:focus-within {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--blue-light);
  box-shadow: 0 0 12px rgba(10, 132, 255, 0.4);
}

.search-input-wrapper input {
  background: transparent;
  border: none;
  color: white;
  font-size: 12px;
  outline: none;
  min-width: 170px;
}

.search-input-wrapper input::placeholder {
  color: var(--text-tertiary);
}

.search-input-wrapper i {
  color: var(--blue-light);
  font-size: 12px;
}

.glass-select-filter {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  color: white;
  font-size: 12px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-select-filter:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.glass-select-filter option {
  background: #141A26;
  color: white;
}

/* Grids & Content */
.content-body {
  padding: 20px 28px;
  flex: 1;
  max-width: 100%;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}

/* Velocity Chart */
.chart-card {
  min-height: 240px;
}

.chart-legend {
  display: flex;
  gap: 12px;
  font-size: 11px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-emerald { background: var(--emerald); }
.dot-crimson { background: var(--crimson); }

.bar-chart-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 140px;
  margin-top: 24px;
  padding-bottom: 6px;
}

.bar-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.bars-pair {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 110px;
}

.bar-rev {
  width: 12px;
  background: var(--grad-emerald);
  border-radius: 4px 4px 0 0;
  transition: height 0.4s ease;
}

.bar-exp {
  width: 12px;
  background: var(--grad-crimson);
  border-radius: 4px 4px 0 0;
  transition: height 0.4s ease;
}

.bar-label {
  font-size: 10px;
  color: var(--text-tertiary);
}

.bar-label.active {
  color: var(--blue);
  font-weight: 700;
}

/* Fleet Health List */
.fleet-health-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.health-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.health-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.text-blue { color: var(--blue-light); }
.text-emerald { color: var(--emerald-light); }
.text-crimson { color: var(--crimson-light); }
.text-amber { color: var(--amber-light); }
.text-purple { color: var(--purple-light); }

/* Tables */
.glass-table-wrapper {
  overflow-x: auto;
  margin-top: 8px;
  width: 100%;
}

.glass-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.glass-table th {
  text-align: left;
  padding: 10px 12px;
  color: var(--text-secondary);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

.glass-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.glass-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.status-dropdown-select {
  border-radius: var(--radius-pill);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid;
  outline: none;
  cursor: pointer;
}

.status-dropdown-select.status-paid {
  border-color: rgba(16, 185, 129, 0.6);
  color: var(--emerald-light);
  background: rgba(16, 185, 129, 0.14);
}

.status-dropdown-select.status-due {
  border-color: rgba(255, 149, 0, 0.6);
  color: var(--amber-light);
  background: rgba(255, 149, 0, 0.14);
}

.status-dropdown-select.status-unpaid {
  border-color: rgba(255, 59, 48, 0.6);
  color: var(--crimson-light);
  background: rgba(255, 59, 48, 0.14);
}

.status-dropdown-select.status-off {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.08);
}

.status-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.status-indicator-dot.dot-paid { background: var(--emerald); box-shadow: 0 0 6px rgba(16, 185, 129, 0.6); }
.status-indicator-dot.dot-due { background: var(--amber); box-shadow: 0 0 6px rgba(255, 149, 0, 0.6); }
.status-indicator-dot.dot-unpaid { background: var(--crimson); box-shadow: 0 0 6px rgba(255, 59, 48, 0.6); }
.status-indicator-dot.dot-off { background: #94A3B8; box-shadow: 0 0 6px rgba(148, 163, 184, 0.4); }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.badge-emerald { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.4); color: var(--emerald-light); }
.badge-crimson { background: rgba(255, 59, 48, 0.15); border: 1px solid rgba(255, 59, 48, 0.4); color: var(--crimson-light); }
.badge-amber { background: rgba(255, 149, 0, 0.15); border: 1px solid rgba(255, 149, 0, 0.4); color: var(--amber-light); }
.badge-blue { background: rgba(10, 132, 255, 0.15); border: 1px solid rgba(10, 132, 255, 0.4); color: var(--blue-light); }

/* Teammates Grid */
.teammates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.teammate-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.teammate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.teammate-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.teammate-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(10, 132, 255, 0.2);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.teammate-avatar.has-due {
  background: rgba(255, 59, 48, 0.2);
  color: var(--crimson-light);
}

.teammate-names h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.teammate-names span {
  font-size: 11px;
  color: var(--text-secondary);
}

.teammate-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  padding: 10px;
  border-radius: 10px;
}

.teammate-detail-item span {
  font-size: 10px;
  color: var(--text-tertiary);
  display: block;
}

.teammate-detail-item strong {
  font-size: 12px;
  color: white;
}

.teammate-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.teammate-actions {
  display: flex;
  gap: 5px;
}

/* Modals */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.glass-modal-sheet {
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 5px;
  font-weight: 500;
}

.glass-select, .glass-input {
  background: var(--bg-elevated);
  border: var(--specular-border);
  color: white;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  outline: none;
  width: 100%;
}

.calculation-preview-card {
  display: flex;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.06);
  border: var(--specular-border-light);
  border-radius: var(--radius-md);
  padding: 10px;
  margin-bottom: 16px;
}

.calc-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.calc-col span {
  font-size: 10px;
  color: var(--text-secondary);
}

/* Category Chips */
.category-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.cat-chip {
  background: rgba(255, 255, 255, 0.05);
  border: var(--specular-border-light);
  color: var(--text-secondary);
  padding: 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}

.cat-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.cat-chip.active {
  background: var(--grad-crimson);
  color: white;
  border-color: transparent;
}

/* Quick Presets & Garage Rent Box */
.quick-preset-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 16px;
  flex-wrap: wrap;
}

.quick-preset-label {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 600;
}

.preset-btn-group {
  display: flex;
  gap: 6px;
  flex: 1;
}

.preset-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.preset-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  color: var(--emerald-light);
  transform: translateY(-1px);
}

.form-group-checkbox {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-top: 10px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-checkbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

.custom-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--purple);
  cursor: pointer;
}

.garage-rent-input-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(94, 92, 230, 0.3);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.garage-rent-input-wrapper span.lbl {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.garage-rent-input-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.glass-input-sm {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: white;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  width: 80px;
  text-align: right;
  outline: none;
}

.garage-unit-tag {
  font-size: 11px;
  color: var(--purple-light);
  font-weight: 600;
}

/* Toast */
.toast-container {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 90vw;
}

.toast {
  background: var(--bg-elevated);
  border: var(--specular-border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 12px;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slideInRight 0.3s ease;
}

.toast.toast-emerald { border-color: var(--emerald); color: var(--emerald-light); }
.toast.toast-crimson { border-color: var(--crimson); color: var(--crimson-light); }
.toast.toast-amber { border-color: var(--amber); color: var(--amber-light); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Auth Login Overlay */
.auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 12, 16, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: rgba(18, 24, 38, 0.88);
  border: var(--specular-border);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.login-brand {
  text-align: center;
  margin-bottom: 20px;
}

.login-brand-icon {
  width: 48px;
  height: 48px;
  background: var(--grad-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  margin: 0 auto 10px;
  box-shadow: 0 4px 16px rgba(10, 132, 255, 0.4);
}

.login-brand h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.login-brand p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.auth-mode-pill-group {
  display: flex;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 16px;
  gap: 4px;
}

.auth-mode-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-mode-tab.active {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(10, 132, 255, 0.4);
}

.role-tab-group {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.role-tab-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.role-tab-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: white;
}

.role-tab-btn.active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: white;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.auth-form-group {
  margin-bottom: 16px;
}

.auth-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #cfd6e6;
  margin-bottom: 7px;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon-left {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-tertiary);
  pointer-events: none;
  z-index: 2;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: color 0.2s;
  z-index: 2;
}

.password-toggle-btn:hover {
  color: white;
}

.auth-input {
  width: 100% !important;
  display: block !important;
  background: rgba(20, 26, 38, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: white !important;
  padding: 13px 44px 13px 42px !important;
  border-radius: 14px !important;
  font-size: 13.5px !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.auth-input:focus {
  border-color: var(--blue) !important;
  background: rgba(25, 33, 48, 1) !important;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.25) !important;
}

.auth-demo-hint {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  color: var(--text-tertiary);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

/* GPS Orbit Animation */
.gps-orbit-system {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gps-center-orb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, #0A84FF 0%, #0047AB 70%, #090C10 100%);
  box-shadow: 0 0 25px rgba(10, 132, 255, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  z-index: 2;
}

.gps-orbit-ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1.5px dashed rgba(10, 132, 255, 0.4);
  box-shadow: 0 0 15px rgba(10, 132, 255, 0.2);
  animation: orbitRotate 6s linear infinite;
}

.gps-satellite {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: #1A2130;
  border: 1.5px solid #60A5FA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60A5FA;
  font-size: 11px;
  box-shadow: 0 0 12px #0A84FF;
}

@keyframes orbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Driver Smart ID Card CR80 Layout */
.driver-id-card-preview {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 85.6 / 54;
  margin: 0 auto;
  background: #0B0F19;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 12px 14px;
  color: white;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.id-card-badge-chip {
  position: absolute;
  top: 10px;
  right: 12px;
  background: var(--grad-primary);
  color: white;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.id-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.id-card-header .brand-icon {
  width: 26px;
  height: 26px;
  font-size: 12px;
  border-radius: 6px;
}

.id-card-title-group h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: white;
  line-height: 1.2;
}

.id-card-title-group div {
  font-size: 8px;
  color: var(--text-tertiary);
}

.id-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}

.id-card-info-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.id-card-driver-label {
  font-size: 8px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.id-card-driver-name {
  font-size: 13px;
  font-weight: 800;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.id-card-details-table {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 9px;
  color: var(--text-secondary);
}

.id-card-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.id-card-row span.lbl {
  color: var(--text-tertiary);
  font-size: 8.5px;
  width: 44px;
  flex-shrink: 0;
}

.id-card-row span.val {
  color: white;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.id-card-badge-rickshaw {
  background: rgba(10, 132, 255, 0.2);
  border: 1px solid rgba(10, 132, 255, 0.5);
  color: var(--blue-light);
  font-size: 8px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}

.id-card-qr-box {
  background: white;
  padding: 4px;
  border-radius: 8px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.id-card-footer {
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 7.5px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Mobile Bottom Dock */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(12, 16, 26, 0.88);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-top: var(--specular-border);
  z-index: 990;
  padding: 4px 10px;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
}

.mob-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 58px;
}

.mob-nav-btn i {
  font-size: 16px;
  transition: transform 0.2s;
}

.mob-nav-btn:hover, .mob-nav-btn.active {
  color: var(--blue-light);
}

.mob-nav-btn.active i {
  color: var(--blue);
  transform: translateY(-2px);
}

.mob-nav-btn.btn-more-trigger {
  color: var(--text-secondary);
}

.mob-nav-btn.btn-more-trigger.active {
  color: var(--purple-light);
}

/* Floating Mobile More Menu Drawer */
.mobile-more-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 995;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-more-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-more-sheet {
  position: fixed;
  bottom: 74px;
  left: 14px;
  right: 14px;
  background: rgba(18, 24, 38, 0.96);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  padding: 18px 14px 14px;
  z-index: 998;
  display: none;
  transform: translateY(20px) scale(0.96);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 450px;
  margin: 0 auto;
}

.mobile-more-sheet.open {
  display: block;
  transform: translateY(0) scale(1);
}

.more-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.more-sheet-header h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
}

.more-grid-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.more-nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 6px;
  border-radius: 16px;
  color: var(--text-primary);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.more-nav-card:hover, .more-nav-card:active {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
}

.more-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.more-nav-card span {
  font-size: 11px;
  font-weight: 600;
}

.more-sheet-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 12px;
}

/* =========================================================
   CLEAN RESPONSIVE ENGINE (MOBILE, TABLET, DESKTOP)
   ========================================================= */

@media (max-width: 900px) {
  /* Hide Desktop Sidebar on Mobile */
  .glass-sidebar {
    display: none !important;
  }

  /* Show Bottom Floating Dock */
  .mobile-bottom-nav {
    display: flex !important;
  }

  .main-content {
    padding-bottom: 80px !important;
    width: 100vw !important;
  }

  /* Clean Top Navigation Bar */
  .top-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 16px !important;
    gap: 12px !important;
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
  }

  .nav-left {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .greeting-box h1 {
    font-size: 16px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .greeting-box p {
    font-size: 11px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .nav-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .glass-date-trigger {
    padding: 6px 12px !important;
    font-size: 11px !important;
  }

  .content-body {
    padding: 14px 14px 80px !important;
  }

  /* 2-Column KPI Metrics Grid */
  .metrics-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
    width: 100% !important;
  }

  .metrics-grid > .metric-card:last-child {
    grid-column: span 2 !important;
  }

  .metric-card {
    padding: 14px 12px !important;
    border-radius: 16px !important;
    min-height: 105px !important;
  }

  .card-label {
    font-size: 11px !important;
  }

  .metric-val {
    font-size: 18px !important;
    margin: 4px 0 2px !important;
  }

  .grid-2-col {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Horizontal Scrolling for Data Tables */
  .glass-card, .table-card {
    width: 100% !important;
    overflow: hidden !important;
  }

  .glass-table-wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    padding-bottom: 8px !important;
  }

  .glass-table {
    min-width: 540px !important;
    width: 100% !important;
  }

  .glass-table th, .glass-table td {
    padding: 9px 10px !important;
    white-space: nowrap !important;
  }

  .table-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .table-actions {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .search-input-wrapper {
    width: 100% !important;
  }

  .search-input-wrapper input {
    width: 100% !important;
  }

  .table-actions .btn-glass {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ==================== DEVELOPER CREDIT FIXED FOOTER ==================== */
.developer-credit {
  position: fixed;
  bottom: 12px;
  right: 20px;
  z-index: 850;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(13, 17, 28, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  font-size: 11px;
  color: #94A3B8;
  letter-spacing: 0.3px;
  pointer-events: auto;
  user-select: none;
}

.developer-credit a {
  color: #94A3B8;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.developer-credit a:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .developer-credit {
    bottom: 74px; /* Stacked right above mobile bottom dock */
    right: 12px;
    font-size: 10px;
    padding: 4px 10px;
  }
}

/* =========================================================
   PUBLIC INTERACTIVE LANDING PAGE (APPLE LIQUID GLASS)
   ========================================================= */

.landing-page-container {
  width: 100%;
  min-height: 100vh;
  position: relative;
  z-index: 10;
  overflow-x: hidden;
  color: var(--text-primary);
  font-family: var(--font-main);
  background: transparent;
  padding-bottom: 60px;
}

/* --- Floating Liquid Glass Header --- */
.landing-header {
  position: sticky;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 995;
  width: calc(100% - 32px);
  max-width: 1240px;
  margin: 16px auto 0;
  padding: 0;
}

.landing-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(13, 17, 28, 0.75);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.landing-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(10, 132, 255, 0.15);
  border: 1px solid rgba(10, 132, 255, 0.4);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(10, 132, 255, 0.25);
}

.landing-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.landing-brand-title h3 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #FFFFFF 30%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  line-height: 1.1;
}

.landing-brand-title span {
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--blue-light);
  display: block;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.landing-nav-link {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.landing-nav-link:hover {
  color: #FFFFFF;
}

.landing-nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue-light);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--blue);
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.landing-lang-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-landing-admin {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0A84FF 0%, #0056B3 100%);
  color: white;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(10, 132, 255, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-landing-admin:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(10, 132, 255, 0.6);
  background: linear-gradient(135deg, #2E93FF 0%, #0A84FF 100%);
}

.btn-landing-admin:active {
  transform: translateY(0);
}

/* --- Hero Section --- */
.landing-hero {
  max-width: 1240px;
  margin: 40px auto 0;
  padding: 40px 24px 60px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(10, 132, 255, 0.12);
  border: 1px solid rgba(10, 132, 255, 0.35);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--blue-light);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-light);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulseBeacon 1.8s infinite;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #FFFFFF 40%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0A84FF 0%, #0062D2 100%);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 28px rgba(10, 132, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(10, 132, 255, 0.65);
  background: linear-gradient(135deg, #2E93FF 0%, #0A84FF 100%);
}

.btn-hero-primary.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-val {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
}

.hero-stat-lbl {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 600;
  line-height: 1.3;
}

/* --- Hero Visual Showcase Card --- */
.landing-hero-visual {
  position: relative;
}

.hero-liquid-card {
  background: rgba(18, 23, 38, 0.72);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(10, 132, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-liquid-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--purple), transparent);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 8px;
  flex-wrap: nowrap;
}

.hero-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-shrink: 1;
}

.unit-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald-light);
  box-shadow: 0 0 12px var(--emerald);
  animation: pulseBeacon 1.5s infinite;
  flex-shrink: 0;
}

.hero-card-title h4 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-card-title .badge-pill {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 9px;
  padding: 3px 7px;
}

.hero-card-battery {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(48, 209, 88, 0.12);
  border: 1px solid rgba(48, 209, 88, 0.3);
  padding: 4px 9px;
  border-radius: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}

.hero-vehicle-centerpiece {
  position: relative;
  height: 180px;
  background: radial-gradient(circle at center, rgba(10, 132, 255, 0.15) 0%, transparent 70%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-rickshaw-img {
  max-height: 140px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.6));
  animation: floatVehicle 4s ease-in-out infinite;
}

@keyframes floatVehicle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-telemetry-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.telemetry-badge {
  background: rgba(10, 14, 24, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-card-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-data-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 12px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-data-item .lbl {
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: 600;
}

.hero-data-item .val {
  font-size: 13px;
  font-weight: 700;
}

.hero-card-interactive-footer {
  text-align: center;
}

.hero-interactive-btn {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.hero-interactive-btn:hover {
  background: rgba(10, 132, 255, 0.2);
  border-color: rgba(10, 132, 255, 0.5);
  color: #FFFFFF;
}

/* --- Section Global Structure --- */
.landing-section {
  max-width: 1240px;
  margin: 80px auto 0;
  padding: 0 24px;
}

.landing-section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--blue-light);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-title);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  background: linear-gradient(135deg, #FFFFFF 50%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- About Grid --- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  background: rgba(18, 23, 38, 0.65);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 132, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(10, 132, 255, 0.15);
}

.about-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.about-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}

.about-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(18, 23, 38, 0.65);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 26px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 132, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(10, 132, 255, 0.15);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.feature-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.feature-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --- GPS Telematics Showcase Section (Apple Liquid Glass) --- */
.telematics-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: rgba(18, 23, 38, 0.72);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 44px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(10, 132, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.telematics-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-light), var(--emerald-light), transparent);
}

.telematics-points {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.telematics-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Apple Liquid Glass GPS Radar Container */
.gps-radar-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background: rgba(10, 14, 24, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.7);
}

.gps-radar-preview {
  width: 290px;
  height: 290px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(10, 132, 255, 0.12) 0%, rgba(10, 14, 26, 0.96) 75%);
  border: 2px solid rgba(10, 132, 255, 0.5);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(10, 132, 255, 0.35), inset 0 0 30px rgba(10, 132, 255, 0.25);
}

.radar-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 20px 20px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  pointer-events: none;
}

.radar-crosshair-h {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(10, 132, 255, 0.2);
}

.radar-crosshair-v {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(10, 132, 255, 0.2);
}

.radar-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(10, 132, 255, 0.35);
  pointer-events: none;
}

.circle-1 { width: 90px; height: 90px; }
.circle-2 { width: 175px; height: 175px; }
.circle-3 { width: 255px; height: 255px; }

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 145px;
  height: 145px;
  transform-origin: 0 0;
  background: conic-gradient(from 0deg, rgba(10, 132, 255, 0.5) 0deg, rgba(48, 209, 88, 0.2) 30deg, transparent 65deg);
  animation: radarSweep 4s linear infinite;
  border-radius: 100% 0 0 0;
  pointer-events: none;
}

@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 4px 9px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  z-index: 5;
  transition: all 0.2s ease;
}

.radar-node:hover {
  transform: scale(1.08);
  border-color: rgba(10, 132, 255, 0.8);
}

.node-1 { top: 28%; left: 24%; color: var(--emerald-light); border-color: rgba(48, 209, 88, 0.4); }
.node-2 { bottom: 26%; right: 18%; color: var(--blue-light); border-color: rgba(10, 132, 255, 0.4); }
.node-3 { top: 48%; left: 45%; color: var(--purple-light); border-color: rgba(191, 90, 242, 0.4); }

/* --- Shareholder Preview --- */
.shareholder-preview-card {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(18, 23, 38, 0.65);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px;
}

.sh-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sh-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sh-item-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sh-item-header h5 {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
}

.sh-item-header span {
  font-size: 11px;
  color: var(--text-secondary);
}

.sh-item-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

/* --- CTA Banner --- */
.landing-cta-banner {
  max-width: 1240px;
  margin: 100px auto 0;
  padding: 0 24px;
}

.cta-banner-content {
  background: radial-gradient(circle at center, rgba(10, 132, 255, 0.25) 0%, rgba(18, 23, 38, 0.85) 75%);
  backdrop-filter: blur(32px);
  border: 1px solid rgba(10, 132, 255, 0.3);
  border-radius: 28px;
  padding: 56px 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(10, 132, 255, 0.2);
}

.cta-banner-content h2 {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.cta-banner-content p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 28px;
}

/* --- Clean Landing Footer --- */
.landing-footer {
  max-width: 1240px;
  margin: 80px auto 0;
  padding: 32px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-footer-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.landing-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-small {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(10, 132, 255, 0.15);
  border: 1px solid rgba(10, 132, 255, 0.4);
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-small img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.landing-footer-brand h4 {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
}

.landing-footer-brand p {
  font-size: 11px;
  color: var(--text-tertiary);
}

.landing-footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.landing-footer-links a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.landing-footer-links a:hover {
  color: #FFFFFF;
}

.landing-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 12px;
}

.landing-footer-dev a {
  color: #94A3B8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.landing-footer-dev a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* --- Auth Modal Close Button & Back Link --- */
.login-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.login-close-btn:hover {
  background: rgba(255, 69, 58, 0.2);
  color: #FFFFFF;
  border-color: rgba(255, 69, 58, 0.4);
}

.login-back-link {
  color: var(--text-secondary);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.login-back-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* --- Responsive Media Queries for Landing Page --- */
@media (max-width: 960px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 20px;
  }

  .hero-title {
    font-size: 32px;
  }

  .about-grid, .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .telematics-container {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .landing-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .landing-nav-links {
    display: none;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .about-grid, .features-grid {
    grid-template-columns: 1fr;
  }

  .sh-preview-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Interactive Unit Selector Chips in Hero --- */
.hero-unit-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.unit-chip {
  flex: 1;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.unit-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.unit-chip.active {
  background: rgba(10, 132, 255, 0.25);
  border-color: rgba(10, 132, 255, 0.6);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(10, 132, 255, 0.35);
}

.hero-interactive-controls {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.hero-interactive-controls .btn-glass {
  flex: 1;
  justify-content: center;
}

/* ==========================================================================
   Apple Liquid Glass Simulator Section (Responsive Cards System)
   ========================================================================== */
.calculator-grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

/* Row of 3 standalone Liquid Glass cards (Side-by-side on PC, stacked on mobile) */
.calc-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.calc-glass-box {
  background: rgba(18, 23, 38, 0.75);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.calc-glass-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(10, 132, 255, 0.6), transparent);
  opacity: 0.6;
}

.calc-glass-box:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 132, 255, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(10, 132, 255, 0.15);
}

.calc-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.calc-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.calc-box-title i {
  font-size: 15px;
}

.calc-val-badge {
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.calc-box-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-slider {
  width: 100%;
  height: 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  accent-color: var(--blue-light);
  cursor: pointer;
  margin: 4px 0;
  transition: all 0.2s;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 12px rgba(10, 132, 255, 0.85);
  cursor: pointer;
  transition: transform 0.15s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}

/* Output Summary Glass Card */
.calc-summary-glass-card {
  background: rgba(14, 19, 32, 0.82);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  padding: 28px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 32px rgba(10, 132, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.calc-summary-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-light), var(--emerald-light), transparent);
}

.calc-summary-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.calc-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 16px;
  align-items: stretch;
}

.calc-summary-stat-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.calc-summary-stat-box .lbl {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.calc-summary-stat-box .val {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
}

.calc-summary-profit-box {
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.22) 0%, rgba(48, 209, 88, 0.16) 100%);
  border: 1px solid rgba(10, 132, 255, 0.45);
  padding: 16px 20px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(10, 132, 255, 0.25);
}

.calc-summary-profit-box .lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.calc-summary-profit-box .net-profit-amount {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 4px;
  text-shadow: 0 0 20px rgba(10, 132, 255, 0.6);
}

.calc-summary-profit-box .net-profit-amount small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.calc-action-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.calc-action-row .btn-hero-primary {
  padding: 12px 24px;
  font-size: 13.5px;
  border-radius: 14px;
}

/* --- Interactive Radar Simulator --- */
.telematics-interactive-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.radar-status-pill {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 14, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(48, 209, 88, 0.5);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7), 0 0 15px rgba(48, 209, 88, 0.25);
}

/* --- Public Landing Mobile Bottom Navigation Dock --- */
.landing-mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(12, 16, 26, 0.88);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 990;
  padding: 4px 12px;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
}

.dock-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.dock-nav-item i {
  font-size: 16px;
  transition: transform 0.2s;
}

.dock-nav-item:hover, .dock-nav-item.active {
  color: var(--blue-light);
}

.dock-nav-item.active i {
  color: var(--blue);
  transform: translateY(-2px);
}

.dock-admin-btn {
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.25) 0%, rgba(0, 86, 179, 0.35) 100%);
  border: 1px solid rgba(10, 132, 255, 0.5);
  color: #FFFFFF;
}

.dock-admin-btn i {
  color: var(--blue-light);
}

/* --- Responsive Layout Rules (Mobile & Tablet) --- */
@media (max-width: 960px) {
  .calc-cards-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .calc-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .calc-summary-profit-box {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .landing-header {
    display: none !important;
  }

  .landing-mobile-bottom-dock {
    display: flex !important;
  }

  .landing-page-container {
    padding-bottom: 90px !important;
  }

  .developer-credit {
    bottom: 74px !important;
    right: 12px !important;
    font-size: 10px !important;
    padding: 4px 10px !important;
  }

  .calc-cards-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .calc-glass-box {
    padding: 16px 14px !important;
    border-radius: 18px !important;
  }

  .calc-summary-glass-card {
    padding: 20px 14px !important;
    border-radius: 20px !important;
  }

  .calc-summary-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .calc-summary-profit-box {
    grid-column: span 1 !important;
  }

  .calc-action-row {
    justify-content: stretch;
  }

  .calc-action-row .btn-hero-primary {
    width: 100%;
    justify-content: center;
  }

  .telematics-container {
    padding: 20px 14px !important;
    border-radius: 22px !important;
  }

  .gps-radar-frame {
    padding: 14px 8px !important;
  }

  .gps-radar-preview {
    width: 250px !important;
    height: 250px !important;
  }

  .circle-3 {
    width: 215px !important;
    height: 215px !important;
  }

  .radar-sweep {
    width: 125px !important;
    height: 125px !important;
  }
}
