/* ============================================================
   DriveSphere - Liquid Glass Design System
   Car Rental Platform | Glassmorphism | Light/Dark Mode
   Font: DM Sans | Primary: #DC2626
   ============================================================ */

/* ============================================================
   1. CSS Custom Properties (Theme Variables)
   ============================================================ */
:root {
  --color-primary: #DC2626;
  --color-primary-dark: #B91C1C;
  --color-primary-light: #EF4444;
  --color-primary-50: #FEF2F2;
  --color-primary-100: #FEE2E2;
  --color-primary-200: #FECACA;
  --color-primary-300: #FCA5A5;
  --color-primary-400: #F87171;
  --color-primary-500: #EF4444;
  --color-primary-600: #DC2626;
  --color-primary-700: #B91C1C;
  --color-primary-800: #991B1B;
  --color-primary-900: #7F1D1D;

  --color-secondary: #1E293B;
  --color-secondary-dark: #0F172A;
  --color-secondary-light: #334155;
  --color-secondary-50: #F8FAFC;
  --color-secondary-100: #F1F5F9;
  --color-secondary-200: #E2E8F0;
  --color-secondary-300: #CBD5E1;
  --color-secondary-400: #94A3B8;
  --color-secondary-500: #64748B;
  --color-secondary-600: #475569;
  --color-secondary-700: #334155;
  --color-secondary-800: #1E293B;
  --color-secondary-900: #0F172A;

  --color-accent: #F59E0B;
  --color-accent-dark: #D97706;
  --color-accent-light: #FBBF24;

  --color-success: #10B981;
  --color-success-dark: #059669;
  --color-success-light: #34D399;
  --color-success-50: #ECFDF5;
  --color-success-100: #D1FAE5;

  --color-warning: #F59E0B;
  --color-warning-dark: #D97706;
  --color-warning-light: #FBBF24;
  --color-warning-50: #FFFBEB;
  --color-warning-100: #FEF3C7;

  --color-error: #DC2626;
  --color-error-dark: #B91C1C;
  --color-error-light: #EF4444;
  --color-error-50: #FEF2F2;
  --color-error-100: #FEE2E2;

  --color-info: #3B82F6;
  --color-info-dark: #2563EB;
  --color-info-light: #60A5FA;
  --color-info-50: #EFF6FF;
  --color-info-100: #DBEAFE;

  --color-white: #FFFFFF;
  --color-black: #000000;

  --color-gray-50: #F8FAFC;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1E293B;
  --color-gray-900: #0F172A;
  --color-gray-950: #020617;

  --color-bg: #F8FAFC;
  --color-bg-alt: #F1F5F9;
  --color-surface: #FFFFFF;
  --color-surface-hover: #F8FAFC;

  --color-text: #000000;
  --color-text-secondary: #1E293B;
  --color-text-muted: #64748B;
  --color-text-inverse: #FFFFFF;
  --color-text-link: #DC2626;
  --color-text-link-hover: #B91C1C;

  --color-border: #E2E8F0;
  --color-border-light: #F1F5F9;
  --color-border-focus: #DC2626;

  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-bg-strong: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-border-strong: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --glass-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --glass-blur: 12px;
  --glass-blur-lg: 24px;

  --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-bold: 700;

  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-colored: 0 4px 14px rgba(220, 38, 38, 0.3);
  --shadow-colored-lg: 0 10px 30px rgba(220, 38, 38, 0.35);

  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;

  --transition-base: 250ms ease;
  --transition-smooth: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-bounce: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 150ms ease;
  --transition-slow: 600ms ease;

  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
  --z-offcanvas: 1090;

  --navbar-height: 72px;
  --navbar-height-mobile: 64px;
  --sidebar-width: 280px;
  --sidebar-collapsed-width: 72px;
  --max-width: 1280px;
  --max-width-sm: 640px;
  --max-width-md: 768px;
  --max-width-lg: 1024px;
  --max-width-xl: 1280px;
  --max-width-2xl: 1536px;

  --gradient-primary: linear-gradient(135deg, #DC2626, #EF4444);
  --gradient-primary-reverse: linear-gradient(135deg, #EF4444, #DC2626);
  --gradient-primary-dark: linear-gradient(135deg, #B91C1C, #DC2626);
  --gradient-accent: linear-gradient(135deg, #F59E0B, #EF4444);
  --gradient-success: linear-gradient(135deg, #10B981, #059669);
  --gradient-error: linear-gradient(135deg, #DC2626, #B91C1C);
  --gradient-info: linear-gradient(135deg, #3B82F6, #2563EB);
  --gradient-warm: linear-gradient(135deg, #F97316, #EF4444);
  --gradient-cool: linear-gradient(135deg, #06B6D4, #3B82F6);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  --gradient-hero: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 50%, #E2E8F0 100%);
  --gradient-shine: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.1) 45%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.1) 55%, transparent 60%);

  --scrollbar-width: 8px;
  --scrollbar-track: #F1F5F9;
  --scrollbar-thumb: #CBD5E1;
  --scrollbar-thumb-hover: #94A3B8;
}

/* ============================================================
   2. Dark Mode Theme Overrides
   ============================================================ */
[data-theme="dark"] {
  --color-primary: #EF4444;
  --color-primary-dark: #DC2626;
  --color-primary-light: #F87171;
  --color-primary-50: #450A0A;
  --color-primary-100: #7F1D1D;
  --color-primary-200: #991B1B;
  --color-primary-300: #B91C1C;
  --color-primary-400: #DC2626;
  --color-primary-500: #EF4444;
  --color-primary-600: #F87171;
  --color-primary-700: #FCA5A5;
  --color-primary-800: #FECACA;
  --color-primary-900: #FEE2E2;

  --color-accent: #FBBF24;
  --color-accent-dark: #F59E0B;
  --color-accent-light: #FCD34D;

  --color-success: #34D399;
  --color-success-dark: #10B981;
  --color-success-light: #6EE7B7;

  --color-warning: #FBBF24;
  --color-warning-dark: #F59E0B;
  --color-warning-light: #FCD34D;

  --color-error: #F87171;
  --color-error-dark: #EF4444;
  --color-error-light: #FCA5A5;

  --color-info: #60A5FA;
  --color-info-dark: #3B82F6;
  --color-info-light: #93C5FD;

  --color-gray-50: #0F172A;
  --color-gray-100: #1E293B;
  --color-gray-200: #334155;
  --color-gray-300: #475569;
  --color-gray-400: #64748B;
  --color-gray-500: #94A3B8;
  --color-gray-600: #CBD5E1;
  --color-gray-700: #E2E8F0;
  --color-gray-800: #F1F5F9;
  --color-gray-900: #F8FAFC;

  --color-bg: #0A0E1A;
  --color-bg-alt: #0F172A;
  --color-surface: #1E293B;
  --color-surface-hover: #334155;

  --color-text: #FFFFFF;
  --color-text-secondary: #CBD5E1;
  --color-text-muted: #94A3B8;
  --color-text-inverse: #000000;
  --color-text-link: #F87171;
  --color-text-link-hover: #FCA5A5;

  --color-border: #334155;
  --color-border-light: #1E293B;
  --color-border-focus: #EF4444;

  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-strong: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-strong: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --glass-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.6);
  --shadow-colored: 0 4px 14px rgba(239, 68, 68, 0.3);
  --shadow-colored-lg: 0 10px 30px rgba(239, 68, 68, 0.35);

  --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);

  --scrollbar-track: #1E293B;
  --scrollbar-thumb: #475569;
  --scrollbar-thumb-hover: #64748B;
}

/* ============================================================
   3. Reset & Base Styles
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--color-text-link);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-text-link-hover);
}

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  font-family: var(--font-family);
  font-size: inherit;
  border: none;
  background: none;
  color: inherit;
}

button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

input, textarea, select {
  font-family: var(--font-family);
  font-size: inherit;
  color: inherit;
}

/* ============================================================
   4. Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--color-text);
  margin-bottom: 0.5em;
}

h1 { font-size: var(--text-4xl); letter-spacing: var(--tracking-tight); }
h2 { font-size: var(--text-3xl); letter-spacing: var(--tracking-tight); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

.display-1 {
  font-size: var(--text-7xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tighter);
}

.display-2 {
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.lead {
  font-size: var(--text-lg);
  font-weight: var(--font-normal);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted {
  color: var(--color-text-muted) !important;
}

.text-primary {
  color: var(--color-primary) !important;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

small {
  font-size: var(--text-sm);
}

strong, b {
  font-weight: var(--font-bold);
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

::selection {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

/* ============================================================
   5. Liquid Glass Effects
   ============================================================ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-smooth);
}

.glass-card:hover {
  box-shadow: var(--glass-shadow-lg);
  transform: translateY(-2px);
  border-color: var(--glass-border-strong);
}

.glass-card-dark {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-2xl);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .glass-nav {
  background: rgba(10, 14, 26, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-input {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--glass-border-strong);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.glass-button {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.morphing-element {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(245, 158, 11, 0.1));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: morph 8s ease-in-out infinite;
  transition: all var(--transition-smooth);
}

[data-theme="dark"] .morphing-element {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(245, 158, 11, 0.08));
  border-color: rgba(255, 255, 255, 0.06);
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-shine);
  animation: shimmer 2.5s infinite;
  pointer-events: none;
}

.glow {
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.15), 0 0 40px rgba(220, 38, 38, 0.1);
  animation: glowPulse 2s ease-in-out infinite alternate;
}

.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-lg { backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.backdrop-blur-xl { backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px); }

/* ============================================================
   6. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-family);
  font-weight: var(--font-medium);
  font-size: var(--text-sm);
  line-height: 1.5;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background var(--transition-fast);
  pointer-events: none;
}

.btn:hover::before {
  background: rgba(255, 255, 255, 0.1);
}

.btn:active::before {
  background: rgba(0, 0, 0, 0.05);
}

.btn:disabled, .btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-colored-lg);
  transform: translateY(-1px);
  color: var(--color-text-inverse);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-text-inverse);
  border-color: var(--color-secondary);
  box-shadow: 0 4px 14px rgba(30, 41, 59, 0.3);
}

.btn-secondary:hover {
  background: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  transform: translateY(-1px);
  color: var(--color-text-inverse);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-text-inverse);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--color-text-inverse);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.btn-ghost-primary {
  background: transparent;
  color: var(--color-primary);
  border-color: transparent;
}

.btn-ghost-primary:hover {
  background: var(--color-primary-50);
  color: var(--color-primary);
}

.btn-danger {
  background: var(--color-error);
  color: var(--color-text-inverse);
  border-color: var(--color-error);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
  background: var(--color-error-dark);
  transform: translateY(-1px);
  color: var(--color-text-inverse);
}

.btn-success {
  background: var(--color-success);
  color: var(--color-text-inverse);
  border-color: var(--color-success);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  background: var(--color-success-dark);
  transform: translateY(-1px);
  color: var(--color-text-inverse);
}

.btn-warning {
  background: var(--color-warning);
  color: var(--color-text-inverse);
  border-color: var(--color-warning);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
  background: var(--color-warning-dark);
  transform: translateY(-1px);
  color: var(--color-text-inverse);
}

.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--color-text);
  box-shadow: var(--shadow-glass);
}

.btn-glass:hover {
  background: var(--glass-bg-strong);
  color: var(--color-text);
  border-color: var(--glass-border-strong);
  transform: translateY(-1px);
}

.btn-link {
  background: transparent;
  color: var(--color-text-link);
  padding: 0;
  border: none;
  font-weight: var(--font-medium);
}

.btn-link:hover {
  color: var(--color-text-link-hover);
  text-decoration: underline;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: var(--text-xs);
  border-radius: var(--radius-md);
}

.btn-xs {
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  border-radius: var(--radius-sm);
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
}

.btn-icon.btn-lg {
  width: 3rem;
  height: 3rem;
}

.btn-icon.btn-sm {
  width: 2rem;
  height: 2rem;
}

.btn-rounded {
  border-radius: var(--radius-full);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-group {
  display: inline-flex;
  gap: 0;
}

.btn-group .btn {
  border-radius: 0;
}

.btn-group .btn:first-child {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.btn-group .btn:last-child {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.btn-group .btn + .btn {
  margin-left: -1px;
}

.btn-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}

.btn-loading::before {
  content: '';
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  left: 50%;
  top: 50%;
  margin-left: -0.625rem;
  margin-top: -0.625rem;
}

.btn-loading.btn-sm::before {
  width: 1rem;
  height: 1rem;
  border-width: 1.5px;
  margin-left: -0.5rem;
  margin-top: -0.5rem;
}

.btn-loading.btn-lg::before {
  width: 1.5rem;
  height: 1.5rem;
  border-width: 2.5px;
  margin-left: -0.75rem;
  margin-top: -0.75rem;
}

/* ============================================================
   7. Navigation
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-smooth);
  height: var(--navbar-height);
  display: flex;
  align-items: center;
}

[data-theme="dark"] .navbar {
  background: rgba(10, 14, 26, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-base);
}

.navbar-brand:hover {
  color: var(--color-primary);
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.nav-link:hover {
  color: var(--color-text);
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .nav-link:hover {
  background: rgba(255, 255, 255, 0.04);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition-base);
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 60%;
}

.nav-link.active {
  color: var(--color-primary);
  font-weight: var(--font-medium);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-toggler {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-base);
}

.navbar-toggler:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-text-muted);
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  background: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--color-border);
  z-index: var(--z-offcanvas);
  padding: 2rem 1.5rem;
  transition: right var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

[data-theme="dark"] .mobile-menu {
  background: rgba(10, 14, 26, 0.96);
  border-left-color: rgba(255, 255, 255, 0.06);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: calc(var(--z-offcanvas) - 1);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: var(--z-dropdown);
  min-width: 200px;
  padding: 0.5rem;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
}

[data-theme="dark"] .dropdown-menu {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(255, 255, 255, 0.06);
}

.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu-end {
  left: auto;
  right: 0;
}

.dropdown-header {
  padding: 0.5rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  font-size: var(--text-sm);
  color: var(--color-text);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-decoration: none;
}

.dropdown-item:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

[data-theme="dark"] .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.dropdown-divider {
  height: 1px;
  margin: 0.375rem 0;
  background: var(--color-border);
  border: none;
}

/* ============================================================
   8. Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: var(--navbar-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(220, 38, 38, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(245, 158, 11, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero-title {
  font-size: var(--text-6xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tighter);
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

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

.hero-stat-value {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-text);
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
  max-width: 110%;
  animation: float 6s ease-in-out infinite;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(220, 38, 38, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  background: rgba(220, 38, 38, 0.15);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(245, 158, 11, 0.1);
  bottom: -50px;
  left: -50px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: rgba(59, 130, 246, 0.08);
  top: 50%;
  left: 60%;
  animation: float 7s ease-in-out infinite 2s;
}

/* ============================================================
   9. Search Form (Car Rental Specific)
   ============================================================ */
.search-bar {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-smooth);
}

[data-theme="dark"] .search-bar {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.search-bar.sticky-search {
  position: sticky;
  top: calc(var(--navbar-height) + 1rem);
  z-index: var(--z-sticky);
}

.search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.search-field label {
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.search-field .form-input {
  padding: 0.75rem 1rem;
  padding-left: 2.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-size: var(--text-sm);
  transition: all var(--transition-base);
}

[data-theme="dark"] .search-field .form-input {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.search-field .form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.search-field-icon {
  position: relative;
}

.search-field-icon .form-input {
  padding-left: 2.5rem;
}

.search-field-icon i {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  pointer-events: none;
}

.search-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  align-self: center;
}

.search-submit {
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: var(--font-medium);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  height: 100%;
  min-height: 44px;
}

.search-submit:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-colored);
}

.date-input {
  position: relative;
}

.date-input::-webkit-calendar-picker-indicator {
  background: transparent;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.location-input {
  position: relative;
}

/* ============================================================
   10. Car Cards
   ============================================================ */
.car-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.car-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 8px 25px rgba(220, 38, 38, 0.08);
  border-color: var(--color-primary-200);
}

.car-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.car-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.car-card:hover .car-card-image img {
  transform: scale(1.05);
}

.car-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  pointer-events: none;
}

.car-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: rgba(220, 38, 38, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--color-text-inverse);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.car-card-badge.featured {
  background: rgba(245, 158, 11, 0.9);
}

.car-card-badge.instant {
  background: rgba(16, 185, 129, 0.9);
}

.car-card-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.car-card-title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-text);
  margin-bottom: 0;
  line-height: var(--leading-snug);
}

.car-card-title a {
  color: inherit;
  text-decoration: none;
}

.car-card-title a:hover {
  color: var(--color-primary);
}

.car-card-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.car-card-spec {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

.car-card-spec i {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.car-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}

.car-card-price .price {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-primary);
}

.car-card-price .period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.car-card-rating {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.car-card-rating .stars {
  display: flex;
  gap: 0.125rem;
  color: var(--color-accent);
  font-size: var(--text-sm);
}

.car-card-rating .rating-value {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
}

.car-card-footer {
  display: flex;
  gap: 0.5rem;
  padding: 0 1.25rem 1.25rem;
}

.car-card-footer .btn {
  flex: 1;
}

.car-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.car-card-list {
  display: flex;
  flex-direction: row;
}

.car-card-list .car-card-image {
  width: 280px;
  min-height: 100%;
  flex-shrink: 0;
}

.car-card-list .car-card-content {
  flex: 1;
}

/* ============================================================
   11. Car Detail Page
   ============================================================ */
.car-gallery {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-bg-alt);
}

.car-gallery-main {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: zoom-in;
}

.car-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.car-gallery-main:hover img {
  transform: scale(1.03);
}

.car-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.car-gallery-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  opacity: 0.6;
}

.car-gallery-thumb:hover, .car-gallery-thumb.active {
  border-color: var(--color-primary);
  opacity: 1;
}

.car-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-info-tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.car-info-tab {
  padding: 0.75rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.car-info-tab:hover {
  color: var(--color-text);
}

.car-info-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.car-specs-table {
  width: 100%;
}

.car-specs-table tr {
  border-bottom: 1px solid var(--color-border);
}

.car-specs-table tr:last-child {
  border-bottom: none;
}

.car-specs-table td {
  padding: 0.75rem 1rem;
  font-size: var(--text-sm);
}

.car-specs-table td:first-child {
  font-weight: var(--font-medium);
  color: var(--color-text-muted);
  width: 40%;
}

.car-specs-table td:last-child {
  color: var(--color-text);
  font-weight: var(--font-medium);
}

.car-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.car-feature-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.car-feature-item i {
  color: var(--color-primary);
  font-size: 0.875rem;
}

.car-price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--navbar-height) + 1.5rem);
}

.car-price-card .price {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--color-primary);
}

.car-price-card .price-period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.car-availability-calendar {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.car-reviews-section {
  margin-top: 2rem;
}

.car-review-card {
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
}

.car-review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.car-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--color-bg-alt);
}

.car-review-stars {
  display: flex;
  gap: 0.125rem;
  color: var(--color-accent);
  font-size: var(--text-sm);
}

.car-review-name {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text);
}

.car-review-date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.car-review-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.car-share-buttons {
  display: flex;
  gap: 0.5rem;
}

.car-share-buttons .btn {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

.similar-cars {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

/* ============================================================
   12. Booking Flow
   ============================================================ */
.booking-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  padding: 1.5rem 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
}

.booking-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  position: relative;
}

.booking-step-number {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  border: 2px solid var(--color-border);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.booking-step-label {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-muted);
  transition: all var(--transition-base);
}

.booking-step.active .booking-step-number {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.booking-step.active .booking-step-label {
  color: var(--color-text);
  font-weight: var(--font-bold);
}

.booking-step.completed .booking-step-number {
  background: var(--color-success);
  color: var(--color-text-inverse);
  border-color: var(--color-success);
}

.booking-step.completed .booking-step-label {
  color: var(--color-success);
}

.booking-step-divider {
  width: 3rem;
  height: 2px;
  background: var(--color-border);
  margin: 0 0.5rem;
}

.booking-step-divider.completed {
  background: var(--color-success);
}

.booking-form-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.booking-form-section h3 {
  font-size: var(--text-xl);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.booking-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--navbar-height) + 1.5rem);
}

.booking-price-breakdown {
  margin-top: 1rem;
}

.booking-price-breakdown .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  font-size: var(--text-sm);
}

.booking-price-breakdown .price-row.total {
  border-top: 2px solid var(--color-border);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
}

.booking-price-breakdown .price-row.total .price {
  color: var(--color-primary);
}

.booking-addon-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

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

.booking-addon-item .addon-info {
  flex: 1;
}

.booking-addon-item .addon-name {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text);
}

.booking-addon-item .addon-price {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.booking-confirmation {
  text-align: center;
  padding: 3rem 1rem;
}

.booking-confirmation .checkmark {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--color-success-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: scaleIn 0.5s ease;
}

.booking-confirmation .checkmark i {
  font-size: 2rem;
  color: var(--color-success);
  animation: checkmark 0.6s ease 0.2s both;
}

.booking-confirmation h2 {
  margin-bottom: 0.5rem;
}

.booking-confirmation p {
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

/* ============================================================
   13. Dashboard Layout
   ============================================================ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: var(--navbar-height);
}

.dashboard-sidebar {
  position: fixed;
  left: 0;
  top: var(--navbar-height);
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  z-index: var(--z-sticky);
  overflow-y: auto;
  transition: all var(--transition-smooth);
}

.dashboard-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.dashboard-sidebar-header .avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto 0.75rem;
  border: 3px solid var(--color-border);
}

.dashboard-sidebar-header .user-name {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--color-text);
}

.dashboard-sidebar-header .user-role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.dashboard-nav {
  padding: 0.75rem;
}

.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  text-decoration: none;
  margin-bottom: 0.125rem;
}

.dashboard-nav-item i {
  width: 1.25rem;
  text-align: center;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.dashboard-nav-item:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.dashboard-nav-item.active {
  background: var(--color-primary-50);
  color: var(--color-primary);
}

.dashboard-nav-item.active i {
  color: var(--color-primary);
}

.dashboard-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 1.5rem;
  min-height: 100vh;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dashboard-header h1 {
  font-size: var(--text-2xl);
  margin-bottom: 0;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition-base);
}

.stat-card:hover {
  border-color: var(--color-primary-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-card-icon.primary { background: var(--color-primary-50); color: var(--color-primary); }
.stat-card-icon.success { background: var(--color-success-50); color: var(--color-success); }
.stat-card-icon.warning { background: var(--color-warning-50); color: var(--color-warning); }
.stat-card-icon.info { background: var(--color-info-50); color: var(--color-info); }
.stat-card-icon.error { background: var(--color-error-50); color: var(--color-error); }

.stat-card-content {
  flex: 1;
  min-width: 0;
}

.stat-card-value {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-text);
  line-height: var(--leading-none);
  margin-bottom: 0.25rem;
}

.stat-card-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.stat-card-trend {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.stat-card-trend.up { color: var(--color-success); }
.stat-card-trend.down { color: var(--color-error); }

.dashboard-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

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

.dashboard-table thead {
  background: var(--color-bg-alt);
}

.dashboard-table th {
  padding: 0.75rem 1rem;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  text-align: left;
  white-space: nowrap;
}

.dashboard-table td {
  padding: 0.75rem 1rem;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-border);
}

.dashboard-table tbody tr:hover {
  background: var(--color-bg-alt);
}

.dashboard-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.dashboard-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dashboard-card-header h3 {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  margin-bottom: 0;
}

/* ============================================================
   14. Auth Pages (Login / Register)
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.08);
  filter: blur(80px);
  top: -150px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}

.auth-page::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.06);
  filter: blur(60px);
  bottom: -100px;
  left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-3xl);
  padding: 2.5rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

[data-theme="dark"] .auth-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.auth-header .logo img { height: 40px; }

.auth-header .logo span {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-text-inverse);
}

.auth-header h1 {
  font-size: var(--text-2xl);
  color: var(--color-text-inverse);
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
}

.auth-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 0.25rem;
  margin-bottom: 1.5rem;
}

.auth-tab {
  flex: 1;
  padding: 0.625rem;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.auth-tab.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-text-inverse);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.auth-form-group {
  position: relative;
}

.auth-form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  transition: all var(--transition-base);
}

.auth-form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.auth-form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.auth-form-input.error {
  border-color: var(--color-error);
}

.auth-form-error {
  font-size: var(--text-xs);
  color: var(--color-error-light);
  margin-top: 0.25rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.auth-social-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.auth-social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

.auth-footer a {
  color: var(--color-primary-light);
  font-weight: var(--font-medium);
}

/* ============================================================
   15. Forms & Inputs
   ============================================================ */
.form-group {
  position: relative;
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text);
  margin-bottom: 0.375rem;
  transition: all var(--transition-base);
}

.form-label.floating {
  position: absolute;
  left: 1rem;
  top: 0.875rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  pointer-events: none;
  margin-bottom: 0;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-size: var(--text-sm);
  transition: all var(--transition-base);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.form-input.error {
  border-color: var(--color-error);
}

.form-input:disabled {
  background: var(--color-bg-alt);
  opacity: 0.6;
  cursor: not-allowed;
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-success {
  font-size: var(--text-xs);
  color: var(--color-success);
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  padding-right: 2.5rem;
  background: var(--color-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-size: var(--text-sm);
  appearance: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.form-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-checkbox .checkmark-box {
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  flex-shrink: 0;
  background: var(--color-surface);
}

.form-checkbox .checkmark-box i {
  font-size: 0.625rem;
  color: transparent;
  transition: all var(--transition-base);
}

.form-checkbox input:checked + .checkmark-box {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.form-checkbox input:checked + .checkmark-box i {
  color: var(--color-text-inverse);
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.form-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-radio .radio-dot {
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  flex-shrink: 0;
  background: var(--color-surface);
}

.form-radio .radio-dot::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: transparent;
  transition: all var(--transition-base);
}

.form-radio input:checked + .radio-dot {
  border-color: var(--color-primary);
}

.form-radio input:checked + .radio-dot::after {
  background: var(--color-primary);
}

.form-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.form-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-toggle .toggle-track {
  width: 2.5rem;
  height: 1.375rem;
  background: var(--color-border);
  border-radius: var(--radius-full);
  position: relative;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.form-toggle .toggle-track::after {
  content: '';
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 1.125rem;
  height: 1.125rem;
  background: var(--color-text-inverse);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.form-toggle input:checked + .toggle-track {
  background: var(--color-primary);
}

.form-toggle input:checked + .toggle-track::after {
  left: calc(100% - 1.25rem);
}

.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-size: var(--text-sm);
  transition: all var(--transition-base);
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-family);
}

.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.input-group {
  display: flex;
  align-items: stretch;
  position: relative;
}

.input-group .form-input,
.input-group .form-select {
  flex: 1;
}

.input-group-prepend,
.input-group-append {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  white-space: nowrap;
}

.input-group-prepend {
  border-right: none;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.input-group-append {
  border-left: none;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.input-group .form-input:first-child {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.input-group .form-input:last-child {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* ============================================================
   16. Cards & Containers
   ============================================================ */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  font-weight: var(--font-medium);
  color: var(--color-text);
}

.card-body {
  padding: 1.25rem;
}

.card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-xl);
}

.card-hover {
  transition: all var(--transition-smooth);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-200);
}

.card-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-text-inverse);
  border: none;
}

.card-gradient .card-header,
.card-gradient .card-footer {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
}

.card-border {
  border-left: 4px solid var(--color-primary);
}

.card-border.success { border-left-color: var(--color-success); }
.card-border.warning { border-left-color: var(--color-warning); }
.card-border.error { border-left-color: var(--color-error); }
.card-border.info { border-left-color: var(--color-info); }

/* ============================================================
   17. Modals & Overlays
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-modal-backdrop);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  width: 100%;
  max-width: 500px;
  max-height: 85vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: all var(--transition-smooth);
}

.modal-overlay.open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.modal-header h2, .modal-header h3 {
  font-size: var(--text-lg);
  margin-bottom: 0;
}

.modal-close {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: var(--text-lg);
}

.modal-close:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border);
}

.modal-lg .modal-container { max-width: 800px; }
.modal-sm .modal-container { max-width: 380px; }
.modal-xl .modal-container { max-width: 1140px; }

.offcanvas {
  position: fixed;
  top: 0;
  right: -100%;
  width: 400px;
  max-width: 85vw;
  height: 100vh;
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  z-index: var(--z-offcanvas);
  padding: 1.5rem;
  transition: right var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
}

.offcanvas.open { right: 0; }

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.offcanvas-body {
  flex: 1;
  overflow-y: auto;
}

/* ============================================================
   18. Alerts & Notifications
   ============================================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  border: 1px solid transparent;
  position: relative;
}

.alert-dismissible {
  padding-right: 3rem;
}

.alert-dismissible .alert-close {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  font-size: var(--text-sm);
}

.alert-dismissible .alert-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.1);
}

.alert i { font-size: 1.125rem; flex-shrink: 0; margin-top: 0.125rem; }
.alert-content { flex: 1; min-width: 0; }
.alert-title { font-weight: var(--font-bold); margin-bottom: 0.125rem; }

.alert-success {
  background: var(--color-success-50);
  border-color: rgba(16, 185, 129, 0.15);
  color: var(--color-success-dark);
}

.alert-error {
  background: var(--color-error-50);
  border-color: rgba(220, 38, 38, 0.15);
  color: var(--color-error-dark);
}

.alert-warning {
  background: var(--color-warning-50);
  border-color: rgba(245, 158, 11, 0.15);
  color: var(--color-warning-dark);
}

.alert-info {
  background: var(--color-info-50);
  border-color: rgba(59, 130, 246, 0.15);
  color: var(--color-info-dark);
}

.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  min-width: 320px;
  max-width: 420px;
  pointer-events: auto;
  animation: toastSlideIn 0.4s ease;
  transition: all var(--transition-base);
}

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

.toast-icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--text-sm);
}

.toast-success .toast-icon { background: var(--color-success-50); color: var(--color-success); }
.toast-error .toast-icon { background: var(--color-error-50); color: var(--color-error); }
.toast-warning .toast-icon { background: var(--color-warning-50); color: var(--color-warning); }
.toast-info .toast-icon { background: var(--color-info-50); color: var(--color-info); }

.toast-body { flex: 1; min-width: 0; }
.toast-title { font-size: var(--text-sm); font-weight: var(--font-bold); color: var(--color-text); margin-bottom: 0.125rem; }
.toast-message { font-size: var(--text-sm); color: var(--color-text-secondary); }

.toast-close {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  flex-shrink: 0;
  font-size: var(--text-xs);
}

.toast-close:hover { background: var(--color-bg-alt); color: var(--color-text); }

/* ============================================================
   19. Tables
   ============================================================ */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.table thead { background: var(--color-bg-alt); }

.table th {
  padding: 0.75rem 1rem;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--color-border);
}

.table td {
  padding: 0.75rem 1rem;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
}

.table tbody tr { transition: background var(--transition-base); }
.table tbody tr:hover { background: var(--color-bg-alt); }
.table tbody tr:last-child td { border-bottom: none; }

.table-actions {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============================================================
   20. Pagination
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 2rem;
}

.page-item { list-style: none; }

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  user-select: none;
}

.page-link:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border-color: var(--color-text-muted);
}

.page-item.active .page-link {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-colored);
}

.page-item.disabled .page-link {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   21. Footer
   ============================================================ */
.footer {
  background: var(--color-secondary-900);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand img { height: 40px; }

.footer-brand span {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-text-inverse);
}

.footer-description {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--leading-relaxed);
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--color-text-inverse);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-primary-light);
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all var(--transition-base);
  font-size: var(--text-sm);
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
}

.footer-newsletter {
  margin-top: 1rem;
}

.footer-newsletter .input-group {
  display: flex;
  gap: 0.5rem;
}

.footer-newsletter .form-input {
  flex: 1;
  padding: 0.625rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
}

.footer-newsletter .form-input::placeholder { color: rgba(255, 255, 255, 0.3); }

.footer-newsletter .form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
}

.footer-payment-methods {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-payment-methods img {
  height: 24px;
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.footer-payment-methods img:hover { opacity: 0.8; }

/* ============================================================
   22. Animations & Keyframes
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes slideInDown {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

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

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

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

@keyframes morph {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50% { border-radius: 40% 60% 30% 70% / 30% 70% 50% 60%; }
  75% { border-radius: 70% 30% 60% 40% / 60% 40% 70% 30%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 20px rgba(220, 38, 38, 0.15), 0 0 40px rgba(220, 38, 38, 0.1); }
  100% { box-shadow: 0 0 30px rgba(220, 38, 38, 0.25), 0 0 60px rgba(220, 38, 38, 0.15); }
}


@keyframes checkmark {
  0% { transform: scale(0) rotate(-45deg); opacity: 0; }
  50% { transform: scale(1.2) rotate(0deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

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

@keyframes shimmerBG {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animated { animation-fill-mode: both; }
.animated.fadeIn { animation-name: fadeIn; animation-duration: 0.6s; }
.animated.fadeInUp { animation-name: fadeInUp; animation-duration: 0.6s; }
.animated.fadeInDown { animation-name: fadeInDown; animation-duration: 0.6s; }
.animated.fadeInLeft { animation-name: fadeInLeft; animation-duration: 0.6s; }
.animated.fadeInRight { animation-name: fadeInRight; animation-duration: 0.6s; }
.animated.slideInUp { animation-name: slideInUp; animation-duration: 0.6s; }
.animated.slideInDown { animation-name: slideInDown; animation-duration: 0.6s; }
.animated.scaleIn { animation-name: scaleIn; animation-duration: 0.5s; }

.animation-delay-1 { animation-delay: 0.1s; }
.animation-delay-2 { animation-delay: 0.2s; }
.animation-delay-3 { animation-delay: 0.3s; }
.animation-delay-4 { animation-delay: 0.4s; }
.animation-delay-5 { animation-delay: 0.5s; }
.animation-delay-6 { animation-delay: 0.6s; }
.animation-delay-7 { animation-delay: 0.7s; }
.animation-delay-8 { animation-delay: 0.8s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animate-on-scroll { opacity: 1; transform: none; }
}

/* ============================================================
   23. Loading States & Skeleton
   ============================================================ */
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  background-size: 200% 100%;
  animation: shimmerBG 1.5s infinite;
}

.skeleton-text {
  height: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: var(--radius-sm);
}

.skeleton-text:last-child { width: 60%; }

.skeleton-title {
  height: 1.25rem;
  width: 40%;
  margin-bottom: 0.75rem;
  border-radius: var(--radius-sm);
}

.skeleton-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
}

.skeleton-avatar-sm { width: 2rem; height: 2rem; border-radius: var(--radius-full); }
.skeleton-avatar-lg { width: 4rem; height: 4rem; border-radius: var(--radius-full); }

.skeleton-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
}

.skeleton-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 1.25rem;
}

.spinner {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.spinner-lg { width: 2.5rem; height: 2.5rem; border-width: 3px; }
.spinner-sm { width: 1rem; height: 1rem; border-width: 1.5px; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  transition: all var(--transition-smooth);
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader .spinner { width: 3rem; height: 3rem; border-width: 3px; }
.page-loader .loader-text { margin-top: 1rem; font-size: var(--text-sm); color: var(--color-text-muted); }

/* ============================================================
   24. Dashboard Panel Styles (Admin / Vendor / Fleet)
   ============================================================ */
.admin-sidebar .dashboard-nav-item.active {
  background: var(--color-primary-50);
  color: var(--color-primary);
}

.vendor-sidebar .dashboard-nav-item.active {
  background: var(--color-warning-50);
  color: var(--color-warning);
}

.fleet-sidebar .dashboard-nav-item.active {
  background: var(--color-info-50);
  color: var(--color-info);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.chart-container {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  position: relative;
  min-height: 300px;
}

.chart-container h3 {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
}

.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

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

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.activity-dot.success { background: var(--color-success); }
.activity-dot.warning { background: var(--color-warning); }
.activity-dot.error { background: var(--color-error); }
.activity-dot.info { background: var(--color-info); }

.activity-content { flex: 1; min-width: 0; }
.activity-text { font-size: var(--text-sm); color: var(--color-text-secondary); margin-bottom: 0.125rem; }
.activity-time { font-size: var(--text-xs); color: var(--color-text-muted); }

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  transition: background var(--transition-base);
  cursor: pointer;
}

.notification-item:hover { background: var(--color-bg-alt); }
.notification-item.unread { background: var(--color-primary-50); }

.notification-item .notif-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.notification-item .notif-content { flex: 1; min-width: 0; }
.notification-item .notif-title { font-size: var(--text-sm); font-weight: var(--font-medium); color: var(--color-text); margin-bottom: 0.125rem; }
.notification-item .notif-text { font-size: var(--text-sm); color: var(--color-text-secondary); margin-bottom: 0.25rem; }
.notification-item .notif-time { font-size: var(--text-xs); color: var(--color-text-muted); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  text-transform: capitalize;
}

.status-badge.pending { background: var(--color-warning-50); color: var(--color-warning-dark); border: 1px solid rgba(245, 158, 11, 0.2); }
.status-badge.active { background: var(--color-success-50); color: var(--color-success-dark); border: 1px solid rgba(16, 185, 129, 0.2); }
.status-badge.completed { background: var(--color-info-50); color: var(--color-info-dark); border: 1px solid rgba(59, 130, 246, 0.2); }
.status-badge.cancelled { background: var(--color-error-50); color: var(--color-error-dark); border: 1px solid rgba(220, 38, 38, 0.2); }
.status-badge.in-progress { background: var(--color-primary-50); color: var(--color-primary-dark); border: 1px solid rgba(220, 38, 38, 0.2); }

.avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--color-bg-alt);
}

.avatar-xs { width: 24px; height: 24px; }
.avatar-sm { width: 32px; height: 32px; }
.avatar-md { width: 48px; height: 48px; }
.avatar-lg { width: 64px; height: 64px; }
.avatar-xl { width: 80px; height: 80px; }
.avatar-2xl { width: 120px; height: 120px; }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.125rem 0.5rem;
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  border-radius: var(--radius-full);
  line-height: 1.4;
  white-space: nowrap;
}

.badge-primary { background: var(--color-primary-50); color: var(--color-primary); border: 1px solid rgba(220, 38, 38, 0.15); }
.badge-success { background: var(--color-success-50); color: var(--color-success-dark); border: 1px solid rgba(16, 185, 129, 0.15); }
.badge-warning { background: var(--color-warning-50); color: var(--color-warning-dark); border: 1px solid rgba(245, 158, 11, 0.15); }
.badge-error { background: var(--color-error-50); color: var(--color-error-dark); border: 1px solid rgba(220, 38, 38, 0.15); }
.badge-info { background: var(--color-info-50); color: var(--color-info-dark); border: 1px solid rgba(59, 130, 246, 0.15); }

.bg-primary { background-color: var(--color-primary) !important; }
.bg-gradient-primary { background: var(--gradient-primary) !important; }
.bg-success { background-color: var(--color-success) !important; }
.bg-warning { background-color: var(--color-warning) !important; }
.bg-error { background-color: var(--color-error) !important; }
.bg-info { background-color: var(--color-info) !important; }
.bg-dark { background-color: var(--color-secondary-900) !important; }
.bg-surface { background-color: var(--color-surface) !important; }
.bg-transparent { background: transparent !important; }

/* ============================================================
   25. Utility Classes
   ============================================================ */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: var(--max-width);
}

.container-sm { max-width: var(--max-width-sm); }
.container-md { max-width: var(--max-width-md); }
.container-lg { max-width: var(--max-width-lg); }
.container-xl { max-width: var(--max-width-xl); }
.container-fluid { max-width: 100%; }

.grid { display: grid; gap: 1.5rem; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
.grid-cols-12 { grid-template-columns: repeat(12, 1fr); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-1 { flex: 1; }
.flex-auto { flex: auto; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }

.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

.gap-0 { gap: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.ml-0 { margin-left: 0; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-4 { margin-left: 1rem; }
.ml-5 { margin-left: 1.25rem; }
.ml-6 { margin-left: 1.5rem; }
.ml-8 { margin-left: 2rem; }

.mr-0 { margin-right: 0; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }
.mr-5 { margin-right: 1.25rem; }
.mr-6 { margin-right: 1.5rem; }
.mr-8 { margin-right: 2rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mx-0 { margin-left: 0; margin-right: 0; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-3 { margin-left: 0.75rem; margin-right: 0.75rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }

.my-0 { margin-top: 0; margin-bottom: 0; }
.my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-3 { margin-top: 0.75rem; margin-bottom: 0.75rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.my-5 { margin-top: 1.25rem; margin-bottom: 1.25rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }

.px-0 { padding-left: 0; padding-right: 0; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-inline-flex { display: inline-flex; }

.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

.w-100 { width: 100%; }
.w-75 { width: 75%; }
.w-50 { width: 50%; }
.w-25 { width: 25%; }
.h-100 { height: 100%; }
.vh-100 { min-height: 100vh; }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-3xl { border-radius: var(--radius-3xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }
.shadow-glass { box-shadow: var(--shadow-glass); }
.shadow-none { box-shadow: none; }

.fw-light { font-weight: var(--font-light); }
.fw-normal { font-weight: var(--font-normal); }
.fw-medium { font-weight: var(--font-medium); }
.fw-bold { font-weight: var(--font-bold); }

.fs-xs { font-size: var(--text-xs); }
.fs-sm { font-size: var(--text-sm); }
.fs-base { font-size: var(--text-base); }
.fs-lg { font-size: var(--text-lg); }
.fs-xl { font-size: var(--text-xl); }
.fs-2xl { font-size: var(--text-2xl); }
.fs-3xl { font-size: var(--text-3xl); }
.fs-4xl { font-size: var(--text-4xl); }
.fs-5xl { font-size: var(--text-5xl); }

.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }

.user-select-none { user-select: none; }
.pointer-events-none { pointer-events: none; }

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   26. Responsive Design
   ============================================================ */
@media (max-width: 1200px) {
  .container { max-width: 960px; }
  .car-card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .search-fields { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .container { max-width: 720px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: var(--text-5xl); }
  .dashboard-sidebar { transform: translateX(-100%); }
  .dashboard-sidebar.open { transform: translateX(0); }
  .dashboard-main { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .car-features-grid { grid-template-columns: 1fr; }
  .auth-social-buttons { grid-template-columns: 1fr; }
  .car-card-list .car-card { flex-direction: column; }
  .car-card-list .car-card-image { width: 100%; }
  .booking-steps { flex-wrap: wrap; gap: 0.5rem; }
  .booking-step-divider { display: none; }
}

@media (max-width: 768px) {
  .container { max-width: 540px; }
  .hero-title { font-size: var(--text-4xl); }
  .hero-subtitle { font-size: var(--text-base); }
  .hero-stats { gap: 1.5rem; }
  .search-fields { grid-template-columns: 1fr; }
  .search-divider { display: none; }
  .car-card-grid { grid-template-columns: 1fr; }
  .car-info-tabs { flex-wrap: nowrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .display-1 { font-size: var(--text-5xl); }
  .display-2 { font-size: var(--text-4xl); }
  .auth-card { padding: 1.5rem; }
  .dashboard-stats { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .hero-title { font-size: var(--text-3xl); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .dashboard-stats { grid-template-columns: 1fr; }
  .auth-card { padding: 1.25rem; }
  .toast { min-width: auto; max-width: 90vw; }
  .modal-container { margin: 1rem; }
  .offcanvas { width: 100%; max-width: 100vw; }
  .pagination { flex-wrap: wrap; }
}

/* ============================================================
   27. Print Styles
   ============================================================ */
@media print {
  .navbar, .dashboard-sidebar, .footer, .back-to-top,
  .search-bar, .booking-steps, .toast-container { display: none; }
  .dashboard-main { margin-left: 0; padding: 1rem; }
  .page-loader { display: none; }
  body { background: white; color: black; }
  .card { border: 1px solid #ddd; box-shadow: none; }
  a { color: inherit; text-decoration: underline; }
}

/* ============================================================
   28. Scrollbar Styling
   ============================================================ */
::-webkit-scrollbar { width: var(--scrollbar-width); }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); }

/* ============================================================
   29. HTML-CSS Class Name Alignment
   (HTML classes mapped to existing design patterns)
   ============================================================ */

/* --- Navbar / Header --- */
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.nav-links li a:hover {
  color: var(--color-text);
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .nav-links li a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.nav-links li a.active {
  color: var(--color-primary);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: var(--z-dropdown);
  min-width: 200px;
  padding: 0.5rem;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
}

[data-theme="dark"] .nav-dropdown > .dropdown-menu {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(255, 255, 255, 0.06);
}

.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-trigger {
  cursor: pointer;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  font-size: var(--text-sm);
  color: var(--color-text);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

[data-theme="dark"] .dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.dropdown-divider {
  height: 1px;
  margin: 0.375rem 0;
  background: var(--color-border);
  border: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-currency {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-select {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  transition: all var(--transition-base);
  user-select: none;
}

.dropdown-select:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--color-text);
}

[data-theme="dark"] .dropdown-select:hover {
  background: rgba(255, 255, 255, 0.04);
}

.dropdown-select .dropdown-list {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: var(--z-dropdown);
  min-width: 140px;
  padding: 0.5rem;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
}

[data-theme="dark"] .dropdown-select .dropdown-list {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(255, 255, 255, 0.06);
}

.dropdown-select:hover .dropdown-list,
.dropdown-select .dropdown-list.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-list a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: var(--text-sm);
  color: var(--color-text);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-list a:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

[data-theme="dark"] .dropdown-list a:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-base);
}

.hamburger:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-text-muted);
}

/* Theme toggle */
.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--color-text-secondary);
  transition: all var(--transition-base);
}

.theme-toggle:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--color-text);
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  border-left: 1px solid var(--color-border);
  z-index: var(--z-offcanvas);
  padding: 2rem 1.5rem;
  transition: right var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

[data-theme="dark"] .mobile-menu {
  background: rgba(10, 14, 26, 0.96);
  border-left-color: rgba(255, 255, 255, 0.06);
}

.mobile-menu.open {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: calc(var(--z-offcanvas) - 1);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-links li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.mobile-nav-links li a:hover {
  background: var(--color-bg-alt);
}

[data-theme="dark"] .mobile-nav-links li a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.mobile-search {
  margin-bottom: 0.5rem;
}

.mobile-search .search-bar {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.mobile-divider {
  height: 1px;
  background: var(--color-border);
  margin: 0.5rem 0;
}

.mobile-lang-currency {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.5rem;
}

/* --- Section Titles --- */
.section-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: var(--leading-tight);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Footer --- */
.footer-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 240px;
  background: radial-gradient(ellipse, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
}

.footer-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--leading-relaxed);
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--color-text-inverse);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-contact li a:hover {
  color: var(--color-primary-light);
}

.social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-link {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all var(--transition-base);
  font-size: var(--text-sm);
}

.social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
}

.newsletter-box {
  margin-top: 1rem;
}

.newsletter-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.newsletter-input input {
  flex: 1;
  padding: 0.625rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
}

.newsletter-input input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-input input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.footer-payments {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.payment-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  font-weight: var(--font-medium);
}

.payment-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.payment-icon {
  width: 2.5rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.4);
  transition: all var(--transition-base);
}

.payment-icon:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-legal a:hover {
  color: var(--color-primary-light);
}

/* --- Section utils --- */
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.p-8 { padding: 2rem; }
.p-6 { padding: 1.5rem; }
.p-5 { padding: 1.25rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-10 { margin-top: 2.5rem; }
.fw-bold { font-weight: var(--font-bold); }
.fs-5 { font-size: var(--text-xl); }

/* ============================================================
   30. Back to Top
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: var(--z-sticky);
  width: 45px;
  height: 45px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-colored);
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-colored-lg);
}

/* ============================================================
   END OF style.css
   ============================================================ */
