/* ============================================================
   VoyageTravel Portal — Shared Design System
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --primary:       #1a56db;
  --primary-dark:  #1e429f;
  --primary-light: #e8f0fe;
  --secondary:     #0891b2;
  --accent:        #f59e0b;
  --accent-dark:   #d97706;
  --success:       #059669;
  --success-bg:    #d1fae5;
  --warning:       #d97706;
  --warning-bg:    #fef3c7;
  --danger:        #dc2626;
  --danger-bg:     #fee2e2;
  --info:          #0891b2;
  --info-bg:       #e0f2fe;

  /* Neutral */
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-300:  #d1d5db;
  --gray-400:  #9ca3af;
  --gray-500:  #6b7280;
  --gray-600:  #4b5563;
  --gray-700:  #374151;
  --gray-800:  #1f2937;
  --gray-900:  #111827;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Radii */
  --radius-sm:  4px;
  --radius:     8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 2px 0 rgba(0,0,0,.05);
  --shadow:      0 1px 3px 0 rgba(0,0,0,.10), 0 1px 2px -1px rgba(0,0,0,.06);
  --shadow-md:   0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -2px rgba(0,0,0,.06);
  --shadow-lg:   0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -4px rgba(0,0,0,.05);
  --shadow-xl:   0 20px 25px -5px rgba(0,0,0,.10), 0 8px 10px -6px rgba(0,0,0,.05);

  /* Transitions */
  --transition: 150ms ease;
  --transition-md: 250ms ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* ── Layout Utilities ─────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.flex       { display: flex; }
.flex-col   { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.grid  { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.w-full { width: 100%; }
.h-full { height: 100%; }
.flex-1 { flex: 1; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.hidden      { display: none; }
.relative    { position: relative; }
.overflow-hidden { overflow: hidden; }
.rounded     { border-radius: var(--radius); }
.rounded-lg  { border-radius: var(--radius-lg); }
.rounded-full{ border-radius: var(--radius-full); }

/* ── Typography ───────────────────────────────────────────── */
h1 { font-size: 2.25rem;  font-weight: 700; line-height: 1.2; }
h2 { font-size: 1.75rem;  font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.375rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
h5 { font-size: 1rem;     font-weight: 600; line-height: 1.4; }
.text-xs  { font-size: 0.75rem; }
.text-sm  { font-size: 0.875rem; }
.text-lg  { font-size: 1.125rem; }
.text-xl  { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.font-bold    { font-weight: 700; }
.text-gray-400  { color: var(--gray-400); }
.text-gray-500  { color: var(--gray-500); }
.text-gray-600  { color: var(--gray-600); }
.text-gray-700  { color: var(--gray-700); }
.text-primary   { color: var(--primary); }
.text-success   { color: var(--success); }
.text-danger    { color: var(--danger); }
.text-warning   { color: var(--warning); }
.text-white     { color: #fff; }

/* ── Spacing ──────────────────────────────────────────────── */
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
.p-2 { padding: 8px; } .p-3 { padding: 12px; } .p-4 { padding: 16px; }
.p-6 { padding: 24px; } .p-8 { padding: 32px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 24px; }

/* ── Navigation ───────────────────────────────────────────── */
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.navbar-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.navbar-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius);
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all var(--transition);
  text-decoration: none;
}
.navbar-nav a:hover { background: var(--gray-100); color: var(--primary); }
.navbar-nav a.active { background: var(--primary-light); color: var(--primary); }
.navbar-actions { display: flex; align-items: center; gap: 8px; }
.nav-badge {
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 5px 12px; font-size: 0.8125rem; }
.btn-lg { padding: 12px 28px; font-size: 1rem; }
.btn-xl { padding: 14px 32px; font-size: 1.0625rem; font-weight: 600; }
.btn-primary   { background: var(--primary);   color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-secondary { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.btn-accent    { background: var(--accent);    color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-success   { background: var(--success);   color: #fff; border-color: var(--success); }
.btn-danger    { background: var(--danger);    color: #fff; border-color: var(--danger); }
.btn-outline   { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost     { background: transparent; border-color: transparent; color: var(--gray-600); }
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-900); }
.btn-white     { background: #fff; border-color: var(--gray-200); color: var(--gray-700); }
.btn-white:hover { border-color: var(--gray-400); }
.btn-full      { width: 100%; }
.btn:disabled  { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── Form Controls ────────────────────────────────────────── */
.form-group    { display: flex; flex-direction: column; gap: 6px; }
.form-label    { font-size: 0.8125rem; font-weight: 500; color: var(--gray-700); }
.form-input, .form-select, .form-textarea {
  padding: 9px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: #fff;
  color: var(--gray-900);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}
.form-input-lg { padding: 12px 16px; font-size: 1rem; }
.form-input::placeholder { color: var(--gray-400); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 36px; }
.form-textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-title { font-size: 1rem; font-weight: 600; color: var(--gray-800); }
.card-body   { padding: 20px; }
.card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.card:hover { box-shadow: var(--shadow-md); }

/* ── Result Cards ─────────────────────────────────────────── */
.result-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-md);
  cursor: pointer;
}
.result-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(26,86,219,.12), var(--shadow-md);
  transform: translateY(-2px);
}

/* ── Badges / Pills ───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge-primary { background: var(--primary-light); color: var(--primary-dark); }
.badge-success { background: var(--success-bg);    color: var(--success); }
.badge-warning { background: var(--warning-bg);    color: var(--warning); }
.badge-danger  { background: var(--danger-bg);     color: var(--danger); }
.badge-info    { background: var(--info-bg);        color: var(--info); }
.badge-gray    { background: var(--gray-100);       color: var(--gray-600); }

/* ── Search Box ───────────────────────────────────────────── */
.search-box {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xl);
}
.search-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 0;
}
.search-tab {
  padding: 8px 18px 10px;
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--gray-500);
  position: relative;
  bottom: -2px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.search-tab:hover  { color: var(--primary); }
.search-tab.active { color: var(--primary); border-bottom-color: var(--primary); background: var(--primary-light); font-weight: 600; }

/* ── Tables ───────────────────────────────────────────────── */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 10px 16px;
  background: var(--gray-50);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}
tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.875rem;
  color: var(--gray-700);
}
tbody tr:hover { background: var(--gray-50); }
tbody tr:last-child td { border-bottom: none; }

/* ── Sidebar Layout ───────────────────────────────────────── */
.app-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 240px;
  min-width: 240px;
  background: var(--gray-900);
  color: var(--gray-300);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-brand {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sidebar-brand h2 { color: #fff; font-size: 1.1rem; }
.sidebar-brand p  { font-size: 0.75rem; color: var(--gray-500); margin-top: 2px; }
.sidebar-nav { padding: 12px 0; flex: 1; }
.sidebar-section-title {
  padding: 12px 20px 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  color: var(--gray-400);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
  border-left: 3px solid transparent;
}
.sidebar-nav a:hover  { background: rgba(255,255,255,.06); color: #fff; }
.sidebar-nav a.active { background: rgba(26,86,219,.25); color: #fff; border-left-color: var(--primary); }
.sidebar-nav a i { width: 18px; text-align: center; }
.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.main-content { flex: 1; overflow-x: hidden; }

/* ── Page Header ──────────────────────────────────────────── */
.page-header {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-title   { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); }
.page-subtitle{ font-size: 0.8125rem; color: var(--gray-500); margin-top: 2px; }
.page-body    { padding: 24px 28px; }

/* ── Stat Cards ───────────────────────────────────────────── */
.stats-grid   { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card    { background: #fff; border-radius: var(--radius-md); padding: 20px; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); }
.stat-label   { font-size: 0.8125rem; color: var(--gray-500); font-weight: 500; }
.stat-value   { font-size: 1.75rem; font-weight: 700; color: var(--gray-900); margin: 6px 0 4px; }
.stat-change  { font-size: 0.75rem; font-weight: 600; }
.stat-change.up   { color: var(--success); }
.stat-change.down { color: var(--danger); }
.stat-icon    { width: 44px; height: 44px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.stat-icon.blue   { background: var(--primary-light); color: var(--primary); }
.stat-icon.green  { background: var(--success-bg);    color: var(--success); }
.stat-icon.amber  { background: var(--warning-bg);    color: var(--warning); }
.stat-icon.cyan   { background: var(--info-bg);        color: var(--info); }

/* ── Alert / Toast ────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.alert-success { background: var(--success-bg); color: #065f46; border: 1px solid #6ee7b7; }
.alert-warning { background: var(--warning-bg); color: #92400e; border: 1px solid #fcd34d; }
.alert-danger  { background: var(--danger-bg);  color: #991b1b; border: 1px solid #fca5a5; }
.alert-info    { background: var(--info-bg);    color: #0c4a6e; border: 1px solid #7dd3fc; }
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 280px;
}
.toast {
  background: var(--gray-900);
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  animation: slideIn .25s ease;
}
.toast.success { border-left: 4px solid var(--success); }
.toast.error   { border-left: 4px solid var(--danger); }
.toast.info    { border-left: 4px solid var(--primary); }
@keyframes slideIn { from { transform: translateX(120%); opacity:0; } to { transform: translateX(0); opacity:1; } }

/* ── Modal ────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(2px);
}
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}
.modal-title   { font-size: 1.125rem; font-weight: 600; }
.modal-close   { width: 32px; height: 32px; border: none; background: var(--gray-100); border-radius: var(--radius); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--gray-600); transition: background var(--transition); }
.modal-close:hover { background: var(--gray-200); }
.modal-body    { padding: 24px; }
.modal-footer  { padding: 16px 24px; border-top: 1px solid var(--gray-200); display: flex; gap: 10px; justify-content: flex-end; }

/* ── Tabs ─────────────────────────────────────────────────── */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--gray-200); margin-bottom: 20px; }
.tab-btn {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--gray-500);
  position: relative;
  bottom: -2px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  border-radius: var(--radius) var(--radius) 0 0;
}
.tab-btn:hover  { color: var(--primary); background: var(--gray-50); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.tab-content    { display: none; }
.tab-content.active { display: block; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--gray-500); padding: 8px 0; }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .separator { color: var(--gray-300); }
.breadcrumb .current { color: var(--gray-800); font-weight: 500; }

/* ── Search Filter Sidebar ─────────────────────────────────── */
.filter-panel {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
}
.filter-section { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-100); }
.filter-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.filter-title { font-size: 0.875rem; font-weight: 600; color: var(--gray-800); margin-bottom: 12px; }

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1a56db 0%, #0891b2 50%, #1a56db 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; text-align: center; }
.hero h1    { color: #fff; font-size: 2.75rem; text-shadow: 0 2px 10px rgba(0,0,0,.15); }
.hero p     { color: rgba(255,255,255,.85); font-size: 1.125rem; margin: 12px 0 32px; }

/* ── Misc ─────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--gray-200); margin: 20px 0; }
.loading-spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid var(--gray-200); border-top-color: var(--primary); border-radius: 50%; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.empty-state { text-align: center; padding: 48px 24px; color: var(--gray-400); }
.empty-state .icon { font-size: 48px; margin-bottom: 12px; opacity: .4; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; background: var(--gray-100); color: var(--gray-600); border-radius: var(--radius-sm); font-size: 0.75rem; }

/* ── Progress Steps ───────────────────────────────────────── */
.steps { display: flex; align-items: center; margin-bottom: 32px; }
.step { display: flex; align-items: center; gap: 8px; }
.step-circle { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; font-weight: 700; border: 2px solid var(--gray-300); color: var(--gray-400); background: #fff; flex-shrink: 0; }
.step.done   .step-circle { background: var(--success); border-color: var(--success); color: #fff; }
.step.active .step-circle { background: var(--primary); border-color: var(--primary); color: #fff; }
.step-label  { font-size: 0.8125rem; font-weight: 500; color: var(--gray-500); }
.step.active .step-label { color: var(--primary); font-weight: 600; }
.step.done   .step-label { color: var(--success); }
.step-line   { flex: 1; height: 2px; background: var(--gray-200); margin: 0 8px; }
.step-line.done { background: var(--success); }

/* ── Section Headers ──────────────────────────────────────── */
.section { padding: 48px 0; }
.section-header { text-align: center; margin-bottom: 36px; }
.section-header h2 { font-size: 1.875rem; font-weight: 700; color: var(--gray-900); }
.section-header p  { color: var(--gray-500); margin-top: 8px; font-size: 1rem; }

/* ── Flight Specific ──────────────────────────────────────── */
.flight-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 20px; transition: all var(--transition-md); cursor: pointer; }
.flight-card:hover { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(26,86,219,.1); }
.flight-route { display: flex; align-items: center; gap: 12px; flex: 1; }
.flight-time  { font-size: 1.375rem; font-weight: 700; color: var(--gray-900); }
.flight-code  { font-size: 0.75rem; color: var(--gray-500); }
.flight-line  { flex: 1; height: 1px; background: var(--gray-300); position: relative; }
.flight-line::before, .flight-line::after { content: ''; position: absolute; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--gray-400); }
.flight-line::before { left: 0; }
.flight-line::after  { right: 0; }
.flight-duration { font-size: 0.75rem; color: var(--gray-500); text-align: center; margin-top: -16px; }
.flight-price    { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.airline-logo    { width: 36px; height: 36px; border-radius: var(--radius-sm); object-fit: contain; }

/* ── Hotel Specific ───────────────────────────────────────── */
.hotel-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition-md); cursor: pointer; }
.hotel-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.hotel-image { height: 200px; object-fit: cover; width: 100%; }
.hotel-info  { padding: 16px; }
.hotel-stars { color: var(--accent); font-size: 12px; }
.hotel-price { font-size: 1.375rem; font-weight: 700; color: var(--primary); }

/* ── B2B Channel Banner ───────────────────────────────────── */
.channel-bar {
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.channel-bar.b2c { background: var(--primary);   color: #fff; }
.channel-bar.b2b { background: var(--gray-900);  color: var(--accent); }

/* ── CRM Pipeline ─────────────────────────────────────────── */
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pipeline-col { background: var(--gray-50); border-radius: var(--radius); padding: 12px; min-height: 200px; }
.pipeline-col-header { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; padding: 4px 8px; border-radius: var(--radius-sm); }
.pipeline-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 10px; margin-bottom: 8px; font-size: 0.8125rem; cursor: pointer; transition: box-shadow var(--transition); }
.pipeline-card:hover { box-shadow: var(--shadow-md); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { width: 200px; min-width: 200px; }
}
@media (max-width: 768px) {
  .sidebar { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 1.875rem; }
  .pipeline { grid-template-columns: 1fr; }
  .navbar-nav { display: none; }
}
