/* ============================================================
   BookingInGh — Complete Design System
   main.css — Full stylesheet
============================================================ */

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --color-primary:       #006B3C;
  --color-primary-dark:  #004d2b;
  --color-primary-light: #008a4e;
  --color-secondary:     #FCD116;
  --color-accent:        #CE1126;
  --color-bg:            #ffffff;
  --color-bg-alt:        #f4f5f7;
  --color-bg-card:       #ffffff;
  --color-text:          #1a1a2e;
  --color-text-muted:    #6b7280;
  --color-border:        #e5e7eb;
  --color-border-light:  #f3f4f6;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

  --transition:      all 0.25s ease;
  --transition-fast: all 0.15s ease;

  --nav-height: 72px;
}

/* Dark Mode */
[data-theme="dark"] {
  --color-bg:           #0d1117;
  --color-bg-alt:       #161b22;
  --color-bg-card:      #1c2128;
  --color-text:         #e6edf3;
  --color-text-muted:   #8b949e;
  --color-border:       #30363d;
  --color-border-light: #21262d;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height);
  transition: background 0.3s, color 0.3s;
}

h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  color: var(--color-text);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
img { max-width: 100%; display: block; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: var(--font-body); }

/* ── CONTAINER ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-primary  { background: var(--color-primary); color: white; border-color: var(--color-primary); }
.btn-primary:hover  { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: white; }
.btn-secondary{ background: var(--color-secondary); color: #1a1a2e; border-color: var(--color-secondary); }
.btn-secondary:hover{ background: #e6bd00; border-color: #e6bd00; color: #1a1a2e; }
.btn-outline   { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover  { background: var(--color-primary); color: white; }
.btn-ghost { background: rgba(255,255,255,0.15); color: white; border-color: rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); color: white; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}
[data-theme="dark"] .navbar { background: rgba(13,17,23,0.95); }
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-main { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--color-primary); }
.logo-accent { color: var(--color-secondary); }
.logo-sub  { font-size: 0.7rem; color: var(--color-text-muted); font-weight: 600; }
.logo-img  { height: 40px; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--color-primary); background: rgba(0,107,60,0.06); }
.nav-links > li > a i { font-size: 0.7rem; opacity: 0.6; }

/* Dropdown */
.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  min-width: 200px;
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition-fast);
  z-index: 100;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}
.dropdown a:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.dropdown a i { color: var(--color-primary); width: 16px; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-left: auto;
  flex-shrink: 0;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--color-bg-alt);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  border: 1px solid var(--color-border);
}
.theme-toggle:hover { background: var(--color-primary); color: white; border-color: var(--color-primary); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* User menu */
.user-menu { position: relative; }
.user-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--color-text);
}
.user-btn:hover { border-color: var(--color-primary); }
.user-avatar { width: 28px; height: 28px; border-radius: var(--radius-full); object-fit: cover; }
.user-avatar-placeholder {
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.75rem;
}
.user-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  min-width: 200px;
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition-fast);
  z-index: 200;
}
.user-menu:hover .user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}
.user-dropdown a:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.user-dropdown a i { width: 16px; color: var(--color-primary); }
.dropdown-divider { height: 1px; background: var(--color-border); margin: var(--space-xs) 0; }
.text-danger { color: var(--color-accent) !important; }

/* ── SECTION ── */
.section { padding: var(--space-3xl) 0; }
.section-header { text-align: center; margin-bottom: var(--space-2xl); }
.section-label { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--color-primary); margin-bottom: var(--space-sm); }
.section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: var(--space-sm); }
.section-subtitle { color: var(--color-text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1117 0%, #1a3a5c 50%, #006B3C 100%);
  margin-top: calc(-1 * var(--nav-height));
  padding-top: var(--nav-height);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,17,23,0.7) 0%, rgba(26,58,92,0.5) 50%, rgba(0,107,60,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl) 0;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(252,209,22,0.15);
  border: 1px solid rgba(252,209,22,0.4);
  color: var(--color-secondary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: white;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
  font-weight: 900;
}
.hero-title span { color: var(--color-secondary); }

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; margin-bottom: var(--space-2xl); }

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.hero-stat { color: white; }
.hero-stat-val { font-size: 1.8rem; font-weight: 900; font-family: var(--font-display); display: block; }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.stat-divider { width: 1px; background: rgba(255,255,255,0.2); align-self: stretch; }

/* ── SEARCH WIDGET ── */
.search-widget {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  margin-top: var(--space-xl);
  border: 1px solid var(--color-border);
}

.search-tabs {
  display: flex;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.search-tab {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: var(--transition-fast);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.search-tab:hover { color: var(--color-primary); }
.search-tab.active { color: var(--color-primary); border-bottom-color: var(--color-primary); background: var(--color-bg-card); }
.search-tab i { font-size: 1rem; }

.search-panel { display: none; padding: var(--space-xl); }
.search-panel.active { display: block; }

.trip-type-row {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.trip-type-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.trip-type-label input[type="radio"] { accent-color: var(--color-primary); width: 16px; height: 16px; }
.trip-type-label.selected { color: var(--color-primary); }

.search-row {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-end;
  flex-wrap: wrap;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 140px;
  position: relative;
}
.search-field label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
}
.search-field input,
.search-field select {
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-fast);
  width: 100%;
}
.search-field input:focus,
.search-field select:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 3px rgba(0,107,60,0.1); }
.search-field input::placeholder { color: var(--color-text-muted); font-weight: 400; }

.swap-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 2px;
}
.swap-btn:hover { background: var(--color-primary); color: white; border-color: var(--color-primary); }

.pax-dropdown-wrapper { position: relative; }
.pax-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  padding: var(--space-lg);
  min-width: 260px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}
.pax-dropdown.open { opacity: 1; visibility: visible; }

.pax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border-light);
}
.pax-row:last-of-type { border-bottom: none; }
.pax-label { font-weight: 600; font-size: 0.9rem; }
.pax-sub { font-size: 0.75rem; color: var(--color-text-muted); }
.pax-counter { display: flex; align-items: center; gap: var(--space-sm); }
.pax-inc, .pax-dec {
  width: 30px; height: 30px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  background: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.pax-inc:hover, .pax-dec:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pax-count { font-weight: 700; font-size: 1rem; min-width: 20px; text-align: center; }
.pax-done { margin-top: var(--space-md); width: 100%; background: var(--color-primary); color: white; padding: var(--space-sm); border-radius: var(--radius-md); font-weight: 700; cursor: pointer; }

.airport-suggestions {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
  display: none;
}
.airport-suggestions.open { display: block; }
.airport-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  transition: var(--transition-fast);
}
.airport-item:hover { background: var(--color-bg-alt); }
.airport-code { font-size: 1rem; font-weight: 800; color: var(--color-primary); min-width: 40px; }
.airport-name { font-size: 0.875rem; font-weight: 600; color: var(--color-text); }
.airport-country { font-size: 0.75rem; color: var(--color-text-muted); }

/* ── CARDS GRID ── */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ── POPULAR ROUTES ── */
.route-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-lg);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.route-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.route-flag { font-size: 1.5rem; }
.route-path { display: flex; align-items: center; gap: var(--space-sm); font-weight: 800; font-size: 1.1rem; }
.route-path i { color: var(--color-primary); font-size: 0.8rem; }
.route-info { font-size: 0.8rem; color: var(--color-text-muted); }
.route-price { font-size: 1rem; font-weight: 800; color: var(--color-primary); margin-top: auto; }

/* ── FEATURE CARDS ── */
.feature-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  text-align: center;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-primary); }
.feature-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  background: rgba(0,107,60,0.1);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--space-md);
  transition: var(--transition-fast);
}
.feature-card:hover .feature-icon { background: var(--color-primary); color: white; }
.feature-title { font-size: 1rem; margin-bottom: var(--space-sm); }
.feature-desc  { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonial-track-wrapper { overflow: hidden; }
.testimonial-track {
  display: flex;
  gap: var(--space-xl);
  transition: transform 0.5s ease;
}
.testimonial-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-xl);
  min-width: 320px;
  flex-shrink: 0;
}
.testimonial-stars { color: #f59e0b; margin-bottom: var(--space-sm); font-size: 0.85rem; }
.testimonial-text  { color: var(--color-text-muted); line-height: 1.7; margin-bottom: var(--space-md); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: var(--space-sm); }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.9rem;
}
.author-name { font-weight: 700; font-size: 0.9rem; }
.author-title{ font-size: 0.75rem; color: var(--color-text-muted); }

.slider-controls { display: flex; justify-content: center; align-items: center; gap: var(--space-md); margin-top: var(--space-xl); }
.slider-btn {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.slider-btn:hover { border-color: var(--color-primary); background: var(--color-primary); color: white; }
.slider-dots { display: flex; gap: var(--space-xs); }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-border);
  cursor: pointer;
  transition: var(--transition-fast);
}
.slider-dot.active { background: var(--color-primary); width: 24px; }

/* ── NEWSLETTER ── */
.newsletter {
  background: linear-gradient(135deg, var(--color-primary), #1a3a5c);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.newsletter h3 { color: white; font-size: 1.5rem; margin-bottom: var(--space-xs); }
.newsletter p  { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.newsletter-form { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.newsletter-form input {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: none;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 0.95rem;
  min-width: 260px;
  border: 1px solid rgba(255,255,255,0.25);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus { outline: none; background: rgba(255,255,255,0.2); }

/* ── FOOTER ── */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.8);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: auto;
}
[data-theme="dark"] .footer { background: #0d1117; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand { margin-bottom: var(--space-md); }
.footer-brand .logo-main { color: white; font-size: 1.3rem; }
.footer-desc { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: var(--space-lg); }

.footer-social { display: flex; gap: var(--space-sm); }
.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}
.social-btn:hover { background: var(--color-primary); color: white; }

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  margin-bottom: var(--space-md);
}

.footer-links { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-links a, .footer-links span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition-fast);
  display: flex; align-items: center; gap: var(--space-sm);
}
.footer-links a:hover { color: var(--color-secondary); }
.footer-links i { width: 14px; opacity: 0.7; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── CHATBOT ── */
.chatbot-bubble {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), #1a3a5c);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 8000;
  transition: var(--transition-fast);
}
.chatbot-bubble:hover { transform: scale(1.1); }
.chat-notification {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--color-accent);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-window {
  position: fixed;
  bottom: calc(var(--space-xl) + 64px);
  right: var(--space-xl);
  width: 360px;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  z-index: 7999;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition);
}
.chatbot-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.chat-header {
  background: linear-gradient(135deg, var(--color-primary), #1a3a5c);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.chat-avatar { width: 36px; height: 36px; border-radius: var(--radius-full); background: rgba(255,255,255,0.2); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.chat-info strong { display: block; color: white; font-size: 0.95rem; }
.chat-status { font-size: 0.75rem; color: rgba(255,255,255,0.75); }
.chat-minimize { color: rgba(255,255,255,0.8); font-size: 1rem; padding: 4px; }
.chat-minimize:hover { color: white; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-height: 280px;
}

.chat-msg { display: flex; gap: var(--space-sm); align-items: flex-end; }
.bot-msg { flex-direction: row; }
.user-msg { flex-direction: row-reverse; }

.msg-avatar { width: 28px; height: 28px; border-radius: var(--radius-full); background: var(--color-primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; }

.msg-bubble {
  max-width: 75%;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  line-height: 1.5;
}

.bot-msg .msg-bubble { background: var(--color-bg-alt); color: var(--color-text); border-bottom-left-radius: 4px; }
.user-msg .msg-bubble { background: var(--color-primary); color: white; border-bottom-right-radius: 4px; }

.chat-quick-replies {
  display: flex;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  flex-wrap: wrap;
  border-top: 1px solid var(--color-border-light);
}

.quick-reply {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  background: none;
  cursor: pointer;
  transition: var(--transition-fast);
}
.quick-reply:hover { background: var(--color-primary); color: white; }

.chat-input-area {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-top: 1px solid var(--color-border);
}

#chatInput {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-size: 0.875rem;
}

#chatInput:focus { border-color: var(--color-primary); }

#chatSend {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}
#chatSend:hover { background: var(--color-primary-dark); }

/* ============================================================
   TOAST NOTIFICATIONS
============================================================ */
.toast-container {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  pointer-events: none;
  width: 360px;
  max-width: 90vw;
}

.toast {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  pointer-events: all;
  animation: toastIn 0.3s ease;
  font-size: 0.875rem;
  font-weight: 500;
}

.toast.success { border-left-color: #22c55e; }
.toast.error   { border-left-color: var(--color-accent); }
.toast.warning { border-left-color: #f59e0b; }
.toast.info    { border-left-color: #3b82f6; }

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

/* ============================================================
   LOADING OVERLAY
============================================================ */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-spinner {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-3xl);
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.spinner-ring {
  width: 60px;
  height: 60px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
  margin: 0 auto var(--space-md);
}

@keyframes spin { to { transform: rotate(360deg); } }
.loading-spinner p { color: var(--color-text-muted); font-size: 0.9rem; }

/* ============================================================
   FORMS
============================================================ */
.form-group { margin-bottom: var(--space-lg); }
.form-label { display: block; font-weight: 600; margin-bottom: var(--space-xs); font-size: 0.9rem; color: var(--color-text); }
.form-label .required { color: var(--color-accent); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}
.form-control:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(0,107,60,0.1); }
.form-control.error { border-color: var(--color-accent); }

.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }

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

.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-lg); }

/* ============================================================
   ALERTS
============================================================ */
.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 4px solid;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9rem;
}
.alert-success { background: #f0fdf4; border-left-color: #22c55e; color: #166534; }
.alert-error   { background: #fff0f0; border-left-color: var(--color-accent); color: #9b1c1c; }
.alert-warning { background: #fffbeb; border-left-color: #f59e0b; color: #92400e; }
.alert-info    { background: #eff6ff; border-left-color: #3b82f6; color: #1e40af; }
[data-theme="dark"] .alert-success { background: rgba(34,197,94,0.1); color: #86efac; }
[data-theme="dark"] .alert-error   { background: rgba(206,17,38,0.1); color: #fca5a5; }
[data-theme="dark"] .alert-warning { background: rgba(245,158,11,0.1); color: #fde68a; }
[data-theme="dark"] .alert-info    { background: rgba(59,130,246,0.1); color: #93c5fd; }

/* ============================================================
   BADGES
============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-success  { background: #dcfce7; color: #166534; }
.badge-warning  { background: #fef9c3; color: #854d0e; }
.badge-danger   { background: #fee2e2; color: #991b1b; }
.badge-info     { background: #dbeafe; color: #1e40af; }
.badge-primary  { background: rgba(0,107,60,0.1); color: var(--color-primary); }
.badge-secondary{ background: rgba(252,209,22,0.2); color: #854d0e; }
[data-theme="dark"] .badge-success  { background: rgba(34,197,94,0.2); color: #86efac; }
[data-theme="dark"] .badge-warning  { background: rgba(245,158,11,0.2); color: #fde68a; }
[data-theme="dark"] .badge-danger   { background: rgba(206,17,38,0.2); color: #fca5a5; }
[data-theme="dark"] .badge-info     { background: rgba(59,130,246,0.2); color: #93c5fd; }

/* ============================================================
   DASHBOARD LAYOUT (shared)
============================================================ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.sidebar {
  width: 260px;
  background: var(--color-bg-card);
  border-right: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
  flex-shrink: 0;
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  transition: var(--transition);
}

.sidebar-logo {
  padding: 0 var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
}

.sidebar-section { margin-bottom: var(--space-md); }
.sidebar-label { padding: var(--space-xs) var(--space-lg); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text-muted); font-weight: 700; }

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  border-left: 3px solid transparent;
}
.sidebar-link:hover { background: var(--color-bg-alt); color: var(--color-primary); border-left-color: var(--color-primary); }
.sidebar-link.active { background: rgba(0,107,60,0.08); color: var(--color-primary); border-left-color: var(--color-primary); font-weight: 600; }
.sidebar-link i { width: 18px; text-align: center; }
.sidebar-badge { margin-left: auto; background: var(--color-accent); color: white; border-radius: var(--radius-full); padding: 2px 8px; font-size: 0.7rem; font-weight: 700; }

.dashboard-main {
  flex: 1;
  padding: var(--space-2xl);
  background: var(--color-bg-alt);
  min-width: 0;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}
.page-title { font-size: 1.75rem; color: var(--color-text); }
.page-breadcrumb { font-size: 0.85rem; color: var(--color-text-muted); display: flex; align-items: center; gap: var(--space-xs); }
.page-breadcrumb a { color: var(--color-primary); }

/* Stats Cards */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-lg); margin-bottom: var(--space-2xl); }

.stat-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

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

.stat-icon.green  { background: rgba(0,107,60,0.1); color: var(--color-primary); }
.stat-icon.gold   { background: rgba(252,209,22,0.2); color: #854d0e; }
.stat-icon.red    { background: rgba(206,17,38,0.1); color: var(--color-accent); }
.stat-icon.blue   { background: rgba(59,130,246,0.1); color: #3b82f6; }

.stat-content {}
.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--color-text); font-family: var(--font-display); display: block; line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--color-text-muted); font-weight: 500; margin-top: 4px; }
.stat-change { font-size: 0.75rem; margin-top: 4px; display: flex; align-items: center; gap: 2px; }
.stat-change.up   { color: #22c55e; }
.stat-change.down { color: var(--color-accent); }

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

.table-header {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.table-title { font-size: 1rem; font-weight: 700; color: var(--color-text); }

.table-wrapper { overflow-x: auto; }

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

.data-table th {
  text-align: left;
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.data-table td {
  padding: var(--space-md) var(--space-lg);
  font-size: 0.875rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: middle;
}

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

/* ============================================================
   SEARCH RESULTS PAGE
============================================================ */
.results-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.filters-panel {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-lg);
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
}

.filter-title { font-size: 1rem; font-weight: 700; margin-bottom: var(--space-lg); padding-bottom: var(--space-sm); border-bottom: 1px solid var(--color-border); }
.filter-group { margin-bottom: var(--space-lg); }
.filter-group-title { font-size: 0.85rem; font-weight: 700; color: var(--color-text-muted); margin-bottom: var(--space-sm); text-transform: uppercase; letter-spacing: 0.5px; }

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-text);
}
.filter-checkbox input { accent-color: var(--color-primary); width: 16px; height: 16px; }

.price-range input[type="range"] { width: 100%; accent-color: var(--color-primary); }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--color-text-muted); margin-top: 4px; }

.results-panel {}
.results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-lg); flex-wrap: wrap; gap: var(--space-sm); }
.results-count { font-weight: 600; color: var(--color-text); }
.results-sort select { padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg-card); color: var(--color-text); font-size: 0.875rem; }

/* Flight Result Card */
.flight-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: var(--transition);
}
.flight-card:hover { box-shadow: var(--shadow-lg); border-color: var(--color-primary); }

.flight-card-main {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl);
  flex-wrap: wrap;
}

.flight-airline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  min-width: 80px;
}

.airline-logo { width: 48px; height: 48px; object-fit: contain; border-radius: var(--radius-sm); }
.airline-name { font-size: 0.75rem; text-align: center; color: var(--color-text-muted); }
.airline-num  { font-size: 0.7rem; color: var(--color-text-muted); }

.flight-route {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.flight-point { text-align: center; }
.flight-time { font-size: 1.4rem; font-weight: 800; font-family: var(--font-display); color: var(--color-text); }
.flight-code { font-size: 0.75rem; color: var(--color-text-muted); font-weight: 600; text-transform: uppercase; }
.flight-city { font-size: 0.75rem; color: var(--color-text-muted); }

.flight-middle {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

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

.flight-line {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flight-line::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--color-border);
}
.flight-line i { position: relative; z-index: 1; background: var(--color-bg-card); padding: 0 6px; color: var(--color-primary); font-size: 1rem; }
.flight-stops { font-size: 0.75rem; color: var(--color-text-muted); }
.flight-stops.nonstop { color: #22c55e; font-weight: 600; }

.flight-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-xs);
  min-width: 140px;
}

.price-currency { font-size: 0.85rem; color: var(--color-text-muted); }
.price-main { font-size: 1.6rem; font-weight: 800; color: var(--color-primary); font-family: var(--font-display); line-height: 1; }
.price-pp { font-size: 0.75rem; color: var(--color-text-muted); }
.price-fare-type { font-size: 0.75rem; color: var(--color-text-muted); background: var(--color-bg-alt); padding: 2px 8px; border-radius: var(--radius-full); }

.flight-select-btn {
  background: var(--color-primary);
  color: white;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  white-space: nowrap;
}
.flight-select-btn:hover { background: var(--color-primary-dark); transform: translateY(-1px); }

.flight-card-extra {
  border-top: 1px solid var(--color-border-light);
  padding: var(--space-sm) var(--space-xl);
  display: flex;
  gap: var(--space-lg);
  background: var(--color-bg-alt);
}

.flight-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.flight-tag.good { color: #22c55e; }
.flight-tag.warn { color: #f59e0b; }

/* ============================================================
   BOOKING FORM
============================================================ */
.booking-container {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-2xl);
}

.booking-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-2xl);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  position: relative;
  z-index: 1;
}

.step.active .step-num  { border-color: var(--color-primary); background: var(--color-primary); color: white; }
.step.done .step-num    { border-color: #22c55e; background: #22c55e; color: white; }
.step-label { font-size: 0.75rem; color: var(--color-text-muted); font-weight: 600; white-space: nowrap; }
.step.active .step-label, .step.done .step-label { color: var(--color-primary); }

.step-line {
  height: 2px;
  width: 80px;
  background: var(--color-border);
  position: relative;
  top: -18px;
}
.step-line.done { background: #22c55e; }

/* Booking Summary Card */
.booking-summary {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

.booking-summary-header {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: white;
}

.booking-summary-header i { font-size: 1.5rem; }
.booking-summary-header h3 { color: white; font-size: 1rem; }
.booking-summary-header p { font-size: 0.8rem; opacity: 0.8; }

.booking-flight-detail {
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--color-border-light);
}

.booking-price-breakdown {
  padding: var(--space-lg) var(--space-xl);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xs) 0;
  font-size: 0.875rem;
}
.price-row.total {
  border-top: 2px solid var(--color-border);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-primary);
}

/* Passenger Form */
.passenger-form-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
  overflow: hidden;
}

.passenger-form-header {
  padding: var(--space-md) var(--space-xl);
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 0.95rem;
}

.passenger-form-body { padding: var(--space-xl); }

/* ============================================================
   MODAL
============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: var(--transition);
}

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

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

.modal-title { font-size: 1.2rem; }
.modal-close { width: 36px; height: 36px; border-radius: var(--radius-full); background: var(--color-bg-alt); color: var(--color-text-muted); display: flex; align-items: center; justify-content: center; transition: var(--transition-fast); }
.modal-close:hover { background: var(--color-accent); color: white; }
.modal-body { padding: var(--space-xl); }
.modal-footer { padding: var(--space-lg) var(--space-xl); border-top: 1px solid var(--color-border); display: flex; gap: var(--space-sm); justify-content: flex-end; }

/* ============================================================
   AUTH PAGES
============================================================ */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-height);
}

@media (max-width: 768px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-hero  { display: none; }
}

.auth-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a3a5c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.auth-hero-content { position: relative; z-index: 1; color: white; text-align: center; }
.auth-hero h2 { color: white; font-size: 2rem; margin-bottom: var(--space-md); }
.auth-hero p { color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1.7; }

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
  background: var(--color-bg);
}

.auth-form-container {
  width: 100%;
  max-width: 440px;
}

.auth-title { font-size: 1.8rem; margin-bottom: var(--space-xs); }
.auth-subtitle { color: var(--color-text-muted); margin-bottom: var(--space-xl); font-size: 0.95rem; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--color-border); }

.google-btn {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.google-btn:hover { border-color: #4285F4; background: #f8fbff; }
.google-btn img { width: 20px; }

.auth-footer-text { text-align: center; margin-top: var(--space-lg); font-size: 0.875rem; color: var(--color-text-muted); }
.auth-footer-text a { color: var(--color-primary); font-weight: 600; }

/* ============================================================
   UTILITIES
============================================================ */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--color-text-muted); }
.text-primary{ color: var(--color-primary); }
.text-danger { color: var(--color-accent); }
.text-success{ color: #22c55e; }
.text-gold   { color: var(--color-secondary); }

.d-flex       { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.gap-sm       { gap: var(--space-sm); }
.gap-md       { gap: var(--space-md); }
.gap-lg       { gap: var(--space-lg); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.w-100 { width: 100%; }
.fw-bold { font-weight: 700; }
.fw-600  { font-weight: 600; }
.small   { font-size: 0.8rem; }

.hidden { display: none !important; }
.visible { display: block !important; }

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

.rounded    { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.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); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .results-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; }
  .sidebar { width: 220px; }
  .flight-card-main { gap: var(--space-md); }
}

@media (max-width: 768px) {
  .section { padding: var(--space-2xl) 0; }
  .hero-stats { gap: var(--space-lg); }
  .stat-divider { display: none; }
  .search-row { flex-direction: column; }
  .search-field { min-width: unset; }
  .route-card { padding: var(--space-md); }
  .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .testimonial-card { min-width: 280px; }
  .dashboard-layout { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; }
  .dashboard-main { padding: var(--space-md); }
  .auth-page { grid-template-columns: 1fr; }
  .flight-card-main { flex-direction: column; }
  .flight-price { align-items: flex-start; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  .chatbot-window { width: calc(100vw - var(--space-xl) * 2); right: var(--space-md); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --nav-height: 64px; }
  .hero-title { font-size: 2rem; }
  .booking-steps { gap: 0; }
  .step-line { width: 40px; }
}

/* ============================================================
   PRINT
============================================================ */
@media print {
  .navbar, .footer, .chatbot-bubble, .chatbot-window, .toast-container { display: none !important; }
  body { padding-top: 0; }
  .hero { display: none; }
  .booking-summary { break-inside: avoid; }
}

/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg-alt); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeIn       { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn      { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes pulse        { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes shimmer      { 0% { background-position: -1000px 0; } 100% { background-position: 1000px 0; } }

.fade-in   { animation: fadeIn 0.4s ease; }
.scale-in  { animation: scaleIn 0.3s ease; }
.pulse     { animation: pulse 2s infinite; }

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--color-bg-alt) 25%, var(--color-border-light) 50%, var(--color-bg-alt) 75%);
  background-size: 1000px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ── MOBILE NAV (missing from original) ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-lg);
    gap: var(--space-xs);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links > li { width: 100%; }
  .nav-links > li > a { width: 100%; padding: var(--space-sm) var(--space-md); }

  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    margin-top: 4px;
    display: none;
  }
  .has-dropdown:hover .dropdown { display: block; }

  .nav-actions .btn-outline { display: none; }
  .user-name { display: none; }
}

/* ── LOGO TEXT fallback show ── */
.logo-text { display: flex !important; align-items: baseline; gap: 2px; }
img.logo-img + .logo-text { display: none !important; }
img.logo-img[style*="display:none"] + .logo-text,
img.logo-img[style*="display: none"] + .logo-text { display: flex !important; }
