@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ==========================================================================
   ChoiceMatrix Travel — Core Design System & Motion Framework
   Themes, Animations, Glassmorphism, Custom Dropdowns & Responsive Layouts
   ========================================================================== */

:root {
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-border: #e2e8f0;
  --header-text: #0f172a;
  --sidebar-bg: #ffffff;
  --sidebar-border: #e2e8f0;
  --bg-app: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-glass: rgba(255, 255, 255, 0.88);
  --bg-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --border-color: #e2e8f0;
  --border-subtle: #edf2f7;
  --accent-primary: #0d9488;
  --accent-primary-hover: #0f766e;
  --accent-secondary: #4f46e5;
  --accent-amber: #d97706;
  --accent-rose: #e11d48;
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 20px 30px -8px rgba(15, 23, 42, 0.12), 0 8px 12px -3px rgba(15, 23, 42, 0.08);
  --glass-blur: 16px;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

/* ==========================================================================
   Luxury Midnight Themes (Inspired by Dribbble, Nicepage, Webflow & 128.digital)
   Every theme maintains a deep OLED midnight canvas so all components, headers,
   cards, and navigation elements stay 100% cohesive with zero contrast clashes.
   ========================================================================== */

/* Theme 1: Midnight Obsidian & Cyan Explorer (Default) */
body.theme-dark {
  --header-bg: rgba(8, 13, 26, 0.88);
  --header-border: rgba(30, 41, 59, 0.8);
  --header-text: #f8fafc;
  --sidebar-bg: rgba(11, 17, 33, 0.96);
  --sidebar-border: #1e293b;
  --bg-app: #080d1a;
  --bg-surface: #10172a;
  --bg-surface-glass: rgba(16, 23, 42, 0.88);
  --bg-subtle: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-color: #334155;
  --border-subtle: #1e293b;
  --accent-primary: #14b8a6;
  --accent-primary-hover: #2dd4bf;
  --accent-secondary: #38bdf8;
  --accent-glow: rgba(20, 184, 166, 0.25);
  --card-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.6);
  --card-shadow-hover: 0 20px 40px -4px rgba(20, 184, 166, 0.25);
  background-color: var(--bg-app) !important;
  color: var(--text-main) !important;
}


/* Theme 2: Acenda Modern Luxury Travel Agency (Luxe Midnight & Matrix Neon) */
body.theme-acenda {
  --header-bg: rgba(10, 15, 29, 0.92);
  --header-border: rgba(45, 212, 191, 0.35);
  --header-text: #f8fafc;
  --sidebar-bg: rgba(13, 20, 36, 0.98);
  --sidebar-border: rgba(45, 212, 191, 0.25);
  --bg-app: #070b14;
  --bg-surface: #0e1526;
  --bg-surface-glass: rgba(14, 21, 38, 0.88);
  --bg-subtle: #162035;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-color: rgba(45, 212, 191, 0.28);
  --border-subtle: rgba(30, 41, 59, 0.85);
  --accent-primary: #14b8a6;
  --accent-primary-hover: #2dd4bf;
  --accent-secondary: #38bdf8;
  --accent-glow: rgba(45, 212, 191, 0.35);
  --card-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.75);
  --card-shadow-hover: 0 25px 50px -8px rgba(20, 184, 166, 0.35);
  background-color: var(--bg-app) !important;
  color: var(--text-main) !important;
}

body.theme-acenda .border-teal-500,
body.theme-acenda .border-teal-500\/30,
body.theme-acenda .border-teal-500\/40,
body.theme-acenda .border-teal-500\/20 {
  border-color: rgba(45, 212, 191, 0.35) !important;
}
body.theme-acenda .text-teal-400,
body.theme-acenda .text-teal-300 {
  color: #2dd4bf !important;
}
body.theme-acenda .bg-teal-500,
body.theme-acenda .bg-teal-600 {
  background-color: #14b8a6 !important;
}
body.theme-acenda .glow-card:hover {
  box-shadow: 0 20px 40px -8px rgba(45, 212, 191, 0.3) !important;
  border-color: rgba(45, 212, 191, 0.5) !important;
}

/* Theme 3: Royal Rajputana & Sandstone Gold (Heritage) */
body.theme-heritage {
  --header-bg: rgba(15, 12, 10, 0.88);
  --header-border: rgba(120, 53, 15, 0.45);
  --header-text: #fef3c7;
  --sidebar-bg: rgba(22, 18, 14, 0.96);
  --sidebar-border: rgba(180, 83, 9, 0.35);
  --bg-app: #0c0a08;
  --bg-surface: #181410;
  --bg-surface-glass: rgba(24, 20, 16, 0.88);
  --bg-subtle: #292018;
  --text-main: #fffbeb;
  --text-muted: #fde68a;
  --text-dim: #d97706;
  --border-color: rgba(217, 119, 6, 0.4);
  --border-subtle: rgba(120, 53, 15, 0.35);
  --accent-primary: #f59e0b;
  --accent-primary-hover: #fbbf24;
  --accent-secondary: #f97316;
  --accent-glow: rgba(245, 158, 11, 0.28);
  --card-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.7);
  --card-shadow-hover: 0 20px 40px -4px rgba(245, 158, 11, 0.25);
  background-color: var(--bg-app) !important;
  color: var(--text-main) !important;
}

/* Theme 3: Emerald Backwaters & Rainforest Aurora (Nature) */
body.theme-emerald {
  --header-bg: rgba(6, 17, 14, 0.88);
  --header-border: rgba(6, 95, 70, 0.45);
  --header-text: #ecfdf5;
  --sidebar-bg: rgba(8, 26, 21, 0.96);
  --sidebar-border: rgba(5, 150, 105, 0.35);
  --bg-app: #040e0b;
  --bg-surface: #0a1f18;
  --bg-surface-glass: rgba(10, 31, 24, 0.88);
  --bg-subtle: #123326;
  --text-main: #ecfdf5;
  --text-muted: #a7f3d0;
  --text-dim: #34d399;
  --border-color: rgba(16, 185, 129, 0.4);
  --border-subtle: rgba(6, 95, 70, 0.35);
  --accent-primary: #10b981;
  --accent-primary-hover: #34d399;
  --accent-secondary: #14b8a6;
  --accent-glow: rgba(16, 185, 129, 0.28);
  --card-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.7);
  --card-shadow-hover: 0 20px 40px -4px rgba(16, 185, 129, 0.25);
  background-color: var(--bg-app) !important;
  color: var(--text-main) !important;
}

/* Theme 4: Royal Lotus & Himalayan Twilight (Mystic Amethyst) */
body.theme-lotus {
  --header-bg: rgba(13, 10, 24, 0.88);
  --header-border: rgba(109, 40, 217, 0.45);
  --header-text: #faf5ff;
  --sidebar-bg: rgba(20, 15, 36, 0.96);
  --sidebar-border: rgba(139, 92, 246, 0.35);
  --bg-app: #0a0616;
  --bg-surface: #150f29;
  --bg-surface-glass: rgba(21, 15, 41, 0.88);
  --bg-subtle: #251947;
  --text-main: #faf5ff;
  --text-muted: #e9d5ff;
  --text-dim: #c084fc;
  --border-color: rgba(168, 85, 247, 0.4);
  --border-subtle: rgba(109, 40, 217, 0.35);
  --accent-primary: #a855f7;
  --accent-primary-hover: #c084fc;
  --accent-secondary: #ec4899;
  --accent-glow: rgba(168, 85, 247, 0.28);
  --card-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.7);
  --card-shadow-hover: 0 20px 40px -4px rgba(168, 85, 247, 0.25);
  background-color: var(--bg-app) !important;
  color: var(--text-main) !important;
}


/* ==========================================================================
   COMPREHENSIVE MULTI-THEME ENGINE & COMPONENT MATRIX
   Ensures that every card, container, header, bottom nav, and modal
   fully inherits the selected theme palette with vivid distinction.
   ========================================================================== */

/* --------------------------------------------------------------------------
   THEME 1: ACENDA MODERN LUXURY TRAVEL (DEFAULT)
   Obsidian Canvas • Luminous Matrix Teal • Acrylic Dark Frosted Glass
   -------------------------------------------------------------------------- */
body.theme-acenda {
  background-color: #060913 !important;
  background-image: 
    radial-gradient(at 50% 0%, rgba(20, 184, 166, 0.16) 0px, transparent 55%),
    radial-gradient(at 100% 25%, rgba(6, 182, 212, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 65%, rgba(16, 185, 129, 0.06) 0px, transparent 50%) !important;
  background-attachment: fixed !important;
  color: #f8fafc !important;
}

body.theme-acenda .top-nav-glass {
  background: rgba(6, 9, 18, 0.88) !important;
  border-bottom: 1px solid rgba(45, 212, 191, 0.28) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
}

body.theme-acenda #mobileBottomNav {
  background: rgba(6, 9, 18, 0.94) !important;
  border-top: 1px solid rgba(45, 212, 191, 0.3) !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.75), 0 -1px 20px rgba(20, 184, 166, 0.18) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
}

body.theme-acenda #appSidebar {
  background: rgba(7, 12, 24, 0.98) !important;
  border-right: 1px solid rgba(45, 212, 191, 0.25) !important;
}

body.theme-acenda .acenda-search-deck {
  background: rgba(11, 17, 33, 0.92) !important;
  border: 1.5px solid rgba(45, 212, 191, 0.42) !important;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.9), 0 0 35px rgba(20, 184, 166, 0.25) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
}

body.theme-acenda .pro-card,
body.theme-acenda .glow-card,
body.theme-acenda .dossier-card {
  background: linear-gradient(155deg, rgba(14, 22, 39, 0.94) 0%, rgba(9, 14, 26, 0.98) 100%) !important;
  border: 1px solid rgba(45, 212, 191, 0.22) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(45, 212, 191, 0.08) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.theme-acenda .pro-card:hover,
body.theme-acenda .glow-card:hover {
  border-color: rgba(45, 212, 191, 0.65) !important;
  box-shadow: 0 20px 45px -8px rgba(20, 184, 166, 0.35), 0 0 25px rgba(45, 212, 191, 0.2) !important;
  transform: translateY(-4px) !important;
}

body.theme-acenda .bg-slate-900,
body.theme-acenda .bg-slate-900/95,
body.theme-acenda .bg-slate-900/80,
body.theme-acenda .bg-slate-900/60,
body.theme-acenda .bg-slate-900/50,
body.theme-acenda .bg-slate-900/40 {
  background-color: rgba(12, 18, 33, 0.92) !important;
}

body.theme-acenda .bg-slate-950,
body.theme-acenda .bg-slate-950/95,
body.theme-acenda .bg-slate-950/80 {
  background-color: rgba(6, 10, 20, 0.95) !important;
}

body.theme-acenda .border-slate-800,
body.theme-acenda .border-slate-800/80,
body.theme-acenda .border-slate-700,
body.theme-acenda .border-slate-700/80 {
  border-color: rgba(45, 212, 191, 0.2) !important;
}

body.theme-acenda .vibe-pill-item {
  background: rgba(14, 21, 38, 0.8) !important;
  border: 1px solid rgba(45, 212, 191, 0.25) !important;
  color: #e2e8f0 !important;
}

body.theme-acenda .vibe-pill-item.is-active,
body.theme-acenda .vibe-pill-item:hover {
  background: linear-gradient(135deg, #14b8a6, #0d9488) !important;
  color: #042f2e !important;
  font-weight: 800 !important;
  border-color: #2dd4bf !important;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.45) !important;
}

/* --------------------------------------------------------------------------
   THEME 2: RAJPUTANA HERITAGE & SANDSTONE GOLD
   Warm Onyx • Royal Amber Gold • Desert Sunset Highlights
   -------------------------------------------------------------------------- */
body.theme-heritage {
  background-color: #0d0a07 !important;
  background-image: 
    radial-gradient(at 50% 0%, rgba(245, 158, 11, 0.16) 0px, transparent 55%),
    radial-gradient(at 100% 25%, rgba(217, 119, 6, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 65%, rgba(180, 83, 9, 0.06) 0px, transparent 50%) !important;
  background-attachment: fixed !important;
  color: #fef3c7 !important;
}

body.theme-heritage .top-nav-glass {
  background: rgba(15, 11, 8, 0.88) !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.32) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
}

body.theme-heritage #mobileBottomNav {
  background: rgba(15, 11, 8, 0.94) !important;
  border-top: 1px solid rgba(245, 158, 11, 0.35) !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.75), 0 -1px 20px rgba(245, 158, 11, 0.18) !important;
}

body.theme-heritage #appSidebar {
  background: rgba(18, 13, 9, 0.98) !important;
  border-right: 1px solid rgba(245, 158, 11, 0.3) !important;
}

body.theme-heritage .acenda-search-deck {
  background: rgba(22, 16, 11, 0.92) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.9), 0 0 35px rgba(245, 158, 11, 0.25) !important;
}

body.theme-heritage .pro-card,
body.theme-heritage .glow-card,
body.theme-heritage .dossier-card {
  background: linear-gradient(155deg, rgba(28, 20, 14, 0.94) 0%, rgba(17, 12, 8, 0.98) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(245, 158, 11, 0.08) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.theme-heritage .pro-card:hover,
body.theme-heritage .glow-card:hover {
  border-color: rgba(245, 158, 11, 0.65) !important;
  box-shadow: 0 20px 45px -8px rgba(245, 158, 11, 0.35), 0 0 25px rgba(245, 158, 11, 0.2) !important;
  transform: translateY(-4px) !important;
}

body.theme-heritage .bg-slate-900,
body.theme-heritage .bg-slate-900/95,
body.theme-heritage .bg-slate-900/80,
body.theme-heritage .bg-slate-900/60,
body.theme-heritage .bg-slate-900/50,
body.theme-heritage .bg-slate-900/40 {
  background-color: rgba(24, 17, 12, 0.92) !important;
}

body.theme-heritage .bg-slate-950,
body.theme-heritage .bg-slate-950/95,
body.theme-heritage .bg-slate-950/80 {
  background-color: rgba(14, 10, 7, 0.95) !important;
}

body.theme-heritage .border-slate-800,
body.theme-heritage .border-slate-800/80,
body.theme-heritage .border-slate-700 {
  border-color: rgba(245, 158, 11, 0.22) !important;
}

body.theme-heritage .text-teal-400,
body.theme-heritage .text-teal-300 {
  color: #fbbf24 !important;
}

body.theme-heritage .bg-teal-500,
body.theme-heritage .bg-teal-600 {
  background-color: #f59e0b !important;
}

body.theme-heritage .vibe-pill-item {
  background: rgba(28, 20, 14, 0.8) !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  color: #fef3c7 !important;
}

body.theme-heritage .vibe-pill-item.is-active,
body.theme-heritage .vibe-pill-item:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #451a03 !important;
  font-weight: 800 !important;
  border-color: #fbbf24 !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.45) !important;
}

/* --------------------------------------------------------------------------
   THEME 3: MALABAR RAINFOREST & EMERALD NATURE
   Jungle Obsidian • Deep Emerald Green • Mint Neon Accents
   -------------------------------------------------------------------------- */
body.theme-emerald {
  background-color: #040d0a !important;
  background-image: 
    radial-gradient(at 50% 0%, rgba(16, 185, 129, 0.16) 0px, transparent 55%),
    radial-gradient(at 100% 25%, rgba(5, 150, 105, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 65%, rgba(4, 120, 87, 0.06) 0px, transparent 50%) !important;
  background-attachment: fixed !important;
  color: #ecfdf5 !important;
}

body.theme-emerald .top-nav-glass {
  background: rgba(5, 16, 12, 0.88) !important;
  border-bottom: 1px solid rgba(16, 185, 129, 0.32) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
}

body.theme-emerald #mobileBottomNav {
  background: rgba(5, 16, 12, 0.94) !important;
  border-top: 1px solid rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.75), 0 -1px 20px rgba(16, 185, 129, 0.18) !important;
}

body.theme-emerald #appSidebar {
  background: rgba(6, 20, 15, 0.98) !important;
  border-right: 1px solid rgba(16, 185, 129, 0.3) !important;
}

body.theme-emerald .acenda-search-deck {
  background: rgba(8, 26, 19, 0.92) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.45) !important;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.9), 0 0 35px rgba(16, 185, 129, 0.25) !important;
}

body.theme-emerald .pro-card,
body.theme-emerald .glow-card,
body.theme-emerald .dossier-card {
  background: linear-gradient(155deg, rgba(9, 32, 23, 0.94) 0%, rgba(5, 18, 13, 0.98) 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(16, 185, 129, 0.08) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.theme-emerald .pro-card:hover,
body.theme-emerald .glow-card:hover {
  border-color: rgba(16, 185, 129, 0.65) !important;
  box-shadow: 0 20px 45px -8px rgba(16, 185, 129, 0.35), 0 0 25px rgba(16, 185, 129, 0.2) !important;
  transform: translateY(-4px) !important;
}

body.theme-emerald .bg-slate-900,
body.theme-emerald .bg-slate-900/95,
body.theme-emerald .bg-slate-900/80,
body.theme-emerald .bg-slate-900/60,
body.theme-emerald .bg-slate-900/50,
body.theme-emerald .bg-slate-900/40 {
  background-color: rgba(7, 24, 18, 0.92) !important;
}

body.theme-emerald .bg-slate-950,
body.theme-emerald .bg-slate-950/95,
body.theme-emerald .bg-slate-950/80 {
  background-color: rgba(4, 14, 10, 0.95) !important;
}

body.theme-emerald .border-slate-800,
body.theme-emerald .border-slate-800/80,
body.theme-emerald .border-slate-700 {
  border-color: rgba(16, 185, 129, 0.22) !important;
}

body.theme-emerald .text-teal-400,
body.theme-emerald .text-teal-300 {
  color: #34d399 !important;
}

body.theme-emerald .bg-teal-500,
body.theme-emerald .bg-teal-600 {
  background-color: #10b981 !important;
}

body.theme-emerald .vibe-pill-item {
  background: rgba(9, 32, 23, 0.8) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #ecfdf5 !important;
}

body.theme-emerald .vibe-pill-item.is-active,
body.theme-emerald .vibe-pill-item:hover {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: #022c22 !important;
  font-weight: 800 !important;
  border-color: #34d399 !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.45) !important;
}

/* --------------------------------------------------------------------------
   THEME 4: HIMALAYAN TWILIGHT & MYSTIC LOTUS
   Velvet Amethyst • Himalayan Violet • Orchid Neon Accents
   -------------------------------------------------------------------------- */
body.theme-lotus {
  background-color: #0a0614 !important;
  background-image: 
    radial-gradient(at 50% 0%, rgba(168, 85, 247, 0.16) 0px, transparent 55%),
    radial-gradient(at 100% 25%, rgba(147, 51, 234, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 65%, rgba(126, 34, 206, 0.06) 0px, transparent 50%) !important;
  background-attachment: fixed !important;
  color: #faf5ff !important;
}

body.theme-lotus .top-nav-glass {
  background: rgba(13, 8, 24, 0.88) !important;
  border-bottom: 1px solid rgba(168, 85, 247, 0.32) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
}

body.theme-lotus #mobileBottomNav {
  background: rgba(13, 8, 24, 0.94) !important;
  border-top: 1px solid rgba(168, 85, 247, 0.35) !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.75), 0 -1px 20px rgba(168, 85, 247, 0.18) !important;
}

body.theme-lotus #appSidebar {
  background: rgba(16, 10, 30, 0.98) !important;
  border-right: 1px solid rgba(168, 85, 247, 0.3) !important;
}

body.theme-lotus .acenda-search-deck {
  background: rgba(20, 13, 38, 0.92) !important;
  border: 1.5px solid rgba(168, 85, 247, 0.45) !important;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.9), 0 0 35px rgba(168, 85, 247, 0.25) !important;
}

body.theme-lotus .pro-card,
body.theme-lotus .glow-card,
body.theme-lotus .dossier-card {
  background: linear-gradient(155deg, rgba(26, 16, 48, 0.94) 0%, rgba(14, 9, 26, 0.98) 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.25) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(168, 85, 247, 0.08) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.theme-lotus .pro-card:hover,
body.theme-lotus .glow-card:hover {
  border-color: rgba(168, 85, 247, 0.65) !important;
  box-shadow: 0 20px 45px -8px rgba(168, 85, 247, 0.35), 0 0 25px rgba(168, 85, 247, 0.2) !important;
  transform: translateY(-4px) !important;
}

body.theme-lotus .bg-slate-900,
body.theme-lotus .bg-slate-900/95,
body.theme-lotus .bg-slate-900/80,
body.theme-lotus .bg-slate-900/60,
body.theme-lotus .bg-slate-900/50,
body.theme-lotus .bg-slate-900/40 {
  background-color: rgba(22, 14, 40, 0.92) !important;
}

body.theme-lotus .bg-slate-950,
body.theme-lotus .bg-slate-950/95,
body.theme-lotus .bg-slate-950/80 {
  background-color: rgba(12, 7, 22, 0.95) !important;
}

body.theme-lotus .border-slate-800,
body.theme-lotus .border-slate-800/80,
body.theme-lotus .border-slate-700 {
  border-color: rgba(168, 85, 247, 0.22) !important;
}

body.theme-lotus .text-teal-400,
body.theme-lotus .text-teal-300 {
  color: #c084fc !important;
}

body.theme-lotus .bg-teal-500,
body.theme-lotus .bg-teal-600 {
  background-color: #a855f7 !important;
}

body.theme-lotus .vibe-pill-item {
  background: rgba(26, 16, 48, 0.8) !important;
  border: 1px solid rgba(168, 85, 247, 0.25) !important;
  color: #faf5ff !important;
}

body.theme-lotus .vibe-pill-item.is-active,
body.theme-lotus .vibe-pill-item:hover {
  background: linear-gradient(135deg, #a855f7, #9333ea) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border-color: #c084fc !important;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.45) !important;
}

/* --------------------------------------------------------------------------
   THEME 5: MIDNIGHT OBSIDIAN & SKY BLUE
   Cool Slate Obsidian • Electric Sky Blue Highlights
   -------------------------------------------------------------------------- */
body.theme-dark {
  background-color: #070d18 !important;
  background-image: 
    radial-gradient(at 50% 0%, rgba(56, 189, 248, 0.14) 0px, transparent 55%),
    radial-gradient(at 100% 25%, rgba(14, 165, 233, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 65%, rgba(2, 132, 199, 0.06) 0px, transparent 50%) !important;
  background-attachment: fixed !important;
  color: #f8fafc !important;
}

body.theme-dark .top-nav-glass {
  background: rgba(8, 14, 26, 0.88) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.25) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
}

body.theme-dark #mobileBottomNav {
  background: rgba(8, 14, 26, 0.94) !important;
  border-top: 1px solid rgba(56, 189, 248, 0.28) !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.75), 0 -1px 20px rgba(56, 189, 248, 0.15) !important;
}

body.theme-dark #appSidebar {
  background: rgba(10, 17, 32, 0.98) !important;
  border-right: 1px solid rgba(56, 189, 248, 0.25) !important;
}

body.theme-dark .acenda-search-deck {
  background: rgba(12, 20, 38, 0.92) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.35) !important;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.9), 0 0 35px rgba(56, 189, 248, 0.2) !important;
}

body.theme-dark .pro-card,
body.theme-dark .glow-card,
body.theme-dark .dossier-card {
  background: linear-gradient(155deg, rgba(16, 25, 46, 0.94) 0%, rgba(9, 15, 28, 0.98) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(56, 189, 248, 0.08) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.theme-dark .pro-card:hover,
body.theme-dark .glow-card:hover {
  border-color: rgba(56, 189, 248, 0.65) !important;
  box-shadow: 0 20px 45px -8px rgba(56, 189, 248, 0.35), 0 0 25px rgba(56, 189, 248, 0.2) !important;
  transform: translateY(-4px) !important;
}

body.theme-dark .text-teal-400,
body.theme-dark .text-teal-300 {
  color: #38bdf8 !important;
}

body.theme-dark .bg-teal-500,
body.theme-dark .bg-teal-600 {
  background-color: #0284c7 !important;
}

body.theme-dark .vibe-pill-item {
  background: rgba(16, 25, 46, 0.8) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  color: #f8fafc !important;
}

body.theme-dark .vibe-pill-item.is-active,
body.theme-dark .vibe-pill-item:hover {
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.45) !important;
}

/* --------------------------------------------------------------------------
   UNIVERSAL MOBILE RESPONSIVENESS & TOUCH OPTIMIZATION (ALL DEVICES)
   Tested across: 320px (Fold), 360px (Standard Android), 375px (iPhone SE),
   390px (iPhone 14/15), 412px (Pixel), 768px (iPad/Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 639px) {
  /* Prevent horizontal viewport shifting */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    position: relative;
  }

  /* Sticky Top Navigation on Mobile */
  .top-nav-glass {
    height: 3.75rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  /* Acenda Search Deck Stacking & Native Card Feel */
  .acenda-search-deck {
    border-radius: 1.5rem !important;
    padding: 0.75rem !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85) !important;
  }

  .acenda-search-deck > div:not(.hidden) {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 1rem !important;
    padding: 0.65rem 0.9rem !important;
    margin-bottom: 0.5rem !important;
    min-height: 52px !important;
  }

  .acenda-search-deck input,
  .acenda-search-deck select {
    font-size: 0.85rem !important;
    padding: 0.2rem 0 !important;
    min-height: 24px !important;
  }

  .acenda-search-deck button[type="button"] {
    min-height: 50px !important;
    border-radius: 1rem !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.06em !important;
    margin-top: 0.25rem !important;
  }

  /* Horizontal Category / Vibe Pill Touch Strip */
  .vibe-pill-item {
    font-size: 0.75rem !important;
    padding: 0.45rem 0.85rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    border-radius: 9999px !important;
  }

  /* Destination Cards on Mobile */
  .pro-card {
    border-radius: 1.25rem !important;
    margin-bottom: 0.75rem !important;
  }

  .pro-card .aspect-video {
    max-height: 210px !important;
  }

  /* Mobile Bottom Dock (Thumb-Friendly with Safe Inset) */
  #mobileBottomNav {
    height: 60px !important;
    padding-bottom: max(6px, env(safe-area-inset-bottom, 6px)) !important;
    padding-top: 4px !important;
    z-index: 50 !important;
  }

  #mobileBottomNav a {
    font-size: 10px !important;
    font-weight: 700 !important;
  }

  /* Touch Target Safeguards */
  button, a, input, select {
    touch-action: manipulation;
  }
}

/* Global Transitions */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-app);
  color: var(--text-main);
  overflow-x: hidden;
  transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-subtle);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
body.theme-dark ::-webkit-scrollbar-thumb {
  background: #334155;
}
body.theme-dark ::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-color);
}

.pro-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: none;
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.pro-card:hover {
  border-color: var(--accent-primary);
  background-color: rgba(15, 23, 42, 0.95);
}

/* Buttons and Interactive Elements — Zero Motion / High Productivity */
.btn-interactive {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.btn-primary-gradient {
  background-color: var(--accent-primary);
  color: #ffffff;
  border: 1px solid var(--accent-primary);
}
.btn-primary-gradient:hover {
  background-color: var(--accent-primary-hover);
  border-color: var(--accent-primary-hover);
}

.btn-indigo-gradient {
  background-color: var(--accent-secondary);
  color: #ffffff;
  border: 1px solid var(--accent-secondary);
}
.btn-indigo-gradient:hover {
  background-color: #3730a3;
  border-color: #3730a3;
}

.btn-amber-gradient {
  background-color: var(--accent-amber);
  color: #ffffff;
  border: 1px solid var(--accent-amber);
}
.btn-amber-gradient:hover {
  background-color: #b45309;
  border-color: #b45309;
}

/* Custom Scrollable Dropdown */
.custom-dropdown-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.custom-dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.custom-dropdown-trigger:hover,
.custom-dropdown-trigger:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.custom-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.4);
  max-height: 380px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
}

.custom-dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.custom-dropdown-search-wrap {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: var(--bg-surface);
  padding: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.custom-dropdown-search-input {
  width: 100%;
  padding: 0.45rem 0.75rem;
  font-size: 0.8125rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background-color: var(--bg-subtle);
  color: var(--text-main);
  outline: none;
}
.custom-dropdown-search-input:focus {
  border-color: var(--accent-primary);
  background-color: var(--bg-surface);
}

.custom-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--text-main);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  border-bottom: 1px solid var(--border-subtle);
}
.custom-dropdown-item:last-child {
  border-bottom: none;
}
.custom-dropdown-item:hover,
.custom-dropdown-item.is-selected {
  background-color: rgba(13, 148, 136, 0.08);
  color: var(--accent-primary);
  font-weight: 600;
}
body.theme-dark .custom-dropdown-item:hover,
body.theme-dark .custom-dropdown-item.is-selected {
  background-color: rgba(20, 184, 166, 0.18);
  color: #2dd4bf;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge-safe {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.badge-moderate {
  background-color: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.badge-unsafe {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
body.theme-dark .badge-safe {
  background-color: rgba(6, 78, 59, 0.5);
  color: #34d399;
  border-color: #065f46;
}
body.theme-dark .badge-moderate {
  background-color: rgba(120, 53, 15, 0.5);
  color: #fbbf24;
  border-color: #78350f;
}
body.theme-dark .badge-unsafe {
  background-color: rgba(127, 29, 29, 0.5);
  color: #f87171;
  border-color: #7f1d1d;
}

/* Animations & Keyframes Disabled — Ultra-Fast High-Productivity Interface */
.animate-float,
.animate-pulse-subtle,
.skeleton-shimmer {
  animation: none !important;
  transform: none !important;
}

/* Navigation & Header */
.top-nav-glass {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  position: sticky;
  top: 0;
  z-index: 40;
}

.nav-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.18s ease;
}
.nav-link-btn:hover {
  color: var(--accent-primary);
  background-color: rgba(13, 148, 136, 0.08);
}
.nav-link-btn.is-active {
  color: var(--accent-primary);
  background-color: rgba(13, 148, 136, 0.12);
  font-weight: 700;
}

/* Tool Tab Nav */
.tool-nav-pill {
  padding: 0.45rem 0.9rem;
  border-radius: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: all 0.18s ease;
}
.tool-nav-pill:hover,
.tool-nav-pill.active {
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

/* Compass Needle UI */
.compass-dial {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid var(--border-color);
  position: relative;
  margin: 0 auto;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.1);
  background: radial-gradient(circle, var(--bg-surface) 60%, var(--bg-subtle) 100%);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.compass-needle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 140px;
  margin-left: -2px;
  margin-top: -70px;
  transform-origin: 50% 50%;
  transition: transform 0.3s ease;
}
.compass-needle::before {
  content: "";
  position: absolute;
  top: 0;
  left: -6px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 70px solid #ef4444;
}
.compass-needle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -6px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 70px solid #94a3b8;
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideUpToast 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUpToast {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Mobile Dock Navigation */
.mobile-nav-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  padding: 0.4rem 0.5rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: flex;
  justify-content: space-around;
}
@media (min-width: 1024px) {
  .mobile-nav-dock {
    display: none;
  }
}

/* ==========================================================================
   ChoiceMatrix Travel — Luxury Visual Experience & Homepage Enhancements
   ========================================================================== */

/* Atmospheric Hero Mesh Background */
.hero-mesh-bg {
  background-color: #080d1a;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(20, 184, 166, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 85% 25%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 15% 35%, rgba(16, 185, 129, 0.10) 0%, transparent 50%);
}

/* Luxury Floating Glass Capsule */
.glass-capsule {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Animated Pulse Indicator */
.pulse-indicator {
  position: relative;
  display: inline-block;
}
.pulse-indicator::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background-color: inherit;
  transform: translate(-50%, -50%);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

/* Curated Editorial Spotlight Cards — Zero-Transform High-Density */
.spotlight-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f172a;
  transition: border-color 0.15s ease;
}
.spotlight-card:hover {
  border-color: #14b8a6;
}

/* Horizontal Category Navigation Strip */
.category-scroll-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0;
  -webkit-overflow-scrolling: touch;
}
.category-scroll-strip::-webkit-scrollbar {
  display: none;
}

.category-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: #1e293b;
  border: 1px solid #334155;
  color: #e2e8f0;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}
.category-pill-btn:hover {
  background: #334155;
  border-color: #14b8a6;
  color: #ffffff;
}
.category-pill-btn.is-active {
  background: #0d9488;
  border-color: #2dd4bf;
  color: #ffffff;
}

/* Ticker Metrics Chips */
.ticker-chip {
  background: #0b1120;
  border: 1px solid #1e293b;
  border-radius: 0.75rem;
  padding: 1rem 0.875rem;
  transition: border-color 0.12s ease;
}
.ticker-chip:hover {
  border-color: #14b8a6;
}

/* Multi-Day Expedition Tab Buttons */
.tab-pill-expedition {
  padding: 0.6rem 1.25rem;
  border-radius: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.tab-pill-expedition.is-active {
  background-color: #0d9488;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}
.tab-pill-expedition:not(.is-active) {
  background-color: rgba(30, 41, 59, 0.6);
  color: #94a3b8;
  border-color: rgba(71, 85, 105, 0.3);
}
.tab-pill-expedition:not(.is-active):hover {
  color: #f1f5f9;
  border-color: #14b8a6;
}


/* Modern App Shell & Responsive Sidebar */
#sidebarBackdrop {
  z-index: 9998 !important;
}

@media (max-width: 1023px) {
  #appSidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 300px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    transform: translateX(-100%) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background-color: var(--sidebar-bg, rgba(7, 12, 24, 0.98)) !important;
    border-right: 1px solid var(--sidebar-border, rgba(45, 212, 191, 0.25)) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6) !important;
    display: block !important;
  }
  #appSidebar.sidebar-mobile-open {
    transform: translateX(0) !important;
    box-shadow: 10px 0 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(45, 212, 191, 0.15) !important;
    pointer-events: auto !important;
  }
  #appSidebar:not(.sidebar-mobile-open) {
    transform: translateX(-100%) !important;
    pointer-events: none !important;
  }
}

@media (min-width: 1024px) {
  #appSidebar.fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 300px !important;
    z-index: 9999 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: block !important;
  }
  #appSidebar.fixed.sidebar-mobile-open {
    transform: translateX(0) !important;
    box-shadow: 10px 0 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(45, 212, 191, 0.15) !important;
    pointer-events: auto !important;
  }
  #appSidebar.fixed:not(.sidebar-mobile-open) {
    transform: translateX(-100%) !important;
    pointer-events: none !important;
  }
  #appSidebar:not(.fixed).sidebar-collapsed {
    display: none !important;
  }
}

/* Theme-Adaptive Brand Text */
.nav-brand-title {
  color: var(--header-text) !important;
}

.nav-link-btn {
  color: var(--header-text) !important;
  opacity: 0.85;
}
.nav-link-btn:hover, .nav-link-btn.is-active {
  opacity: 1;
  color: var(--accent-primary) !important;
}

/* Leaflet Map Dark Styling */
.leaflet-container {
  background: #080d1a !important;
  font-family: inherit !important;
}
.leaflet-popup-content-wrapper {
  background: #0f172a !important;
  color: #f8fafc !important;
  border-radius: 14px !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5) !important;
}
.leaflet-popup-tip {
  background: #0f172a !important;
}


/* Mobile Sidebar Backdrop */
#sidebarBackdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 55;
  transition: opacity 0.25s ease;
}
#sidebarBackdrop.hidden {
  display: none !important;
  pointer-events: none;
}

/* Card Hover Micro-Interactions & Glow */
.glow-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
.glow-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -8px rgba(13, 148, 136, 0.25);
  border-color: rgba(20, 184, 166, 0.45) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.4);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(20, 184, 166, 0.6);
}

/* Route Map Styling */
.route-map-container {
  height: 480px;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #334155;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Creative Cinematic Hero, Video Background & Motion Keyframes
   ========================================================================== */

/* Fullscreen/Hero Video Container */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  filter: brightness(0.7) contrast(1.1);
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-video-bg {
    transform: none !important;
    object-position: 50% 25%;
    filter: brightness(0.65) contrast(1.1);
  }
}

/* Fallback Ken-Burns Photographic Slideshow */
.kenburns-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: kenburnsEffect 28s infinite alternate ease-in-out;
  filter: brightness(0.65) contrast(1.15);
}

@keyframes kenburnsEffect {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.1) translate(-1%, -1%);
  }
  100% {
    transform: scale(1.05) translate(1%, 0.5%);
  }
}

/* Floating Glassmorphism Search Deck */
.hero-glass-deck {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px -10px rgba(20, 184, 166, 0.2);
}

/* Floating Animation */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.animate-float-slow {
  animation: floatGentle 5s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatGentle 6s ease-in-out 2.5s infinite;
}

/* Shimmer Light Sweep Effect */
@keyframes shimmerSweep {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer-text {
  background: linear-gradient(90deg, #ffffff 0%, #2dd4bf 50%, #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerSweep 6s infinite linear;
}

/* Vibe Category Card Zoom & Lift */
.vibe-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.vibe-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 35px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(20, 184, 166, 0.3);
}
.vibe-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.vibe-card:hover img {
  transform: scale(1.08);
}


/* ==============================================================
   PRINT STYLES: Travel Dossiers & Day-by-Day Itinerary Passes
   ============================================================== */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html, body {
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 11pt !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Hide navigation, mobile sidebars, tactical docks, interactive buttons, footers */
  header, nav, footer, #appSidebar, #sidebarBackdrop, #tacticalSidebar,
  .top-nav-glass, .print\:hidden, button, a[href^="javascript"] {
    display: none !important;
  }

  /* Remove dark glass effects and render crisp high-contrast printable cards */
  .bg-slate-950, .bg-slate-900, .bg-slate-900\/90, .bg-slate-900\/80,
  .bg-slate-900\/40, .bg-slate-800, .bg-slate-800\/60, .hero-glass-deck,
  .pro-card, .theme-dark {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Headings & key typography */
  h1, h2, h3, h4, strong {
    color: #020617 !important;
  }

  .text-slate-100, .text-slate-200, .text-slate-300, .text-slate-400 {
    color: #334155 !important;
  }

  .text-teal-400, .text-teal-300 {
    color: #0f766e !important;
    font-weight: 700 !important;
  }

  /* Prevent page-break within destination dossier sections */
  .dossier-card, .itinerary-day, .pro-card {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1.25rem !important;
  }

  /* Images: prevent breaking across pages */
  img {
    max-height: 280px !important;
    object-fit: cover !important;
    break-inside: avoid;
    page-break-inside: avoid;
    border-radius: 8px !important;
  }

  /* Show hyperlinked URLs for paper references */
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 80%;
    color: #64748b;
    word-break: break-all;
  }
}


/* ==============================================================
   MOBILE-FIRST POLISH & TOUCH ERGONOMICS
   ============================================================== */
html, body {
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* Minimum accessible touch targets for mobile */
@media (max-width: 768px) {
  button:not(.small-btn), a.nav-link-btn, input, select {
    min-height: 44px;
  }
  
  /* Prevent unwanted auto-zoom on input focus in iOS Safari */
  input[type="text"], input[type="search"], select {
    font-size: 16px !important;
  }
}

/* Glassmorphism Bottom Navigation Dock */
#mobileBottomNav {
  box-shadow: 0 -10px 25px -5px rgba(0, 0, 0, 0.7);
}


/* ==========================================================================
   Acenda Modern Booking Components, Category Pills & Caution Architecture
   ========================================================================== */

/* Signature Acenda Floating Search Deck */
.acenda-search-deck {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px -10px rgba(20, 184, 166, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.acenda-search-deck:focus-within {
  border-color: rgba(45, 212, 191, 0.6);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85), 0 0 60px -5px rgba(20, 184, 166, 0.35);
}

.acenda-search-segment {
  position: relative;
  transition: background-color 0.2s ease;
  border-radius: 1.25rem;
}
.acenda-search-segment:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

/* Acenda Category Scroll Pills */
.vibe-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}
.vibe-pill-item:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(45, 212, 191, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(20, 184, 166, 0.25);
}
.vibe-pill-item.is-active {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  border-color: #2dd4bf;
  color: #ffffff;
  box-shadow: 0 8px 25px -4px rgba(20, 184, 166, 0.4);
}

/* Upgraded Luxury Card Styling */
.pro-card, .glow-card {
  border-radius: 1.5rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
.pro-card:hover, .glow-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.5) !important;
  box-shadow: 0 25px 45px -10px rgba(0, 0, 0, 0.7), 0 0 35px -5px rgba(20, 184, 166, 0.25);
}

/* Floating Save to Briefcase Heart Button */
.btn-save-heart {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-save-heart:hover {
  background: #f43f5e;
  border-color: #f43f5e;
  transform: scale(1.12);
  box-shadow: 0 8px 20px -4px rgba(244, 63, 94, 0.5);
}

/* Caution Badge: High-contrast, strictly for risky/monsoon/altitude hazards */
.card-caution-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.75rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.3;
}
