/* ====================================
   FlyMasar — Main Stylesheet
   RTL Arabic-first, Mobile-first
   ==================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ====================================
   CSS Variables
   ==================================== */
:root {
  --primary: #7C3AED;
  --primary-dark: #6D28D9;
  --primary-light: #9333EA;
  --secondary: #E8A020;
  --secondary-dark: #C8861A;
  --secondary-light: #F5C260;
  --bg: #F5F7FA;
  --bg-alt: #EEF1F7;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --white: #FFFFFF;
  --success: #27AE60;
  --error: #E74C3C;
  --warning: #F59E0B;
  --info: #3B82F6;
  --border: #E5E7EB;
  --border-focus: #7C3AED;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.2s ease;
  --navbar-h: 64px;
  --font-ar: 'Tajawal', 'Arial', sans-serif;
  --font-en: 'Inter', sans-serif;

  /* --- Unified design scales (Phase 0) --------------------------------
     Use THESE tokens instead of arbitrary px/rem so every page shares one
     rhythm. Spacing = 4px base; type = ~1.2 ratio. */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 24px;  --sp-6: 32px;  --sp-7: 48px;  --sp-8: 64px;

  --fs-xs: 0.75rem;   --fs-sm: 0.875rem;  --fs-base: 1rem;   --fs-md: 1.125rem;
  --fs-lg: 1.25rem;   --fs-xl: 1.5rem;    --fs-2xl: 1.875rem; --fs-3xl: 2.25rem;

  --lh-tight: 1.25;   --lh-normal: 1.6;

  /* Canonical breakpoints (for reference in media queries):
     mobile ≤ 480px · tablet ≤ 768px · laptop ≤ 1024px · content max 1200px */
  --container: 1200px;
}

/* ====================================
   Dark Mode
   ==================================== */
[data-theme="dark"] {
  --primary: #4d8dd4;
  --primary-dark: #3a7bc2;
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --white: #1e293b;
  --border: #334155;
  --shadow: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
}
[data-theme="dark"] .navbar,
[data-theme="dark"] .bottom-nav { background:#1e293b; border-color:#334155; }
[data-theme="dark"] .hotel-card,
[data-theme="dark"] .pay-card,
[data-theme="dark"] .booking-card { background:#1e293b; }
[data-theme="dark"] .form-control { background:#0f172a; color:#f1f5f9; border-color:#334155; }
[data-theme="dark"] .form-control::placeholder { color:#64748b; }
[data-theme="dark"] .btn-outline { color:#4d8dd4; border-color:#4d8dd4; }

/* Dark toggle button */
.dark-toggle {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  line-height: 1;
}
.dark-toggle:hover { border-color: var(--primary); color: var(--primary); }

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  direction: rtl;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

ul, ol { list-style: none; }

input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
}

/* ====================================
   Typography
   ==================================== */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-error { color: var(--error); }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }

/* ====================================
   Layout
   ==================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-sm {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

/* ====================================
   Navbar
   ==================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: var(--navbar-h);
  display: flex;
  align-items: center;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  white-space: nowrap;
}

.navbar-brand .brand-icon {
  font-size: 1.8rem;
}

.navbar-brand .brand-sub {
  font-size: 0.7rem;
  color: var(--secondary);
  font-weight: 500;
  display: block;
  line-height: 1;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  transition: all var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--primary);
  background: rgba(27, 79, 142, 0.08);
}

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

.user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-h);
  right: 0;
  left: 0;
  background: white;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}

.mobile-menu a:hover { background: var(--bg); color: var(--primary); }

/* ── App Drawer (slide-in from right, RTL) ── */
.app-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:1200;opacity:0;transition:opacity .25s}
.app-overlay.open{display:block;opacity:1}
.app-drawer{position:fixed;top:0;right:-320px;width:300px;max-width:86vw;height:100%;background:#fff;z-index:1201;transition:right .28s cubic-bezier(.4,0,.2,1);overflow-y:auto;display:flex;flex-direction:column;box-shadow:-4px 0 24px rgba(0,0,0,.15)}
.app-drawer.open{right:0}
.app-drawer-head{background:linear-gradient(135deg,#4C1D95,#7C3AED);padding:20px 18px 16px;display:flex;justify-content:space-between;align-items:center}
.app-drawer-brand{font-size:1.25rem;font-weight:800;color:#fff;display:flex;align-items:center;gap:6px}
.app-drawer-brand em{color:#E8A020;font-style:normal}
.app-drawer-close{background:none;border:none;color:rgba(255,255,255,.8);font-size:1.4rem;cursor:pointer;line-height:1;padding:4px 6px}
.app-drawer-body{padding:14px;flex:1}
.app-drawer-sec{margin-bottom:18px}
.app-drawer-sec-title{font-size:.68rem;font-weight:800;color:#9ca3af;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid #f0f2f5}
.app-drawer-pills{display:flex;gap:6px;flex-wrap:wrap}
.app-drawer-pill{padding:7px 14px;border-radius:20px;border:1.5px solid #e5e7eb;background:#fff;font-size:.82rem;font-weight:600;color:#6b7280;cursor:pointer;transition:.2s}
.app-drawer-pill.on{background:#7C3AED;color:#fff;border-color:#7C3AED}
.app-drawer-links{display:flex;flex-direction:column;gap:2px}
.app-drawer-link{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;color:#374151;font-size:.9rem;font-weight:600;text-decoration:none;transition:.15s}
.app-drawer-link:hover,.app-drawer-link:active{background:#F4EEFE;color:#7C3AED}
.app-drawer-link .dl-ico{width:22px;text-align:center;font-size:1rem;flex-shrink:0}
.app-drawer-auth{background:#f0f5ff;border-radius:12px;padding:12px;display:flex;align-items:center;gap:10px;margin-bottom:10px}
.app-drawer-avatar{width:38px;height:38px;border-radius:50%;background:#7C3AED;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:700;flex-shrink:0}
.app-drawer-footer-copy{padding:12px 14px;border-top:1px solid #f0f2f5;font-size:.72rem;color:#9ca3af;text-align:center}

/* ====================================
   Buttons
   ==================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124,58,237,0.3);
}

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

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

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

.btn-ghost:hover:not(:disabled) {
  background: var(--primary);
  color: white;
}

.btn-danger {
  background: var(--error);
  color: white;
  border-color: var(--error);
}

.btn-danger:hover:not(:disabled) {
  background: #c0392b;
  border-color: #c0392b;
}

.btn-success {
  background: var(--success);
  color: white;
  border-color: var(--success);
}

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

.btn-white:hover:not(:disabled) {
  background: var(--bg);
  transform: translateY(-1px);
}

.btn-lg { padding: 14px 32px; font-size: 1.05rem; border-radius: var(--radius); }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ====================================
   Forms
   ==================================== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}

.form-control::placeholder { color: var(--text-light); }

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

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-error {
  font-size: 0.85rem;
  color: var(--error);
  margin-top: 4px;
}

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

.input-group .form-control {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  flex: 1;
}

.input-group-append {
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-right: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231B4F8E' stroke-width='2.4' 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: left 12px center;
  padding-left: 36px;
  cursor: pointer;
}

/* Number input */
.number-input {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: white;
}

.number-input button {
  width: 38px;
  height: 44px;
  border: none;
  background: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--primary);
  transition: background var(--transition);
}

.number-input button:hover { background: var(--bg); }

.number-input span {
  flex: 1;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

/* ====================================
   Cards
   ==================================== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}

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

.card-body {
  padding: 24px;
}

.card-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
  position: relative;
  min-height: 560px;
  background: linear-gradient(120deg,#7C3AED,#9333EA 55%,#C026D3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 20px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-airplane {
  position: absolute;
  font-size: 8rem;
  opacity: 0.06;
  right: -40px;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  margin-bottom: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.9);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hero h1 .highlight {
  color: var(--secondary);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.85;
  max-width: 540px;
  margin: 0 auto 8px;
}

/* Search Box */
.search-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 28px;
}

.search-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 4px;
}

.search-tab {
  flex: 1;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  background: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.search-tab.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.search-panel { display: none; }
.search-panel.active { display: block; }

.search-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.search-grid-2 { grid-template-columns: 1fr 1fr; }
.search-grid-4 { grid-template-columns: repeat(4, 1fr); }
.search-grid-3 { grid-template-columns: repeat(3, 1fr); }

.search-field {
  position: relative;
}

.search-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-field .form-control {
  padding-right: 40px;
}

.search-field-icon {
  position: absolute;
  right: 12px;
  bottom: 11px;
  color: var(--primary);
  font-size: 1.1rem;
  pointer-events: none;
}

/* ====================================
   Features Section
   ==================================== */
.section {
  padding: 80px 0;
}

.section-sm { padding: 48px 0; }

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

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(124,58,237,0.15);
}

.feature-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  right: 20%;
  left: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ====================================
   Flight Cards
   ==================================== */
.flight-card {
  margin-bottom: 16px;
}

.flight-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border);
}

.flight-airline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.airline-logo {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--border);
}

.airline-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.flight-price .price-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  text-align: left;
}

.flight-price .price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  text-align: left;
}

.flight-card__body {
  padding: 16px 20px;
}

.flight-route {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.flight-point {
  text-align: center;
  min-width: 80px;
}

.flight-time {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.flight-city {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.flight-duration {
  flex: 1;
  text-align: center;
}

.duration-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 4px;
  color: var(--text-muted);
}

.duration-bar {
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 60px;
}

.duration-plane { font-size: 1rem; color: var(--primary); }
.duration-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); }

.duration-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.stops-text {
  font-size: 0.78rem;
  color: var(--success);
  font-weight: 500;
}

.flight-meta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.flight-class {
  background: rgba(124,58,237,0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

.flight-seats {
  font-size: 0.8rem;
  color: var(--error);
  font-weight: 500;
}

.flight-card__footer {
  padding: 12px 20px 16px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ====================================
   Hotel Cards
   ==================================== */
.hotel-card {
  display: flex;
  flex-direction: column;
}

.hotel-card__image {
  position: relative;
  height: 180px;
  background: var(--bg-alt);
  overflow: hidden;
}

.hotel-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hotel-card:hover .hotel-card__image img {
  transform: scale(1.05);
}

.hotel-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--bg), var(--bg-alt));
}

.hotel-stars {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.75rem;
}

.hotel-card__body {
  padding: 16px;
  flex: 1;
}

.hotel-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.hotel-location {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.hotel-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}

.amenity-tag {
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.rating-score {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--secondary);
}

.rating-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hotel-card__footer {
  padding: 12px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}

.hotel-price .price-amount {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.hotel-price .price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ====================================
   Auth Pages
   ==================================== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(120deg,#7C3AED,#9333EA 55%,#C026D3);
}

.auth-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-xl);
}

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

.auth-logo .brand-name {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
}

.auth-logo .brand-icon { font-size: 2.5rem; }

.auth-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 32px;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

/* ====================================
   Dashboard
   ==================================== */
.dashboard-page {
  padding: 40px 0;
  min-height: calc(100vh - var(--navbar-h));
}

.dashboard-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 40px 0;
  margin-bottom: 40px;
}

.dashboard-header h1 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.dashboard-header p { opacity: 0.8; }

.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 24px;
  width: fit-content;
}

.tab {
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius-sm);
  background: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}

.tab.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Booking Row */
.booking-item {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
}

.booking-item:hover {
  border-color: rgba(124,58,237,0.2);
  box-shadow: var(--shadow-sm);
}

.booking-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(124,58,237,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.booking-info { flex: 1; }

.booking-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.booking-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.booking-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  text-align: left;
}

/* ====================================
   Badges
   ==================================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-success { background: rgba(39,174,96,0.12); color: var(--success); }
.badge-danger { background: rgba(231,76,60,0.12); color: var(--error); }
.badge-warning { background: rgba(245,158,11,0.12); color: var(--warning); }
.badge-info { background: rgba(59,130,246,0.12); color: var(--info); }
.badge-primary { background: rgba(124,58,237,0.12); color: var(--primary); }

/* ====================================
   Admin Styles
   ==================================== */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--primary-dark);
  color: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  transition: transform var(--transition);
}

.sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-brand {
  font-size: 1.2rem;
  font-weight: 900;
  color: white;
}

.sidebar-brand span { color: var(--secondary); }

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  font-size: 0.92rem;
  transition: all var(--transition);
  margin-bottom: 2px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(255,255,255,0.1);
  color: white;
}

.sidebar-nav a .nav-icon { font-size: 1.1rem; min-width: 20px; }

.sidebar-section-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  padding: 12px 14px 6px;
  font-weight: 600;
}

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.admin-main {
  flex: 1;
  margin-right: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-topbar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.admin-topbar h1 {
  font-size: 1.1rem;
  font-weight: 700;
}

.admin-content {
  padding: 28px;
  flex: 1;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
}

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

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-icon.blue { background: rgba(124,58,237,0.1); }
.stat-icon.gold { background: rgba(232,160,32,0.1); }
.stat-icon.green { background: rgba(39,174,96,0.1); }
.stat-icon.red { background: rgba(231,76,60,0.1); }

.stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

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

.stat-change {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 2px;
}

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

/* Tables */
.table-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.table-card .card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.table-search .form-control {
  min-width: 220px;
}

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

th, td {
  padding: 12px 16px;
  text-align: right;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

th {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg);
}

tr:last-child td { border-bottom: none; }

tr:hover td { background: var(--bg); }

.table-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  border-top: 1px solid var(--border);
}

/* ====================================
   Modal
   ==================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(2px);
}

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

.modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.25s ease;
}

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

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

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.modal-body {
  padding: 4px 0 16px;
}

.modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

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

/* ====================================
   Toast Notifications
   ==================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-weight: 500;
  font-size: 0.92rem;
  max-width: 360px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
  color: white;
  position: relative;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

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

/* ====================================
   Loading States
   ==================================== */
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(124,58,237,0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto;
}

.spinner-sm {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

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

.loading-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.loading-state p {
  margin-top: 16px;
  font-size: 0.95rem;
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, var(--bg) 25%, var(--bg-alt) 50%, var(--bg) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.4s ease infinite;
  border-radius: var(--radius-sm);
}

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

/* ====================================
   Empty States
   ==================================== */
.empty-state {
  text-align: center;
  padding: 80px 40px;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ====================================
   Alert Banners
   ==================================== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-error { background: rgba(231,76,60,0.08); color: var(--error); border: 1px solid rgba(231,76,60,0.2); }
.alert-success { background: rgba(39,174,96,0.08); color: var(--success); border: 1px solid rgba(39,174,96,0.2); }
.alert-warning { background: rgba(245,158,11,0.08); color: var(--warning); border: 1px solid rgba(245,158,11,0.2); }
.alert-info { background: rgba(124,58,237,0.08); color: var(--primary); border: 1px solid rgba(124,58,237,0.2); }

/* ====================================
   Footer
   ==================================== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}

.footer-brand span { color: var(--secondary); }

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: rgba(255,255,255,0.6);
}

.social-btn:hover {
  background: var(--secondary);
  color: var(--text);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ====================================
   Results Section
   ==================================== */
.results-section {
  padding: 48px 0;
}

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

.results-count {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.results-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.filters-sidebar {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
}

.filter-group {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  cursor: pointer;
}

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

/* ====================================
   Coupon Section
   ==================================== */
.coupon-form {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.coupon-input-group {
  display: flex;
  gap: 10px;
}

.coupon-input-group .form-control {
  flex: 1;
}

/* ====================================
   Responsive
   ==================================== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar-nav,
  .navbar-actions { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 40px 20px 60px; min-height: 480px; }
  .hero h1 { font-size: 1.8rem; }

  .search-box { padding: 20px; border-radius: var(--radius-lg); }
  .search-grid-2,
  .search-grid-3,
  .search-grid-4 { grid-template-columns: 1fr; }

  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }

  .admin-layout { flex-direction: column; }
  .sidebar {
    width: 280px;
    position: fixed;
    transform: translateX(110%);
    height: 100vh;
    z-index: 200;
    box-shadow: -4px 0 24px rgba(0,0,0,0.3);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 199; }
  .sidebar-overlay.active { display: block; }
  .admin-main { margin-right: 0; }

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

  .auth-card { padding: 32px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .flight-route { flex-direction: column; gap: 8px; }
  .duration-line { transform: rotate(90deg) scaleX(-1); }

  .results-header { flex-direction: column; align-items: flex-start; }

  th, td { padding: 10px 12px; font-size: 0.82rem; }

  .modal { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.5rem; }
  .section { padding: 48px 0; }
  .booking-item { flex-direction: column; align-items: flex-start; }
  .search-tabs { flex-direction: column; }
}

/* ====================================
   Utility
   ==================================== */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.w-full { width: 100%; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.rounded-full { border-radius: 100px; }
.overflow-hidden { overflow: hidden; }

/* Price highlight */
.price-highlight {
  color: var(--secondary);
  font-weight: 800;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

/* No results banner */
.no-results {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ===================== AUTH PAGES ===================== */
.auth-page { background: linear-gradient(120deg,#7C3AED,#9333EA 55%,#C026D3); min-height: 100vh; }
.auth-main { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 70px); padding: 2rem 1rem; }
.auth-card { background: #fff; border-radius: 16px; padding: 2.5rem; width: 100%; max-width: 440px; box-shadow: 0 20px 60px rgba(46,16,101,0.3); }
.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-icon { font-size: 3rem; margin-bottom: 1rem; }
.auth-header h1 { font-size: 1.8rem; color: #7C3AED; margin-bottom: 0.5rem; }
.auth-header p { color: #666; }
.auth-footer { text-align: center; margin-top: 1.5rem; color: #666; }
.auth-footer a { color: #7C3AED; font-weight: 600; }
.input-password { position: relative; }
.toggle-password { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.alert { padding: 0.875rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; }
.alert-error { background: #fde8e8; color: #c0392b; border: 1px solid #f5c6c6; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.user-badge { background: #7C3AED; color: #fff; padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.82rem; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===================== DASHBOARD ===================== */
.dashboard-main { padding: 2rem 0; min-height: 80vh; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.dashboard-header h1 { font-size: 1.8rem; color: #7C3AED; margin: 0; }
.tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; border-bottom: 2px solid #ECE8F4; }
.tab { background: none; border: none; padding: 0.75rem 1.5rem; font-size: 1rem; font-family: inherit; cursor: pointer; color: #666; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.tab.active { color: #7C3AED; border-bottom-color: #7C3AED; font-weight: 600; }
.tab-content { display: block; }
.bookings-list { display: grid; gap: 1rem; }
.booking-card { background: #fff; border-radius: 12px; padding: 1.5rem; box-shadow: 0 2px 12px rgba(0,0,0,0.08); border: 1px solid #ECE8F4; }
.booking-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.booking-ref { font-weight: 700; color: #7C3AED; font-size: 0.9rem; }
.booking-route { font-size: 1.5rem; font-weight: 700; text-align: center; margin: 1rem 0; color: #1B172B; }
.booking-route .arrow { color: #E8A020; margin: 0 0.5rem; }
.booking-meta { display: flex; gap: 1.5rem; color: #666; font-size: 0.9rem; flex-wrap: wrap; }
.badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-error { background: #fde8e8; color: #c0392b; }
.badge-info { background: #d1ecf1; color: #0c5460; }
.empty-state { text-align: center; padding: 4rem 2rem; color: #999; }
.empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.empty-state h3 { color: #555; margin-bottom: 0.5rem; }
.loading-state { display: flex; flex-direction: column; align-items: center; padding: 3rem; color: #999; gap: 1rem; }
.spinner-lg { width: 40px; height: 40px; border: 3px solid #ECE8F4; border-top-color: #7C3AED; border-radius: 50%; animation: spin 0.8s linear infinite; }
.text-muted { color: #999; }

