/* ============================================================
   MAIN.CSS — Danah Travel & Tourism
   Extracted from index.html for reuse across all pages
   ============================================================ */
/* ============================================================
   LOCAL FONTS — Danah Travel (Matching actual filenames)
   ============================================================ */

/* ============================================================
   LOCAL FONTS — Danah Travel (Fixed Absolute Paths)
   ============================================================ */

@font-face {
    font-family: 'Purista';
    src: url('/assets/webfonts/purista_thin-webfont.woff2') format('woff2'),
         url('/assets/webfonts/Purista Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Purista';
    src: url('/assets/webfonts/purista_light-webfont.woff2') format('woff2'),
         url('/assets/webfonts/Purista Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Purista';
    src: url('/assets/webfonts/Purista.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Purista';
    src: url('/assets/webfonts/Purista SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Purista';
    src: url('/assets/webfonts/purista_bold-webfont.woff2') format('woff2'),
         url('/assets/webfonts/Purista Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- JANNA LT (Arabic) --- */
@font-face {
    font-family: 'Janna LT';
    src: url('/assets/webfonts/Janna_LT_Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
/* ============================================================
   1. CSS CUSTOM PROPERTIES (Light & Dark)
============================================================ */
:root {
  --blue:           #3B82F6;
  --blue-dark:      #2563EB;
  --blue-xdark:     #1D4ED8;
  --blue-light:     #DBEAFE;
  --blue-xlight:    #EFF6FF;
  --amber:          #F59E0B;
  --green:          #10B981;
  --red:            #EF4444;
  --text-h:         #0F172A;
  --text-p:         #475569;
  --text-muted:     #94A3B8;
  --bg:             #0F172A;
  --bg-2:           #F8FAFC;
  --bg-card:        #FFFFFF;
  --border:         #E2E8F0;
  --shadow-sm:      0 1px 8px rgba(0,0,0,.06);
  --shadow:         0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:      0 8px 48px rgba(0,0,0,.12);
  --ff-head: 'Purista', 'Segoe UI', sans-serif;
  --ff-body: 'Janna LT', 'Segoe UI', sans-serif;
  --nav-h:    70px;
  --sec-py:   88px;
  --radius:   14px;
  --radius-lg:20px;
  --ease:      cubic-bezier(.4,0,.2,1);
  --dur:       .3s;
}
[data-theme="dark"] {
  --text-h:     #F1F5F9;
  --text-p:     #94A3B8;
  --text-muted: #64748B;
  --bg:         #0F172A;
  --bg-2:       #1E293B;
  --bg-card:    #1E293B;
  --border:     #334155;
  --shadow-sm:  0 1px 8px rgba(0,0,0,.25);
  --shadow:     0 4px 24px rgba(0,0,0,.35);
  --shadow-lg:  0 8px 48px rgba(0,0,0,.45);
  --blue-light: rgba(59,130,246,.12);
  --blue-xlight:rgba(59,130,246,.07);
}

/* ============================================================
   2. RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text-p);
  overflow-x: hidden;
  cursor: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
h1,h2,h3,h4,h5,h6 { font-family: var(--ff-head); color: var(--text-h); line-height: 1.15; }
p { line-height: 1.75; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ============================================================
   3. CUSTOM CURSOR
============================================================ */
#cursor-dot {
  position: fixed; width: 10px; height: 10px;
  background: var(--blue); border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%,-50%);
  transition: width .15s, height .15s, background .15s;
}
#cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid var(--blue); border-radius: 50%;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%,-50%);
  opacity: .55;
  transition: width .2s var(--ease), height .2s var(--ease), opacity .2s;
}
#cursor-dot.grow  { width: 18px; height: 18px; background: var(--blue-dark); }
#cursor-ring.grow { width: 52px; height: 52px; opacity: .25; }

/* ============================================================
   4. PRELOADER
============================================================ */
#preloader {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  z-index: 999999;
  transition: opacity .55s var(--ease), visibility .55s;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.pre-logo {
  font-family: var(--ff-head); font-size: 2.6rem; font-weight: 900;
  color: var(--blue); letter-spacing: -1px;
}
.pre-bar {
  width: 220px; height: 3px;
  background: var(--border); border-radius: 99px; overflow: hidden;
}
.pre-fill {
  height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-xdark));
  border-radius: 99px; animation: preload 2.2s var(--ease) forwards;
}
@keyframes preload {
  0%   { width: 0% }
  35%  { width: 55% }
  75%  { width: 82% }
  100% { width: 100% }
}
.pre-label {
  font-size: .72rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   5. SCROLL ANIMATIONS
============================================================ */
.reveal        { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-left   { opacity: 0; transform: translateX(-28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-right  { opacity: 0; transform: translateX(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.show, .reveal-left.show, .reveal-right.show { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; } .d6 { transition-delay: .6s; }

/* ============================================================
   6. UTILITY CLASSES
============================================================ */
.container-xl  { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section-py    { padding: var(--sec-py) 0; }
.bg-2          { background: var(--bg-2); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-body); font-size: .72rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--blue); background: var(--blue-light);
  padding: 6px 14px; border-radius: 99px; margin-bottom: 14px;
}
.sec-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800; color: var(--text-h);
  margin-bottom: 14px; line-height: 1.1;
}
.sec-sub {
  font-size: 1.05rem; color: var(--text-p);
  max-width: 540px; margin: 0 auto;
}
.sec-header { text-align: center; margin-bottom: 56px; }

/* Buttons */
.btn-blue {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; background: var(--blue); color: #fff;
  border-radius: 10px; font-size: .9rem; font-weight: 600;
  border: none; cursor: pointer; transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(59,130,246,.4); color: #fff; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; background: transparent;
  border: 1.5px solid rgba(255,255,255,.35); color: #fff;
  border-radius: 10px; font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: all var(--dur);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; background: transparent;
  border: 1.5px solid var(--border); color: var(--text-h);
  border-radius: 10px; font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: all var(--dur);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* Cards */
.card-base {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur);
}
.card-base:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* Icon box */
.icon-box {
  width: 52px; height: 52px;
  background: var(--blue-light); border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--blue);
  transition: background var(--dur), color var(--dur);
}

/* Form inputs */
.form-label { font-size: .82rem; font-weight: 600; color: var(--text-h); margin-bottom: 7px; }
.form-control, .form-select {
  background: var(--bg-2); border: 1.5px solid var(--border);
  color: var(--text-h); border-radius: 10px;
  padding: 11px 14px; font-size: .9rem;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.form-control:focus, .form-select:focus {
  background: var(--bg-2); border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(59,130,246,.1);
  color: var(--text-h); outline: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control.ok  { border-color: var(--green); }
.form-control.bad { border-color: var(--red); }
.form-select option { background: var(--bg-card); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ============================================================
   7. NAVIGATION
============================================================ */
/* ============================================================
   NAVBAR & NAVIGATION ENGINE — fixed alignment with CSS Grid
   ============================================================ */

/* ---------- Z-INDEX LAYER STACK ---------- */
:root {
  --z-nav: 1000;
  --z-overlay: 995;
  --z-mobile-nav: 990;
  --z-sidebar: 1000;
  --z-cursor: 99999;
}

/* ---------- MAIN FIXED NAV BAR ---------- */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: var(--z-nav);
  transition: background var(--dur) var(--ease), box-shadow var(--dur);
}
#nav.scrolled {
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 24px rgba(0,0,0,.07);
}
[data-theme="dark"] #nav.scrolled { background: rgba(15,23,42,.93); }

/* ---------- 3-ZONE GRID (replaces old flex + absolute) ---------- */
.nav-wrap {
  max-width: 1240px; margin: 0 auto; padding: 0 28px;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;  /* brand – links – actions */
  align-items: center;
  gap: 0;
}

/* Brand zone – always aligns to start of the grid (logical start, 
   so in RTL it automatically moves to the right) */
.nav-brand-zone {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Navigation links – placed in the center grid cell and centered */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  /* The grid cell is auto‑sized; links will naturally center */
}

/* Actions zone – always aligns to end of the grid (logical end) */
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Ensure the hamburger stays on the correct side in RTL */
.nav-actions .hamburger {
  order: 99;   /* push hamburger to the very end of the actions row */
}

/* ---------- LOGO (brand) – same as before ---------- */
.logo-link {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  transition: transform 0.25s var(--ease);
}
.logo-link:hover { transform: translateY(-1px); }
[dir="rtl"] .logo-link { gap: 12px; }

.logo-img {
  height: 44px; width: 44px; object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.15));
  transition: filter 0.3s var(--ease);
}
.logo-link:hover .logo-img {
  filter: drop-shadow(0 6px 20px rgba(59, 130, 246, 0.35));
}

.logo-texts {
  display: flex; flex-direction: column; justify-content: center;
}

.logo-name {
  font-family: var(--ff-head); font-weight: 900; font-size: 1.55rem;
  letter-spacing: 2px; color: #ffffff;
  text-transform: uppercase; line-height: 0.95;
  transition: color 0.35s var(--ease);
}
.logo-name em { color: var(--blue); font-style: normal; }
#nav.scrolled .logo-name { color: var(--text-h); }
[dir="rtl"] .logo-name { letter-spacing: 0px; }

.logo-sub {
  font-family: var(--ff-body); font-size: 0.50rem; font-weight: 700;
  letter-spacing: 1.5px; color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase; margin-top: 3px; line-height: 1;
  transition: color 0.35s var(--ease);
}
#nav.scrolled .logo-sub { color: var(--text-muted); }
html[lang="ar"] .logo-sub {
  font-size: 0.55rem; font-weight: 600; letter-spacing: 0px;
  margin-top: 4px; line-height: 1.1;
}
html[lang="ar"] .logo-name { letter-spacing: 0px; }
[dir="rtl"] .logo-sub { letter-spacing: 0px; font-weight: 600; margin-top: 4px; }

/* ---------- DESKTOP LINKS STYLES ---------- */
.nav-links a {
  font-size: .845rem; font-weight: 500;
  color: rgba(255,255,255,.8); padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--dur), background var(--dur);
  white-space: nowrap;
}
#nav.scrolled .nav-links a { color: var(--text-p); }
.nav-links a:hover,
.nav-links a.active {
  color: var(--blue); background: var(--blue-light);
}

/* ---------- ACTIONS COMPONENTS ---------- */
.btn-theme {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1); color: #fff;
  font-size: .9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur);
}
#nav.scrolled .btn-theme {
  border-color: var(--border); background: var(--bg-2); color: var(--text-h);
}
.btn-theme:hover {
  border-color: var(--blue); color: var(--blue); background: var(--blue-light);
}

/* ---------- LANGUAGE TOGGLE & FADE EFFECT ---------- */
.lang-orb {
  width: 28px; height: 28px; border-radius: 50%; overflow: hidden;
  cursor: pointer; border: 2px solid transparent;
  background: none; padding: 0;
  /* Combined transition for hover scale and fade visibility */
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease, border-color 0.2s;
  opacity: 1;
  pointer-events: auto;
}
.lang-orb:hover { transform: scale(1.1); }
.lang-orb img { width: 100%; height: 100%; object-fit: cover; }

.lang-orb.hidden {
  opacity: 0;
  pointer-events: none; /* Prevents clicking the invisible button */
  transform: scale(0.8);
}

/* ============================================================
   AUTH STATE OVERRIDES (Fix for Double Buttons)
============================================================ */

/* 1. Hide everything by default to prevent flashing */
.guest-auth-only,
.user-auth-only {
    display: none !important;
}

/* 2. Show Guest elements when body is 'is-guest' */
body.is-guest .guest-auth-only {
    display: flex !important;
}

/* 3. Show User elements when body is 'is-authenticated' */
body.is-authenticated .user-auth-only {
    display: flex !important;
}

/* 4. CRITICAL: Hide the main nav auth buttons on Mobile, 
      passing responsibility to the Sidebar menu. */
@media (max-width: 991px) {
    .nav-auth-layer .guest-auth-only,
    .nav-auth-layer .user-auth-only {
        display: none !important;
    }
}

/* ---------- HAMBURGER ---------- */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 30px; background: none; border: none; cursor: pointer; padding: 2px;
}
.hamburger span {
  display: block; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all var(--dur);
}
#nav.scrolled .hamburger span { background: var(--text-h); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- MOBILE FULL-SCREEN NAV ---------- */
.mobile-nav {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: var(--z-mobile-nav);
  flex-direction: column; padding: 24px 28px;
  gap: 4px; overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-size: 1.05rem; font-weight: 500; color: var(--text-h);
  padding: 13px 16px; border-radius: 10px;
  border-bottom: 1px solid var(--border);
  transition: all var(--dur);
}
.mobile-nav a:hover {
  background: var(--blue-light); color: var(--blue);
  padding-left: 24px;
}
.mobile-nav .btn-blue {
  margin-top: 12px; text-align: center; justify-content: center;
}

/* ---------- OVERLAY ---------- */
.page-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  z-index: var(--z-overlay);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.page-overlay.active { opacity: 1; pointer-events: auto; }

/* ---------- SIDEBAR DRAWER (unchanged) ---------- */
.sidebar-drawer {
  position: fixed; top: 0;
  right: -340px;
  width: 340px; max-width: 90vw;
  height: 100vh;
  background: var(transparent);
  box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
  z-index: var(--z-sidebar);
  padding: 24px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.sidebar-drawer.active { transform: translateX(-340px); }
[dir="rtl"] .sidebar-drawer {
  left: -340px; right: auto;
  box-shadow: 10px 0 40px rgba(0,0,0,0.1);
}
[dir="rtl"] .sidebar-drawer.active { transform: translateX(340px); }

.drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border); padding-bottom: 15px;
}
.close-drawer {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-h); cursor: pointer;
  transition: all 0.2s;
}
.close-drawer:hover { background: #EF4444; color: #fff; border-color: #EF4444; }
.cart-drawer .cart-footer { margin-top: auto; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .nav-wrap {
    grid-template-columns: 1fr auto;   /* brand + actions only, links go to mobile nav */
  }
  .nav-links { display: none; }
  .nav-actions .btn-blue { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
}

#nav.scrolled .btn-theme {
  border-color: var(--border); background: var(--bg-2); color: var(--text-h);
}

.btn-theme:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

.hamburger {
  display: none; /* Hidden by default on desktop */
  flex-direction: column; gap: 5px;
  width: 30px; background: none; border: none; cursor: pointer; padding: 2px;
}

.hamburger span {
  display: block; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all var(--dur);
}

#nav.scrolled .hamburger span { background: var(--text-h); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 990;
  flex-direction: column; padding: 24px 28px;
  gap: 4px; overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-size: 1.05rem; font-weight: 500; color: var(--text-h);
  padding: 13px 16px; border-radius: 10px;
  border-bottom: 1px solid var(--border);
  transition: all var(--dur);
}
.mobile-nav a:hover { background: var(--blue-light); color: var(--blue); padding-left: 24px; }
.mobile-nav .btn-blue { margin-top: 12px; text-align: center; justify-content: center; }

/* ============================================================
   8. HERO
============================================================ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0B1426 0%, #0F2050 50%, #1A3A8A 100%);
}
#hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,20,38,.25) 0%, rgba(11,20,38,.6) 100%);
}
.hero-body {
  position: relative; z-index: 2;
  max-width: 1240px; margin: 0 auto; padding: 0 28px;
  padding-top: var(--nav-h);
  width: 100%;
}
.hero-row {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 48px; align-items: center;
  min-height: calc(100vh - var(--nav-h));
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: .73rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 7px 15px; border-radius: 99px; margin-bottom: 22px;
}
.hero-title {
  font-family: var(--ff-head); font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 900; color: #fff; line-height: 1.03;
  margin-bottom: 22px;
}
.hero-title .hl { color: #60A5FA; }
.hero-sub {
  font-size: clamp(.95rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.72); line-height: 1.75;
  max-width: 520px; margin-bottom: 36px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; }
.h-stat-val {
  font-family: var(--ff-head); font-size: 2.1rem; font-weight: 900;
  color: #fff; line-height: 1;
}
.h-stat-lbl { font-size: .78rem; color: rgba(255,255,255,.55); font-weight: 500; margin-top: 4px; }
.hero-cards { display: flex; flex-direction: column; gap: 14px; }
.glass-card {
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px; padding: 22px;
}
.flight-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.flight-icon {
  width: 40px; height: 40px; background: var(--blue);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; flex-shrink: 0;
}
.flight-dest { color: #fff; font-weight: 600; font-size: .95rem; }
.flight-sub  { color: rgba(255,255,255,.5); font-size: .75rem; }
.pill-green {
  margin-left: auto; background: rgba(16,185,129,.2); color: #34D399;
  padding: 3px 10px; border-radius: 99px; font-size: .72rem; font-weight: 700;
}
.flight-meta { display: flex; justify-content: space-between; }
.flight-meta span { font-size: .8rem; color: rgba(255,255,255,.6); }
.visa-label { color: rgba(255,255,255,.5); font-size: .72rem; margin-bottom: 6px; font-weight: 600; letter-spacing: 1px; }
.visa-val { font-family: var(--ff-head); font-size: 1.9rem; font-weight: 900; color: #fff; line-height: 1; }
.visa-bar-bg { height: 6px; background: rgba(255,255,255,.1); border-radius: 99px; margin: 10px 0 6px; overflow: hidden; }
.visa-bar-fill { height: 100%; width: 98.4%; background: linear-gradient(90deg, var(--blue), #93C5FD); border-radius: 99px; }
.visa-note { font-size: .75rem; color: rgba(255,255,255,.4); }
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: rgba(255,255,255,.4); font-size: .7rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  animation: bounce-hint 2.2s ease-in-out infinite;
}
@keyframes bounce-hint {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(7px); }
}

/* ============================================================
   9. STATS BAR
============================================================ */
#stats { background: var(--blue); padding: 56px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.stat-item { text-align: center; padding: 8px; }
.stat-num {
  font-family: var(--ff-head); font-size: clamp(2.2rem,4vw,3.2rem);
  font-weight: 900; color: #fff; line-height: 1; margin-bottom: 6px;
}
.stat-lbl { font-size: .78rem; color: rgba(255,255,255,.65); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }

/* ============================================================
   10. SERVICES
============================================================ */
.serv-card {
  position: relative; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px;
  height: 100%;
  transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur);
}
.serv-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--blue-xdark));
  opacity: 0; border-radius: var(--radius-lg);
  transition: opacity var(--dur);
}
.serv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.serv-card:hover::before { opacity: 1; }
.serv-card > * { position: relative; z-index: 1; }
.serv-card:hover .icon-box { background: rgba(255,255,255,.18); color: #fff; }
.serv-card:hover h4 { color: #fff; }
.serv-card:hover p  { color: rgba(255,255,255,.8); }
.serv-card h4 { font-family: var(--ff-body); font-size: 1.05rem; font-weight: 700; margin: 14px 0 9px; }
.serv-card p  { font-size: .875rem; line-height: 1.65; }

/* ============================================================
   11. ABOUT
============================================================ */
.about-img-wrap { position: relative; }
.about-img {
  width: 100%; border-radius: var(--radius-lg);
  object-fit: cover; aspect-ratio: 6/5;
}
.about-badge-card {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  background: var(--bg-card); border-radius: 13px;
  padding: 18px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px;
}
.about-badge-icon {
  width: 44px; height: 44px; background: var(--blue);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; flex-shrink: 0;
}
.about-feat { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 18px; }
.feat-icon {
  width: 36px; height: 36px; background: var(--blue-light);
  border-radius: 9px; display: flex; align-items: center;
  justify-content: center; color: var(--blue); font-size: .85rem; flex-shrink: 0;
}
.about-feat strong { display: block; font-size: .9rem; font-weight: 700; color: var(--text-h); margin-bottom: 3px; }
.about-feat p { font-size: .845rem; margin: 0; }

/* ============================================================
   12. GALLERY
============================================================ */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
}
.gal-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in;
}
.gal-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; }
.gal-item:nth-child(2),
.gal-item:nth-child(3) { aspect-ratio: 4/3; }
.gal-item:nth-child(4),
.gal-item:nth-child(5),
.gal-item:nth-child(6) { aspect-ratio: 4/3; }
.gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.gal-item:hover img { transform: scale(1.06); }
.gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,18,40,.85) 100%);
  display: flex; align-items: flex-end; padding: 18px;
  opacity: 0; transition: opacity var(--dur);
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-info h5 { font-family: var(--ff-body); font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.gal-info span { font-size: .75rem; color: rgba(255,255,255,.65); }
.gal-zoom {
  position: absolute; top: 13px; right: 13px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px);
  border-radius: 50%; color: #fff; font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--dur);
}
.gal-item:hover .gal-zoom { opacity: 1; }

/* Lightbox */
#lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.96);
  z-index: 99000; display: none;
  align-items: center; justify-content: center; padding: 24px;
}
#lightbox.on { display: flex; }
#lb-img { max-width: 92%; max-height: 88vh; border-radius: 12px; object-fit: contain; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.12);
  border: none; border-radius: 50%; color: #fff;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem;
  transition: background var(--dur);
}
.lb-btn:hover { background: var(--blue); }
#lb-close { top: 18px; right: 18px; }
#lb-prev  { left: 18px; top: 50%; transform: translateY(-50%); }
#lb-next  { right: 18px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   13. BOOKING
============================================================ */
.booking-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 22px; padding: 36px; box-shadow: var(--shadow);
}
.trip-tabs {
  display: flex; background: var(--bg-2); border-radius: 11px;
  padding: 4px; gap: 4px; margin-bottom: 26px;
}
.ttab {
  flex: 1; padding: 10px; text-align: center; border: none;
  background: transparent; font-size: .855rem; font-weight: 500;
  color: var(--text-p); cursor: pointer; border-radius: 9px;
  transition: all var(--dur);
}
.ttab.on {
  background: var(--blue); color: #fff;
  box-shadow: 0 2px 12px rgba(59,130,246,.35);
}

/* ============================================================
   14. PRICING
============================================================ */
.price-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 34px; position: relative;
  height: 100%; transition: transform var(--dur), box-shadow var(--dur);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.feat { border-color: var(--blue); background: var(--blue-xlight); }
.price-pop {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: .7rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 18px; border-radius: 99px;
}
.price-name { font-family: var(--ff-body); font-size: .72rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.price-val { font-family: var(--ff-head); font-size: 2.9rem; font-weight: 900; color: var(--text-h); line-height: 1; }
.price-val sup { font-size: 1rem; font-weight: 700; vertical-align: super; }
.price-period { font-size: .82rem; color: var(--text-muted); margin-bottom: 24px; }
.price-list { list-style: none; margin-bottom: 28px; }
.price-list li {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 0; font-size: .875rem; color: var(--text-p);
  border-bottom: 1px solid var(--border);
}
.price-list li:last-child { border: none; }
.chk  { color: var(--green); font-size: .78rem; }
.dash { color: var(--text-muted); font-size: .78rem; }
.btn-price-fill    { display: block; width: 100%; padding: 12px; text-align: center; background: var(--blue); color: #fff; border-radius: 10px; font-size: .9rem; font-weight: 600; border: none; cursor: pointer; transition: background var(--dur), transform var(--dur); }
.btn-price-fill:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-price-outline { display: block; width: 100%; padding: 12px; text-align: center; background: transparent; color: var(--text-h); border-radius: 10px; font-size: .9rem; font-weight: 600; border: 1.5px solid var(--border); cursor: pointer; transition: border-color var(--dur), color var(--dur); }
.btn-price-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ============================================================
   15. CTA BANNER
============================================================ */
#cta-band {
  position: relative; padding: 80px 0; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-xdark), var(--blue), #60A5FA);
  text-align: center;
}
#cta-band::after {
  content: ''; position: absolute; inset: 0;
  background: url('https://picsum.photos/1600/400?grayscale&random=99') center/cover;
  opacity: .07; pointer-events: none;
}
#cta-band .inner { position: relative; z-index: 1; }
#cta-band h2 { font-family: var(--ff-head); font-size: clamp(1.9rem,4vw,3rem); font-weight: 900; color: #fff; margin-bottom: 12px; }
#cta-band p  { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 30px; }

/* ============================================================
   16. TEAM
============================================================ */
.team-card {
  text-align: center; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 30px 22px;
  transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.team-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 18px;
  border: 3px solid var(--blue-light);
}
.team-name { font-family: var(--ff-body); font-size: 1rem; font-weight: 700; color: var(--text-h); margin-bottom: 3px; }
.team-role { font-size: .75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 11px; }
.team-bio { font-size: .845rem; color: var(--text-p); line-height: 1.65; margin-bottom: 18px; }
.team-socials { display: flex; justify-content: center; gap: 8px; }
.team-socials a {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-2); color: var(--text-p);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; transition: background var(--dur), color var(--dur);
}
.team-socials a:hover { background: var(--blue); color: #fff; }

/* ============================================================
   17. TESTIMONIALS
============================================================ */
.tslider { overflow: hidden; position: relative; }
.ttrack { display: flex; transition: transform .52s var(--ease); }
.tslide { flex: 0 0 100%; padding: 0 14px; }
.tcard {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 34px;
  max-width: 700px; margin: 0 auto;
}
.t-stars { color: var(--amber); font-size: .95rem; margin-bottom: 18px; }
.t-quote {
  font-family: var(--ff-head); font-size: clamp(.95rem, 2vw, 1.2rem);
  font-style: italic; color: var(--text-h); line-height: 1.65; margin-bottom: 24px;
}
.t-author { display: flex; align-items: center; gap: 13px; }
.t-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.t-name { font-family: var(--ff-body); font-weight: 700; font-size: .92rem; color: var(--text-h); }
.t-info { font-size: .77rem; color: var(--text-muted); }
.slider-ctrl {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-top: 32px;
}
.s-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--bg-card);
  color: var(--text-p); cursor: pointer; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur);
}
.s-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.s-dots { display: flex; gap: 5px; }
.s-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); cursor: pointer; transition: all var(--dur);
}
.s-dot.on { background: var(--blue); width: 22px; border-radius: 4px; }

/* ============================================================
   18. FAQ
============================================================ */
.faq {
  border: 1px solid var(--border); border-radius: 13px;
  margin-bottom: 10px; overflow: hidden;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.faq.open { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,.09); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 18px 22px;
  cursor: pointer; background: var(--bg-card);
}
.faq-q h5 { font-family: var(--ff-body); font-size: .9rem; font-weight: 600; margin: 0; color: var(--text-h); }
.faq-ico {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--bg-2); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; flex-shrink: 0; transition: all var(--dur);
}
.faq.open .faq-ico { background: var(--blue); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease); background: var(--bg-card); }
.faq-a-inner {
  padding: 0 22px 18px; font-size: .875rem; color: var(--text-p);
  line-height: 1.75; border-top: 1px solid var(--border); padding-top: 14px;
}

/* ============================================================
   19. CONTACT
============================================================ */
.cinfo { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.c-icon {
  width: 42px; height: 42px; background: var(--blue-light);
  border-radius: 11px; display: flex; align-items: center;
  justify-content: center; color: var(--blue); font-size: .95rem; flex-shrink: 0;
}
.c-lbl { font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.c-val { font-size: .9rem; font-weight: 600; color: var(--text-h); }
.map-wrap {
  border-radius: 15px; overflow: hidden; height: 250px;
  border: 1px solid var(--border); margin-top: 24px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }
.form-msg {
  display: none; margin-top: 14px; padding: 14px 16px;
  border-radius: 10px; font-size: .875rem; font-weight: 500;
}
.form-msg.ok  { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3); color: #059669; }
.form-msg.bad { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: #DC2626; }

/* ============================================================
   20. RESERVATION
============================================================ */
#reservation .booking-wrap { max-width: 780px; margin: 0 auto; }
.res-steps {
  display: flex; gap: 0; margin-bottom: 32px;
  background: var(--bg-2); border-radius: 12px; padding: 4px; overflow: hidden;
}
.res-step {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 8px; border-radius: 9px; font-size: .8rem; font-weight: 600;
  color: var(--text-muted); cursor: default;
}
.res-step.done { color: var(--blue); }
.res-step-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--border); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700; flex-shrink: 0;
}
.res-step.done .res-step-num { background: var(--blue); color: #fff; }

/* ============================================================
   21. FOOTER
============================================================ */
#footer {
  background: #070F20;
  color: rgba(255,255,255,.6);
}
.footer-top { padding: 64px 0 48px; border-bottom: 1px solid rgba(255,255,255,.07); }
.foot-logo { font-family: var(--ff-head); font-size: 1.9rem; font-weight: 900; color: #fff; margin-bottom: 14px; }
.foot-logo em { font-style: normal; color: var(--blue); }
.foot-desc { font-size: .875rem; color: rgba(255,255,255,.42); line-height: 1.75; max-width: 290px; margin-bottom: 22px; }
.foot-socials { display: flex; gap: 8px; }
.foot-socials a {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; transition: background var(--dur), color var(--dur);
}
.foot-socials a:hover { background: var(--blue); color: #fff; }
.foot-head { font-family: var(--ff-body); font-size: .72rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.foot-links { list-style: none; }
.foot-links li { margin-bottom: 9px; }
.foot-links a {
  font-size: .855rem; color: rgba(255,255,255,.45);
  display: flex; align-items: center; gap: 6px;
  transition: color var(--dur), padding-left var(--dur);
}
.foot-links a:hover { color: var(--blue); padding-left: 4px; }
.nl-wrap {
  display: flex; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
}
.nl-input {
  flex: 1; background: rgba(255,255,255,.06); border: none;
  padding: 12px 14px; font-size: .855rem; color: #fff; outline: none;
}
.nl-input::placeholder { color: rgba(255,255,255,.3); }
.nl-btn {
  background: var(--blue); color: #fff; border: none;
  padding: 12px 18px; font-size: .855rem; font-weight: 600;
  cursor: pointer; transition: background var(--dur);
}
.nl-btn:hover { background: var(--blue-dark); }
.footer-bot {
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.foot-copy { font-size: .8rem; color: rgba(255,255,255,.3); }
.foot-legal { display: flex; gap: 18px; }
.foot-legal a { font-size: .8rem; color: rgba(255,255,255,.3); transition: color var(--dur); }
.foot-legal a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   22. STICKY CTA + BACK TO TOP
============================================================ */
#sticky-cta {
  position: fixed; bottom: 26px; left: 26px; z-index: 800;
  display: flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  padding: 11px 20px; border-radius: 99px;
  font-size: .84rem; font-weight: 700;
  box-shadow: 0 4px 20px rgba(59,130,246,.5);
  animation: cta-pulse 2.8s ease-in-out infinite;
  transition: all var(--dur);
}
#sticky-cta:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(59,130,246,.65); }
@keyframes cta-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(59,130,246,.5); }
  50%      { box-shadow: 0 4px 30px rgba(59,130,246,.8); }
}
#btt {
  position: fixed; bottom: 26px; right: 26px; z-index: 800;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; cursor: pointer;
  box-shadow: 0 4px 18px rgba(59,130,246,.4);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--dur);
}
#btt.show { opacity: 1; visibility: visible; transform: translateY(0); }
#btt:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ============================================================
   23. RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-cards { display: none; }
}
@media (max-width: 991px) {
  :root { --sec-py: 64px; }
  .nav-links, .nav-actions .btn-blue { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .gal-grid { grid-template-columns: repeat(2,1fr); }
  .gal-item:nth-child(1) { grid-column: span 2; }
  .stat-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
}
@media (max-width: 575px) {
  :root { --sec-py: 52px; }
  .hero-title { font-size: 2.4rem; }
  .hero-btns { flex-direction: column; }
  .hero-stats { gap: 24px; }
  .gal-grid { grid-template-columns: 1fr; }
  .gal-item:nth-child(1) { grid-column: span 1; aspect-ratio: 16/9; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  #sticky-cta .cta-label { display: none; }
  #sticky-cta { padding: 11px 13px; border-radius: 50%; }
  .footer-bot { flex-direction: column; text-align: center; }
  .foot-legal { justify-content: center; }
}

/* ============================================================
   24. SELECTION & FOCUS
============================================================ */
::selection { background: rgba(59,130,246,.25); }
*:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ============================================================
   25. DASHBOARD SPECIFICS
============================================================ */
.dash-nav .dash-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--text-p);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.dash-nav .dash-link i {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: color var(--dur) var(--ease);
    width: 20px;
    text-align: center;
}

.dash-nav .dash-link:hover {
    background: var(--bg-2);
    color: var(--blue);
    padding-left: 20px;
}

.dash-nav .dash-link:hover i {
    color: var(--blue);
}

.dash-nav .dash-link.active {
    background: var(--blue-light);
    color: var(--blue);
}

.dash-nav .dash-link.active i {
    color: var(--blue);
}

/* Specific danger override for logout */
.dash-nav .dash-link.text-danger:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    color: var(--red) !important;
}
.dash-nav .dash-link.text-danger:hover i {
    color: var(--red) !important;
}

/* ============================================================
   26. ADMIN INTERFACE & DATA TABLES
============================================================ */
.admin-body {
    background: var(--bg-2);
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    margin: 0;
}

.admin-sidebar {
    width: 280px;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 100;
}

.admin-brand {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid var(--border);
}

.sidebar-group {
    padding: 24px 16px 0;
}

.sidebar-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-left: 8px;
}

.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* Prevents nested flexbox blowouts during data hydration */
}

.admin-header {
    height: 70px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    flex-shrink: 0;
}

.admin-canvas {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
    background: var(--bg-2);
}

/* Tabular Density Engine */
.table-admin {
    width: 100%;
    border-collapse: collapse;
}

.table-admin th {
    background: var(--bg-2);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.table-admin td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.table-admin tbody tr {
    transition: background var(--dur) var(--ease);
}

.table-admin tbody tr:hover {
    background: var(--blue-xlight);
}

/* Live Status Indicators */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status-badge.good { background: rgba(16, 185, 129, 0.1); color: var(--green); border: 1px solid rgba(16, 185, 129, 0.2); }
.status-badge.warn { background: rgba(245, 158, 11, 0.1); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.2); }
.status-badge.danger { background: rgba(239, 68, 68, 0.1); color: var(--red); border: 1px solid rgba(239, 68, 68, 0.2); }

    /* ============================================================
       ADMIN DASHBOARD — EXTENDED STYLES
       Builds on top of main.css (vars, resets, base admin layout)
    ============================================================ */

    /* ---------- SIDEBAR COLLAPSE ---------- */
    :root { --sidebar-w: 272px; --sidebar-collapsed-w: 66px; }

    .admin-sidebar {
      width: var(--sidebar-w);
      transition: width .28s cubic-bezier(.4,0,.2,1);
      overflow: hidden;
      position: fixed; left:0; top:0; bottom:0;
      z-index: 200;
    }
    .admin-sidebar.collapsed { width: var(--sidebar-collapsed-w); }
    .admin-sidebar.collapsed .sidebar-label,
    .admin-sidebar.collapsed .dash-link .link-text,
    .admin-sidebar.collapsed .dash-link .badge,
    .admin-sidebar.collapsed .logo-texts,
    .admin-sidebar.collapsed .u-info { opacity: 0; width: 0; overflow: hidden; pointer-events: none; }
    .admin-sidebar.collapsed .dash-link { justify-content: center; padding: 10px; }
    .admin-sidebar.collapsed .dash-link i { margin: 0 !important; }

    .admin-main {
      margin-left: var(--sidebar-w);
      transition: margin-left .28s cubic-bezier(.4,0,.2,1);
    }
    .admin-main.expanded { margin-left: var(--sidebar-collapsed-w); }

    /* ---------- SIDEBAR INTERNALS ---------- */
    .admin-brand { gap: 10px; }
    .brand-icon {
      width: 38px; height: 38px; background: var(--blue);
      border-radius: 10px; display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 1rem; font-family: var(--ff-head); font-weight: 900;
      letter-spacing: -1px; flex-shrink: 0;
    }
    .sidebar-toggle {
      margin-left: auto; width: 30px; height: 30px; border-radius: 8px;
      background: var(--bg-2); border: 1px solid var(--border);
      color: var(--text-muted); cursor: pointer; display: flex;
      align-items: center; justify-content: center; font-size: .75rem;
      transition: all var(--dur); flex-shrink: 0;
    }
    .sidebar-toggle:hover { background: var(--blue-light); color: var(--blue); }

    .dash-link {
      display: flex; align-items: center;
      gap: 10px; padding: 9px 12px;
      border-radius: 9px; font-size: .845rem; font-weight: 600;
      color: var(--text-p); cursor: pointer; text-decoration: none;
      transition: background var(--dur), color var(--dur), padding var(--dur);
      white-space: nowrap;
    }
    .dash-link i { width: 18px; text-align: center; font-size: .95rem; flex-shrink: 0; }
    .dash-link .link-text { flex: 1; transition: opacity .2s, width .2s; }
    .dash-link:hover { background: var(--bg-2); color: var(--blue); }
    .dash-link.active { background: var(--blue-light); color: var(--blue); }
    .dash-link.active i { color: var(--blue); }

    .u-avatar {
      width: 34px; height: 34px; border-radius: 50%;
      background: var(--blue); color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: .8rem; font-weight: 700; flex-shrink: 0;
    }

    /* ---------- ADMIN HEADER EXTENDED ---------- */
    .admin-header { padding: 0 28px; gap: 16px; }
    .search-bar {
      display: flex; align-items: center; gap: 8px;
      background: var(--bg-2); border: 1px solid var(--border);
      border-radius: 9px; padding: 7px 14px; cursor: text;
      transition: border-color var(--dur), box-shadow var(--dur);
      min-width: 260px;
    }
    .search-bar:focus-within,
    .search-bar:hover { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,.09); }
    .search-bar input {
      border: none; background: transparent; outline: none;
      color: var(--text-h); font-size: .855rem; width: 100%;
    }
    .search-bar input::placeholder { color: var(--text-muted); }
    .kbd { background: var(--border); border-radius: 4px; padding: 1px 6px; font-size: .68rem; color: var(--text-muted); font-weight: 600; }

    .live-clock {
      font-size: .78rem; font-weight: 600; color: var(--text-muted);
      display: flex; align-items: center; gap: 6px; white-space: nowrap;
    }
    .live-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite; }
    @keyframes pulse-dot {
      0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
      50%      { box-shadow: 0 0 0 5px rgba(16,185,129,0); }
    }

    .notif-btn {
      width: 36px; height: 36px; border-radius: 9px;
      background: var(--bg-2); border: 1px solid var(--border);
      color: var(--text-p); cursor: pointer; display: flex;
      align-items: center; justify-content: center;
      font-size: .9rem; position: relative;
      transition: all var(--dur);
    }
    .notif-btn:hover { background: var(--blue-light); color: var(--blue); border-color: var(--blue); }
    .notif-badge {
      position: absolute; top: -3px; right: -3px;
      width: 16px; height: 16px; background: var(--red);
      border-radius: 50%; font-size: .6rem; font-weight: 800;
      color: #fff; display: flex; align-items: center; justify-content: center;
      border: 2px solid var(--bg-card);
    }

    .notif-dropdown {
      position: absolute; top: calc(100% + 10px); right: 0;
      width: 360px; background: var(--bg-card);
      border: 1px solid var(--border); border-radius: 14px;
      box-shadow: var(--shadow-lg); z-index: 1000;
      opacity: 0; visibility: hidden; transform: translateY(-8px);
      transition: all .2s var(--ease);
    }
    .notif-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }

    .notif-item {
      display: flex; gap: 12px; padding: 14px 18px;
      border-bottom: 1px solid var(--border);
      transition: background var(--dur);
    }
    .notif-item:last-child { border-bottom: none; }
    .notif-item:hover { background: var(--bg-2); }
    .notif-icon {
      width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center; font-size: .85rem;
    }

    /* ---------- PAGE CANVAS ---------- */
    .admin-canvas { padding: 28px; background: var(--bg-2); }

    .page-head {
      display: flex; align-items: flex-end; justify-content: space-between;
      margin-bottom: 26px; gap: 16px; flex-wrap: wrap;
    }
    .page-head h1 { font-size: 1.55rem; font-weight: 900; margin-bottom: 4px; color: var(--text-h); }
    .breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--text-muted); }
    .breadcrumb .sep { opacity: .4; }
    .breadcrumb .current { color: var(--blue); }

    /* ---------- KPI CARDS ---------- */
    .kpi-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 16px; padding: 22px 24px;
      transition: transform var(--dur), box-shadow var(--dur);
      position: relative; overflow: hidden;
    }
    .kpi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
    .kpi-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0;
      height: 3px; border-radius: 16px 16px 0 0;
    }
    .kpi-card.k-green::before  { background: var(--green); }
    .kpi-card.k-amber::before  { background: var(--amber); }
    .kpi-card.k-red::before    { background: var(--red); }
    .kpi-card.k-blue::before   { background: var(--blue); }

    .kpi-label { font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
    .kpi-value { font-family: var(--ff-head); font-size: 1.9rem; font-weight: 900; color: var(--text-h); line-height: 1; margin-bottom: 8px; }
    .kpi-trend {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 6px;
    }
    .kpi-trend.up   { background: rgba(16,185,129,.1); color: var(--green); }
    .kpi-trend.down { background: rgba(239,68,68,.1);  color: var(--red); }
    .kpi-trend.warn { background: rgba(245,158,11,.1); color: var(--amber); }
    .kpi-sub { font-size: .75rem; color: var(--text-muted); margin-top: 4px; }
    .kpi-sparkline { margin-top: 14px; height: 42px; }

    /* ---------- CHART CARDS ---------- */
    .chart-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 16px; padding: 24px;
    }
    .chart-head {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 20px;
    }
    .chart-title { font-family: var(--ff-body); font-size: 1rem; font-weight: 700; color: var(--text-h); }
    .chart-sub { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }
    .chart-period {
      display: flex; gap: 4px;
      background: var(--bg-2); padding: 3px; border-radius: 8px;
    }
    .cp-btn {
      padding: 4px 10px; border-radius: 6px; border: none; background: transparent;
      font-size: .72rem; font-weight: 600; color: var(--text-muted);
      cursor: pointer; transition: all var(--dur);
    }
    .cp-btn.on { background: var(--blue); color: #fff; }

    .legend-item { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--text-p); }
    .legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

    /* ---------- OPERATIONS TABLE (enhanced) ---------- */
    .ops-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 16px; overflow: hidden;
    }
    .ops-head {
      padding: 18px 24px; border-bottom: 1px solid var(--border);
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
    }
    .tab-strip {
      display: flex; gap: 2px;
      background: var(--bg-2); border-radius: 9px; padding: 3px;
    }
    .t-tab {
      padding: 6px 14px; border-radius: 7px; border: none;
      font-size: .775rem; font-weight: 600; color: var(--text-muted);
      background: transparent; cursor: pointer; white-space: nowrap;
      transition: all var(--dur);
    }
    .t-tab.on { background: var(--bg-card); color: var(--text-h); box-shadow: 0 1px 6px rgba(0,0,0,.08); }
    .t-tab .t-count {
      display: inline-flex; align-items: center; justify-content: center;
      width: 18px; height: 18px; border-radius: 50%; font-size: .65rem; font-weight: 800;
      background: var(--blue-light); color: var(--blue); margin-left: 5px;
    }

    .filter-bar { display: flex; gap: 8px; align-items: center; }
    .filter-select {
      background: var(--bg-2); border: 1px solid var(--border);
      border-radius: 8px; padding: 6px 10px; font-size: .775rem;
      color: var(--text-p); outline: none; cursor: pointer;
      transition: border-color var(--dur);
    }
    .filter-select:focus { border-color: var(--blue); }

    .table-admin th { padding: 12px 16px; white-space: nowrap; }
    .table-admin td { padding: 13px 16px; }
    .table-admin tbody tr:last-child td { border-bottom: none; }

    .client-cell .name { font-weight: 700; font-size: .855rem; color: var(--text-h); }
    .client-cell .email { font-size: .72rem; color: var(--text-muted); }
    .route-cell { font-size: .82rem; font-weight: 600; color: var(--text-h); }
    .route-cell .rtype { font-size: .7rem; font-weight: 600; color: var(--text-muted); }

    .amt-cell { font-weight: 700; font-size: .875rem; color: var(--text-h); }
    .amt-cell .cur { font-size: .7rem; color: var(--text-muted); }

    .agent-chip {
      display: inline-flex; align-items: center; gap: 5px;
      background: var(--bg-2); border-radius: 99px;
      padding: 3px 8px; font-size: .72rem; font-weight: 600; color: var(--text-p);
    }
    .agent-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

    .row-actions {
      display: flex; gap: 4px; opacity: 0;
      transition: opacity var(--dur);
    }
    .table-admin tbody tr:hover .row-actions { opacity: 1; }
    .ra-btn {
      width: 28px; height: 28px; border-radius: 7px; border: none;
      background: var(--bg-2); color: var(--text-muted);
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      font-size: .72rem; transition: all var(--dur);
    }
    .ra-btn:hover.approve { background: rgba(16,185,129,.1); color: var(--green); }
    .ra-btn:hover.view    { background: var(--blue-light); color: var(--blue); }
    .ra-btn:hover.delete  { background: rgba(239,68,68,.1); color: var(--red); }

    .table-pagination {
      padding: 14px 24px; border-top: 1px solid var(--border);
      display: flex; align-items: center; justify-content: space-between;
      font-size: .775rem; color: var(--text-muted);
    }
    .pag-btns { display: flex; gap: 4px; }
    .pag-btn {
      width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--border);
      background: var(--bg-card); color: var(--text-p); cursor: pointer;
      display: flex; align-items: center; justify-content: center; font-size: .8rem;
      font-weight: 600; transition: all var(--dur);
    }
    .pag-btn:hover { border-color: var(--blue); color: var(--blue); }
    .pag-btn.on { background: var(--blue); color: #fff; border-color: var(--blue); }

    /* ---------- QUICK ACTIONS + FEED ---------- */
    .qact-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 16px; padding: 20px; margin-bottom: 14px;
    }
    .qact-title { font-family: var(--ff-body); font-size: .9rem; font-weight: 700; color: var(--text-h); margin-bottom: 14px; }
    .qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .qa-btn {
      display: flex; flex-direction: column; align-items: center; gap: 6px;
      padding: 12px 8px; border-radius: 10px; border: 1px solid var(--border);
      background: var(--bg-2); cursor: pointer; font-size: .72rem; font-weight: 600;
      color: var(--text-p); transition: all var(--dur); text-align: center;
    }
    .qa-btn i { font-size: 1.05rem; color: var(--blue); }
    .qa-btn:hover { border-color: var(--blue); background: var(--blue-light); color: var(--blue); }
    .qa-btn:hover i { color: var(--blue-dark); }

    .feed-item {
      display: flex; gap: 11px; padding: 10px 0;
      border-bottom: 1px solid var(--border);
    }
    .feed-item:last-child { border-bottom: none; padding-bottom: 0; }
    .feed-icon {
      width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center; font-size: .72rem;
    }
    .feed-msg { font-size: .8rem; color: var(--text-p); line-height: 1.5; }
    .feed-msg strong { color: var(--text-h); font-weight: 700; }
    .feed-time { font-size: .7rem; color: var(--text-muted); margin-top: 2px; }

    /* ---------- VISA PIPELINE ---------- */
    .pipeline-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 16px; padding: 22px;
    }
    .pipeline-stage {
      display: flex; align-items: center; gap: 12px;
      padding: 10px 0; border-bottom: 1px solid var(--border);
    }
    .pipeline-stage:last-child { border-bottom: none; padding-bottom: 0; }
    .ps-icon {
      width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center; font-size: .8rem;
    }
    .ps-info { flex: 1; }
    .ps-name { font-size: .82rem; font-weight: 700; color: var(--text-h); }
    .ps-count { font-size: .7rem; color: var(--text-muted); }
    .ps-bar-bg {
      height: 5px; background: var(--bg-2); border-radius: 99px;
      overflow: hidden; margin-top: 5px;
    }
    .ps-bar { height: 100%; border-radius: 99px; transition: width .6s ease; }
    .ps-num {
      font-family: var(--ff-head); font-size: 1.25rem; font-weight: 900;
      color: var(--text-h); min-width: 32px; text-align: right;
    }

    /* ---------- AGENT PERFORMANCE ---------- */
    .agent-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 16px; overflow: hidden;
    }
    .agent-row {
      display: flex; align-items: center; gap: 14px;
      padding: 13px 20px; border-bottom: 1px solid var(--border);
      transition: background var(--dur);
    }
    .agent-row:last-child { border-bottom: none; }
    .agent-row:hover { background: var(--bg-2); }
    .agent-rank {
      width: 24px; height: 24px; border-radius: 7px;
      display: flex; align-items: center; justify-content: center;
      font-size: .7rem; font-weight: 800; flex-shrink: 0;
    }
    .agent-rank.gold   { background: rgba(245,158,11,.15); color: #D97706; }
    .agent-rank.silver { background: rgba(148,163,184,.15); color: #64748B; }
    .agent-rank.bronze { background: rgba(180,120,80,.15); color: #A16207; }
    .agent-rank.normal { background: var(--bg-2); color: var(--text-muted); }

    .ag-avatar {
      width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
      border: 2px solid var(--border); flex-shrink: 0;
      background: var(--blue-light); color: var(--blue);
      display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700;
    }
    .ag-name { font-size: .855rem; font-weight: 700; color: var(--text-h); }
    .ag-role { font-size: .7rem; color: var(--text-muted); }
    .ag-stat { text-align: right; flex-shrink: 0; }
    .ag-revenue { font-size: .875rem; font-weight: 800; color: var(--text-h); }
    .ag-bookings { font-size: .7rem; color: var(--text-muted); }
    .ag-bar-wrap { flex: 1; }
    .ag-bar-bg { height: 5px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
    .ag-bar { height: 100%; border-radius: 99px; background: var(--blue); transition: width .6s ease; }

    /* ---------- COMMAND PALETTE ---------- */
    .cmdpal-backdrop {
      position: fixed; inset: 0; background: rgba(0,0,0,.5);
      backdrop-filter: blur(4px); z-index: 9000;
      opacity: 0; visibility: hidden;
      transition: opacity .2s;
    }
    .cmdpal-backdrop.open { opacity: 1; visibility: visible; }
    .cmdpal {
      position: fixed; top: 20%; left: 50%; transform: translateX(-50%) translateY(-20px);
      width: 560px; max-width: 95vw;
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 18px; box-shadow: var(--shadow-lg); z-index: 9001;
      opacity: 0; visibility: hidden;
      transition: all .2s var(--ease);
    }
    .cmdpal-backdrop.open .cmdpal { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
    .cmdpal-search {
      display: flex; align-items: center; gap: 12px;
      padding: 16px 20px; border-bottom: 1px solid var(--border);
    }
    .cmdpal-search input {
      flex: 1; border: none; background: transparent; outline: none;
      font-size: 1rem; color: var(--text-h);
    }
    .cmdpal-search input::placeholder { color: var(--text-muted); }
    .cmdpal-results { padding: 8px; max-height: 360px; overflow-y: auto; }
    .cp-result {
      display: flex; align-items: center; gap: 12px;
      padding: 10px 12px; border-radius: 9px;
      cursor: pointer; font-size: .875rem; color: var(--text-p);
      transition: background var(--dur), color var(--dur);
    }
    .cp-result:hover, .cp-result.focused { background: var(--blue-light); color: var(--blue); }
    .cp-result i { width: 16px; text-align: center; color: var(--text-muted); }
    .cp-result:hover i, .cp-result.focused i { color: var(--blue); }
    .cp-result .cp-shortcut { margin-left: auto; font-size: .68rem; color: var(--text-muted); background: var(--bg-2); padding: 2px 6px; border-radius: 4px; }
    .cmdpal-footer {
      padding: 10px 18px; border-top: 1px solid var(--border);
      display: flex; gap: 16px; font-size: .72rem; color: var(--text-muted);
    }
    .cmdpal-footer span { display: flex; align-items: center; gap: 5px; }
    .cmdpal-footer code { background: var(--bg-2); border-radius: 4px; padding: 1px 5px; font-size: .68rem; }

    /* ---------- TOAST SYSTEM ---------- */
    .toast-container {
      position: fixed; bottom: 24px; right: 24px;
      display: flex; flex-direction: column-reverse; gap: 10px;
      z-index: 99999; pointer-events: none;
    }
    .toast-item {
      display: flex; align-items: flex-start; gap: 12px;
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 13px; padding: 14px 18px; box-shadow: var(--shadow-lg);
      min-width: 300px; max-width: 380px;
      pointer-events: all;
      animation: toast-in .35s cubic-bezier(.4,0,.2,1);
    }
    .toast-item.out { animation: toast-out .35s cubic-bezier(.4,0,.2,1) forwards; }
    @keyframes toast-in  { from { opacity:0; transform: translateX(30px) scale(.95); } to { opacity:1; transform: none; } }
    @keyframes toast-out { from { opacity:1; transform: none; } to { opacity:0; transform: translateX(30px) scale(.95); } }

    .toast-icon {
      width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center; font-size: .85rem;
    }
    .toast-icon.success { background: rgba(16,185,129,.1); color: var(--green); }
    .toast-icon.warn    { background: rgba(245,158,11,.1);  color: var(--amber); }
    .toast-icon.error   { background: rgba(239,68,68,.1);   color: var(--red); }
    .toast-icon.info    { background: var(--blue-light);    color: var(--blue); }

    .toast-title { font-size: .855rem; font-weight: 700; color: var(--text-h); margin-bottom: 2px; }
    .toast-msg   { font-size: .775rem; color: var(--text-muted); }
    .toast-close { margin-left: auto; background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: .8rem; padding: 0 0 0 8px; line-height: 1; }

    /* ---------- PROGRESS RING ---------- */
    .progress-ring-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; }
    .progress-ring-wrap .ring-label {
      position: absolute; font-family: var(--ff-head);
      font-size: .85rem; font-weight: 900; color: var(--text-h);
    }

    /* ---------- STATUS BADGES (extended) ---------- */
    .status-badge.blue   { background: var(--blue-light);        color: var(--blue); border: 1px solid rgba(59,130,246,.2); }
    .status-badge.purple { background: rgba(139,92,246,.1);      color: #7C3AED; border: 1px solid rgba(139,92,246,.2); }
    .status-badge.gray   { background: rgba(148,163,184,.1);     color: var(--text-muted); border: 1px solid var(--border); }

    /* ---------- MISC ---------- */
    .sep-line { border: none; border-top: 1px solid var(--border); margin: 0; }
    .section-head { font-family: var(--ff-body); font-size: 1rem; font-weight: 700; color: var(--text-h); }
    .section-sub  { font-size: .775rem; color: var(--text-muted); margin-top: 2px; }

    /* Dark mode adjustments */
    [data-theme="dark"] .search-bar { background: var(--bg-2); }
    [data-theme="dark"] .chart-card,
    [data-theme="dark"] .kpi-card,
    [data-theme="dark"] .ops-card,
    [data-theme="dark"] .qact-card,
    [data-theme="dark"] .pipeline-card,
    [data-theme="dark"] .agent-card { border-color: var(--border); }

    /* Scrollbar */
    ::-webkit-scrollbar { width: 5px; height: 5px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

    @media (max-width: 1280px) {
      .admin-sidebar { transform: translateX(-100%); }
      .admin-sidebar.mob-open { transform: translateX(0); }
      .admin-main { margin-left: 0 !important; }
    }
    @media (max-width: 768px) {
      .admin-canvas { padding: 16px; }
      .page-head { flex-direction: column; align-items: flex-start; }
    }
	
/* Floating WhatsApp & Call Buttons */
.whatsapp-float, .call-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 999;
}
.whatsapp-float:hover, .call-float:hover {
  transform: scale(1.08);
  background-color: #128C7E;
}
.call-float {
  background-color: var(--blue);
  bottom: 96px;  /* above WhatsApp */
}
@media (max-width: 768px) {
  .whatsapp-float, .call-float {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }
  .call-float { bottom: 86px; }
}

#dynamic-map {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.open-status-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.open-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--blue);
}
.open-badge {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 4px;
}
.open-badge.open { color: var(--green); }
.open-badge.closed { color: var(--red); }

/* Animated background blobs */
.blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(59,130,246,0.15);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  animation: float 20s infinite ease-in-out;
}
.blob-1 { top: -100px; left: -100px; }
.blob-2 { bottom: -100px; right: -100px; animation-delay: -5s; background: rgba(96,165,250,0.1); }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.05); }
}

/* Main card */
.login-container {
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 2;
}

.login-card {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(2px);
  border-radius: 42px;
  padding: 44px 40px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255,255,255,0.3);
}

.login-card:hover {
  transform: translateY(-4px);
}

/* Brand */
.brand {
  text-align: center;
  margin-bottom: 32px;
}
.logo {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #0B1426;
}
.logo span {
  color: #3B82F6;
}
.brand-sub {
  font-size: 0.8rem;
  color: #5B6B8C;
  margin-top: 6px;
  font-weight: 500;
}

/* Headline */
.welcome-text {
  text-align: center;
  margin-bottom: 32px;
}
.welcome-text h1 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #0B1426;
  margin-bottom: 6px;
}
.welcome-text p {
  font-size: 0.85rem;
  color: #5B6B8C;
}

/* Form */
.input-group {
  margin-bottom: 20px;
}
.input-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1E293B;
}
.input-field {
  position: relative;
}
.input-field i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 1rem;
  pointer-events: none;
}
.input-field input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
  background: #F8FAFC;
  color: #0F172A;
}
.input-field input:focus {
  outline: none;
  border-color: #3B82F6;
  background: white;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}
.toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #94A3B8;
  font-size: 0.9rem;
  background: transparent;
  border: none;
}

/* Options row */
.options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 28px;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #334155;
  cursor: pointer;
}
.checkbox input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #3B82F6;
}
.forgot-link {
  font-size: 0.8rem;
  color: #3B82F6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.forgot-link:hover {
  color: #1D4ED8;
  text-decoration: underline;
}

/* Login button */
.login-btn {
  width: 100%;
  background: #0F2050;
  border: none;
  padding: 14px;
  border-radius: 30px;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.login-btn:hover {
  background: #1A3A8A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15,32,80,0.3);
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  color: #94A3B8;
  font-size: 0.75rem;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #E2E8F0;
}
.divider span {
  margin: 0 12px;
}

/* Social buttons */
.social-login {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
.social-btn {
  flex: 1;
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 30px;
  padding: 12px 0;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  color: #1E293B;
  text-decoration: none;
}
.social-btn i {
  font-size: 1rem;
}
.social-btn:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

/* Sign up link */
.signup-link {
  text-align: center;
  font-size: 0.85rem;
  color: #475569;
}
.signup-link a {
  color: #3B82F6;
  font-weight: 700;
  text-decoration: none;
}
.signup-link a:hover {
  text-decoration: underline;
}

/* Footer note */
.footer-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.7rem;
  color: #94A3B8;
}

/* Responsive */
@media (max-width: 520px) {
  .login-card {
	padding: 32px 24px;
  }
  .social-btn span {
	display: none;
  }
  .social-btn i {
	margin: 0;
	font-size: 1.2rem;
  }
  .social-btn {
	padding: 12px;
  }
}

/* Additional login‑specific styles (only if base.njk doesn't already have them) */
.login-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.brand .logo {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-h);
}
.brand .logo span { color: var(--blue); }
.brand-sub {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
}
.divider hr {
  margin: 0;
  position: absolute;
  top: 50%;
  z-index: 0;
}
.divider span {
  z-index: 1;
  background: var(--bg-card);
  padding: 0 1rem;
}
.input-group-text {
  background-color: var(--bg-2);
  border-color: var(--border);
}
.form-control {
  background-color: var(--bg-2);
  border-color: var(--border);
  color: var(--text-h);
}
.form-control:focus {
  background-color: var(--bg-2);
  border-color: var(--blue);
  box-shadow: 0 0 0 0.25rem rgba(59,130,246,0.25);
}
.btn-primary {
  background-color: var(--blue);
  border-color: var(--blue);
}
.btn-primary:hover {
  background-color: var(--blue-dark);
  border-color: var(--blue-dark);
}
.btn-outline-secondary {
  border-color: var(--border);
  color: var(--text-p);
}
.btn-outline-secondary:hover {
  background-color: var(--bg-2);
  border-color: var(--blue);
  color: var(--blue);
}

/* ============================================================
   PACKAGES & PRICING — Page-Specific Styles
   All CSS variables & base components come from main.css
============================================================ */

/* ---- PRICING HERO ---- */
.pricing-hero {
  background: linear-gradient(145deg, #070F20 0%, #0D1F4A 52%, #1A3580 100%);
  padding: 140px 0 72px;
  position: relative;
  overflow: hidden;
}
.pricing-hero-canvas {
  position: absolute; inset: 0; z-index: 0; opacity: .55;
}
.pricing-hero .inner { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59,130,246,.18); border: 1px solid rgba(59,130,246,.35);
  color: #93C5FD; font-size: .7rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 99px; margin-bottom: 18px;
}
.hero-pg-title {
  font-family: var(--ff-head); font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900; color: #fff; line-height: 1.06; margin-bottom: 16px;
}
.hero-pg-title .hl { color: #60A5FA; }
.hero-pg-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.62);
  line-height: 1.72; max-width: 580px; margin-bottom: 32px;
}

.hero-quick-nav {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.hqn-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 99px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.75); font-size: .82rem; font-weight: 600;
  text-decoration: none; transition: all .25s;
}
.hqn-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Hero badge strip */
.hero-trust-strip {
  display: flex; flex-wrap: wrap; gap: 24px; margin-top: 44px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08);
}
.hts-item { display: flex; align-items: center; gap: 10px; }
.hts-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(59,130,246,.2); border: 1px solid rgba(59,130,246,.3);
  display: flex; align-items: center; justify-content: center;
  color: #93C5FD; font-size: .85rem; flex-shrink: 0;
}
.hts-val { font-family: var(--ff-head); font-size: 1.15rem; font-weight: 900; color: #fff; line-height: 1; }
.hts-lbl { font-size: .68rem; font-weight: 600; color: rgba(255,255,255,.4); letter-spacing: .5px; margin-top: 2px; }

/* ---- SECTION HEADERS ---- */
.pg-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .68rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue);
  background: var(--blue-light); padding: 5px 13px;
  border-radius: 99px; margin-bottom: 12px;
}
.pg-title {
  font-family: var(--ff-head); font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 900; color: var(--text-h); line-height: 1.1; margin-bottom: 12px;
}
.pg-sub {
  font-size: 1rem; color: var(--text-muted);
  line-height: 1.7; max-width: 560px; margin: 0 auto;
}

/* ---- COMPARISON TOGGLE ---- */
.compare-toggle-bar {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 48px; flex-wrap: wrap;
}
.compare-switch {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 11px; padding: 5px 6px;
}
.csw-btn {
  padding: 9px 20px; border-radius: 9px; border: none;
  background: transparent; font-size: .855rem; font-weight: 600;
  color: var(--text-muted); cursor: pointer;
  transition: all .22s; white-space: nowrap;
}
.csw-btn.on { background: var(--blue); color: #fff; box-shadow: 0 3px 14px rgba(59,130,246,.3); }

.annual-badge {
  background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25);
  color: var(--green); font-size: .7rem; font-weight: 800;
  padding: 3px 9px; border-radius: 99px; letter-spacing: .5px;
}

/* ---- PRICING CARDS ---- */
.price-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: 22px; padding: 36px 30px; position: relative;
  height: 100%; transition: transform var(--dur), box-shadow var(--dur);
  display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.feat {
  border-color: var(--blue);
  background: var(--blue-xlight);
}
.price-pop {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  color: #fff; font-size: .68rem; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 18px; border-radius: 99px; white-space: nowrap;
}
.price-name { font-family: var(--ff-body); font-size: .68rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.price-val { font-family: var(--ff-head); font-size: 3rem; font-weight: 900; color: var(--text-h); line-height: 1; }
.price-val sup { font-size: 1rem; font-weight: 700; vertical-align: super; font-family: var(--ff-body); }
.price-val .per { font-size: .75rem; font-weight: 600; color: var(--text-muted); font-family: var(--ff-body); }
.annual-price { font-size: .78rem; color: var(--text-muted); margin-top: 3px; display: none; }

.price-desc { font-size: .845rem; color: var(--text-muted); line-height: 1.6; margin: 12px 0 22px; }

.price-feats { list-style: none; margin-bottom: 28px; flex: 1; }
.price-feats li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; font-size: .87rem; color: var(--text-p);
  border-bottom: 1px solid var(--border);
}
.price-feats li:last-child { border: none; }
.pf-icon { font-size: .78rem; margin-top: 2px; flex-shrink: 0; }
.pf-icon.yes { color: var(--green); }
.pf-icon.no  { color: var(--text-muted); }
.pf-icon.star { color: var(--amber); }

.btn-pf {
  display: block; width: 100%; padding: 13px;
  text-align: center; border-radius: 11px; font-size: .9rem; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: all var(--dur); border: none;
  font-family: var(--ff-body);
}
.btn-pf-fill { background: var(--blue); color: #fff; }
.btn-pf-fill:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(59,130,246,.35); color: #fff; }
.btn-pf-outline { background: transparent; color: var(--text-h); border: 1.5px solid var(--border); }
.btn-pf-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-xlight); }

/* ---- COMPARISON TABLE ---- */
.compare-table-wrap {
  max-height: 0; overflow: hidden;
  transition: max-height .6s cubic-bezier(.4,0,.2,1);
}
.compare-table-wrap.open { max-height: 2000px; }

.compare-toggle-btn {
  display: flex; align-items: center; gap: 9px; margin: 24px auto 0;
  background: var(--bg-2); border: 1.5px solid var(--border);
  color: var(--text-p); font-size: .875rem; font-weight: 700;
  padding: 11px 24px; border-radius: 11px; cursor: pointer;
  transition: all var(--dur); font-family: var(--ff-body);
}
.compare-toggle-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-xlight); }
.compare-toggle-btn i { transition: transform .3s; }
.compare-toggle-btn.open i { transform: rotate(180deg); }

.ctable {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin-top: 32px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
}
.ctable th, .ctable td { padding: 14px 20px; text-align: center; }
.ctable th:first-child, .ctable td:first-child { text-align: left; }
.ctable thead th {
  background: var(--bg-2); font-family: var(--ff-body); font-size: .78rem;
  font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-muted); border-bottom: 1px solid var(--border);
}
.ctable thead th.feat-col { background: var(--blue); color: #fff; }
.ctable tbody tr { transition: background var(--dur); }
.ctable tbody tr:hover { background: var(--bg-2); }
.ctable tbody td { border-bottom: 1px solid var(--border); font-size: .87rem; color: var(--text-p); }
.ctable tbody tr:last-child td { border-bottom: none; }
.ctable .cat-row td { background: var(--bg-2); font-size: .7rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); padding: 10px 20px; }
.ctable .feat-val { color: var(--blue); font-weight: 700; }
.ct-check { color: var(--green); } .ct-x { color: var(--text-muted); } .ct-gold { color: var(--amber); }

/* ---- TRAVEL CALCULATOR ---- */
.calc-section {
  background: linear-gradient(135deg, #0B1426, #0D1F4A);
  padding: var(--sec-py) 0; position: relative; overflow: hidden;
}
.calc-section::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.02'%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");
}
.calc-inner { position: relative; z-index: 1; }

.calc-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 22px; padding: 36px; box-shadow: var(--shadow-lg);
}
.calc-label {
  font-size: .78rem; font-weight: 700; color: var(--text-h);
  margin-bottom: 7px; display: block;
}
.calc-input {
  width: 100%; background: var(--bg-2); border: 1.5px solid var(--border);
  border-radius: 11px; padding: 11px 14px; font-size: .9rem;
  color: var(--text-h); outline: none; font-family: var(--ff-body);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.calc-input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,130,246,.1); background: var(--bg-card); }
.calc-input option { background: var(--bg-card); }

/* Pax stepper */
.pax-stepper { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--border); border-radius: 11px; overflow: hidden; background: var(--bg-2); }
.pax-btn { width: 44px; height: 44px; background: transparent; border: none; color: var(--text-p); font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--dur), color var(--dur); }
.pax-btn:hover { background: var(--blue-light); color: var(--blue); }
.pax-val { flex: 1; text-align: center; font-size: 1.05rem; font-weight: 700; color: var(--text-h); }

/* Checkbox add-ons */
.addon-check {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 13px; border: 1.5px solid var(--border);
  border-radius: 10px; cursor: pointer; font-size: .845rem;
  color: var(--text-p); transition: all var(--dur);
  background: var(--bg-2);
}
.addon-check input { accent-color: var(--blue); cursor: pointer; }
.addon-check:has(input:checked) { border-color: var(--blue); background: var(--blue-xlight); color: var(--blue); }
.addon-check .ac-price { margin-left: auto; font-weight: 700; font-size: .8rem; color: var(--text-muted); }
.addon-check:has(input:checked) .ac-price { color: var(--blue); }

/* Result panel */
.calc-result-card {
  background: linear-gradient(145deg, #0B1426, #162550);
  border: 1px solid rgba(59,130,246,.25); border-radius: 22px;
  padding: 32px; height: 100%;
}
.calc-result-title { font-family: var(--ff-head); font-size: 1.05rem; font-weight: 900; color: #fff; margin-bottom: 24px; }
.calc-line {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.calc-line:last-of-type { border-bottom: none; }
.cl-label { font-size: .845rem; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 8px; }
.cl-label i { width: 14px; text-align: center; color: rgba(255,255,255,.3); }
.cl-val { font-size: .9rem; font-weight: 700; color: #fff; white-space: nowrap; }
.calc-sep { height: 1px; background: rgba(255,255,255,.12); margin: 12px 0; }
.calc-total-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; background: rgba(59,130,246,.15);
  border: 1px solid rgba(59,130,246,.3); border-radius: 12px; margin-top: 8px;
}
.calc-total-lbl { font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.7); }
.calc-total-val {
  font-family: var(--ff-head); font-size: 2rem; font-weight: 900; color: #fff;
  transition: transform .2s;
}
.calc-total-val.pop { transform: scale(1.08); }
.calc-pp { font-size: .78rem; color: rgba(255,255,255,.4); margin-top: 4px; text-align: right; }

.calc-note { font-size: .75rem; color: rgba(255,255,255,.3); line-height: 1.6; margin-top: 16px; }

.btn-get-quote {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 14px; margin-top: 20px;
  background: var(--blue); color: #fff; border: none;
  border-radius: 11px; font-size: .92rem; font-weight: 700;
  cursor: pointer; font-family: var(--ff-body);
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
}
.btn-get-quote:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(59,130,246,.45); }

/* ---- DESTINATION PRICING ---- */
.dest-filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 36px;
}
.df-btn {
  padding: 9px 20px; border-radius: 99px; border: 1.5px solid var(--border);
  background: var(--bg-card); color: var(--text-p); font-size: .84rem;
  font-weight: 600; cursor: pointer; transition: all .2s;
  display: flex; align-items: center; gap: 7px;
  font-family: var(--ff-body);
}
.df-btn:hover { border-color: var(--blue); color: var(--blue); }
.df-btn.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.df-count { font-size: .68rem; background: rgba(255,255,255,.2); border-radius: 99px; padding: 1px 7px; }
.df-btn.on .df-count { background: rgba(255,255,255,.2); }
.df-btn:not(.on) .df-count { background: var(--bg-2); color: var(--text-muted); }

.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.dest-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur);
  cursor: pointer;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }

.dest-card-top {
  padding: 22px 20px 16px;
  background: linear-gradient(135deg, var(--blue-xdark), var(--blue));
  position: relative;
}
.dest-flag { font-size: 2.4rem; line-height: 1; margin-bottom: 8px; display: block; }
.dest-city { font-family: var(--ff-head); font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 2px; }
.dest-country { font-size: .75rem; color: rgba(255,255,255,.6); font-weight: 600; }
.dest-rating {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,.25); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  color: #FCD34D; font-size: .72rem; font-weight: 800;
  padding: 4px 9px; border-radius: 99px;
  display: flex; align-items: center; gap: 4px;
}

.dest-card-body { padding: 16px 20px; }
.dest-stat-row { display: flex; gap: 0; margin-bottom: 14px; }
.dest-stat {
  flex: 1; text-align: center; padding: 8px 4px;
  border-right: 1px solid var(--border);
}
.dest-stat:last-child { border-right: none; }
.ds-val { font-size: .82rem; font-weight: 800; color: var(--text-h); line-height: 1; }
.ds-lbl { font-size: .63rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-top: 3px; }

.visa-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 99px;
  margin-bottom: 14px;
}
.visa-pill.free { background: rgba(16,185,129,.1); color: var(--green); border: 1px solid rgba(16,185,129,.2); }
.visa-pill.required { background: rgba(245,158,11,.1); color: var(--amber); border: 1px solid rgba(245,158,11,.2); }
.visa-pill.arrival { background: var(--blue-light); color: var(--blue); border: 1px solid rgba(59,130,246,.2); }

.dest-pkg-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0 0;  border-top: 1px solid var(--border);
}
.dest-pkg-from { font-size: .7rem; font-weight: 600; color: var(--text-muted); }
.dest-pkg-price { font-family: var(--ff-head); font-size: 1.2rem; font-weight: 900; color: var(--blue); }
.dest-pkg-cta {
  padding: 7px 14px; background: var(--blue); color: #fff;
  border-radius: 8px; font-size: .78rem; font-weight: 700;
  border: none; cursor: pointer; font-family: var(--ff-body);
  transition: background var(--dur), transform var(--dur);
}
.dest-pkg-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* Dest search */
.dest-search-wrap {
  position: relative; max-width: 360px; margin: 0 auto 28px;
}
.dest-search {
  width: 100%; background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: 99px; padding: 11px 40px 11px 18px; font-size: .875rem;
  color: var(--text-h); outline: none; font-family: var(--ff-body);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.dest-search:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,130,246,.08); }
.dest-search::placeholder { color: var(--text-muted); }
.dest-search-icon {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: .85rem; pointer-events: none;
}
.dest-count-label { text-align: center; font-size: .8rem; color: var(--text-muted); margin-bottom: 20px; }

/* ---- ADD-ONS ---- */
.addon-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.addon-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
  transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur);
  display: flex; flex-direction: column;
}
.addon-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.addon-icon {
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 14px;
}
.addon-name { font-family: var(--ff-body); font-size: 1rem; font-weight: 800; color: var(--text-h); margin-bottom: 6px; }
.addon-desc { font-size: .845rem; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.addon-price-row { display: flex; align-items: center; justify-content: space-between; }
.addon-from { font-size: .7rem; color: var(--text-muted); font-weight: 600; }
.addon-price { font-family: var(--ff-head); font-size: 1.35rem; font-weight: 900; color: var(--text-h); }
.btn-addon { padding: 8px 16px; background: transparent; border: 1.5px solid var(--border); color: var(--text-p); border-radius: 9px; font-size: .8rem; font-weight: 700; cursor: pointer; transition: all var(--dur); font-family: var(--ff-body); }
.btn-addon:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---- MEMBERSHIP ---- */
.billing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 48px;
}
.bt-label { font-size: .9rem; font-weight: 700; color: var(--text-muted); }
.bt-label.on { color: var(--text-h); }
.toggle-switch {
  width: 52px; height: 28px; background: var(--blue);
  border-radius: 99px; position: relative; cursor: pointer;
  border: none; transition: background .2s;
}
.toggle-switch::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; background: #fff; border-radius: 50%;
  transition: left .2s;
}
.toggle-switch.monthly::after { left: calc(100% - 25px); }
.save-badge {
  background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25);
  color: var(--green); font-size: .72rem; font-weight: 800;
  padding: 3px 10px; border-radius: 99px;
}

.mem-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: 22px; padding: 34px; position: relative;
  height: 100%; transition: transform var(--dur), box-shadow var(--dur);
  display: flex; flex-direction: column;
}
.mem-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.mem-card.featured { border-color: var(--blue); }
.mem-pop {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--amber), #F97316);
  color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 18px; border-radius: 99px;
  white-space: nowrap;
}
.mem-tier { font-size: .65rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.mem-price { font-family: var(--ff-head); font-size: 2.5rem; font-weight: 900; color: var(--text-h); line-height: 1; }
.mem-price sub { font-size: .9rem; font-weight: 600; color: var(--text-muted); font-family: var(--ff-body); }
.mem-annual-note { font-size: .75rem; color: var(--text-muted); margin-top: 4px; min-height: 20px; }
.mem-desc { font-size: .87rem; color: var(--text-muted); line-height: 1.65; margin: 14px 0 22px; }
.mem-feats { list-style: none; flex: 1; margin-bottom: 24px; }
.mem-feats li {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 8px 0; font-size: .865rem; color: var(--text-p);
  border-bottom: 1px solid var(--border);
}
.mem-feats li:last-child { border: none; }
.mf-icon { font-size: .78rem; margin-top: 3px; flex-shrink: 0; }
.mf-icon.yes { color: var(--green); } .mf-icon.gold { color: var(--amber); }

/* ---- PRICE ALERT ---- */
.alert-card {
  background: linear-gradient(135deg, var(--blue-xdark), var(--blue));
  border-radius: 22px; padding: 52px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.alert-card::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='40' cy='40' r='38'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center/80px;
}
.alert-card .inner { position: relative; z-index: 1; }
.alert-icon { font-size: 2.4rem; color: #FCD34D; margin-bottom: 16px; }
.alert-title { font-family: var(--ff-head); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; color: #fff; margin-bottom: 10px; }
.alert-sub { font-size: 1rem; color: rgba(255,255,255,.7); line-height: 1.65; max-width: 500px; margin: 0 auto 28px; }
.alert-form {
  display: flex; gap: 8px; max-width: 520px; margin: 0 auto;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 99px; padding: 5px 5px 5px 20px;
}
.alert-email {
  flex: 1; background: transparent; border: none; outline: none;
  color: #fff; font-size: .9rem; font-family: var(--ff-body); min-width: 0;
}
.alert-email::placeholder { color: rgba(255,255,255,.4); }
.alert-dest {
  background: rgba(255,255,255,.1); border: none; outline: none;
  border-right: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8); font-size: .82rem; font-family: var(--ff-body);
  padding: 0 12px 0 6px; min-width: 130px; cursor: pointer;
}
.alert-dest option { background: #0F172A; }
.alert-submit {
  background: #fff; color: var(--blue); border: none;
  padding: 11px 22px; border-radius: 99px; font-size: .875rem; font-weight: 800;
  cursor: pointer; font-family: var(--ff-body); white-space: nowrap;
  transition: all var(--dur);
}
.alert-submit:hover { background: var(--blue-dark); color: #fff; }

/* ---- FEATURE HIGHLIGHTS STRIP ---- */
.features-strip {
  background: var(--bg-card); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 28px 0;
}
.fs-grid {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 20px;
}
.fs-item {
  display: flex; align-items: center; gap: 12px; flex: 1; min-width: 180px;
}
.fs-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0;
}
.fs-title { font-size: .88rem; font-weight: 700; color: var(--text-h); }
.fs-desc  { font-size: .76rem; color: var(--text-muted); }

/* ---- CTA BAND ---- */
#cta-band {
  position: relative; padding: 80px 0; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-xdark), var(--blue), #60A5FA);
  text-align: center;
}
#cta-band::after {
  content: ''; position: absolute; inset: 0;
  background: url('https://picsum.photos/1600/400?grayscale&random=99') center/cover;
  opacity: .06; pointer-events: none;
}
#cta-band .band-inner { position: relative; z-index: 1; }
#cta-band h2 { font-family: var(--ff-head); font-size: clamp(1.8rem,4vw,2.9rem); font-weight: 900; color: #fff; margin-bottom: 12px; }
#cta-band p  { color: rgba(255,255,255,.75); font-size: 1rem; margin-bottom: 28px; }

/* ---- SIMPLIFIED FOOTER ---- */
.slim-footer {
  background: #070F20; padding: 28px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.slim-footer a { color: rgba(255,255,255,.4); font-size: .8rem; text-decoration: none; transition: color var(--dur); }
.slim-footer a:hover { color: var(--blue); }
.sf-logo { font-family: var(--ff-head); font-size: 1.2rem; font-weight: 900; color: #fff; }
.sf-logo em { font-style: normal; color: var(--blue); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.dest-card { animation: fadeUp .38s ease both; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .calc-result-card { margin-top: 24px; }
  .dest-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (max-width: 575px) {
  .pricing-hero { padding: 110px 0 56px; }
  .alert-form { flex-direction: column; border-radius: 14px; padding: 12px; }
  .alert-email { padding: 8px 0; }
  .alert-dest { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); padding: 8px 0; }
  .alert-submit { border-radius: 9px; width: 100%; padding: 13px; }
  .dest-grid { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: 1fr; }
}

/* ---- LIVE TICKER ANIMATIONS ---- */
.ticker-card {
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform; /* Hardware acceleration for smooth frames */
}

.ticker-card.fade-out {
  opacity: 0 !important;
  transform: translateY(10px); /* Drops slightly as it fades */
}

/* ============================================================
   DANAH TRAVEL — ENHANCEMENT LAYER  (append to the END of main.css)
   ------------------------------------------------------------
   • Completes RTL/LTR alignment (existing CSS only covered nav,
     sidebar, and the logo — everything else is handled here).
   • Adds the accessibility floor that was missing.
   • Restrained, brand-consistent visual polish.

   SAFE BY DESIGN: every rule is either purely additive or scoped
   to [dir="rtl"], so the current English / LTR view does not move.
   FONTS ARE UNCHANGED — Purista + Janna LT exactly as you have them.

   ACTIVATION: for the RTL rules to switch on, the Arabic toggle must
   set BOTH attributes on <html>:  dir="rtl"  and  lang="ar"
   (base.njk currently ships lang="en" with no dir — give it a
   default dir="ltr" and have switchLang('ar') flip both).
   ============================================================ */

/* ---- 1. ARABIC-SAFE HEADINGS -------------------------------
   Purista is a Latin-only display face, so Arabic headings were
   silently dropping to the system font. Appending 'Janna LT' to the
   stack lets the browser pull ONLY the Arabic glyphs from Janna while
   Latin letters and numerals stay in Purista. Improves both modes; no
   visual change to existing English text. */
:root { --ff-head: 'Purista', 'Janna LT', 'Segoe UI', sans-serif; }

/* ---- 2. DIRECTION FOUNDATION ------------------------------- */
html[dir="rtl"]            { direction: rtl; }
[dir="rtl"] body           { text-align: right; }
[dir="rtl"] .text-start    { text-align: right !important; }
[dir="rtl"] .text-end      { text-align: left  !important; }
[dir="rtl"] .text-md-start { text-align: right !important; }
[dir="rtl"] .text-md-end   { text-align: left  !important; }

/* ---- 3. BOOTSTRAP SPACING/FLOAT UTILITIES -----------------
   The CDN Bootstrap build is LTR, so me-* / ms-* are physical and
   push icons the wrong way in Arabic. Flip the ones used in markup. */
[dir="rtl"] .me-1 { margin-right:0!important; margin-left:.25rem!important; }
[dir="rtl"] .me-2 { margin-right:0!important; margin-left:.5rem !important; }
[dir="rtl"] .me-3 { margin-right:0!important; margin-left:1rem  !important; }
[dir="rtl"] .ms-1 { margin-left:0!important;  margin-right:.25rem!important; }
[dir="rtl"] .ms-2 { margin-left:0!important;  margin-right:.5rem !important; }
[dir="rtl"] .ms-3 { margin-left:0!important;  margin-right:1rem  !important; }
[dir="rtl"] .ms-auto { margin-left:0!important; margin-right:auto!important; }
[dir="rtl"] .me-auto { margin-right:0!important; margin-left:auto!important; }
[dir="rtl"] .float-start { float:right!important; }
[dir="rtl"] .float-end   { float:left !important; }

/* ---- 4. FORMS IN RTL --------------------------------------- */
[dir="rtl"] .form-control,
[dir="rtl"] .form-select,
[dir="rtl"] .nl-input            { text-align: right; }
[dir="rtl"] .input-group         { flex-direction: row-reverse; }
[dir="rtl"] .form-check          { padding-right: 1.5em; padding-left: 0; }
[dir="rtl"] .form-check-input    { float: right; margin-right: -1.5em; margin-left: 0; }
[dir="rtl"] .form-label,
[dir="rtl"] label                { text-align: right; }

/* ---- 5. DIRECTIONAL ICONS MIRROR --------------------------
   Arrows / chevrons / angles point the correct way in Arabic. */
[dir="rtl"] :is(
  .fa-arrow-right, .fa-arrow-left, .fa-angle-right, .fa-angle-left,
  .fa-chevron-right, .fa-chevron-left, .fa-arrow-right-to-bracket,
  .fa-arrow-right-long, .fa-long-arrow-alt-right
) { transform: scaleX(-1); }

/* ---- 6. FLOATING ACTION BUTTONS SWAP SIDE ----------------- */
[dir="rtl"] .whatsapp-float,
[dir="rtl"] .call-float { right: auto; left: 26px; }
@media (max-width: 600px){
  [dir="rtl"] .whatsapp-float,
  [dir="rtl"] .call-float { right: auto; left: 18px; }
}

/* ---- 7. SECTION + DASHBOARD + FOOTER ALIGN ---------------- */
[dir="rtl"] .sec-title,
[dir="rtl"] .price-name,
[dir="rtl"] .foot-head,
[dir="rtl"] .dash-link          { text-align: right; }
[dir="rtl"] .dash-nav .dash-link i { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .foot-links a i        { margin-right: 0; margin-left: 6px; }

/* ============================================================
   ACCESSIBILITY FLOOR
   ============================================================ */

/* ---- 8. RESPECT REDUCED MOTION (was missing) -------------- */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  #preloader { display: none !important; }
  .blob { animation: none !important; }
}

/* ---- 9. RESTORE A REAL CURSOR ON TOUCH -------------------
   body sets cursor:none for the custom cursor — pointless on touch. */
@media (hover: none){ body { cursor: auto; } }

/* ============================================================
   RESTRAINED POLISH  (additive, uses your existing tokens)
   ============================================================ */

/* ---- 10. Button micro-interaction ------------------------- */
:is(.btn-blue, .btn-outline, .btn-theme){
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
:is(.btn-blue, .btn-outline, .btn-theme):active { transform: translateY(1px); }
.btn-blue:hover { box-shadow: 0 6px 18px rgba(59,130,246,.28); }

/* ---- 11. Unified brand focus ring on inputs --------------- */
.form-control:focus,
.form-select:focus,
.nl-input:focus{
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(59,130,246,.12);
  outline: none;
}

/* ---- 12. Smoother card elevation -------------------------- */
.card-base{
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

body.season-summer #hero { background: linear-gradient(135deg, #1a3a5c, #0f2a44); }

body.season-eid .hero-badge { background: rgba(255,215,0,.2); }

.skeleton-card {
  height: 100px;
  background: var(--bg-2);
  border-radius: 12px;
  margin-bottom: 16px;
  animation: skeleton-pulse 1.8s infinite;
}

@keyframes skeleton-pulse {
  0% { opacity: .4; }
  50% { opacity: .8; }
  100% { opacity: .4; }
}

/* Admin login accent */
body.login-admin-theme .login-card {
  border-top: 4px solid #EF4444;   /* Red stripe to signal restricted area */
}

/* ============================================================
   INVOICE GENERATOR WORKSPACE
============================================================ */

.invoice-workspace {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 32px;
    align-items: start;
}

/* Builder Controls */
.builder-pane {
    position: sticky;
    top: 90px; /* Accounts for header height + padding */
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.form-section-title {
    font-family: var(--ff-head);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin: 24px 0 16px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}
.form-section-title:first-child { margin-top: 0; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.line-item-input {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    position: relative;
}

.btn-remove-item {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: var(--shadow-sm);
}

/* The Paper (Live Preview) */
.preview-pane {
    display: flex;
    justify-content: center;
}

.invoice-paper {
    background: #FFFFFF !important; /* Force light mode for print accuracy */
    color: #111827 !important;
    width: 100%;
    max-width: 800px;
    min-height: 1056px; /* Standard 8.5x11 aspect ratio */
    padding: 64px;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    font-family: 'Segoe UI', sans-serif;
}

.inv-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #E5E7EB;
    padding-bottom: 32px;
    margin-bottom: 32px;
}

.inv-logo { height: 48px; margin-bottom: 16px; }
.inv-company-info { font-size: 0.85rem; color: #6B7280; line-height: 1.6; }

.inv-meta { text-align: right; }
.inv-title { font-family: var(--ff-head); font-size: 2.5rem; font-weight: 900; color: #D1D5DB; letter-spacing: 4px; margin-bottom: 16px; }
.inv-meta-grid { display: grid; grid-template-columns: auto auto; gap: 8px 16px; text-align: right; font-size: 0.85rem; }
.meta-lbl { color: #6B7280; font-weight: 600; }
.meta-val { color: #111827; font-weight: 700; }

.inv-bill-to { margin-bottom: 48px; }
.bill-to-name { font-size: 1.25rem; font-weight: 700; margin-top: 8px; color: #111827; }
.bill-to-email { font-size: 0.9rem; color: #6B7280; }

.inv-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.inv-table th { background: #F3F4F6; padding: 12px 16px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #4B5563; border-bottom: 2px solid #D1D5DB; }
.inv-table td { padding: 16px; border-bottom: 1px solid #E5E7EB; font-size: 0.95rem; }

.inv-summary { width: 320px; margin-left: auto; }
.summary-row { display: flex; justify-content: space-between; padding: 12px 0; font-size: 0.95rem; color: #4B5563; }
.summary-row.total-row { border-top: 2px solid #111827; font-size: 1.25rem; font-weight: 800; color: #111827; margin-top: 8px; padding-top: 16px; }

.inv-footer { margin-top: 64px; text-align: center; font-size: 0.85rem; color: #9CA3AF; }

/* Print Overrides */
@media print {
    body * { visibility: hidden; }
    #print-area, #print-area * { visibility: visible; }
    #print-area { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; padding: 0; }
    .builder-pane, .page-head, .admin-sidebar { display: none !important; }
}

@media (max-width: 1200px) {
    .invoice-workspace { grid-template-columns: 1fr; }
    .builder-pane { position: static; max-height: none; }
}