/* ===========================
   DESIGN TOKENS
   =========================== */
:root {
  /* Colors — Primary */
  --blue-50: #eff6ff; --blue-100: #dbeafe; --blue-200: #bfdbfe;
  --blue-400: #60a5fa; --blue-500: #3b82f6; --blue-600: #2563eb;
  --blue-700: #1d4ed8; --blue-800: #1e40af; --blue-900: #1e3a8a;

  /* Colors — Neutral */
  --zinc-50: #fafafa; --zinc-100: #f4f4f5; --zinc-200: #e4e4e7;
  --zinc-300: #d4d4d8; --zinc-400: #a1a1aa; --zinc-500: #71717a;
  --zinc-600: #52525b; --zinc-700: #3f3f46; --zinc-800: #27272a;
  --zinc-900: #18181b; --zinc-950: #09090b;

  /* Colors — Semantic */
  --green-50: #dcfce7; --green-500: #22c55e; --green-600: #16a34a; --green-700: #15803d;
  --red-50: #fee2e2; --red-400: #f87171; --red-500: #ef4444; --red-600: #dc2626;
  --amber-50: #fef3c7; --amber-500: #f59e0b; --amber-600: #d97706; --amber-700: #b45309;
  --amber-800: #92400e;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --text-xs: 11px; --text-sm: 12px; --text-base: 13px; --text-md: 14px;
  --text-lg: 15px; --text-xl: 18px; --text-2xl: 24px; --text-3xl: 32px;

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px;
  --sp-6: 24px; --sp-7: 28px; --sp-8: 32px; --sp-10: 40px;

  /* Radii */
  --radius-sm: 4px; --radius-md: 6px; --radius-lg: 8px;
  --radius-xl: 10px; --radius-2xl: 12px; --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);

  /* Layout */
  --sidebar-width: 248px;
  --header-height: 64px;
  --shell-width: 1440px;
}

/* ===========================
   BASE STYLES
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-family);
  background: var(--zinc-100);
  color: var(--zinc-900);
  font-size: var(--text-md);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--zinc-500); text-decoration: none; }
a:hover { color: var(--zinc-900); }

/* ===========================
   LAYOUT — SHELL
   =========================== */
.shell {
  width: var(--shell-width);
  margin: 0 auto;
  background: var(--zinc-50);
  min-height: 100vh;
  display: flex;
}

/* ===========================
   SIDEBAR
   =========================== */
.sidebar {
  width: var(--sidebar-width);
  background: #fff;
  border-right: 1px solid var(--zinc-200);
  position: sticky; top: 0; height: 100vh;
  padding: var(--sp-5) var(--sp-4);
  display: flex; flex-direction: column; gap: var(--sp-1);
  flex-shrink: 0;
}
.brand { display: flex; align-items: center; gap: 10px; padding: var(--sp-2) var(--sp-3) var(--sp-5); border-bottom: 1px solid var(--zinc-100); margin-bottom: var(--sp-3); }
.brand-logo { width: 32px; height: 32px; border-radius: var(--radius-lg); background: var(--blue-600); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: var(--text-md); }
.brand-name { font-weight: 600; font-size: var(--text-lg); }
.brand-name span { color: var(--zinc-500); font-weight: 400; font-size: var(--text-sm); display: block; }

.nav-label { font-size: var(--text-xs); text-transform: uppercase; color: var(--zinc-400); letter-spacing: 0.06em; padding: var(--sp-3) var(--sp-3) var(--sp-2); font-weight: 500; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: var(--sp-2) var(--sp-3); border-radius: var(--radius-lg);
  color: var(--zinc-700); font-weight: 500; cursor: pointer; font-size: var(--text-md);
  transition: background 0.15s, color 0.15s;
}
.nav-item:hover { background: var(--zinc-100); }
.nav-item.active { background: var(--blue-50); color: var(--blue-600); }
.nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav-item .badge { margin-left: auto; background: var(--blue-600); color: #fff; font-size: var(--text-xs); padding: 1px 6px; border-radius: var(--radius-full); }

.sidebar-footer {
  margin-top: auto; padding: var(--sp-3); border-top: 1px solid var(--zinc-100);
  display: flex; align-items: center; gap: 10px;
}
.sidebar-logout {
  margin-left: auto; background: none; border: none; cursor: pointer;
  color: var(--zinc-400); padding: 4px; border-radius: var(--radius-md);
  display: grid; place-items: center;
  transition: color 0.15s;
}
.sidebar-logout:hover { color: var(--red-500); }

.avatar {
  width: 32px; height: 32px; border-radius: var(--radius-full);
  background: linear-gradient(135deg, #6366f1, #2563eb);
  color: #fff; display: grid; place-items: center; font-weight: 600; font-size: var(--text-base);
  flex-shrink: 0;
}
.user-info .name { font-weight: 600; font-size: var(--text-base); }
.user-info .email { color: var(--zinc-500); font-size: var(--text-sm); }

/* ===========================
   HEADER
   =========================== */
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.header {
  height: var(--header-height); background: #fff; border-bottom: 1px solid var(--zinc-200);
  display: flex; align-items: center; padding: 0 var(--sp-8); gap: var(--sp-4);
  position: sticky; top: 0; z-index: 10;
}
.search { flex: 1; max-width: 480px; position: relative; }
.search input {
  width: 100%; height: 36px; border: 1px solid var(--zinc-200); border-radius: var(--radius-lg);
  padding: 0 12px 0 36px; font-family: inherit; font-size: var(--text-base); background: var(--zinc-50);
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.search input:focus { border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.search > svg { position: absolute; left: 12px; top: 10px; width: 16px; height: 16px; color: var(--zinc-400); }
.kbd { position: absolute; right: 10px; top: 8px; font-size: var(--text-xs); color: var(--zinc-400); border: 1px solid var(--zinc-200); padding: 1px 6px; border-radius: var(--radius-sm); background: #fff; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--sp-2); }
.icon-btn {
  width: 36px; height: 36px; border-radius: var(--radius-lg); border: 1px solid var(--zinc-200);
  background: #fff; display: grid; place-items: center; cursor: pointer; position: relative;
  transition: background 0.15s;
}
.icon-btn:hover { background: var(--zinc-100); }
.icon-btn svg { width: 16px; height: 16px; color: var(--zinc-600); }
.notif-dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; background: var(--red-500); border-radius: var(--radius-full); border: 2px solid #fff; }

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  height: 36px; padding: 0 14px; background: var(--blue-600); color: #fff;
  border: none; border-radius: var(--radius-lg); font-weight: 500; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-base);
  font-family: inherit; transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--blue-700); }
.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
  padding: 6px 10px; font-size: var(--text-sm); background: #fff; border: 1px solid var(--zinc-200);
  border-radius: var(--radius-md); cursor: pointer; color: var(--zinc-800); font-weight: 500;
  font-family: inherit; display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.15s, transform 0.1s;
}
.btn-ghost:hover { background: var(--zinc-100); }
.btn-ghost:active { transform: scale(0.97); }

/* ===========================
   CONTENT AREA
   =========================== */
.content { padding: var(--sp-7) var(--sp-8) var(--sp-10); display: flex; flex-direction: column; gap: var(--sp-6); }

.breadcrumbs { font-size: var(--text-base); color: var(--zinc-500); display: flex; align-items: center; gap: 6px; }
.breadcrumbs a { color: var(--zinc-500); }
.breadcrumbs a:hover { color: var(--blue-600); }
.breadcrumbs .current { color: var(--zinc-900); font-weight: 500; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; }
.page-head h1 { font-size: var(--text-2xl); font-weight: 600; color: var(--zinc-950); letter-spacing: -0.02em; }
.page-head p { color: var(--zinc-500); margin-top: var(--sp-1); font-size: var(--text-md); }

/* ===========================
   CARDS
   =========================== */
.card {
  background: #fff; border: 1px solid var(--zinc-200); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm); transition: box-shadow 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card-header {
  padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--zinc-100);
  display: flex; align-items: center; justify-content: space-between;
}
.card-header h3 { font-size: var(--text-lg); font-weight: 600; color: var(--zinc-900); }
.card-header .link { font-size: var(--text-base); color: var(--blue-600); font-weight: 500; }
.card-header .link:hover { text-decoration: underline; }
.card-body { padding: var(--sp-4) var(--sp-5); }

/* ===========================
   HERO SEARCH
   =========================== */
.hero-card {
  background: #fff; border: 1px solid var(--zinc-200); border-radius: var(--radius-2xl);
  padding: var(--sp-5); box-shadow: var(--shadow-sm);
}
.tabs { display: flex; gap: var(--sp-1); border-bottom: 1px solid var(--zinc-200); margin-bottom: var(--sp-4); }
.tab {
  padding: var(--sp-2) var(--sp-3); font-size: var(--text-base); color: var(--zinc-500);
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 500;
  display: flex; align-items: center; gap: 6px; transition: color 0.15s, border-color 0.15s;
}
.tab:hover { color: var(--zinc-700); }
.tab.active { color: var(--blue-600); border-bottom-color: var(--blue-600); }
.tab svg { width: 14px; height: 14px; }

.search-row { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr 1fr 0.9fr auto; gap: 10px; align-items: end; }
.compact-search .search-row { grid-template-columns: 1.5fr 1.5fr 1fr auto; }
.field label { font-size: var(--text-xs); text-transform: uppercase; color: var(--zinc-500); letter-spacing: 0.05em; font-weight: 500; }
.field .input {
  height: 40px; border: 1px solid var(--zinc-200); border-radius: var(--radius-lg);
  padding: 0 12px; display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--text-base); color: var(--zinc-800); background: #fff; margin-top: var(--sp-1);
}

/* ===========================
   STAT CARDS
   =========================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.stat-card { background: #fff; border: 1px solid var(--zinc-200); border-radius: var(--radius-2xl); padding: 18px; transition: box-shadow 0.2s; }
.stat-card:hover { box-shadow: var(--shadow-md); }
.stat-card .label { color: var(--zinc-500); font-size: var(--text-base); display: flex; align-items: center; gap: 6px; }
.stat-card .value { font-size: var(--text-2xl); font-weight: 600; margin-top: 6px; color: var(--zinc-950); letter-spacing: -0.02em; }
.stat-card .delta { font-size: var(--text-sm); margin-top: 6px; }
.stat-card .delta.up { color: var(--green-600); }
.stat-card .delta.neutral { color: var(--zinc-500); }
.stat-card .progress { height: 6px; background: var(--zinc-100); border-radius: var(--radius-full); margin-top: 10px; overflow: hidden; }
.stat-card .progress > div { height: 100%; background: var(--blue-600); border-radius: var(--radius-full); transition: width 0.8s ease; }

/* ===========================
   GRID LAYOUT
   =========================== */
.grid { display: grid; grid-template-columns: 1fr 360px; gap: var(--sp-5); align-items: start; }

/* ===========================
   BOOKING ITEMS
   =========================== */
.booking {
  display: grid; grid-template-columns: 88px 1fr auto; gap: var(--sp-4); padding: 14px 0;
  border-bottom: 1px solid var(--zinc-100);
}
.booking:last-child { border-bottom: none; }
.thumb {
  width: 88px; height: 72px; border-radius: var(--radius-lg);
  background-size: cover; background-position: center;
}
.thumb.hotel { background-image: linear-gradient(135deg,#c7d2fe,#818cf8); }
.thumb.flight { background-image: linear-gradient(135deg,#bae6fd,#38bdf8); }
.thumb.exp { background-image: linear-gradient(135deg,#fde68a,#fb923c); }

.booking .info .title { font-weight: 600; color: var(--zinc-900); font-size: var(--text-md); }
.booking .info .meta { color: var(--zinc-500); font-size: var(--text-sm); margin-top: var(--sp-1); display: flex; gap: 10px; flex-wrap: wrap; }
.booking .info .meta span { display: inline-flex; align-items: center; gap: 4px; }
.booking .info .tags { display: flex; gap: 6px; margin-top: var(--sp-2); flex-wrap: wrap; }

.tag {
  font-size: var(--text-xs); padding: 2px 8px; border-radius: var(--radius-full);
  background: var(--zinc-100); color: var(--zinc-600); font-weight: 500;
}
.tag.confirmed { background: var(--green-50); color: var(--green-700); }
.tag.pending { background: var(--amber-50); color: var(--amber-700); }
.tag.cancelled { background: var(--red-50); color: var(--red-600); }
.tag.blue { background: var(--blue-100); color: var(--blue-700); }

.booking .actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

/* ===========================
   LOYALTY CARD
   =========================== */
.loyalty-card {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  color: #fff; border-radius: var(--radius-2xl); padding: var(--sp-5); position: relative; overflow: hidden;
}
.loyalty-card::after {
  content: ''; position: absolute; right: -40px; bottom: -40px;
  width: 180px; height: 180px; background: rgba(255,255,255,0.06); border-radius: var(--radius-full);
}
.loyalty-card .tier { font-size: var(--text-sm); opacity: 0.85; letter-spacing: 0.08em; text-transform: uppercase; }
.loyalty-card .points { font-size: var(--text-3xl); font-weight: 700; margin-top: 6px; letter-spacing: -0.02em; }
.loyalty-card .sub { font-size: var(--text-sm); opacity: 0.85; margin-top: 2px; }
.loyalty-progress { margin-top: var(--sp-4); }
.loyalty-progress .track { height: 6px; background: rgba(255,255,255,0.2); border-radius: var(--radius-full); overflow: hidden; }
.loyalty-progress .track > div { height: 100%; background: #fff; border-radius: var(--radius-full); transition: width 1s ease; }
.loyalty-progress .caption { font-size: var(--text-sm); opacity: 0.85; margin-top: var(--sp-2); display: flex; justify-content: space-between; }
.loyalty-actions { margin-top: var(--sp-4); display: flex; gap: var(--sp-2); position: relative; z-index: 1; }
.loyalty-actions button {
  flex: 1; height: 34px; border-radius: var(--radius-lg); border: none; font-weight: 500;
  font-size: var(--text-sm); cursor: pointer; font-family: inherit; transition: opacity 0.15s;
}
.loyalty-actions button:hover { opacity: 0.9; }
.loyalty-actions .primary { background: #fff; color: var(--blue-800); }
.loyalty-actions .secondary { background: rgba(255,255,255,0.15); color: #fff; }

/* ===========================
   OFFERS
   =========================== */
.offer { display: flex; gap: var(--sp-3); padding: 14px 0; border-bottom: 1px solid var(--zinc-100); align-items: flex-start; cursor: pointer; transition: background 0.15s; border-radius: var(--radius-lg); }
.offer:hover { background: var(--zinc-50); }
.offer:last-child { border-bottom: none; }
.offer-icon {
  width: 40px; height: 40px; border-radius: var(--radius-lg); background: var(--blue-50);
  display: grid; place-items: center; flex-shrink: 0;
}
.offer-icon svg { width: 18px; height: 18px; color: var(--blue-600); }
.offer .title { font-size: var(--text-base); font-weight: 600; color: var(--zinc-900); }
.offer .desc { font-size: var(--text-sm); color: var(--zinc-500); margin-top: 3px; }
.offer .code {
  font-size: var(--text-xs); font-weight: 600; color: var(--blue-600); margin-top: 6px;
  letter-spacing: 0.02em; border: 1px dashed var(--blue-200); padding: 2px 8px;
  border-radius: var(--radius-sm); display: inline-block; background: var(--blue-50);
}

/* ===========================
   ACTIVITY TABLE
   =========================== */
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: var(--text-xs); text-transform: uppercase; color: var(--zinc-500); font-weight: 500; padding: 10px var(--sp-5); border-bottom: 1px solid var(--zinc-100); letter-spacing: 0.05em; }
td { padding: 12px var(--sp-5); font-size: var(--text-base); color: var(--zinc-800); border-bottom: 1px solid var(--zinc-100); }
tr:last-child td { border-bottom: none; }
td.mono { font-family: 'SF Mono','Menlo',monospace; font-size: var(--text-sm); color: var(--zinc-600); }
td.right { text-align: right; font-weight: 500; }
.pt-pos { color: var(--green-600); }
.pt-neg { color: var(--red-600); }

/* ===========================
   RECOMMENDATIONS
   =========================== */
.rec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rec-card {
  border: 1px solid var(--zinc-200); border-radius: var(--radius-xl); overflow: hidden;
  cursor: pointer; background: #fff; transition: box-shadow 0.2s, transform 0.2s;
}
.rec-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rec-thumb { height: 110px; position: relative; }
.rec-thumb .badge {
  position: absolute; top: 8px; left: 8px; font-size: 10px; font-weight: 600;
  background: rgba(255,255,255,0.95); color: var(--zinc-900); padding: 3px 8px; border-radius: var(--radius-full);
}
.rec-body { padding: var(--sp-3); }
.rec-body .place { font-size: var(--text-base); font-weight: 600; color: var(--zinc-900); }
.rec-body .price { font-size: var(--text-sm); color: var(--zinc-500); margin-top: 3px; }
.rec-body .price b { color: var(--zinc-900); font-weight: 600; }
.rec-body .earn { font-size: var(--text-xs); color: var(--blue-600); margin-top: 6px; font-weight: 500; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  border-top: 1px solid var(--zinc-200); padding: var(--sp-5) var(--sp-8);
  font-size: var(--text-sm); color: var(--zinc-500); display: flex;
  justify-content: space-between; background: #fff;
}
.footer a { color: var(--zinc-500); margin-right: var(--sp-4); }

/* ===========================
   LOGIN PAGE
   =========================== */
.login-page {
  width: var(--shell-width); margin: 0 auto; min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-50), #fff, var(--zinc-50));
  display: flex; align-items: center; justify-content: center;
}
.login-container { width: 480px; text-align: center; }
.login-brand { margin-bottom: var(--sp-8); }
.login-brand h1 { font-size: var(--text-2xl); font-weight: 700; margin-top: var(--sp-3); color: var(--zinc-950); }
.login-brand p { color: var(--zinc-500); font-size: var(--text-md); }
.login-card {
  background: #fff; border: 1px solid var(--zinc-200); border-radius: var(--radius-2xl);
  padding: var(--sp-8); box-shadow: var(--shadow-md); text-align: left;
}
.login-card h2 { font-size: var(--text-xl); font-weight: 600; color: var(--zinc-950); }
.login-subtitle { color: var(--zinc-500); font-size: var(--text-md); margin-top: var(--sp-1); margin-bottom: var(--sp-5); }
.login-users { display: flex; flex-direction: column; gap: var(--sp-3); }
.login-user-card {
  display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4);
  border: 2px solid var(--zinc-200); border-radius: var(--radius-2xl); cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.login-user-card:hover { border-color: var(--blue-400); }
.login-user-card.selected { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.login-user-info .name { font-weight: 600; font-size: var(--text-md); }
.login-user-info .email { color: var(--zinc-500); font-size: var(--text-sm); }
.login-check {
  margin-left: auto; width: 24px; height: 24px; border-radius: var(--radius-full);
  background: var(--blue-600); color: #fff; display: grid; place-items: center;
  font-size: var(--text-sm); font-weight: 700;
}
.login-form { margin-top: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-3); }
.login-field label { font-size: var(--text-sm); color: var(--zinc-600); font-weight: 500; display: block; margin-bottom: var(--sp-1); }
.login-field input {
  width: 100%; height: 40px; border: 1px solid var(--zinc-200); border-radius: var(--radius-lg);
  padding: 0 var(--sp-3); font-family: inherit; font-size: var(--text-base); background: var(--zinc-50);
  outline: none;
}
.login-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.login-footer { margin-top: var(--sp-6); font-size: var(--text-sm); color: var(--zinc-400); }

/* ===========================
   SEARCH SCREEN
   =========================== */
.search-controls { display: flex; flex-direction: column; gap: var(--sp-3); }
.search-tabs { display: flex; gap: var(--sp-2); }
.search-tab {
  padding: var(--sp-2) var(--sp-4); border-radius: var(--radius-lg); border: 1px solid var(--zinc-200);
  background: #fff; font-size: var(--text-base); font-weight: 500; color: var(--zinc-600);
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; transition: all 0.15s;
}
.search-tab:hover { background: var(--zinc-100); }
.search-tab.active { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

.search-filters { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.filter-btn {
  padding: 6px 12px; border-radius: var(--radius-lg); border: 1px solid var(--zinc-200);
  background: #fff; font-size: var(--text-sm); color: var(--zinc-600); cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px; font-family: inherit;
  transition: all 0.15s;
}
.filter-btn:hover { background: var(--zinc-100); }
.filter-btn strong { color: var(--zinc-900); }
.toggle-filter.active { background: var(--blue-50); border-color: var(--blue-600); color: var(--blue-600); }

.results-header { font-size: var(--text-md); color: var(--zinc-500); }
.results-count { font-weight: 500; color: var(--zinc-900); }

.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.results-list { display: flex; flex-direction: column; gap: var(--sp-3); }

/* Search result cards */
.search-result-card {
  background: #fff; border: 1px solid var(--zinc-200); border-radius: var(--radius-2xl);
  overflow: hidden; transition: box-shadow 0.2s, transform 0.2s;
}
.search-result-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sr-thumb-grid { height: 160px; position: relative; }
.sr-save-badge {
  position: absolute; top: 8px; right: 8px; background: var(--red-500); color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-full);
}
.sr-badge {
  position: absolute; top: 8px; left: 8px; background: rgba(255,255,255,0.95); color: var(--zinc-900);
  font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: var(--radius-full);
}
.sr-body { padding: var(--sp-4); }
.sr-title { font-weight: 600; font-size: var(--text-md); color: var(--zinc-900); }
.sr-location { font-size: var(--text-sm); color: var(--zinc-500); margin-top: var(--sp-1); display: flex; align-items: center; gap: 4px; }
.sr-rating { font-size: var(--text-sm); color: var(--zinc-600); margin-top: var(--sp-1); display: flex; align-items: center; gap: 4px; }
.sr-rating span { color: var(--zinc-400); }
.sr-rating svg { color: var(--amber-500); }
.sr-tags { display: flex; gap: var(--sp-1); margin-top: var(--sp-2); flex-wrap: wrap; }
.sr-footer { display: flex; justify-content: space-between; align-items: center; margin-top: var(--sp-3); }
.sr-price { font-size: var(--text-lg); font-weight: 700; color: var(--zinc-950); }
.sr-original { font-size: var(--text-sm); color: var(--zinc-400); text-decoration: line-through; margin-right: var(--sp-1); }
.sr-pernight { font-size: var(--text-sm); color: var(--zinc-500); }
.sr-earn { font-size: var(--text-xs); color: var(--blue-600); font-weight: 500; display: flex; align-items: center; gap: 4px; }

/* Flight list cards */
.search-result-list {
  background: #fff; border: 1px solid var(--zinc-200); border-radius: var(--radius-2xl);
  padding: var(--sp-4); display: grid; grid-template-columns: 80px 1fr auto; gap: var(--sp-4);
  align-items: center; transition: box-shadow 0.2s;
}
.search-result-list:hover { box-shadow: var(--shadow-md); }
.sr-thumb { width: 80px; height: 64px; border-radius: var(--radius-lg); position: relative; }
.sr-info .sr-tags { margin-top: var(--sp-2); }
.sr-price-col { text-align: right; }
.sr-price-col .sr-original { display: block; }

.result-item { animation: fadeInUp 0.3s ease both; }

/* ===========================
   BOOKINGS SCREEN
   =========================== */
.booking-tabs { display: flex; gap: var(--sp-2); }
.booking-filters { display: flex; gap: var(--sp-2); }
.bookings-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.booking-list-item { cursor: pointer; transition: box-shadow 0.2s; }
.booking-list-item:hover { box-shadow: var(--shadow-md); }

/* Booking detail panel */
.booking-detail-panel {
  padding: var(--sp-5); border-top: 1px solid var(--zinc-100); background: var(--zinc-50);
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl); animation: fadeInUp 0.2s ease;
}
.bd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.bd-section h4 { font-size: var(--text-md); font-weight: 600; color: var(--zinc-900); margin-bottom: var(--sp-3); }
.bd-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: var(--text-base); border-bottom: 1px solid var(--zinc-100); }
.bd-row:last-child { border-bottom: none; }
.bd-label { color: var(--zinc-500); }
.bd-actions { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--zinc-200); }

/* ===========================
   CHECKOUT SCREEN
   =========================== */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: var(--sp-6); align-items: start; }
.checkout-sidebar { position: sticky; top: 80px; }
.checkout-step h3 { font-size: var(--text-xl); font-weight: 600; margin-bottom: var(--sp-1); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-field label { display: block; font-size: var(--text-sm); color: var(--zinc-600); font-weight: 500; margin-bottom: var(--sp-1); }
.form-field input, .form-field select {
  width: 100%; height: 40px; border: 1px solid var(--zinc-200); border-radius: var(--radius-lg);
  padding: 0 var(--sp-3); font-family: inherit; font-size: var(--text-base); background: #fff;
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus, .form-field select:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }

.addons-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.addon-item {
  display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--zinc-200); border-radius: var(--radius-lg); cursor: pointer;
  transition: border-color 0.15s;
}
.addon-item:hover { border-color: var(--blue-400); }
.addon-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--blue-600); }
.addon-label { flex: 1; font-size: var(--text-md); }
.addon-price { font-weight: 600; color: var(--zinc-900); font-size: var(--text-base); }

/* Step indicator */
.step-indicator { display: flex; align-items: center; gap: 0; margin-bottom: var(--sp-6); }
.step { display: flex; align-items: center; gap: var(--sp-2); cursor: default; }
.step-circle {
  width: 32px; height: 32px; border-radius: var(--radius-full); border: 2px solid var(--zinc-200);
  display: grid; place-items: center; font-size: var(--text-sm); font-weight: 600; color: var(--zinc-400);
  transition: all 0.2s;
}
.step.active .step-circle { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.step.completed .step-circle { background: var(--green-50); color: var(--green-600); border-color: var(--green-600); cursor: pointer; }
.step-label { font-size: var(--text-base); color: var(--zinc-400); font-weight: 500; white-space: nowrap; }
.step.active .step-label { color: var(--zinc-900); }
.step.completed .step-label { color: var(--green-600); cursor: pointer; }
.step-line { flex: 1; height: 2px; background: var(--zinc-200); margin: 0 var(--sp-2); min-width: 24px; }

/* Price summary */
.price-summary { display: flex; flex-direction: column; gap: var(--sp-2); }
.ps-row { display: flex; justify-content: space-between; font-size: var(--text-base); color: var(--zinc-600); }
.ps-highlight { color: var(--green-600); }
.ps-total {
  display: flex; justify-content: space-between; font-size: var(--text-lg); font-weight: 700;
  color: var(--zinc-950); border-top: 2px solid var(--zinc-200); padding-top: var(--sp-3); margin-top: var(--sp-2);
}

/* Payment methods */
.payment-methods { display: flex; flex-direction: column; gap: var(--sp-2); }
.payment-option {
  display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--zinc-200); border-radius: var(--radius-lg); cursor: pointer;
  font-size: var(--text-md); transition: border-color 0.15s;
}
.payment-option:hover { border-color: var(--blue-400); }
.payment-option.selected { border-color: var(--blue-600); background: var(--blue-50); }
.payment-option input { accent-color: var(--blue-600); }

.review-section { display: flex; flex-direction: column; gap: var(--sp-5); }
.review-block h4 { font-size: var(--text-md); font-weight: 600; margin-bottom: var(--sp-2); }

/* ===========================
   LOYALTY SCREEN
   =========================== */
.loyalty-tabs { display: flex; gap: var(--sp-2); }
.lo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); margin-bottom: var(--sp-5); }
.lo-benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); margin-bottom: var(--sp-5); }
.lo-stat { display: flex; justify-content: space-between; padding: var(--sp-3) 0; border-bottom: 1px solid var(--zinc-100); font-size: var(--text-md); }
.lo-stat:last-child { border-bottom: none; }
.lo-stat span { color: var(--zinc-500); }
.lo-stat strong { color: var(--zinc-900); }

.benefit-list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); }
.benefit-list li { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--text-base); color: var(--zinc-700); }
.benefit-list li svg { color: var(--green-600); flex-shrink: 0; }
.benefit-list.next-tier li svg { color: var(--blue-600); }

/* Tier ladder */
.tier-ladder { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: var(--sp-3) 0; }
.tl-step { display: flex; align-items: center; gap: var(--sp-3); }
.tl-marker {
  width: 32px; height: 32px; border-radius: var(--radius-full); display: grid; place-items: center;
  font-size: var(--text-sm); font-weight: 700; color: #fff; flex-shrink: 0;
}
.tl-past .tl-marker { color: #fff; }
.tl-future .tl-marker { color: var(--zinc-400); }
.tl-info { display: flex; flex-direction: column; }
.tl-name { font-weight: 600; font-size: var(--text-md); color: var(--zinc-900); }
.tl-active .tl-name { color: var(--blue-600); }
.tl-future .tl-name { color: var(--zinc-400); }
.tl-pts { font-size: var(--text-sm); color: var(--zinc-500); }
.tl-connector { width: 2px; height: 24px; background: var(--zinc-200); margin-left: 15px; }
.tl-connector.tl-filled { background: var(--blue-600); }

/* Redemption cards */
.redemption-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.redemption-card {
  background: #fff; border: 1px solid var(--zinc-200); border-radius: var(--radius-2xl);
  padding: var(--sp-5); display: flex; gap: var(--sp-4); align-items: center;
  transition: box-shadow 0.2s;
}
.redemption-card:hover { box-shadow: var(--shadow-md); }
.rc-icon { width: 48px; height: 48px; border-radius: var(--radius-xl); background: var(--blue-50); display: grid; place-items: center; flex-shrink: 0; color: var(--blue-600); }
.rc-body { flex: 1; }
.rc-title { font-weight: 600; font-size: var(--text-md); color: var(--zinc-900); }
.rc-desc { font-size: var(--text-sm); color: var(--zinc-500); margin-top: 2px; }
.rc-cost { font-size: var(--text-sm); color: var(--blue-600); font-weight: 600; margin-top: var(--sp-1); }
.rc-redeem-btn { height: 32px !important; font-size: var(--text-sm) !important; }
.rc-redeem-btn.disabled { opacity: 0.4; cursor: not-allowed !important; }

/* ===========================
   EMPTY STATE
   =========================== */
.empty-state { text-align: center; padding: var(--sp-10) var(--sp-5); }
.es-icon { color: var(--zinc-300); margin-bottom: var(--sp-4); display: flex; justify-content: center; }
.empty-state h3 { font-size: var(--text-xl); color: var(--zinc-900); margin-bottom: var(--sp-2); }
.empty-state p { color: var(--zinc-500); font-size: var(--text-md); margin-bottom: var(--sp-4); }

/* ===========================
   DROPDOWN MENU
   =========================== */
.dropdown-menu {
  background: #fff; border: 1px solid var(--zinc-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); min-width: 180px; padding: var(--sp-1); overflow: hidden;
  animation: fadeInUp 0.15s ease;
}
.dropdown-item {
  padding: var(--sp-2) var(--sp-3); font-size: var(--text-base); color: var(--zinc-700);
  cursor: pointer; border-radius: var(--radius-md); transition: background 0.1s;
}
.dropdown-item:hover { background: var(--zinc-100); }
.dropdown-item.active { color: var(--blue-600); font-weight: 500; }
.dropdown-divider { height: 1px; background: var(--zinc-100); margin: var(--sp-1) 0; }

/* ===========================
   MODAL
   =========================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.2s ease;
}
.modal-container {
  background: #fff; border-radius: var(--radius-2xl); width: 480px; max-height: 80vh;
  overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-header {
  padding: var(--sp-5); border-bottom: 1px solid var(--zinc-100);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { font-size: var(--text-xl); font-weight: 600; }
.modal-close { border: none !important; }
.modal-body { padding: var(--sp-5); font-size: var(--text-md); color: var(--zinc-700); line-height: 1.6; }
.modal-actions {
  padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--zinc-100);
  display: flex; gap: var(--sp-2); justify-content: flex-end;
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes modalOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.95); } }
@keyframes toastIn { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100px); } }
@keyframes shimmer { 0% { background-position: -200px 0; } 100% { background-position: calc(200px + 100%) 0; } }

.fade-in { animation: fadeInUp 0.3s ease; }

/* Shimmer loading */
.shimmer {
  background: linear-gradient(90deg, var(--zinc-100) 25%, var(--zinc-50) 50%, var(--zinc-100) 75%);
  background-size: 200px 100%; animation: shimmer 1.5s infinite;
}
