/* ═══════════════════════════════════════════════════════════════════════════
   KULLERTEENUS — Premium Design System 2.0
   "Northern Lights" — Glass morphism, Gradients, Micro-animations
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ──────────────────────────────────────────────────────── */
:root {
  --green: #00D26A;
  --green-hover: #00E878;
  --green-dark: #00A854;
  --green-light: #ECFDF5;
  --green-glow: rgba(0, 210, 106, 0.35);
  --green-gradient: linear-gradient(135deg, #00D26A 0%, #00E878 50%, #34D399 100%);
  --green-gradient-bold: linear-gradient(135deg, #00C167 0%, #00E676 100%);

  --dark: #0B0F19;
  --dark-2: #111827;
  --dark-3: #1F2937;
  --dark-surface: rgba(11, 15, 25, 0.92);

  --bg: #F0F2F5;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;

  --red: #F43F5E;
  --red-light: #FFF1F2;
  --yellow: #F59E0B;
  --yellow-light: #FFFBEB;
  --blue: #3B82F6;
  --blue-light: #EFF6FF;
  --purple: #8B5CF6;
  --purple-light: #F5F3FF;

  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --radius-pill: 9999px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 2px 8px rgba(0,0,0,0.06), 0 0 1px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 0 1px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 0 1px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.16), 0 8px 20px rgba(0,0,0,0.06);
  --shadow-green: 0 8px 32px rgba(0, 210, 106, 0.3);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.03);
  --shadow-card-hover: 0 8px 30px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --glass: rgba(255,255,255,0.72);
  --glass-border: rgba(255,255,255,0.3);
  --glass-dark: rgba(11, 15, 25, 0.85);
  --glass-dark-border: rgba(255,255,255,0.08);
}

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
a { text-decoration: none; color: inherit; }

/* ─── Selection ──────────────────────────────────────────────────────────── */
::selection { background: rgba(0, 210, 106, 0.2); color: var(--gray-800); }

/* ═══════════════════════════════════════════════════════════════════════════
   AUTH SCREEN — Animated Northern Lights
   ═══════════════════════════════════════════════════════════════════════════ */
.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.auth-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(0, 210, 106, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  animation: auroraShift 12s ease-in-out infinite alternate;
  z-index: 0;
}

.auth-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 300px at 70% 30%, rgba(0, 210, 106, 0.1) 0%, transparent 100%),
    radial-gradient(circle 400px at 30% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 100%);
  animation: auroraShift 15s ease-in-out infinite alternate-reverse;
  z-index: 0;
}

@keyframes auroraShift {
  0% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.1) rotate(2deg); opacity: 0.8; }
  100% { transform: scale(1) rotate(-1deg); opacity: 1; }
}

/* Floating orbs */
.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  z-index: 0;
  animation: orbFloat 20s ease-in-out infinite;
}

.auth-orb:nth-child(1) {
  width: 300px; height: 300px;
  background: var(--green);
  top: -100px; left: -50px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.auth-orb:nth-child(2) {
  width: 250px; height: 250px;
  background: var(--blue);
  bottom: -80px; right: -60px;
  animation-delay: -6s;
  animation-duration: 22s;
}

.auth-orb:nth-child(3) {
  width: 200px; height: 200px;
  background: var(--purple);
  top: 40%; left: 60%;
  animation-delay: -12s;
  animation-duration: 25s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(40px, 10px) scale(1.05); }
}

/* Grid pattern overlay */
.auth-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.auth-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-radius: var(--radius-2xl);
  padding: 44px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
  animation: cardEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.auth-logo { text-align: center; margin-bottom: 36px; }

.auth-logo .logo-icon {
  width: 72px; height: 72px;
  background: var(--green-gradient);
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-green);
  animation: logoPulse 3s ease-in-out infinite;
  position: relative;
}

.auth-logo .logo-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 26px;
  background: var(--green-gradient);
  opacity: 0.3;
  filter: blur(12px);
  z-index: -1;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(0, 210, 106, 0.3); }
  50% { box-shadow: 0 8px 48px rgba(0, 210, 106, 0.5); }
}

.auth-logo .logo-icon svg { color: #fff; width: 32px; height: 32px; }
.auth-logo h1 { font-size: 28px; font-weight: 800; color: var(--gray-800); letter-spacing: -0.5px; }
.auth-logo p { font-size: 14px; color: var(--gray-500); margin-top: 4px; }

.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 28px;
}

.auth-tab {
  flex: 1;
  padding: 11px;
  text-align: center;
  border-radius: 11px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  transition: var(--transition);
}

.auth-tab.active {
  background: var(--white);
  color: var(--gray-800);
  box-shadow: var(--shadow-md);
}

.auth-tab:hover:not(.active) { color: var(--gray-700); }

/* ─── Forms ──────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 14px;
  transition: var(--transition);
  background: var(--white);
  color: var(--gray-800);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--gray-300);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 210, 106, 0.12);
}

.form-group input::placeholder { color: var(--gray-400); }

.form-group .input-icon { position: relative; }
.form-group .input-icon input { padding-left: 44px; }
.form-group .input-icon svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  width: 18px;
  height: 18px;
  transition: var(--transition-fast);
}
.form-group .input-icon:focus-within svg { color: var(--green); }

.role-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }

.role-option {
  padding: 18px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.role-option::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--green-gradient);
  opacity: 0;
  transition: var(--transition);
}

.role-option:hover { border-color: var(--gray-300); transform: translateY(-1px); }

.role-option.selected {
  border-color: var(--green);
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.role-option svg { margin-bottom: 6px; color: var(--gray-400); transition: var(--transition); position: relative; z-index: 1; }
.role-option.selected svg { color: var(--green); }
.role-option .role-title { font-size: 14px; font-weight: 700; color: var(--gray-700); position: relative; z-index: 1; }
.role-option.selected .role-title { color: var(--green-dark); }
.role-option .role-desc { font-size: 11px; color: var(--gray-500); margin-top: 2px; position: relative; z-index: 1; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--green-gradient-bold);
  color: #fff;
  width: 100%;
  padding: 15px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 210, 106, 0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 210, 106, 0.4);
}

.btn-primary:hover::before { opacity: 1; }

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 210, 106, 0.2);
}

.btn-secondary { background: var(--gray-100); color: var(--gray-700); }
.btn-secondary:hover { background: var(--gray-200); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--gray-200);
  color: var(--gray-700);
}
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); background: var(--green-light); }

.btn-danger { background: linear-gradient(135deg, var(--red), #E11D48); color: #fff; }
.btn-danger:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(244, 63, 94, 0.3); }

.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 10px; }
.btn-xs { padding: 7px 12px; font-size: 12px; border-radius: 8px; }
.btn-icon { width: 42px; height: 42px; padding: 0; border-radius: 12px; }

.auth-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--gray-500); }
.auth-footer a { color: var(--green); font-weight: 600; transition: var(--transition-fast); }
.auth-footer a:hover { color: var(--green-dark); }
.form-error { color: var(--red); font-size: 13px; margin-top: 6px; display: none; }
.form-error.show { display: block; animation: shakeX 0.4s ease; }

@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   APP LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */
.app { display: none; min-height: 100vh; background: var(--bg); }
.app.active { display: flex; flex-direction: column; }

/* ─── Top Bar ────────────────────────────────────────────────────────────── */
.topbar {
  background: var(--dark);
  background: linear-gradient(135deg, #0B0F19 0%, #111827 100%);
  color: #fff;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.topbar-left { display: flex; align-items: center; gap: 12px; }

.topbar-logo {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.3px;
}

.topbar-logo .logo-dot {
  width: 32px;
  height: 32px;
  background: var(--green-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 210, 106, 0.3);
}

.topbar-logo .logo-dot svg { width: 17px; height: 17px; color: #fff; }

.topbar-right { display: flex; align-items: center; gap: 8px; }

.topbar-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.topbar-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  transform: scale(1.05);
}

.topbar-btn .badge-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 9px;
  height: 9px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--dark);
  display: none;
  animation: badgePop 0.3s var(--transition-spring);
}

.topbar-btn .badge-dot.show { display: block; }

@keyframes badgePop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
}

.topbar-user:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.1);
}

.topbar-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 210, 106, 0.25);
}

.topbar-user-name { font-size: 13px; font-weight: 600; }
.topbar-user-role { font-size: 11px; color: var(--gray-400); }

/* ─── Bottom Nav — Floating Pill ─────────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--glass-dark);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-dark-border);
  border-radius: 20px;
  display: flex;
  z-index: 99;
  padding: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05);
  animation: navSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px 8px;
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  border-radius: 16px;
  letter-spacing: 0.02em;
}

.bottom-nav a svg { width: 22px; height: 22px; margin-bottom: 3px; transition: var(--transition); }

.bottom-nav a.active {
  color: var(--green);
  background: rgba(0, 210, 106, 0.12);
}

.bottom-nav a:not(.active):hover {
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
}

.bottom-nav a .nav-badge {
  position: absolute;
  top: 4px;
  right: 50%;
  transform: translateX(16px);
  min-width: 18px;
  height: 18px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.4);
}

.bottom-nav a .nav-badge.show { display: flex; }

/* ─── Main Content ───────────────────────────────────────────────────────── */
.main-content {
  flex: 1;
  padding: 20px 16px;
  padding-bottom: 100px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

@media(min-width:768px) { .main-content { padding: 28px 24px; padding-bottom: 110px; } }

/* ─── Screens ────────────────────────────────────────────────────────────── */
.screen { display: none; animation: screenIn 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.screen.active { display: block; }

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

/* ═══════════════════════════════════════════════════════════════════════════
   CARDS — Glass & Premium
   ═══════════════════════════════════════════════════════════════════════════ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  margin-bottom: 14px;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.card:hover { box-shadow: var(--shadow-card-hover); }

.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card-title { font-size: 16px; font-weight: 700; color: var(--gray-800); letter-spacing: -0.01em; }

/* ─── Stats Grid ─────────────────────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
@media(min-width:600px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }

.stat-card .stat-value { font-size: 26px; font-weight: 800; color: var(--gray-800); letter-spacing: -0.5px; }
.stat-card .stat-label { font-size: 12px; color: var(--gray-500); margin-top: 2px; font-weight: 500; }

.stat-card .stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.stat-card .stat-icon.green { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); color: var(--green); }
.stat-card .stat-icon.blue { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); color: var(--blue); }
.stat-card .stat-icon.yellow { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); color: var(--yellow); }
.stat-card .stat-icon.red { background: linear-gradient(135deg, #FFF1F2, #FFE4E6); color: var(--red); }

/* ─── Badges ─────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge-green { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); color: var(--green-dark); }
.badge-yellow { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); color: #B45309; }
.badge-red { background: linear-gradient(135deg, #FFF1F2, #FFE4E6); color: var(--red); }
.badge-blue { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); color: var(--blue); }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }

/* ═══════════════════════════════════════════════════════════════════════════
   ORDER CARDS — Premium Route Display
   ═══════════════════════════════════════════════════════════════════════════ */
.order-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 14px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.order-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gray-200);
  border-radius: 0 4px 4px 0;
  transition: var(--transition);
}

.order-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--gray-100);
  transform: translateY(-2px);
}

.order-card:hover::before { background: var(--green); }

.order-card.pending {
  border-color: var(--green);
  background: linear-gradient(135deg, rgba(0,210,106,.02) 0%, rgba(0,210,106,.06) 100%);
  animation: pendingPulse 2.5s ease-in-out infinite;
}

.order-card.pending::before { background: var(--green); }

@keyframes pendingPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,210,106,.12), var(--shadow-card); }
  50% { box-shadow: 0 0 0 10px rgba(0,210,106,0), var(--shadow-md); }
}

.order-card-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 14px; }
.order-uid { font-size: 13px; font-weight: 700; color: var(--gray-400); }
.order-time { font-size: 12px; color: var(--gray-400); }

.order-route { display: flex; gap: 14px; align-items: start; }

.order-route-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-top: 5px;
}

.route-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2.5px solid var(--green);
  background: var(--white);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(0, 210, 106, 0.1);
}

.route-dot.dest {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}

.route-line {
  width: 2px;
  height: 26px;
  background: linear-gradient(to bottom, var(--green), var(--red));
  border-radius: 2px;
  opacity: 0.4;
}

.order-route-info { flex: 1; min-width: 0; }

.route-point { margin-bottom: 10px; }
.route-point:last-child { margin-bottom: 0; }
.route-label { font-size: 11px; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.6px; }

.route-address {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-meta {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}

.order-meta-item { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--gray-500); font-weight: 500; }
.order-meta-item svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════════════════════════════════════════════
   BID CARDS — Premium Driver Cards
   ═══════════════════════════════════════════════════════════════════════════ */
.bids-container { margin-top: 18px; }

.bids-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bids-title .bid-count {
  background: var(--green-gradient);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 210, 106, 0.3);
}

.bid-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.bid-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(0, 210, 106, 0.06);
  transform: translateY(-2px);
}

.bid-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }

.bid-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--dark), var(--dark-3));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 19px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bid-driver-info { flex: 1; min-width: 0; }
.bid-driver-name { font-size: 15px; font-weight: 700; color: var(--gray-800); }
.bid-driver-car { font-size: 13px; color: var(--gray-500); }
.bid-driver-rating { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--yellow); font-weight: 600; }
.bid-driver-rating svg { width: 14px; height: 14px; fill: var(--yellow); }

.bid-details { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 14px; }

.bid-detail {
  text-align: center;
  padding: 12px 8px;
  background: var(--gray-50);
  border-radius: 12px;
  border: 1px solid var(--gray-100);
}

.bid-detail-value { font-size: 20px; font-weight: 800; color: var(--gray-800); letter-spacing: -0.5px; }
.bid-detail-label { font-size: 11px; color: var(--gray-500); margin-top: 3px; font-weight: 500; }
.bid-detail-value.price { color: var(--green-dark); }

.bid-message {
  font-size: 13px;
  color: var(--gray-600);
  font-style: italic;
  padding: 10px 14px;
  background: var(--gray-50);
  border-radius: 10px;
  margin-bottom: 14px;
  border-left: 3px solid var(--green);
}

.bid-actions { display: flex; gap: 8px; }
.bid-actions .btn { flex: 1; }

/* ═══════════════════════════════════════════════════════════════════════════
   DRIVER STATUS TOGGLE
   ═══════════════════════════════════════════════════════════════════════════ */
.driver-status-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0,0,0,0.04);
}

.status-info { display: flex; align-items: center; gap: 14px; }

.status-dot { width: 14px; height: 14px; border-radius: 50%; transition: var(--transition); }

.status-dot.online {
  background: var(--green);
  box-shadow: 0 0 12px rgba(0, 210, 106, 0.5);
  animation: statusPulse 2s infinite;
}

.status-dot.offline { background: var(--gray-300); }

@keyframes statusPulse {
  0%,100% { box-shadow: 0 0 4px rgba(0, 210, 106, 0.3); transform: scale(1); }
  50% { box-shadow: 0 0 16px rgba(0, 210, 106, 0.6); transform: scale(1.1); }
}

.status-text { font-size: 15px; font-weight: 700; }
.status-sub { font-size: 12px; color: var(--gray-500); }

.toggle {
  width: 56px;
  height: 30px;
  background: var(--gray-300);
  border-radius: 15px;
  border: none;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}

.toggle.active {
  background: var(--green);
  box-shadow: 0 0 16px rgba(0, 210, 106, 0.35);
}

.toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  transition: var(--transition-spring);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.toggle.active::after { transform: translateX(26px); }

/* ─── Subscription Banner ────────────────────────────────────────────────── */
.sub-banner {
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.sub-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.sub-banner.active {
  background: var(--green-gradient-bold);
  color: #fff;
  box-shadow: var(--shadow-green);
}

.sub-banner.inactive {
  background: linear-gradient(135deg, var(--gray-700), var(--gray-800));
  color: #fff;
}

.sub-banner h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.sub-banner p { font-size: 13px; opacity: .85; margin-bottom: 14px; }
.sub-banner .btn { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.sub-banner .btn:hover { background: rgba(255,255,255,.28); }

/* ─── Map ────────────────────────────────────────────────────────────────── */
.map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.06);
}

.map-container .leaflet-container {
  height: 100%;
  width: 100%;
  border-radius: var(--radius-lg);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
}

/* ─── Create Order Form ──────────────────────────────────────────────────── */
.location-input-group { position: relative; margin-bottom: 14px; }

.location-input-group input {
  width: 100%;
  padding: 15px 16px 15px 46px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  transition: var(--transition);
  background: var(--white);
}

.location-input-group input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 210, 106, 0.1);
  outline: none;
}

.location-input-group .loc-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

.loc-icon.pickup { color: var(--green); }
.loc-icon.dropoff { color: var(--red); }

.location-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  max-height: 240px;
  overflow-y: auto;
  display: none;
}

.location-suggestions.show { display: block; }

.location-suggestion {
  padding: 13px 16px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-fast);
}

.location-suggestion:hover { background: var(--green-light); }
.location-suggestion svg { color: var(--gray-400); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   CHAT — Modern Messaging
   ═══════════════════════════════════════════════════════════════════════════ */
.chat-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 200px);
  max-height: 500px;
}

.chat-messages { flex: 1; overflow-y: auto; padding: 16px 0; }

.chat-msg { display: flex; gap: 8px; margin-bottom: 14px; }
.chat-msg.mine { flex-direction: row-reverse; }

.chat-bubble {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
}

.chat-msg:not(.mine) .chat-bubble {
  background: var(--gray-100);
  color: var(--gray-800);
  border-bottom-left-radius: 6px;
}

.chat-msg.mine .chat-bubble {
  background: var(--green-gradient-bold);
  color: #fff;
  border-bottom-right-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 210, 106, 0.2);
}

.chat-msg-name { font-size: 11px; font-weight: 600; color: var(--gray-500); margin-bottom: 3px; }
.chat-msg-time { font-size: 10px; color: var(--gray-400); margin-top: 3px; }

.chat-input-bar {
  display: flex;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
}

.chat-input-bar input {
  flex: 1;
  padding: 13px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-pill);
  font-size: 14px;
  transition: var(--transition);
}

.chat-input-bar input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,210,106,0.1); }

.chat-send-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-gradient-bold);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 210, 106, 0.3);
  flex-shrink: 0;
}

.chat-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 210, 106, 0.4);
}

.chat-send-btn:active { transform: scale(0.95); }

/* ═══════════════════════════════════════════════════════════════════════════
   NOTIFICATIONS PANEL — Glass Slide
   ═══════════════════════════════════════════════════════════════════════════ */
.notif-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  background: var(--glass);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  box-shadow: var(--shadow-xl);
  z-index: 200;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--glass-border);
}

.notif-panel.open { transform: translateX(-400px); }

@media(max-width:400px) {
  .notif-panel { width: 100vw; right: -100vw; }
  .notif-panel.open { transform: translateX(-100vw); }
}

.notif-header {
  padding: 22px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notif-header h3 { font-size: 17px; font-weight: 700; }

.notif-list { flex: 1; overflow-y: auto; }

.notif-item {
  padding: 16px 22px;
  border-bottom: 1px solid var(--gray-50);
  transition: var(--transition-fast);
}

.notif-item.unread {
  background: var(--green-light);
  border-left: 3px solid var(--green);
}

.notif-item-title { font-size: 14px; font-weight: 600; color: var(--gray-800); }
.notif-item-body { font-size: 13px; color: var(--gray-500); margin-top: 3px; }
.notif-item-time { font-size: 11px; color: var(--gray-400); margin-top: 5px; }

.notif-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(4px);
  z-index: 199;
  display: none;
  transition: opacity 0.3s ease;
}

.notif-overlay.open { display: block; }

/* ═══════════════════════════════════════════════════════════════════════════
   MODAL — Glass Overlay
   ═══════════════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(0,0,0,0.06);
}

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

.modal-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 { font-size: 18px; font-weight: 700; }

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: var(--gray-100);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition-fast);
}

.modal-close:hover { background: var(--gray-200); color: var(--gray-700); }

.modal-body { padding: 26px; }

.modal-footer {
  padding: 18px 26px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ─── Empty State ────────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 48px 20px; }

.empty-state svg {
  width: 56px;
  height: 56px;
  color: var(--gray-300);
  margin-bottom: 16px;
  opacity: 0.8;
}

.empty-state h3 { font-size: 17px; font-weight: 700; color: var(--gray-700); margin-bottom: 6px; }
.empty-state p { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; }

/* ═══════════════════════════════════════════════════════════════════════════
   TOAST — Glass Notifications
   ═══════════════════════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  top: 76px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 15px 20px;
  border-radius: var(--radius);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 280px;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
}

.toast-success { background: rgba(5, 150, 105, 0.92); }
.toast-error { background: rgba(244, 63, 94, 0.92); }
.toast-info { background: rgba(59, 130, 246, 0.92); }
.toast svg { width: 18px; height: 18px; flex-shrink: 0; }

@keyframes toastIn {
  from { transform: translateX(120px) scale(0.9); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

/* ─── Section Header ─────────────────────────────────────────────────────── */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.section-title { font-size: 22px; font-weight: 800; color: var(--gray-800); letter-spacing: -0.3px; }

/* ─── Data Table ─────────────────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.data-table th {
  text-align: left;
  padding: 14px 18px;
  background: var(--gray-50);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--gray-100);
  font-size: 14px;
}

.data-table tr { transition: var(--transition-fast); }
.data-table tr:hover td { background: var(--gray-50); }

/* ─── User Menu ──────────────────────────────────────────────────────────── */
.user-menu {
  position: fixed;
  top: 68px;
  right: 16px;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  z-index: 150;
  min-width: 220px;
  display: none;
  padding: 8px;
  animation: menuPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.user-menu.open { display: block; }

@keyframes menuPop {
  from { opacity: 0; transform: scale(0.95) translateY(-8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.user-menu a,
.user-menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--gray-700);
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  transition: var(--transition-fast);
  font-weight: 500;
}

.user-menu a:hover,
.user-menu button:hover { background: var(--gray-100); }

.user-menu button.logout { color: var(--red); }
.user-menu button.logout:hover { background: var(--red-light); }

/* ═══════════════════════════════════════════════════════════════════════════
   SUBSCRIPTION PAGE — Premium Pricing
   ═══════════════════════════════════════════════════════════════════════════ */
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: priceShine 4s ease-in-out infinite;
}

@keyframes priceShine {
  0% { left: -100%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

.pricing-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(0, 210, 106, 0.08);
}

.pricing-price {
  font-size: 56px;
  font-weight: 800;
  color: var(--gray-800);
  letter-spacing: -2px;
  line-height: 1;
}

.pricing-price span { font-size: 20px; font-weight: 500; color: var(--gray-500); letter-spacing: 0; }

.pricing-features { list-style: none; margin: 24px 0; text-align: left; }

.pricing-features li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--gray-50);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li svg {
  color: var(--green);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: var(--green-light);
  border-radius: 50%;
  padding: 2px;
}

/* ─── Loading ────────────────────────────────────────────────────────────── */
.loading { display: flex; align-items: center; justify-content: center; padding: 48px; }

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Order Type Selector ────────────────────────────────────────────────── */
.type-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }

.type-option {
  padding: 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}

.type-option:hover { border-color: var(--gray-300); transform: translateY(-1px); }

.type-option.selected {
  border-color: var(--green);
  background: var(--green-light);
  box-shadow: 0 4px 16px rgba(0, 210, 106, 0.12);
  transform: translateY(-2px);
}

.type-option svg { margin-bottom: 6px; transition: var(--transition); }
.type-option.selected svg { color: var(--green); }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media(min-width:768px) {
  .main-content { max-width: 640px; }
  .bid-details { grid-template-columns: 1fr 1fr 1fr; }
  .bottom-nav { left: 50%; right: auto; transform: translateX(-50%); width: 400px; bottom: 20px; }
  .bottom-nav a { padding: 12px 4px 10px; }

  @keyframes navSlideUp {
    from { transform: translateX(-50%) translateY(80px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
  }
}

@media(min-width:1024px) {
  .main-content { max-width: 720px; }
}

@media(max-width:380px) {
  .auth-card { padding: 32px 24px; }
  .section-title { font-size: 20px; }
  .bottom-nav { left: 10px; right: 10px; }
}

/* ─── Scrollbar ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ─── Extra Utilities ────────────────────────────────────────────────────── */
@keyframes pulse {
  0%,100% { box-shadow: 0 0 4px rgba(0, 210, 106, 0.3); }
  50% { box-shadow: 0 0 16px rgba(0, 210, 106, 0.6); }
}

/* Focus visible for keyboard nav */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* ═══════════════════════════════════════════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.landing { display: block; }
.landing.hidden { display: none; }

/* Landing Nav */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease;
}

.landing-nav.scrolled {
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.landing-nav .nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.landing-nav .nav-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: var(--green-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 210, 106, 0.3);
}

.landing-nav .nav-brand .brand-icon svg { width: 18px; height: 18px; color: #fff; }

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

.landing-nav .btn-ghost {
  padding: 10px 20px;
  border-radius: 10px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.landing-nav .btn-ghost:hover { color: #fff; }

.landing-nav .btn-nav-primary {
  padding: 10px 22px;
  border-radius: 10px;
  background: var(--green-gradient-bold);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 210, 106, 0.25);
}

.landing-nav .btn-nav-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 210, 106, 0.35);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 3px;
}

.lang-switcher button {
  padding: 5px 10px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition-fast);
  text-transform: uppercase;
}

.lang-switcher button.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.lang-switcher button:hover:not(.active) { color: rgba(255,255,255,0.8); }

/* In-app lang switcher (topbar) */
.lang-switcher-app {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 2px;
}

.lang-switcher-app button {
  padding: 4px 8px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.lang-switcher-app button.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0, 210, 106, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 40%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  animation: auroraShift 15s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 210, 106, 0.12);
  border: 1px solid rgba(0, 210, 106, 0.2);
  border-radius: var(--radius-pill);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  animation: cardEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: statusPulse 2s infinite;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  animation: cardEntrance 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero h1 .gradient-text {
  background: var(--green-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
  animation: cardEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: cardEntrance 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-buttons .btn-hero {
  padding: 16px 36px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-buttons .btn-hero-primary {
  background: var(--green-gradient-bold);
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 210, 106, 0.35);
}

.hero-buttons .btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(0, 210, 106, 0.45);
}

.hero-buttons .btn-hero-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}

.hero-buttons .btn-hero-secondary:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 56px;
  animation: cardEntrance 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-stat { text-align: center; }

.hero-stat .stat-num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}

.hero-stat .stat-text {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
  font-weight: 500;
}

/* How It Works */
.landing-section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.landing-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.landing-section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--gray-800);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.landing-section-header p {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 480px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media(max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-stat .stat-num { font-size: 24px; }
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
  position: relative;
}

.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.step-number {
  width: 52px;
  height: 52px;
  background: var(--green-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 4px 20px rgba(0, 210, 106, 0.25);
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.step-card p { font-size: 14px; color: var(--gray-500); line-height: 1.5; }

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

@media(max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  gap: 18px;
  align-items: start;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}

.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon.green { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); color: var(--green); }
.feature-icon.blue { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); color: var(--blue); }
.feature-icon.purple { background: linear-gradient(135deg, #F5F3FF, #EDE9FE); color: var(--purple); }
.feature-icon.yellow { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); color: var(--yellow); }

.feature-card h3 { font-size: 16px; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.feature-card p { font-size: 14px; color: var(--gray-500); line-height: 1.5; }

/* Driver CTA Section */
.driver-cta {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  border-radius: var(--radius-2xl);
  padding: 56px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 0 24px;
  max-width: 1052px;
  margin-left: auto;
  margin-right: auto;
}

.driver-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 210, 106, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

@media(max-width: 768px) {
  .driver-cta { flex-direction: column; text-align: center; padding: 40px 28px; }
}

.driver-cta-content { flex: 1; position: relative; z-index: 1; }
.driver-cta-content h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.driver-cta-content p { font-size: 16px; color: rgba(255,255,255,0.65); margin-bottom: 24px; line-height: 1.6; }

.driver-cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.driver-cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.driver-cta-feature svg { color: var(--green); flex-shrink: 0; }

.driver-cta-stats {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.driver-cta-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  min-width: 160px;
  backdrop-filter: blur(8px);
}

.driver-cta-stat .cta-stat-value { font-size: 28px; font-weight: 800; color: var(--green-hover); }
.driver-cta-stat .cta-stat-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* Landing Footer */
.landing-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding: 40px 24px;
  text-align: center;
}

.landing-footer .footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.landing-footer p { font-size: 13px; }

.landing-footer .footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 16px;
}

.landing-footer .footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: var(--transition-fast);
}

.landing-footer .footer-links a:hover { color: var(--green); }

/* ═══════════════════════════════════════════════════════════════════════════
   PRICE ESTIMATE
   ═══════════════════════════════════════════════════════════════════════════ */
.price-estimate {
  background: linear-gradient(135deg, var(--green-light), #D1FAE5);
  border: 1px solid rgba(0, 210, 106, 0.15);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-estimate-label { font-size: 13px; color: var(--gray-600); font-weight: 500; }

.price-estimate-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -0.5px;
}

.price-estimate-range { font-size: 12px; color: var(--gray-500); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════════════════
   PROMO CODE
   ═══════════════════════════════════════════════════════════════════════════ */
.promo-input-group {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.promo-input-group input {
  flex: 1;
  padding: 12px 14px;
  border: 2px dashed var(--gray-300);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  background: var(--gray-50);
}

.promo-input-group input:focus {
  outline: none;
  border-color: var(--green);
  border-style: solid;
  background: var(--white);
}

.promo-input-group .btn-apply {
  padding: 12px 20px;
  background: var(--gray-100);
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.promo-input-group .btn-apply:hover { background: var(--green-light); color: var(--green-dark); }

.promo-applied {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--green-light);
  border-radius: 10px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
}

.promo-applied svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   DRIVER ANALYTICS / EARNINGS CHART
   ═══════════════════════════════════════════════════════════════════════════ */
.chart-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  margin-bottom: 16px;
}

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

.chart-title { font-size: 16px; font-weight: 700; color: var(--gray-800); }

.chart-tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: 8px;
  padding: 3px;
}

.chart-tab {
  padding: 6px 14px;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.chart-tab.active { background: var(--white); color: var(--gray-800); box-shadow: var(--shadow-xs); }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 160px;
  padding-top: 10px;
}

.chart-bar-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar {
  width: 100%;
  max-width: 36px;
  background: var(--green-gradient);
  border-radius: 6px 6px 2px 2px;
  min-height: 4px;
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  opacity: 0.7;
}

.chart-bar:hover { opacity: 1; }

.chart-bar-value {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
  white-space: nowrap;
  opacity: 0;
  transition: var(--transition-fast);
}

.chart-bar:hover .chart-bar-value { opacity: 1; }

.chart-bar.today { opacity: 1; }

.chart-bar-label { font-size: 11px; color: var(--gray-400); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════════════
   AVATAR UPLOAD
   ═══════════════════════════════════════════════════════════════════════════ */
.avatar-upload {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.avatar-upload input[type="file"] { display: none; }

.avatar-upload .avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid var(--green);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.avatar-upload .avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--dark), var(--dark-3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  border: 3px solid var(--green);
}

.avatar-upload .avatar-edit {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  background: var(--green-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border: 2px solid var(--white);
}

.avatar-upload .avatar-edit svg { width: 12px; height: 12px; color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════════
   DOCUMENT VERIFICATION
   ═══════════════════════════════════════════════════════════════════════════ */
.doc-upload-card {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-50);
}

.doc-upload-card:hover { border-color: var(--green); background: var(--green-light); }

.doc-upload-card input[type="file"] { display: none; }

.doc-upload-card svg { width: 32px; height: 32px; color: var(--gray-400); margin-bottom: 8px; }
.doc-upload-card h4 { font-size: 14px; font-weight: 600; color: var(--gray-700); margin-bottom: 4px; }
.doc-upload-card p { font-size: 12px; color: var(--gray-500); }

.doc-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
}

.doc-status.pending { background: var(--yellow-light); color: #B45309; }
.doc-status.verified { background: var(--green-light); color: var(--green-dark); }
.doc-status.rejected { background: var(--red-light); color: var(--red); }

.doc-status svg { flex-shrink: 0; width: 18px; height: 18px; }

/* ═══════════════════════════════════════════════════════════════════════════
   REFERRAL SYSTEM
   ═══════════════════════════════════════════════════════════════════════════ */
.referral-card {
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.referral-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 20px;
  background: var(--white);
  border-radius: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--gray-800);
  border: 2px dashed var(--gray-200);
}

.referral-code .copy-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--gray-500);
}

.referral-code .copy-btn:hover { background: var(--blue-light); color: var(--blue); }

.referral-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 16px;
}

.referral-stat { text-align: center; }
.referral-stat .ref-num { font-size: 20px; font-weight: 800; color: var(--blue); }
.referral-stat .ref-label { font-size: 11px; color: var(--gray-500); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════════════════
   ENHANCED HISTORY
   ═══════════════════════════════════════════════════════════════════════════ */
.history-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-50);
  font-size: 14px;
}

.history-detail-row:last-child { border-bottom: none; }
.history-detail-row .detail-label { color: var(--gray-500); font-weight: 500; }
.history-detail-row .detail-value { color: var(--gray-800); font-weight: 600; }

.receipt-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 14px;
  border: 1px dashed var(--gray-200);
}

.receipt-card .receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 2px solid var(--gray-200);
  font-weight: 700;
}

.receipt-card .receipt-total .total-price { font-size: 22px; color: var(--green-dark); }

/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS / SOCIAL PROOF
   ═══════════════════════════════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media(max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

.testimonial-card .quote-icon {
  font-size: 36px;
  color: var(--green);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
  font-family: Georgia, serif;
}

.testimonial-card .quote-text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card .quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-card .author-name { font-size: 14px; font-weight: 600; color: var(--gray-800); }
.testimonial-card .author-role { font-size: 12px; color: var(--gray-500); }

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
}

.testimonial-stars svg { width: 16px; height: 16px; fill: var(--yellow); color: var(--yellow); }

/* Trust Counters */
.trust-counters {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  margin: -40px 24px 0;
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.trust-counter { text-align: center; min-width: 120px; }

.trust-counter .counter-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--gray-800);
  letter-spacing: -1px;
  line-height: 1.1;
}

.trust-counter .counter-value .counter-accent { color: var(--green); }

.trust-counter .counter-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COOKIE CONSENT / GDPR
   ═══════════════════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--glass-dark);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: navSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  max-width: 600px;
  line-height: 1.5;
}

.cookie-banner p a { color: var(--green); text-decoration: underline; }

.cookie-banner .cookie-buttons { display: flex; gap: 8px; flex-shrink: 0; }

.cookie-banner .btn-cookie-accept {
  padding: 10px 24px;
  background: var(--green-gradient-bold);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-banner .btn-cookie-accept:hover { box-shadow: var(--shadow-green); }

.cookie-banner .btn-cookie-decline {
  padding: 10px 16px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-banner .btn-cookie-decline:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════════════ */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 10px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow-card-hover); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: var(--transition-fast);
}

.faq-question:hover { color: var(--green-dark); }

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-question svg { transform: rotate(180deg); color: var(--green); }

.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  padding: 0 22px 18px;
  max-height: 300px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   EARNINGS CALCULATOR
   ═══════════════════════════════════════════════════════════════════════════ */
.calc-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  max-width: 480px;
  margin: 0 auto;
}

.calc-slider-group { margin-bottom: 24px; }

.calc-slider-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 10px;
}

.calc-slider-group .calc-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-dark);
}

.calc-slider-group input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--gray-200);
  outline: none;
}

.calc-slider-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-gradient-bold);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 210, 106, 0.3);
  border: 3px solid #fff;
}

.calc-result {
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--green-light), #D1FAE5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 210, 106, 0.15);
}

.calc-result .calc-result-label { font-size: 13px; color: var(--gray-600); margin-bottom: 4px; }

.calc-result .calc-result-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -2px;
  line-height: 1.1;
}

.calc-result .calc-result-period { font-size: 14px; color: var(--gray-500); margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════════════════════
   PWA INSTALL PROMPT
   ═══════════════════════════════════════════════════════════════════════════ */
.pwa-install-banner {
  position: fixed;
  bottom: 80px;
  left: 16px;
  right: 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 98;
  animation: navSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media(min-width: 768px) {
  .pwa-install-banner { left: 50%; right: auto; transform: translateX(-50%); width: 400px; bottom: 90px; }
}

.pwa-install-banner .pwa-icon {
  width: 44px;
  height: 44px;
  background: var(--green-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pwa-install-banner .pwa-icon svg { width: 22px; height: 22px; color: #fff; }

.pwa-install-banner .pwa-text { flex: 1; }
.pwa-install-banner .pwa-text h4 { font-size: 14px; font-weight: 700; color: var(--gray-800); }
.pwa-install-banner .pwa-text p { font-size: 12px; color: var(--gray-500); }

.pwa-install-banner .btn-pwa-install {
  padding: 10px 18px;
  background: var(--green-gradient-bold);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.pwa-install-banner .btn-pwa-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: none;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--gray-500);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHARE TRIP
   ═══════════════════════════════════════════════════════════════════════════ */
.share-trip-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.share-trip-btn:hover { background: #DBEAFE; }
.share-trip-btn svg { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════════════════════════════════ */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  min-height: 100vh;
  display: none;
}

.legal-page.active { display: block; }

.legal-page h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.legal-page .legal-date { font-size: 13px; color: var(--gray-400); margin-bottom: 32px; }

.legal-page h2 { font-size: 18px; font-weight: 700; color: var(--gray-800); margin: 24px 0 12px; }

.legal-page p, .legal-page li {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-page ul { padding-left: 20px; margin-bottom: 16px; }

.legal-page .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--gray-100);
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.legal-page .back-btn:hover { background: var(--gray-200); }

/* Schedule ride toggle */
.schedule-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--gray-50);
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--gray-100);
}

.schedule-toggle label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  flex: 1;
  cursor: pointer;
}

.schedule-datetime {
  display: none;
  margin-bottom: 12px;
}

.schedule-datetime.show { display: block; }

.schedule-datetime input[type="datetime-local"] {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
}

.schedule-datetime input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 210, 106, 0.12);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ADMIN PANEL — Full Dashboard
   ═══════════════════════════════════════════════════════════════════════════ */
.admin-tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.admin-tab {
  padding: 10px 18px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  border-radius: 10px;
  transition: var(--transition-fast);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-tab.active { background: var(--white); color: var(--gray-800); box-shadow: var(--shadow); }
.admin-tab:hover:not(.active) { color: var(--gray-700); }

.admin-tab .tab-count {
  background: var(--gray-200);
  color: var(--gray-600);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 700;
}

.admin-tab.active .tab-count { background: var(--green-light); color: var(--green-dark); }

.admin-section { display: none; animation: screenIn 0.25s ease; }
.admin-section.active { display: block; }

/* Admin Stats Cards - larger for admin */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

@media(min-width: 600px) { .admin-stats-grid { grid-template-columns: repeat(4, 1fr); } }

.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.admin-stat-card .admin-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.admin-stat-card .admin-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-800);
  letter-spacing: -0.5px;
  line-height: 1;
}

.admin-stat-card .admin-stat-label { font-size: 12px; color: var(--gray-500); margin-top: 4px; font-weight: 500; }

.admin-stat-card .admin-stat-change {
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 20px;
}

.admin-stat-card .admin-stat-change.up { background: var(--green-light); color: var(--green-dark); }
.admin-stat-card .admin-stat-change.down { background: var(--red-light); color: var(--red); }

/* Admin table enhancements */
.admin-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
  margin-bottom: 16px;
}

.admin-table-header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-100);
}

.admin-table-header h3 { font-size: 16px; font-weight: 700; color: var(--gray-800); }

.admin-table-header .table-actions { display: flex; gap: 8px; }

.admin-search {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.admin-search input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 13px;
  background: var(--white);
}

.admin-search input:focus { outline: none; border-color: var(--green); }

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--gray-50);
  color: var(--gray-700);
}

.admin-table tr:hover td { background: var(--gray-50); }

.admin-table .user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-table .user-cell .cell-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}

.admin-table .user-cell .cell-name { font-weight: 600; color: var(--gray-800); }
.admin-table .user-cell .cell-email { font-size: 12px; color: var(--gray-400); }

.admin-table .actions-cell { display: flex; gap: 4px; }

.admin-table .action-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-500);
  transition: var(--transition-fast);
}

.admin-table .action-btn:hover { background: var(--gray-200); color: var(--gray-700); }
.admin-table .action-btn.danger:hover { background: var(--red-light); color: var(--red); }
.admin-table .action-btn.success:hover { background: var(--green-light); color: var(--green-dark); }

/* Admin order card inline */
.admin-order-row { display: flex; align-items: center; gap: 12px; }

.admin-order-row .order-route-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-500);
  max-width: 200px;
}

.admin-order-row .route-arrow { color: var(--gray-300); font-size: 10px; }

/* Promo code form */
.admin-promo-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  padding: 16px 20px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  align-items: end;
}

@media(max-width: 768px) {
  .admin-promo-form { grid-template-columns: 1fr 1fr; }
}

.admin-promo-form .form-mini label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.admin-promo-form .form-mini input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 13px;
}

.admin-promo-form .form-mini input:focus { outline: none; border-color: var(--green); }

/* Revenue chart */
.admin-revenue-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 180px;
  padding: 20px 20px 0;
}

.admin-revenue-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.admin-revenue-bar .bar-fill {
  width: 100%;
  max-width: 48px;
  border-radius: 8px 8px 2px 2px;
  min-height: 4px;
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.admin-revenue-bar .bar-fill.orders { background: var(--green-gradient); opacity: 0.8; }
.admin-revenue-bar .bar-fill.subs { background: linear-gradient(135deg, var(--blue), #6366F1); opacity: 0.8; }

.admin-revenue-bar .bar-label { font-size: 11px; color: var(--gray-400); font-weight: 600; }
.admin-revenue-bar .bar-value { font-size: 11px; font-weight: 700; color: var(--gray-600); }

.revenue-legend {
  display: flex;
  gap: 20px;
  padding: 12px 20px;
  border-top: 1px solid var(--gray-100);
}

.revenue-legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray-500); }
.revenue-legend-item .legend-dot { width: 10px; height: 10px; border-radius: 3px; }
.revenue-legend-item .legend-dot.green { background: var(--green); }
.revenue-legend-item .legend-dot.blue { background: var(--blue); }

/* ═══════════════════════════════════════════════════════════════════════════
   PHONE VERIFICATION & GOOGLE AUTH
   ═══════════════════════════════════════════════════════════════════════════ */
.phone-verify-group {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.phone-verify-group .form-group { flex: 1; margin-bottom: 0; }

.phone-verify-group .btn-send-code {
  padding: 13px 18px;
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  height: 48px;
}

.phone-verify-group .btn-send-code:hover { background: var(--green-light); border-color: var(--green); color: var(--green-dark); }
.phone-verify-group .btn-send-code:disabled { opacity: 0.5; cursor: not-allowed; }
.phone-verify-group .btn-send-code.sent { background: var(--green-light); border-color: var(--green); color: var(--green-dark); }

.otp-input-group {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
}

.otp-input-group input {
  width: 52px;
  height: 58px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
  transition: var(--transition);
  color: var(--gray-800);
}

.otp-input-group input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 210, 106, 0.12);
}

.otp-input-group input.filled { border-color: var(--green); background: var(--green-light); }

.phone-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
}

.phone-verified-badge svg { width: 14px; height: 14px; }

/* Google Sign-In Button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 18px;
}

.btn-google:hover {
  border-color: var(--gray-300);
  background: var(--gray-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-google svg { flex-shrink: 0; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  color: var(--gray-400);
  font-size: 13px;
  font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

/* Driver registration extras */
.driver-reg-notice {
  padding: 14px 16px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: start;
}

.driver-reg-notice svg { flex-shrink: 0; color: var(--blue); margin-top: 1px; }

.driver-reg-notice p { font-size: 13px; color: var(--gray-600); line-height: 1.5; }
.driver-reg-notice p strong { color: var(--gray-800); }

/* OTP modal overlay */
.otp-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 400;
  padding: 20px;
}

.otp-modal.active { display: flex; }

.otp-modal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.otp-modal-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.otp-modal-card p { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; }

.otp-timer {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 12px;
}

.otp-timer strong { color: var(--gray-700); }

.otp-resend {
  background: none;
  border: none;
  color: var(--green);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  margin-top: 8px;
  transition: var(--transition-fast);
}

.otp-resend:hover { color: var(--green-dark); }
.otp-resend:disabled { color: var(--gray-400); cursor: not-allowed; }
