/**
 * main.css — Design System, Layout, Typography, Components
 * AI Travel Itinerary Generator
 * Extracted from index.html for modular GitHub structure
 */

/* =================== DESIGN SYSTEM =================== */
:root {
  --ink: #0d1117;
  --ink-2: #1c2333;
  --ink-3: #2d3748;
  --sand: #f5f0e8;
  --sand-2: #ede7d9;
  --sand-3: #e0d8c8;
  --gold: #c9a84c;
  --gold-2: #e8c66a;
  --gold-light: #f9f0d8;
  --teal: #2a7b7b;
  --teal-2: #3a9b9b;
  --teal-light: #e8f4f4;
  --coral: #d4634e;
  --white: #ffffff;
  --text-primary: #0d1117;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border: rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.14);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}
[data-theme="dark"] {
  --sand: #1a1f2e;
  --sand-2: #141926;
  --sand-3: #111622;
  --gold-light: #1e1a0e;
  --teal-light: #0e1a1a;
  --text-primary: #f0ece4;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --border: rgba(255,255,255,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.5);
  --white: #1c2333;
}
/* =================== RESET & BASE =================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--sand);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }
select, input, textarea { font-family: var(--font-body); }
a { text-decoration: none; color: inherit; }

/* =================== TYPOGRAPHY =================== */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
.display-xl { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 300; letter-spacing: -0.02em; }
.display-lg { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; }
.display-md { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; }
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* =================== LAYOUT =================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; width: 100%; box-sizing: border-box; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* =================== TOPBAR =================== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem));
  background: rgba(245,240,232,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
[data-theme="dark"] .topbar { background: rgba(26,31,46,0.85); }
.topbar-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--text-primary);
  text-decoration: none;
}
.topbar-logo span { color: var(--gold); }
.topbar-actions { display: flex; align-items: center; gap: 1.1rem; }
.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sand-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all var(--transition);
  cursor: pointer;
}
.theme-toggle:hover { background: var(--sand-3); transform: scale(1.05); }
.nav-link {
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-secondary, #4a5568);
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.nav-link:hover { color: var(--gold); }
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--ink, #1a1f2e);
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  margin-left: 0.3rem;
  line-height: 1;
}

/* =================== MOBILE HEADER & DRAWER SYSTEM =================== */
/* Hidden on Desktop (PC screens >= 861px) */
.mobile-menu-toggle,
.mobile-right-actions,
.mobile-menu-drawer-wrap {
  display: none;
}

/* Mobile Responsive Mode (<= 860px) */
@media (max-width: 860px) {
  .topbar {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    height: 62px;
  }

  /* Hide Desktop Horizontal Navigation Actions */
  .topbar-actions {
    display: none !important;
  }

  /* Hamburger Menu Toggle (Left on Mobile) */
  .mobile-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
  }
  .mobile-menu-toggle .hamburger-line {
    width: 24px;
    height: 2.5px;
    background: var(--gold, #c9a84c);
    border-radius: 2px;
    transition: all 0.25s ease;
  }
  .mobile-menu-toggle:hover .hamburger-line {
    background: var(--gold-2, #e8c66a);
  }

  /* Centered Brand Logo on Mobile */
  .topbar-logo {
    font-size: 1.25rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    text-align: center;
    margin: 0;
    color: var(--text-primary);
  }

  /* Right Side Mobile Action Container */
  .mobile-right-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    z-index: 101;
  }

  /* Header Contact Pill Button using site's original Gold token */
  .mobile-header-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold, #c9a84c) 0%, var(--gold-2, #e8c66a) 100%);
    color: var(--ink, #0d1117) !important;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(201, 168, 76, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
  }
  .mobile-header-contact-btn:hover,
  .mobile-header-contact-btn:active {
    transform: scale(0.96);
    box-shadow: 0 1px 5px rgba(201, 168, 76, 0.45);
  }

  .mobile-header-theme-toggle {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    border-radius: 50%;
    background: var(--sand-2);
    border: 1px solid var(--border);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile Drawer Overlay Container */
  .mobile-menu-drawer-wrap {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.3s ease;
  }
  .mobile-menu-drawer-wrap.is-open {
    pointer-events: auto;
    visibility: visible;
  }

  /* Backdrop Dark Tint */
  .mobile-drawer-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .mobile-menu-drawer-wrap.is-open .mobile-drawer-backdrop {
    opacity: 1;
  }

  /* Slide-in Golden Drawer Panel using site's original gold palette */
  .mobile-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 82%;
    max-width: 330px;
    background: linear-gradient(180deg, var(--gold, #c9a84c) 0%, #b8953c 50%, #9e7d28 100%);
    color: #ffffff;
    box-shadow: 6px 0 32px rgba(0, 0, 0, 0.35);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 10;
  }
  [data-theme="dark"] .mobile-drawer-panel {
    background: linear-gradient(180deg, #1c2333 0%, #141926 50%, #0d1117 100%);
    border-right: 1px solid rgba(201, 168, 76, 0.25);
  }
  .mobile-menu-drawer-wrap.is-open .mobile-drawer-panel {
    transform: translateX(0);
  }

  /* Top Bar of Drawer: Close (Left) + Attached Coral MENU Tag (Right) */
  .mobile-drawer-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 0.5rem;
    position: relative;
  }

  /* Close ✕ Button */
  .mobile-drawer-close {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  [data-theme="dark"] .mobile-drawer-close {
    color: var(--text-primary);
  }
  .mobile-drawer-close:hover,
  .mobile-drawer-close:active {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.08);
  }
  [data-theme="dark"] .mobile-drawer-close:hover {
    background: rgba(201, 168, 76, 0.15);
  }

  /* Coral "MENU" Tag on Top Right Edge using site's original Coral token */
  .mobile-drawer-menu-tag {
    background: var(--coral, #d4634e);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 0.45rem 1.2rem;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(212, 99, 78, 0.45);
    text-transform: uppercase;
    margin-top: -1.25rem;
    margin-right: -1.25rem;
  }

  /* Drawer Nav Link List */
  .mobile-drawer-nav {
    flex: 1;
    padding: 1rem 1.75rem 1.5rem;
  }
  .mobile-drawer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .mobile-nav-link {
    display: inline-flex;
    align-items: center;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  [data-theme="dark"] .mobile-nav-link {
    color: var(--text-primary) !important;
  }
  .mobile-nav-link:hover,
  .mobile-nav-link:active {
    opacity: 0.85;
    transform: translateX(4px);
  }
  [data-theme="dark"] .mobile-nav-link:hover {
    color: var(--gold, #c9a84c) !important;
  }
  .mobile-nav-link.active {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2.5px;
  }
  [data-theme="dark"] .mobile-nav-link.active {
    color: var(--gold, #c9a84c) !important;
    text-decoration-color: var(--gold, #c9a84c);
  }

  .mobile-nav-badge {
    background: #ffffff;
    color: var(--gold, #c9a84c);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    margin-left: 0.5rem;
  }
  [data-theme="dark"] .mobile-nav-badge {
    background: var(--gold, #c9a84c);
    color: var(--ink, #0d1117);
  }

  .mobile-drawer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
    margin: 0.5rem 0 0.2rem;
  }
  [data-theme="dark"] .mobile-drawer-divider {
    background: rgba(255, 255, 255, 0.1);
  }
  .mobile-drawer-sublinks {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .mobile-drawer-sublinks a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
  }
  [data-theme="dark"] .mobile-drawer-sublinks a {
    color: var(--text-secondary) !important;
  }
  .mobile-drawer-sublinks a:hover {
    color: #ffffff !important;
    text-decoration: underline;
  }
  [data-theme="dark"] .mobile-drawer-sublinks a:hover {
    color: var(--gold, #c9a84c) !important;
  }
  .sub-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
  }
  [data-theme="dark"] .sub-sep {
    color: rgba(255, 255, 255, 0.2);
  }

  /* Drawer Footer with Pill Action */
  .mobile-drawer-footer {
    padding: 1.25rem 1.75rem 2rem;
    background: rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  [data-theme="dark"] .mobile-drawer-footer {
    background: rgba(0, 0, 0, 0.25);
    border-top-color: rgba(255, 255, 255, 0.08);
  }
  .mobile-drawer-pill-btn {
    display: block;
    width: 100%;
    text-align: center;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  }
  [data-theme="dark"] .mobile-drawer-pill-btn {
    border-color: var(--gold, #c9a84c);
    color: var(--gold, #c9a84c) !important;
  }
  .mobile-drawer-pill-btn:hover,
  .mobile-drawer-pill-btn:active {
    background: #ffffff;
    color: var(--gold, #c9a84c) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  }
  [data-theme="dark"] .mobile-drawer-pill-btn:hover,
  [data-theme="dark"] .mobile-drawer-pill-btn:active {
    background: var(--gold, #c9a84c);
    color: var(--ink, #0d1117) !important;
  }

  .mobile-drawer-extra {
    margin-top: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
  }
  [data-theme="dark"] .mobile-drawer-extra {
    color: var(--text-muted);
  }
  .mobile-drawer-brand {
    font-weight: 600;
    letter-spacing: 0.04em;
  }
  .mobile-drawer-theme-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
  .mobile-theme-switch-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  [data-theme="dark"] .mobile-theme-switch-btn {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
  }
  .mobile-theme-switch-btn:hover {
    background: rgba(255, 255, 255, 0.35);
  }
  [data-theme="dark"] .mobile-theme-switch-btn:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  /* Body Scroll Lock when Drawer is open */
  body.mobile-menu-locked {
    overflow: hidden;
    touch-action: none;
  }
}

/* =================== COOKIE CONSENT BANNER =================== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--ink, #1a1f2e); color: rgba(255,255,255,0.92);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: center; gap: 1.25rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transform: translateY(110%);
  transition: transform 0.4s ease;
  font-size: 0.85rem;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { margin: 0; max-width: 560px; line-height: 1.5; color: rgba(255,255,255,0.85); }
.cookie-banner a { color: var(--gold, #c9a84c); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-btn {
  padding: 0.5rem 1.1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  border: none; cursor: pointer; transition: all var(--transition);
}
.cookie-btn-accept { background: var(--gold, #c9a84c); color: #1a1f2e; }
.cookie-btn-accept:hover { opacity: 0.9; }
.cookie-btn-decline { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.25); }
.cookie-btn-decline:hover { background: rgba(255,255,255,0.08); }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; text-align: center; padding: 1rem; }
}

/* =================== HERO =================== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #0d2137 30%, #0a1a2e 60%, #071020 100%);
  padding-top: 80px;
}
.hero-bg-canvas { position: absolute; inset: 0; pointer-events: none; }
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.15) 0%, transparent 65%),
              radial-gradient(ellipse at 50% 15%, rgba(42,123,123,0.15) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-content .section-label {
  color: var(--gold-2);
  text-align: center;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.15;
}
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
  font-weight: 300;
  line-height: 1.7;
  text-align: center;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}
.hero-badge {
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 1rem; border-radius: 999px;
  color: rgba(255,255,255,0.7); font-size: 0.85rem;
}
.hero-badge span { color: var(--gold-2); }
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: #0d1117;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 0.5rem;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,168,76,0.4); }
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.95rem;
  transition: all var(--transition);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); color: white; border-color: rgba(255,255,255,0.4); }
/* Floating particles */
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.4); font-size: 0.8rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.scroll-arrow { animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* =================== MAIN FORM SECTION =================== */
.form-section { padding: 5rem 0; }
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 1060px;
  margin: 0 auto;
}
.form-header {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: 2.5rem 3rem;
  position: relative; overflow: hidden;
  text-align: center;
}
.form-header::before {
  content: ''; position: absolute; left: -40px; top: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(42,123,123,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.form-header-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 0.85rem;
}
.form-autosave-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 999px;
  padding: 0.24rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  user-select: none;
}
.form-autosave-pill:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(201, 168, 76, 0.6);
}
.autosave-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.7);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.autosave-dot.is-saving {
  background: var(--gold, #c9a84c);
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.9);
  animation: autosave-pulse 0.9s infinite alternate ease-in-out;
}
.autosave-dot.is-saved {
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.7);
}
.autosave-dot.is-restored {
  background: #60a5fa;
  box-shadow: 0 0 6px rgba(96, 165, 250, 0.7);
}
.autosave-dot.is-idle {
  background: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}
@keyframes autosave-pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 1; }
}
.autosave-label {
  line-height: 1;
}
.autosave-clear-btn {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0 0.15rem 0 0.45rem;
  margin-left: 0.2rem;
  line-height: 1;
  transition: color 0.18s ease;
  font-family: inherit;
}
.autosave-clear-btn:hover {
  color: #f87171;
  text-decoration: underline;
}
.form-header::after {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(201,168,76,0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.form-header h2 { color: white; margin-bottom: 0.5rem; text-align: center; }
.form-header p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
}
.form-body { padding: 2.5rem 3rem; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-header, .form-body { padding: 1.75rem 1.5rem; }
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.planner-select-box {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-secondary);
}
.form-label span { color: var(--coral); }
.form-control {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--sand);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition);
  appearance: none; -webkit-appearance: none;
}
.form-control:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(201,168,76,0.12); }
.form-control option { background: var(--white); }
.select-wrapper { position: relative; }
.select-wrapper::after {
  content: '▾'; position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%); pointer-events: none;
  color: var(--text-muted); font-size: 0.8rem;
}
.dest-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.dest-flag-badge {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dest-select-wrapper select:focus ~ .dest-flag-badge,
.dest-select-wrapper:hover .dest-flag-badge {
  transform: translateY(-50%) scale(1.15);
}
.form-control optgroup {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gold);
  background: var(--white);
  padding: 0.4rem 0;
}
[data-theme="dark"] .form-control optgroup {
  background: #161b22;
  color: var(--gold);
}
.form-control option {
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.35rem 0.5rem;
  color: var(--text-primary);
  background: var(--white);
}
[data-theme="dark"] .form-control option {
  background: #0d1117;
  color: var(--text-primary);
}
.dest-quick-tag {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
}
.dest-quick-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-light);
  transform: translateY(-1px);
}
.dest-quick-tag:active {
  transform: translateY(0);
}

/* ─── Enhanced Planner Selection Boxes ───────────────── */
.planner-select-box {
  background: var(--sand);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.planner-select-box:hover {
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: 0 6px 20px rgba(13, 17, 23, 0.05);
  transform: translateY(-2px);
}
.planner-select-box:focus-within {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3.5px rgba(201, 168, 76, 0.15), 0 8px 24px rgba(13, 17, 23, 0.07);
}
[data-theme="dark"] .planner-select-box {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .planner-select-box:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .planner-select-box:focus-within {
  background: #161b22;
  border-color: var(--gold);
  box-shadow: 0 0 0 3.5px rgba(201, 168, 76, 0.2), 0 8px 24px rgba(0, 0, 0, 0.45);
}

.planner-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.planner-box-header .form-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  cursor: pointer;
}
.planner-field-icon {
  font-size: 1rem;
  line-height: 1;
}

.selection-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
[data-theme="dark"] .selection-badge-pill {
  background: rgba(201, 168, 76, 0.15);
  color: #e5c365;
  border-color: rgba(201, 168, 76, 0.35);
}

.field-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.field-select-wrapper::after {
  content: '';
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.field-select-wrapper:hover::after,
.field-select-wrapper:focus-within::after {
  border-color: var(--gold);
}

.field-icon-badge {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.field-select-wrapper select:focus ~ .field-icon-badge,
.field-select-wrapper:hover .field-icon-badge {
  transform: translateY(-50%) scale(1.15);
}

.planner-field-control {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  padding-left: 2.75rem;
  padding-right: 2.2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  cursor: pointer;
}
.planner-field-control:hover {
  border-color: rgba(201, 168, 76, 0.5);
}
.planner-field-control:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.14);
}
[data-theme="dark"] .planner-field-control {
  background: #0d1117;
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}
[data-theme="dark"] .planner-field-control:focus {
  background: #111620;
  border-color: var(--gold);
}

/* Quick Selection Segmented Strips (Days & Travelers) */
.quick-pill-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.15rem;
}
.quick-pill-btn {
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.2;
}
.quick-pill-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-light);
  transform: translateY(-1px);
}
.quick-pill-btn.active {
  border-color: var(--gold);
  background: var(--gold);
  color: #11151f;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.28);
  transform: translateY(-1px);
}
[data-theme="dark"] .quick-pill-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}
[data-theme="dark"] .quick-pill-btn:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
  color: #e5c365;
}
[data-theme="dark"] .quick-pill-btn.active {
  background: var(--gold);
  color: #0d1117;
  border-color: var(--gold);
  box-shadow: 0 2px 10px rgba(201, 168, 76, 0.35);
}

/* ═══════════════════════════════════════════════════════════
   DYNAMIC SEASONAL BEST DESTINATION RECOMMENDATION CARD
   ═══════════════════════════════════════════════════════════ */
.seasonal-rec-box {
  margin-top: 0.15rem;
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, rgba(42, 123, 123, 0.06) 100%), var(--white);
  border: 1px solid rgba(201, 168, 76, 0.32);
  border-radius: 10px;
  padding: 0.45rem 0.75rem 0.45rem 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.seasonal-rec-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--teal) 100%);
  border-radius: 10px 0 0 10px;
}
.seasonal-rec-box:hover {
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: 0 3px 12px rgba(201, 168, 76, 0.12);
}
[data-theme="dark"] .seasonal-rec-box {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.10) 0%, rgba(42, 123, 123, 0.08) 100%), rgba(20, 26, 38, 0.95);
  border-color: rgba(201, 168, 76, 0.28);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .seasonal-rec-box:hover {
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.18);
}

.seasonal-rec-row-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.seasonal-rec-dest-info {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-width: 0;
}
.seasonal-rec-prefix {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
[data-theme="dark"] .seasonal-rec-prefix {
  color: #f1cf75;
}
.seasonal-rec-flag {
  font-size: 1.15rem;
  line-height: 1;
}
.seasonal-rec-name {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.seasonal-rec-climate-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-light);
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(42, 123, 123, 0.25);
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}
[data-theme="dark"] .seasonal-rec-climate-badge {
  color: #5ec7c7;
  background: rgba(42, 123, 123, 0.22);
  border-color: rgba(42, 123, 123, 0.38);
}
.seasonal-rec-season-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.14);
  color: #8c6810;
  border: 1px solid rgba(201, 168, 76, 0.3);
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}
[data-theme="dark"] .seasonal-rec-season-pill {
  background: rgba(201, 168, 76, 0.18);
  color: #f1cf75;
  border-color: rgba(201, 168, 76, 0.35);
}

.seasonal-rec-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.22rem;
  padding-top: 0.22rem;
  border-top: 1px dashed rgba(201, 168, 76, 0.2);
  font-size: 0.73rem;
  line-height: 1.35;
}
.seasonal-rec-tagline {
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.seasonal-rec-timing-note {
  color: var(--text-muted);
  font-size: 0.68rem;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
}

.seasonal-rec-apply-btn {
  padding: 0.22rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 999px;
  background: var(--gold);
  color: #0d1117;
  border: 1px solid rgba(201, 168, 76, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 4px rgba(201, 168, 76, 0.2);
  line-height: 1.2;
  white-space: nowrap;
}
.seasonal-rec-apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 7px rgba(201, 168, 76, 0.3);
  background: var(--gold-2);
}
.seasonal-rec-apply-btn.is-selected {
  background: #2a7b7b;
  color: #ffffff;
  border-color: #2a7b7b;
  box-shadow: 0 1px 4px rgba(42, 123, 123, 0.3);
}
.seasonal-rec-apply-btn.is-selected:hover {
  background: #368e8e;
}

/* Budget selector */
.budget-selector { display: flex; gap: 0.75rem; }
.budget-option {
  flex: 1; padding: 0.75rem 0.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--sand);
  color: var(--text-secondary);
  text-align: center; cursor: pointer;
  transition: all var(--transition);
  font-size: 0.85rem; font-weight: 500;
}
.budget-option:hover { border-color: var(--gold); color: var(--text-primary); }
.budget-option.active { border-color: var(--gold); background: var(--gold-light); color: var(--ink); }
.budget-option .icon { font-size: 1.3rem; display: block; margin-bottom: 0.25rem; }
/* Interests multi-select */
.interests-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.interest-tag {
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--sand);
  color: var(--text-secondary);
  font-size: 0.82rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
}
.interest-tag:hover { border-color: var(--teal); color: var(--teal); }
.interest-tag.active { border-color: var(--teal); background: var(--teal-light); color: var(--teal); }
/* Special Requests Tags & Custom Notes */
.special-requests-box {
  background: var(--sand);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.special-requests-box:hover {
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: 0 6px 20px rgba(13, 17, 23, 0.05);
}
.special-requests-box:focus-within {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3.5px rgba(201, 168, 76, 0.15);
}
[data-theme="dark"] .special-requests-box {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .special-requests-box:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(201, 168, 76, 0.45);
}
[data-theme="dark"] .special-requests-box:focus-within {
  background: #161b22;
  border-color: var(--gold);
}

.special-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.special-tag {
  padding: 0.35rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.special-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-light);
  transform: translateY(-1px);
}
.special-tag.active {
  border-color: var(--gold);
  background: var(--gold-light);
  color: var(--gold-2, #946f12);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.2);
}
[data-theme="dark"] .special-tag {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}
[data-theme="dark"] .special-tag:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
  color: #e5c365;
}
[data-theme="dark"] .special-tag.active {
  background: rgba(201, 168, 76, 0.25);
  border-color: var(--gold);
  color: #f7df94;
}

.special-textarea {
  width: 100%;
  border-radius: 10px;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  line-height: 1.5;
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
  resize: vertical;
  min-height: 64px;
}
.special-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.14);
}
[data-theme="dark"] .special-textarea {
  background: #0d1117;
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}
[data-theme="dark"] .special-textarea:focus {
  background: #111620;
  border-color: var(--gold);
}

/* Custom Days Stepper & Input Wrapper */
.custom-days-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
.custom-days-stepper-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}
.custom-days-stepper-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-light);
}
[data-theme="dark"] .custom-days-stepper-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}
[data-theme="dark"] .custom-days-stepper-btn:hover {
  background: rgba(201, 168, 76, 0.2);
  border-color: var(--gold);
  color: #f7df94;
}

/* Date Preset Quick Buttons */
.date-preset-btn {
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  transition: all 0.18s ease;
  line-height: 1.2;
}
.date-preset-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
  transform: translateY(-1px);
}
.date-preset-btn.active {
  border-color: var(--teal);
  background: var(--teal);
  color: #ffffff;
  font-weight: 700;
}
[data-theme="dark"] .date-preset-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}
[data-theme="dark"] .date-preset-btn:hover {
  background: rgba(42, 123, 123, 0.2);
  border-color: var(--teal);
  color: #5cd0d0;
}
[data-theme="dark"] .date-preset-btn.active {
  background: var(--teal);
  color: #ffffff;
}

/* Special Requests Banner & Badges in Itinerary */
.special-requests-banner {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.12) 0%, rgba(42, 123, 123, 0.08) 100%);
  border: 1.5px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-sm, 10px);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.special-requests-banner-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.special-requests-banner-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.special-requests-banner-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.special-request-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--gold-2, #855f05);
  border: 1px solid rgba(201, 168, 76, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
}
[data-theme="dark"] .special-request-pill-tag {
  background: rgba(201, 168, 76, 0.2);
  color: #f7df94;
  border-color: rgba(201, 168, 76, 0.5);
}

.day-date-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(42, 123, 123, 0.1);
  color: var(--teal);
  border: 1px solid rgba(42, 123, 123, 0.25);
  font-size: 0.74rem;
  font-weight: 700;
  margin-left: 0.4rem;
}
[data-theme="dark"] .day-date-tag {
  background: rgba(42, 123, 123, 0.25);
  color: #64dede;
  border-color: rgba(42, 123, 123, 0.45);
}

.activity-tailored-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-light);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  margin-left: 0.4rem;
}
[data-theme="dark"] .activity-tailored-badge {
  background: rgba(201, 168, 76, 0.18);
  color: #f7df94;
}

/* Generate button */
.generate-btn {
  width: 100%;
  max-width: 480px;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: white;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  margin: 2rem auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(13,17,23,0.18);
}
.generate-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--teal) 100%);
  opacity: 0; transition: opacity var(--transition);
}
.generate-btn:hover::before { opacity: 1; }
.generate-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(13,17,23,0.3); }
.generate-btn span { position: relative; z-index: 1; }

/* =================== LOADING SCREEN =================== */
.loading-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(16px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
}
.loading-overlay.active { display: flex; }
.loading-globe { font-size: 4rem; animation: spin 3s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.loading-title { color: white; font-family: var(--font-display); font-size: 2rem; font-weight: 300; }
.loading-steps { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.loading-step {
  display: flex; align-items: center; gap: 0.75rem;
  color: rgba(255,255,255,0.5); font-size: 0.9rem;
  transition: all 0.5s;
}
.loading-step.done { color: var(--gold-2); }
.loading-step .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.2); transition: all 0.5s;
}
.loading-step.done .dot { background: var(--gold-2); }
.loading-step.active { color: white; }
.loading-step.active .dot { background: white; animation: pulse-dot 1s infinite; }
@keyframes pulse-dot { 0%,100% { transform: scale(1); } 50% { transform: scale(1.5); } }
.loading-bar-wrap {
  width: 300px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 999px; overflow: hidden;
}
.loading-bar {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--teal-2));
  transition: width 0.5s ease;
}

/* =================== RESULTS SECTION =================== */
#results { display: none; }
#results.active { display: block; }
.results-hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: 4rem 0 3.2rem;
  position: relative; overflow: hidden;
  text-align: center;
}
.results-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.18), transparent 70%);
}
.results-hero .section-label {
  text-align: center;
}
.results-dest {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300; color: white; margin: 0.5rem auto 0.75rem auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}
.results-dest em { color: var(--gold-2); font-style: italic; }

/* Community Rating Hero Badge */
.community-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid rgba(201, 168, 76, 0.45);
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  vertical-align: middle;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.community-rating-badge:hover {
  background: rgba(201, 168, 76, 0.18);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201, 168, 76, 0.25);
}

.community-rating-badge .cr-star {
  color: var(--gold);
  font-size: 0.95rem;
  line-height: 1;
}

.community-rating-badge .cr-score {
  font-weight: 700;
  color: var(--gold-2);
  font-size: 0.9rem;
}

.community-rating-badge .cr-sep {
  color: rgba(255, 255, 255, 0.35);
}

.community-rating-badge .cr-count {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
}

.community-rating-badge .cr-pill {
  background: rgba(42, 123, 123, 0.35);
  border: 1px solid rgba(42, 123, 123, 0.6);
  color: #79d2d2;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.2rem;
}

.cr-badge-pulse {
  animation: crPulse 0.9s ease-out;
}

@keyframes crPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); border-color: var(--gold-2); box-shadow: 0 0 20px rgba(201, 168, 76, 0.6); }
  100% { transform: scale(1); }
}
.results-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.25rem; }
.results-chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75); font-size: 0.82rem;
  padding: 0.4rem 0.9rem; border-radius: 999px;
}
.results-chip span { color: var(--gold-2); font-weight: 600; }
.results-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; position: relative; }
.action-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 999px; font-size: 0.82rem; font-weight: 500;
  transition: all var(--transition); display: flex; align-items: center; gap: 0.4rem;
}
.action-btn-save {
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold-2);
  cursor: pointer;
}
.action-btn-save:hover {
  background: rgba(201, 168, 76, 0.28);
  border-color: var(--gold);
  color: #ffffff;
  transform: translateY(-1px);
}
.action-btn-save.is-saved {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.45);
}
.action-btn-save.is-saved:hover {
  background: var(--gold-2);
  color: var(--ink);
}
.action-btn-share {
  background: rgba(42, 123, 123, 0.25);
  border: 1px solid rgba(42, 123, 123, 0.5);
  color: #79d2d2;
  cursor: pointer;
}
.action-btn-share:hover {
  background: rgba(42, 123, 123, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
}
.action-btn-light { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); color: white; }
.action-btn-light:hover { background: rgba(255,255,255,0.18); }
.action-btn-gold { background: var(--gold); color: var(--ink); border: none; }
.action-btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); }

/* =================== BUDGET SUMMARY =================== */
.budget-section { padding: 3rem 0; }
.budget-total-card {
  background: linear-gradient(135deg, var(--gold) 0%, #b8914a 100%);
  border-radius: var(--radius);
  padding: 2rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  box-shadow: 0 12px 40px rgba(201,168,76,0.35);
}
.budget-total-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.budget-total-amount { font-family: var(--font-display); font-size: 3rem; font-weight: 400; line-height: 1; }
.budget-total-sub { font-size: 0.85rem; opacity: 0.75; margin-top: 0.25rem; }
.budget-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .budget-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .budget-cards { grid-template-columns: 1fr; }
}
.budget-mini-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}
.budget-mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.budget-mini-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.budget-mini-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.25rem; }
.budget-mini-val { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; color: var(--text-primary); }
.budget-mini-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }
/* Budget bar chart */
.budget-chart { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.chart-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.chart-label { min-width: 110px; font-size: 0.82rem; color: var(--text-secondary); font-weight: 500; }
.chart-bar-wrap { flex: 1; background: var(--sand-2); border-radius: 999px; height: 10px; overflow: hidden; }
.chart-bar { height: 100%; border-radius: 999px; transition: width 1s cubic-bezier(0.4,0,0.2,1); }
.chart-val { min-width: 70px; font-size: 0.82rem; font-weight: 600; color: var(--text-primary); text-align: right; }

/* =================== ITINERARY =================== */
.itinerary-section { padding: 3rem 0; }
.day-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 1.25rem;
  overflow: hidden; transition: all var(--transition);
}
.day-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.day-header:hover { background: var(--sand); }
.day-header.open { border-bottom-color: var(--border); }
.day-num {
  background: var(--ink); color: white;
  font-family: var(--font-display); font-size: 1.1rem;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.day-info { margin-left: 1rem; flex: 1; }
.day-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.day-subtitle { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.1rem; }
.day-cost { font-family: var(--font-display); font-size: 1.1rem; color: var(--teal); font-weight: 400; }
.day-toggle { color: var(--text-muted); font-size: 1.2rem; transition: transform var(--transition); }
.day-toggle.open { transform: rotate(180deg); }
.day-body { display: none; padding: 1.5rem; }
.day-body.open { display: block; }
/* Time block */
.time-block { margin-bottom: 1.5rem; }
.time-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  padding: 0.3rem 0.7rem; border-radius: 999px;
  background: var(--sand-2); margin-bottom: 0.75rem;
}
.activity-item {
  display: flex; gap: 1rem; padding: 1rem;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  margin-bottom: 0.6rem; transition: all var(--transition);
}
.activity-item:hover { border-color: var(--gold); background: var(--gold-light); }
.activity-icon { font-size: 1.3rem; flex-shrink: 0; }
.activity-info { flex: 1; }
.activity-name { font-weight: 500; font-size: 0.95rem; color: var(--text-primary); }
.activity-desc { font-size: 0.82rem; color: var(--text-secondary); margin-top: 0.2rem; }
.activity-cost { font-size: 0.8rem; font-weight: 600; color: var(--teal); margin-top: 0.25rem; }

/* =================== HOTELS =================== */
.hotels-section { padding: 3rem 0; }
.hotel-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hotel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hotel-img {
  height: 180px; background: linear-gradient(135deg, var(--sand-2), var(--sand-3));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative; overflow: hidden;
}
.hotel-img::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3));
}
.hotel-badge {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: var(--gold); color: var(--ink);
  font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.hotel-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hotel-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; margin-bottom: 0.25rem; }
.hotel-type { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hotel-stars { color: var(--gold); font-size: 0.85rem; margin: 0.5rem 0; }
.hotel-perks { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.75rem 0; }
.hotel-perk { font-size: 0.72rem; color: var(--text-secondary); background: var(--sand); padding: 0.2rem 0.6rem; border-radius: 999px; border: 1px solid var(--border); }
.hotel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.hotel-price { font-family: var(--font-display); font-size: 1.4rem; }
.hotel-price small { font-size: 0.7rem; color: var(--text-muted); }
.book-btn {
  background: var(--teal); color: white;
  padding: 0.55rem 1.2rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600;
  transition: all var(--transition);
  border: none; cursor: pointer;
  font-family: var(--font-body, inherit);
}
.book-btn:hover { background: var(--teal-2); transform: translateY(-1px); }

/* =================== INFO CARDS =================== */
.info-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; padding: 3rem 0; }
@media (max-width:900px) { .info-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:600px) { .info-grid { grid-template-columns: 1fr; } }
.info-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.info-card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.info-card-icon { font-size: 1.5rem; }
.info-card-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.info-list li { font-size: 0.88rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 0.5rem; }
.info-list li::before { content: '→'; color: var(--gold); flex-shrink: 0; margin-top: 0.05rem; }
/* Currency card */
.currency-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.currency-row:last-child { border-bottom: none; }
.currency-from { color: var(--text-muted); }
.currency-to { font-weight: 600; color: var(--teal); }
/* Weather */
.weather-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.weather-item { text-align: center; padding: 0.75rem; background: var(--sand); border-radius: var(--radius-sm); border: 1px solid rgba(0,0,0,0.03); }
.weather-temp { font-family: var(--font-display); font-size: 1.5rem; }
.weather-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

/* Tomorrow.io Weather Component & Live Radar Styles */
.weather-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--text-muted);
  border: 1px solid var(--border);
  letter-spacing: 0.02em;
}
.weather-live-pill.active {
  background: rgba(42, 123, 123, 0.08);
  color: var(--teal);
  border-color: rgba(42, 123, 123, 0.25);
}
.weather-live-pill.loading {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
}
.weather-live-pill.fallback {
  background: rgba(100, 116, 139, 0.08);
  color: var(--text-muted);
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  animation: weatherPulse 2s infinite ease-in-out;
}
.pulse-dot.green { background: #10b981; }
.pulse-dot.gray { background: #94a3b8; animation: none; }
@keyframes weatherPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.weather-unit-toggle {
  display: inline-flex;
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px;
}
.unit-btn {
  background: none;
  border: none;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition);
}
.unit-btn.active {
  background: var(--teal);
  color: var(--white);
}
.weather-refresh-btn {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.weather-refresh-btn:hover {
  color: var(--teal);
  border-color: var(--teal);
  transform: rotate(45deg);
}

.weather-tab-bar {
  display: flex;
  background: var(--sand);
  border-radius: var(--radius-sm);
  padding: 3px;
  margin-bottom: 0.85rem;
  gap: 3px;
}
.weather-tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 0.35rem 0.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.weather-tab-btn.active {
  background: var(--white);
  color: var(--teal);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.weather-tab-btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.weather-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  background: var(--sand);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
}
.weather-hero-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.weather-hero-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.weather-hero-temp {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
}
.weather-hero-desc {
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 500;
  margin-top: 1px;
}
.weather-hero-right {
  text-align: right;
}
.weather-feels {
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.weather-updated {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.weather-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.weather-metric-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.metric-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}
.metric-val {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.metric-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.weather-forecast-section {
  margin-bottom: 0.85rem;
}
.weather-section-subtitle {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}
.weather-forecast-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
}
@media (max-width: 480px) {
  .weather-forecast-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}
.forecast-card {
  text-align: center;
  padding: 0.45rem 0.25rem;
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.forecast-card.today-card {
  border-color: rgba(42, 123, 123, 0.4);
  background: rgba(42, 123, 123, 0.04);
}
.forecast-day {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
}
.forecast-date {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.forecast-icon {
  font-size: 1.2rem;
  margin: 2px 0;
}
.forecast-temps {
  font-size: 0.74rem;
  display: flex;
  justify-content: center;
  gap: 3px;
  line-height: 1.2;
}
.temp-max {
  font-weight: 600;
  color: var(--navy);
}
.temp-min {
  color: var(--text-muted);
}
.forecast-rain-pill {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(42, 123, 123, 0.1);
  border-radius: 999px;
  padding: 1px 3px;
  margin-top: 3px;
}
.forecast-dry-pill {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.weather-travel-tips {
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--teal);
}
.weather-tips-header {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.35rem;
}
.weather-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.weather-tips-list li {
  font-size: 0.78rem;
  color: var(--navy);
  line-height: 1.35;
}

.weather-best-time-box {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--teal);
  line-height: 1.4;
}

.weather-attribution {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: center;
  padding-top: 0.35rem;
  border-top: 1px dashed var(--border);
}

.weather-fallback-alert {
  padding: 0.6rem 0.75rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #92400e;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.weather-retry-btn {
  background: #f59e0b;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.weather-loading-box {
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: var(--sand);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}
.weather-spinner {
  width: 24px;
  height: 24px;
  border: 2.5px solid var(--border);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: weatherSpin 0.8s linear infinite;
}
@keyframes weatherSpin {
  to { transform: rotate(360deg); }
}

/* =================== FLIGHT SECTION =================== */
.flight-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 0.75rem;
  transition: all var(--transition);
}
.flight-card:hover { border-color: var(--teal); }
.flight-route { font-family: var(--font-display); font-size: 1.1rem; }
.flight-route span { color: var(--teal); font-style: italic; }
.flight-meta { font-size: 0.8rem; color: var(--text-muted); }
.flight-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--teal); }
.flight-price small { font-size: 0.75rem; color: var(--text-muted); display: block; }

/* =================== TIPS SECTION =================== */
.tips-section { padding: 3rem 0 5rem; }
.tip-category { margin-bottom: 2rem; }
.tip-category-title { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 1rem; }
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 0.75rem; }
.tip-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
  display: flex; gap: 0.75rem; align-items: flex-start;
  transition: all var(--transition);
}
.tip-card:hover { border-color: var(--teal); transform: translateX(3px); }
.tip-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.tip-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.5; }

/* =================== PACKING =================== */
.packing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.6rem; }
.packing-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.9rem; background: var(--sand);
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-secondary);
}

/* =================== SECTION HEADERS =================== */
.section-header {
  margin-bottom: 2.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.section-header .section-label {
  text-align: center;
  margin-bottom: 0.4rem;
}
.section-title-lg {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  text-align: center;
  line-height: 1.25;
}
.section-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
  margin: 0.75rem auto 0 auto;
}

/* =================== FOOTER =================== */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.5);
  padding: 3rem 0 2.5rem; font-size: 0.82rem; text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.site-footer a { color: var(--gold-2); }
.footer-brand { margin-bottom: 0.85rem; font-size: 0.95rem; }
.footer-links {
  display: flex; justify-content: center; gap: 1.75rem; flex-wrap: wrap; margin-bottom: 1.25rem;
}
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-2); }
.footer-disclaimer { max-width: 680px; margin: 0 auto 0.5rem auto; line-height: 1.6; color: rgba(255,255,255,0.45); font-size: 0.78rem; }
.footer-copy { margin-top: 0.5rem; color: rgba(255,255,255,0.35); font-size: 0.75rem; }

/* =================== UNIFIED SYMMETRICAL SUBPAGE & FEATURE LAYOUTS =================== */
.page-wrap,
.about-wrap,
.contact-wrap,
.privacy-wrap,
.terms-wrap {
  max-width: 860px;
  margin: 100px auto 80px auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}
.blog-wrap {
  max-width: 1100px;
  margin: 100px auto 80px auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}
.article-wrap {
  max-width: 780px;
  margin: 100px auto 80px auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
  align-items: stretch;
}
.about-feature {
  background: var(--sand-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  transition: all var(--transition);
}
.about-feature:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: var(--shadow-sm);
}
.about-feature-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.about-feature-title { font-weight: 600; font-size: 1rem; color: var(--text-primary); margin-bottom: 0.5rem; line-height: 1.35; }
.about-feature-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

.founder-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--sand-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2rem 0;
}
@media (max-width: 640px) {
  .founder-card { flex-direction: column; text-align: center; }
}
.founder-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.founder-info h3 { margin: 0 0 0.25rem 0; font-family: var(--font-display); font-size: 1.25rem; }
.founder-role { font-size: 0.8rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.founder-bio { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  transition: all var(--transition);
  box-sizing: border-box;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.blog-card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}
.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.blog-card-meta {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media (max-width: 600px) {
  .contact-methods { grid-template-columns: 1fr; }
}
.contact-method {
  background: var(--sand-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.contact-method h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.35rem; }
.contact-method p { font-size: 0.88rem; color: var(--text-secondary); margin: 0; }
.contact-method a { color: var(--gold); text-decoration: none; font-weight: 500; }

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
  .topbar { padding: 1rem; }
  .form-header, .form-body { padding: 1.5rem; }
  .budget-total-card { text-align: center; justify-content: center; }
  .hotel-card { max-width: 100%; }
  .day-header { padding: 1rem; }
  .day-body { padding: 1rem; }
}

/* =================== UTILITIES =================== */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; }
.text-gold { color: var(--gold); } .text-teal { color: var(--teal); }
.text-muted { color: var(--text-muted); } .text-small { font-size: 0.82rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.animate-in { animation: fadeUp 0.6s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-delay-1 { animation-delay: 0.1s; } .animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; } .animate-delay-4 { animation-delay: 0.4s; }

/* =================== DARK MODE OVERRIDES =================== */
[data-theme="dark"] .form-control { background: var(--sand-2); border-color: rgba(255,255,255,0.12); color: var(--text-primary); }
[data-theme="dark"] .form-control:focus { background: var(--sand-3); border-color: var(--gold); }
[data-theme="dark"] select.form-control option { background: var(--sand-2); color: var(--text-primary); }
[data-theme="dark"] input, [data-theme="dark"] textarea, [data-theme="dark"] select {
  background: var(--sand-2);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.12);
}
[data-theme="dark"] input::placeholder, [data-theme="dark"] textarea::placeholder {
  color: var(--text-muted);
}
[data-theme="dark"] .budget-option { background: var(--sand-2); border-color: var(--border); color: var(--text-primary); }
[data-theme="dark"] .budget-option:hover { background: var(--sand-3); }
[data-theme="dark"] .budget-option.active { border-color: var(--gold); background: var(--gold-light); }
[data-theme="dark"] .interest-tag { background: var(--sand-2); border-color: var(--border); color: var(--text-secondary); }
[data-theme="dark"] .interest-tag:hover { background: var(--sand-3); color: var(--text-primary); }
[data-theme="dark"] .interest-tag.active { border-color: var(--teal); background: var(--teal-light); color: var(--text-primary); }
[data-theme="dark"] .hero-badge { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .packing-item { background: var(--sand-2); border-color: var(--border); }
[data-theme="dark"] .weather-item { background: var(--sand-2); }
[data-theme="dark"] .about-feature { background: var(--sand-2); border: 1px solid var(--border); }
[data-theme="dark"] .founder-card { background: var(--sand-2); border: 1px solid var(--border); }
[data-theme="dark"] .blog-card { background: var(--sand-2); border: 1px solid var(--border); }
[data-theme="dark"] .blog-card:hover { border-color: var(--gold); }
[data-theme="dark"] .contact-method { background: var(--sand-2); border: 1px solid var(--border); }
[data-theme="dark"] .contact-form input, [data-theme="dark"] .contact-form textarea { background: var(--sand-2); border-color: var(--border); color: var(--text-primary); }
[data-theme="dark"] .price-callout { background: var(--sand-2); border: 1px solid var(--border); }
[data-theme="dark"] .cta-box { background: var(--gold-light); border-color: var(--gold); }
[data-theme="dark"] .form-success { background: #12281a; color: #6ee7b7; border: 1px solid rgba(16,185,129,0.25); }
[data-theme="dark"] .form-error { background: #2b1414; color: #fca5a5; border: 1px solid rgba(239,68,68,0.25); }
[data-theme="dark"] .saved-trip-card, [data-theme="dark"] .my-trips-card { background: var(--sand-2); border-color: var(--border); }
[data-theme="dark"] .modal-content, [data-theme="dark"] .custom-modal-box { background: var(--sand-2); border-color: var(--border); }
[data-theme="dark"] .leaflet-tile { filter: brightness(0.65) invert(1) contrast(3) hue-rotate(200deg) saturate(0.3) brightness(0.7); }
[data-theme="dark"] ::-webkit-scrollbar-track { background: var(--sand-2); }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: var(--sand-3); border-radius: 4px; }
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* =================== CURRENCY CONVERTER WIDGET =================== */
.currency-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.currency-bar-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.currency-bar-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.currency-rate-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--text-secondary);
  background: var(--sand-2);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.rate-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 6px rgba(16,185,129,0.6);
  animation: pulseRate 2.5s infinite;
}
@keyframes pulseRate {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.currency-switch-group {
  display: inline-flex;
  background: var(--sand-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
}
.curr-toggle-btn {
  border: none;
  background: transparent;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}
.curr-toggle-btn:hover {
  color: var(--text-primary);
}
.curr-toggle-btn.active {
  background: var(--ink);
  color: var(--gold-2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
[data-theme="dark"] .curr-toggle-btn.active {
  background: var(--gold);
  color: var(--ink);
}
.curr-refresh-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  transition: all var(--transition);
}
.curr-refresh-btn:hover {
  color: var(--teal);
  transform: rotate(90deg);
}

/* Interactive Two-Way Converter in Info Grid */
.interactive-calc-box {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 1rem;
}
.calc-inputs-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
}
.calc-input-wrap {
  position: relative;
}
.calc-input-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.calc-input {
  width: 100%;
  padding: 0.45rem 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.calc-input:focus {
  border-color: var(--gold);
}
.calc-swap-icon {
  font-size: 1rem;
  color: var(--teal);
  margin-top: 1rem;
}
.calc-presets {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.calc-preset-chip {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}
.calc-preset-chip:hover {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold-light);
}

/* =================== DAY MAP BUTTONS =================== */
.day-actions-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.day-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--sand-2);
  color: var(--text-primary);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}
.day-map-btn:hover {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(42, 123, 123, 0.25);
}
.day-map-btn-icon {
  font-size: 0.9rem;
}
.day-body-map-cta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.day-body-map-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.day-body-map-text strong {
  color: var(--text-primary);
}
.day-body-map-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--teal);
  color: #ffffff;
  border: none;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}
.day-body-map-action:hover {
  background: var(--teal-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(42, 123, 123, 0.3);
}

/* =================== INTERACTIVE MAP MODAL =================== */
.map-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4,0,0.2,1), visibility 0.3s;
}
.map-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.map-modal-container {
  width: 100%;
  max-width: 1180px;
  height: 90vh;
  max-height: 840px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.map-modal-overlay.open .map-modal-container {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.map-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  gap: 1rem;
  flex-wrap: wrap;
}
.map-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.map-dest-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.map-modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}
.map-header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.map-day-tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--sand-2);
  padding: 0.25rem;
  border-radius: 999px;
  overflow-x: auto;
  max-width: 420px;
}
.map-day-tab {
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.map-day-tab.active {
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.map-close-btn {
  background: var(--sand-2);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.map-close-btn:hover {
  background: var(--ink);
  color: #ffffff;
  transform: rotate(90deg);
}

/* Modal Body Grid */
.map-modal-body {
  flex: 1;
  display: grid;
  grid-template-columns: 370px 1fr;
  min-height: 0;
  overflow: hidden;
}

/* Sidebar */
.map-sidebar {
  background: var(--sand);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.map-sidebar-header {
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.map-sidebar-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}
.map-sidebar-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.map-stops-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.map-stop-card {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}
.map-stop-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transform: translateX(3px);
}
.map-stop-card.active {
  border-color: var(--teal);
  background: var(--teal-light);
  box-shadow: 0 4px 14px rgba(42, 123, 123, 0.15);
}
.stop-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stop-content {
  flex: 1;
  min-width: 0;
}
.stop-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}
.stop-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stop-cost {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
}
.stop-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.stop-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
  line-height: 1.4;
}
.stop-actions {
  margin-top: 0.4rem;
}
.stop-gmaps-link {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}
.stop-gmaps-link:hover {
  text-decoration: underline;
}

/* Sidebar Footer */
.map-sidebar-footer {
  padding: 1rem 1.25rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.route-stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
}
.route-stat-label {
  color: var(--text-muted);
}
.route-stat-val {
  font-weight: 600;
  color: var(--text-primary);
}
.map-directions-all-btn {
  width: 100%;
  padding: 0.55rem;
  background: var(--sand-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}
.map-directions-all-btn:hover {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--ink);
}

/* Map Stage */
.map-stage-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: var(--sand-2);
}
.leaflet-map-stage {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Floating Controls */
.map-floating-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.map-control-btn {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}
.map-control-btn:hover {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
}
.map-tile-switcher {
  display: flex;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  box-shadow: var(--shadow-sm);
}
.map-tile-btn {
  background: transparent;
  border: none;
  padding: 0.35rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.map-tile-btn.active {
  background: var(--sand-2);
  color: var(--text-primary);
  font-weight: 700;
}

/* Legend Badge */
.map-legend-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .map-legend-badge {
  background: rgba(28, 35, 51, 0.92);
  color: var(--text-primary);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend-dot.morning { background: #2a7b7b; }
.legend-dot.afternoon { background: #c9a84c; }
.legend-dot.evening { background: #7c5cbf; }

/* Custom Leaflet Pin */
.custom-map-pin {
  position: relative;
  width: 36px;
  height: 46px;
  cursor: pointer;
}
.pin-bubble {
  position: absolute;
  top: 0;
  left: 3px;
  width: 30px;
  height: 30px;
  background: var(--pin-color, #2a7b7b);
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 2;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.custom-map-pin:hover .pin-bubble {
  transform: scale(1.15);
}
.pin-num {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}
.pin-tip {
  position: absolute;
  top: 22px;
  left: 12px;
  width: 12px;
  height: 14px;
  background: var(--pin-color, #2a7b7b);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  z-index: 1;
}
.pin-shadow {
  position: absolute;
  bottom: 0;
  left: 9px;
  width: 18px;
  height: 6px;
  background: rgba(0,0,0,0.25);
  border-radius: 50%;
  filter: blur(1px);
}

/* Custom Popup Style */
.luxentrae-leaflet-popup-wrap .leaflet-popup-content-wrapper {
  background: var(--white);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 0;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.luxentrae-leaflet-popup-wrap .leaflet-popup-content {
  margin: 0;
  padding: 0.9rem 1.1rem;
}
.luxentrae-leaflet-popup-wrap .leaflet-popup-tip {
  background: var(--white);
}
.luxentrae-map-popup .popup-header {
  padding-left: 0.5rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.luxentrae-map-popup .popup-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}
.luxentrae-map-popup .popup-cost {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
}
.luxentrae-map-popup .popup-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0.2rem 0 0.3rem;
  line-height: 1.25;
}
.luxentrae-map-popup .popup-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0 0 0.75rem;
}
.luxentrae-map-popup .popup-footer {
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
}
.popup-directions-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}
.popup-directions-btn:hover {
  text-decoration: underline;
}

/* Responsive Map Modal */
@media (max-width: 860px) {
  .map-modal-container {
    height: 95vh;
    max-height: none;
  }
  .map-modal-body {
    grid-template-columns: 1fr;
    grid-template-rows: 240px 1fr;
  }
  .map-sidebar {
    order: 2;
    border-right: none;
    border-top: 1px solid var(--border);
  }
  .map-stage-container {
    order: 1;
    min-height: 240px;
  }
  .map-modal-header {
    padding: 0.85rem 1rem;
  }
  .map-day-tabs {
    max-width: 260px;
  }
}

/* =================== MAP DRAG & DROP & COST RECALCULATION =================== */
.map-cost-metrics-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.map-cost-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--sand-2);
  border: 1px solid var(--border);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-cost-metric-pill.total {
  background: rgba(42, 123, 123, 0.09);
  border-color: rgba(42, 123, 123, 0.35);
  color: var(--teal);
}

.map-cost-metric-pill strong {
  font-weight: 700;
  color: var(--ink);
}

.map-cost-metric-pill.total strong {
  color: var(--teal);
}

.map-cost-metric-pill.pulse-update {
  animation: costPillPulse 0.6s ease;
}

@keyframes costPillPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); background: #fef08a; border-color: #ca8a04; }
  100% { transform: scale(1); }
}

/* Day tab drag-over states */
.map-modal-overlay.is-dragging-active .map-day-tab:not(.active) {
  border: 1.5px dashed rgba(42, 123, 123, 0.45);
  background: rgba(255, 255, 255, 0.6);
  position: relative;
}

.map-day-tab.drop-hover {
  background: #e6f7f7 !important;
  border: 2px solid var(--teal) !important;
  color: var(--teal) !important;
  font-weight: 700 !important;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(42, 123, 123, 0.25);
}

/* Sidebar header drag features */
.map-sidebar-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.map-drag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(42, 123, 123, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.map-day-drop-bins {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--border);
}

.map-day-drop-bin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.6rem;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.map-day-drop-bin:hover:not(.current) {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(42, 123, 123, 0.05);
}

.map-day-drop-bin.current {
  background: var(--sand-2);
  border-style: solid;
  border-color: transparent;
  color: var(--text-muted);
  cursor: default;
}

.map-day-drop-bin.drop-hover {
  background: #e6f7f7 !important;
  border: 2px solid var(--teal) !important;
  color: var(--teal) !important;
  transform: scale(1.06);
  box-shadow: 0 4px 10px rgba(42, 123, 123, 0.2);
}

/* Stop Card Drag Handle & States */
.map-stop-card {
  position: relative;
  user-select: none;
  cursor: grab;
}

.map-stop-card:active {
  cursor: grabbing;
}

.stop-drag-grip {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 0.2rem 0 0;
  cursor: grab;
  opacity: 0.45;
  transition: opacity 0.2s, color 0.2s;
  user-select: none;
}

.map-stop-card:hover .stop-drag-grip {
  opacity: 1;
  color: var(--teal);
}

.map-stop-card.is-dragging {
  opacity: 0.35;
  background: var(--sand-2);
  border: 2px dashed var(--teal);
  transform: scale(0.98);
}

.map-stop-card.drag-over-top {
  border-top: 3px solid var(--teal);
}

.map-stop-card.drag-over-bottom {
  border-bottom: 3px solid var(--teal);
}

.stop-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.45rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(0,0,0,0.04);
}

.stop-move-btn {
  background: var(--sand-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.2rem 0.45rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  transition: all 0.15s;
}

.stop-move-btn:hover {
  background: var(--white);
  border-color: var(--teal);
  color: var(--teal);
}

/* Accessible Move Menu Popup */
.map-move-dropdown {
  position: fixed;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  padding: 0.35rem 0;
  z-index: 100000;
  min-width: 160px;
  animation: mapMenuFadeIn 0.15s ease;
}

@keyframes mapMenuFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.map-move-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-primary);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.map-move-option:hover {
  background: var(--sand-2);
  color: var(--teal);
}

.map-move-option.current {
  color: var(--text-muted);
  cursor: default;
  background: none;
}

/* Live Toast Notification in Modal */
.map-live-toast {
  margin: 0.75rem 1rem 0;
  padding: 0.65rem 0.85rem;
  background: #0f172a;
  color: #ffffff;
  border-radius: 8px;
  font-size: 0.74rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  animation: mapToastSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.map-live-toast-text {
  flex: 1;
  line-height: 1.35;
}

.map-live-toast-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.map-toast-btn {
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #ffffff;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.map-toast-btn:hover {
  background: rgba(255, 255, 255, 0.32);
}

.map-toast-btn.undo-btn {
  color: #fde047;
}

/* Empty day state in stop list */
.map-stops-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.map-stops-empty-icon {
  font-size: 2rem;
}

.map-stops-empty-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.map-stops-empty-hint {
  font-size: 0.76rem;
  line-height: 1.45;
  max-width: 250px;
}

/* =================== DYNAMIC INTERACTIVE PACKING LIST =================== */
.packing-app-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  margin-top: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.packing-app-card:hover {
  border-color: rgba(42, 123, 123, 0.35);
  box-shadow: var(--shadow-md);
}

.packing-app-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.packing-header-info {
  flex: 1;
  min-width: 280px;
}

.packing-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
  background: var(--teal-light);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.packing-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.packing-app-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.packing-app-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.packing-progress-widget {
  min-width: 260px;
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.packing-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.packing-progress-label {
  font-weight: 600;
  color: var(--text-primary);
}

.packing-progress-count {
  color: var(--teal);
  font-weight: 600;
}

.packing-progress-track {
  width: 100%;
  height: 8px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.packing-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal) 0%, #38a169 100%);
  border-radius: 999px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Toolbar & Filter Tabs */
.packing-app-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.packing-filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.packing-tab-btn {
  background: var(--sand);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}

.packing-tab-btn:hover {
  background: var(--sand-2);
  color: var(--text-primary);
  border-color: var(--border-focus);
}

.packing-tab-btn.active {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
  box-shadow: 0 2px 8px rgba(42, 123, 123, 0.25);
}

.packing-quick-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.packing-action-btn {
  background: var(--white);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.38rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition);
}

.packing-action-btn:hover {
  background: var(--sand-2);
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.packing-action-btn.packing-btn-pdf {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.45);
  color: #936f1c;
  font-weight: 700;
}

.packing-action-btn.packing-btn-pdf:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111827;
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
}

.packing-action-btn.packing-btn-print {
  background: rgba(42, 123, 123, 0.08);
  border-color: rgba(42, 123, 123, 0.35);
  color: var(--teal);
  font-weight: 700;
}

.packing-action-btn.packing-btn-print:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(42, 123, 123, 0.25);
}

/* Add custom item form */
.packing-add-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 0;
  flex-wrap: wrap;
}

.packing-input {
  flex: 1;
  min-width: 200px;
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition);
}

.packing-input:focus {
  background: var(--white);
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 123, 123, 0.12);
}

.packing-category-select {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
}

.packing-category-select:focus {
  border-color: var(--teal);
}

.packing-add-btn {
  background: var(--ink);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}

.packing-add-btn:hover {
  background: var(--teal);
  transform: translateY(-1px);
}

/* Checklist items grid */
.packing-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0 1.5rem;
}

.packing-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition);
}

.packing-check-item:hover {
  background: var(--sand-2);
  border-color: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.packing-check-item.is-checked {
  background: var(--white);
  border-color: rgba(42, 123, 123, 0.25);
  opacity: 0.78;
}

.packing-check-item.is-checked .packing-item-name {
  text-decoration: line-through;
  color: var(--text-muted);
}

.packing-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--border-focus);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
  transition: all var(--transition);
}

.packing-check-item:hover .packing-checkbox {
  border-color: var(--teal);
}

.packing-check-item.is-checked .packing-checkbox {
  background: var(--teal);
  border-color: var(--teal);
}

.check-icon {
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  display: none;
}

.packing-check-item.is-checked .check-icon {
  display: block;
}

.packing-item-content {
  flex: 1;
  min-width: 0;
}

.packing-item-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.packing-item-name {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
  transition: color var(--transition);
}

.packing-item-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-light);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.packing-item-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.35;
}

.packing-item-del {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.1rem 0.3rem;
  font-size: 0.75rem;
  border-radius: 4px;
  transition: all var(--transition);
}

.packing-item-del:hover {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

/* Empty state */
.packing-empty-state {
  grid-column: 1 / -1;
  padding: 2.5rem 1rem;
  text-align: center;
  background: var(--sand);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
}

.empty-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.empty-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer status */
.packing-app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.packing-footer-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.packing-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38a169;
}

.packing-reset-default-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--transition);
}

.packing-reset-default-btn:hover {
  color: var(--teal);
}

@media (max-width: 768px) {
  .packing-app-card {
    padding: 1.25rem;
  }
  .packing-items-grid {
    grid-template-columns: 1fr;
  }
  .packing-app-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .packing-filter-tabs {
    overflow-x: auto;
    padding-bottom: 0.4rem;
  }
  .packing-progress-widget {
    min-width: 100%;
  }
}

/* =================== SHARE BUTTON & TOAST NOTIFICATION =================== */
.action-btn-share {
  background: linear-gradient(135deg, rgba(201,168,76,0.2) 0%, rgba(201,168,76,0.35) 100%);
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(201,168,76,0.18);
}

.action-btn-share:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

.action-btn-share.copied {
  background: #38a169 !important;
  color: white !important;
  border-color: #38a169 !important;
}

.share-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: white;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.share-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.share-toast-icon {
  font-size: 1.1rem;
  color: var(--gold-2);
}

/* =================== SAVE TO FAVORITES ACTION BUTTON =================== */
.action-btn-save {
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(201, 168, 76, 0.15);
  transition: all var(--transition);
}

.action-btn-save:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
}

.action-btn-save.is-saved {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  border-color: #f59e0b !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35) !important;
}

.action-btn-save.is-saved:hover {
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%) !important;
  transform: translateY(-2px);
}

/* =================== MY SAVED TRIPS SECTION (ABOVE PLANNER) =================== */
.saved-trips-section {
  padding: 2.5rem 0 1.5rem;
  position: relative;
  z-index: 10;
}

.my-trips-empty-card {
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  transition: border-color var(--transition);
}

.my-trips-empty-card:hover {
  border-color: var(--gold);
}

.my-trips-empty-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.my-trips-empty-icon {
  font-size: 2rem;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.my-trips-empty-text {
  flex: 1;
}

.my-trips-empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.my-trips-empty-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.my-trips-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.my-trips-container:hover {
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: var(--shadow-md);
}

.my-trips-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.my-trips-header-left {
  flex: 1;
  min-width: 260px;
}

.my-trips-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-2);
  letter-spacing: 0.06em;
  background: rgba(201, 168, 76, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
}

.my-trips-pill-star {
  font-size: 0.8rem;
  color: var(--gold);
}

.my-trips-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.my-trips-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
}

.my-trips-subtitle {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.45;
}

.my-trips-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.my-trips-search-box {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 250px;
  max-width: 340px;
  flex: 1;
}

.my-trips-search-icon {
  position: absolute;
  left: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.my-trips-search-input {
  width: 100%;
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 2.2rem 0.45rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-primary);
  transition: all var(--transition);
  outline: none;
}

.my-trips-search-input:focus {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.my-trips-search-input::placeholder {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.my-trips-search-clear-btn {
  position: absolute;
  right: 0.55rem;
  background: rgba(0, 0, 0, 0.08);
  border: none;
  color: var(--text-muted);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.my-trips-search-clear-btn:hover {
  background: rgba(220, 38, 38, 0.15);
  color: #dc2626;
}

.my-trips-filter-status {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-2);
  background: rgba(201, 168, 76, 0.12);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.my-trips-no-results {
  grid-column: 1 / -1;
  background: var(--sand);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 2.25rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.my-trips-no-results-icon {
  font-size: 2rem;
  opacity: 0.6;
  margin-bottom: 0.25rem;
}

.my-trips-no-results-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
}

.my-trips-no-results-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0 0 0.5rem;
  max-width: 420px;
}

.my-trips-reset-btn {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.my-trips-reset-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
}

.my-trips-clear-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  transition: all var(--transition);
}

.my-trips-clear-btn:hover {
  background: rgba(220, 38, 38, 0.08);
  border-color: #dc2626;
  color: #dc2626;
}

.my-trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.my-trip-card {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  transition: all var(--transition);
}

.my-trip-card:hover {
  background: var(--white);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.my-trip-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.my-trip-dest-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.my-trip-emoji {
  font-size: 1.85rem;
  line-height: 1;
  flex-shrink: 0;
}

.my-trip-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.my-trip-date {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.my-trip-delete-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all var(--transition);
  flex-shrink: 0;
}

.my-trip-delete-btn:hover {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

.my-trip-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.my-trip-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Star Rating Component inside My Trips cards */
.my-trip-rating-section {
  background: var(--sand-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: all var(--transition);
}

.my-trip-card:hover .my-trip-rating-section {
  background: var(--sand);
  border-color: rgba(201, 168, 76, 0.35);
}

.my-trip-rating-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.my-trip-rating-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.my-trip-rating-label {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.my-trip-rating-score {
  color: var(--gold-2);
  font-weight: 700;
}

.my-trip-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  position: relative;
}

.my-trip-star-btn {
  background: transparent;
  border: none;
  color: #d1d5db;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.1rem 0.15rem;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.my-trip-star-btn:hover {
  transform: scale(1.22);
}

.my-trip-star-btn.active {
  color: var(--gold);
  text-shadow: 0 1px 4px rgba(201, 168, 76, 0.35);
}

.my-trip-star-btn.hover-active {
  color: #f59e0b !important;
  transform: scale(1.25);
  text-shadow: 0 0 6px rgba(245, 158, 11, 0.45);
}

.my-trip-rating-clear-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 0.35rem;
  transition: all var(--transition);
  padding: 0;
}

.my-trip-rating-clear-btn:hover {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

.my-trip-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.my-trip-price-wrap {
  display: flex;
  flex-direction: column;
}

.my-trip-price-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.my-trip-price-val {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--teal);
}

.my-trip-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.my-trip-share-btn {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.my-trip-share-btn:hover {
  background: var(--sand-2);
  color: var(--gold);
  border-color: var(--gold);
}

.my-trip-load-btn {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.my-trip-load-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateX(2px);
}

.my-trip-load-btn .arrow {
  transition: transform var(--transition);
}

.my-trip-load-btn:hover .arrow {
  transform: translateX(3px);
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  margin-left: 0.3rem;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .my-trips-header {
    flex-direction: column;
    align-items: stretch;
  }
  .my-trips-grid {
    grid-template-columns: 1fr;
  }
}

/* =================== ITINERARY FEEDBACK SECTION =================== */
.itinerary-feedback-section {
  padding: 1.5rem 0 3.5rem;
}

.feedback-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.feedback-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}

.feedback-header {
  margin-bottom: 1.75rem;
}

.feedback-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feedback-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.feedback-community-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--sand);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.feedback-community-pill .fc-star {
  color: var(--gold);
}

.feedback-community-pill strong {
  color: var(--ink);
  font-weight: 700;
}

.feedback-community-pill .fc-count {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.feedback-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.feedback-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
}

.feedback-body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.feedback-field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

/* Star Rating Buttons */
.feedback-stars-block {
  background: var(--sand-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feedback-stars-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.feedback-star-btn {
  background: transparent;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: #d1d5db;
  cursor: pointer;
  padding: 0.15rem 0.25rem;
  border-radius: var(--radius-sm);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease;
}

.feedback-star-btn:hover {
  transform: scale(1.22);
}

.feedback-star-btn.active {
  color: var(--gold);
  text-shadow: 0 2px 10px rgba(201, 168, 76, 0.35);
}

.feedback-rating-desc {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  min-height: 1.25rem;
}

/* Quick feedback tags */
.feedback-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feedback-tag-chip {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}

.feedback-tag-chip:hover {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--sand);
}

.feedback-tag-chip.active {
  background: rgba(42, 123, 123, 0.1);
  border-color: var(--teal);
  color: var(--teal);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(42, 123, 123, 0.15);
}

/* Feedback Textarea */
.feedback-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  resize: vertical;
  min-height: 85px;
  transition: all var(--transition);
}

.feedback-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 123, 123, 0.15);
}

.feedback-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.feedback-submit-btn {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}

.feedback-submit-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(42, 123, 123, 0.25);
}

.feedback-submit-btn.submitted {
  background: var(--teal);
  border-color: var(--teal);
}

.feedback-status-msg {
  font-size: 0.86rem;
  flex: 1;
}

.feedback-previous-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--sand);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
}

@media (max-width: 640px) {
  .feedback-card {
    padding: 1.5rem;
  }
  .feedback-star-btn {
    font-size: 1.85rem;
  }
}

/* =================== CMS & ANNOUNCEMENT BAR =================== */
.announcement-bar-global {
  width: 100%;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.announcement-gold {
  background: linear-gradient(90deg, #1e2430 0%, #151a24 100%);
  color: #f7eed8;
  border-bottom: 1px solid rgba(201, 168, 76, 0.35);
}
.announcement-teal {
  background: linear-gradient(90deg, #112d2d 0%, #183e3e 100%);
  color: #e6f7f7;
  border-bottom: 1px solid rgba(42, 123, 123, 0.4);
}
.announcement-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.announcement-link {
  color: var(--gold-2, #dfc06a);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s;
}
.announcement-link:hover {
  color: #ffffff;
}
.announcement-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.4rem;
}
.announcement-close:hover {
  color: #ffffff;
}

.faq-cat-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(42, 123, 123, 0.12);
  color: var(--teal, #2a7b7b);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* CMS Article Modal */
.cms-article-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 21, 31, 0.85);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}
.cms-article-modal-backdrop.open {
  display: flex;
}
.cms-article-modal-content {
  background: var(--paper, #ffffff);
  width: 100%;
  max-width: 780px;
  border-radius: var(--radius-lg, 16px);
  padding: 2.5rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border, #e2e8f0);
}
.cms-article-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sand, #f8f6f0);
  border: 1px solid var(--border, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--ink, #1a1f2e);
  transition: all 0.2s;
}
.cms-article-modal-close:hover {
  background: var(--ink);
  color: #ffffff;
}

/* =================== ADMIN CONTROL SYSTEM STYLES =================== */
.admin-body {
  background: #0f131a;
  color: #e2e8f0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
}
.admin-shell {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 260px;
  background: #151a24;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.admin-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-logo {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}
.admin-logo span {
  color: var(--gold, #c9a84c);
}
.admin-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-2, #dfc06a);
  border: 1px solid rgba(201, 168, 76, 0.35);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
}
.admin-nav {
  padding: 1.25rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}
.admin-nav-item.active {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold, #c9a84c);
  border-color: rgba(201, 168, 76, 0.3);
  font-weight: 600;
}
.admin-nav-icon {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
}
.admin-sidebar-footer {
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-user-info {
  font-size: 0.82rem;
}
.admin-user-name {
  font-weight: 600;
  color: #ffffff;
}
.admin-user-role {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-y: auto;
}
.admin-topbar {
  height: 64px;
  background: #151a24;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}
.admin-content {
  padding: 2rem;
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}
.admin-card {
  background: #181f2c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.admin-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}
.admin-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
}
.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.admin-form-group {
  margin-bottom: 1.2rem;
}
.admin-form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-input, .admin-textarea, .admin-select {
  width: 100%;
  background: #11151f;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.admin-input:focus, .admin-textarea:focus, .admin-select:focus {
  outline: none;
  border-color: var(--gold, #c9a84c);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
}
.admin-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.admin-stat-box {
  background: #181f2c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem;
}
.admin-stat-val {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.admin-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

@media (max-width: 900px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .admin-content { padding: 1.25rem; }
}

/* ══════════════════════════════════════════════════════════════
   OFFLINE MODE & CACHE API STATUS STYLES
   ══════════════════════════════════════════════════════════════ */
.offline-mode-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 16px rgba(201, 168, 76, 0.25);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sand);
  animation: slideInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.offline-pill-icon {
  font-size: 1rem;
  color: var(--gold);
  animation: pulseGlow 2s infinite ease-in-out;
}

.offline-pill-text {
  letter-spacing: 0.02em;
}

.my-trip-offline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.my-trips-offline-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold-2);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-left: 0.5rem;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.75; }
}

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

/* =================== CALENDAR EXPORT (.ICS) BUTTON & MODAL =================== */
.action-btn-calendar {
  background: rgba(42, 123, 123, 0.18);
  border: 1px solid rgba(42, 123, 123, 0.45);
  color: #5ec4c4;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(42, 123, 123, 0.15);
  transition: all var(--transition);
}

.action-btn-calendar:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(42, 123, 123, 0.35);
}

[data-theme="dark"] .action-btn-calendar {
  background: rgba(42, 123, 123, 0.25);
  border-color: rgba(94, 196, 196, 0.4);
  color: #79d2d2;
}

[data-theme="dark"] .action-btn-calendar:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

/* Calendar Modal Overlay */
.cal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s;
}

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

.cal-modal-box {
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96) translateY(16px);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cal-modal-overlay.open .cal-modal-box {
  transform: scale(1) translateY(0);
}

[data-theme="dark"] .cal-modal-box {
  background: var(--sand-2);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Modal Header */
.cal-modal-header {
  padding: 1.25rem 1.5rem;
  background: var(--sand);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

[data-theme="dark"] .cal-modal-header {
  background: var(--sand-3);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.cal-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  background: var(--teal-light);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.cal-modal-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.cal-modal-subtitle {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  line-height: 1.4;
}

.cal-modal-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.cal-modal-close:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .cal-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Modal Body */
.cal-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cal-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cal-label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cal-label-hint {
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--text-muted);
}

.cal-date-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cal-input-date {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}

[data-theme="dark"] .cal-input-date {
  background: var(--sand-3);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  color-scheme: dark;
}

.cal-input-date:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.cal-quick-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cal-quick-btn {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--sand);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.cal-quick-btn:hover {
  background: var(--sand-2);
  color: var(--text-primary);
  border-color: var(--gold);
}

.cal-quick-btn.active {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--text-primary);
  font-weight: 600;
}

[data-theme="dark"] .cal-quick-btn {
  background: var(--sand-3);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

[data-theme="dark"] .cal-quick-btn.active {
  background: rgba(201, 168, 76, 0.2);
  border-color: var(--gold);
  color: var(--gold-2);
}

/* Event format cards */
.cal-format-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cal-format-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.cal-format-card:hover {
  border-color: var(--gold);
  background: var(--sand-2);
}

.cal-format-card.active {
  background: var(--gold-light);
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.15);
}

[data-theme="dark"] .cal-format-card {
  background: var(--sand-3);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .cal-format-card.active {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
}

.cal-format-card input[type="radio"] {
  margin-top: 0.2rem;
  accent-color: var(--gold);
}

.cal-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cal-card-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cal-tag-rec {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--teal);
  color: #ffffff;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.cal-card-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.cal-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

[data-theme="dark"] .cal-select {
  background: var(--sand-3);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

/* Primary Action Buttons */
.cal-primary-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cal-btn-download {
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: linear-gradient(135deg, var(--gold) 0%, #b8914a 100%);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

.cal-btn-download:hover {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.45);
}

.cal-btn-download.success {
  background: #16a34a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.4) !important;
}

.cal-btn-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.cal-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cal-btn-text strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.cal-btn-text small {
  font-size: 0.74rem;
  opacity: 0.85;
}

/* Guide Box */
.cal-guide-box {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}

[data-theme="dark"] .cal-guide-box {
  background: var(--sand-3);
  border-color: rgba(255, 255, 255, 0.08);
}

.cal-guide-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.cal-guide-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cal-guide-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cal-guide-app {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cal-guide-text {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Footer */
.cal-modal-footer {
  padding: 1rem 1.5rem;
  background: var(--sand);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

[data-theme="dark"] .cal-modal-footer {
  background: var(--sand-3);
  border-top-color: rgba(255, 255, 255, 0.1);
}

.cal-footer-status {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cal-btn-secondary {
  padding: 0.5rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition);
}

[data-theme="dark"] .cal-btn-secondary {
  background: var(--sand-2);
  border-color: rgba(255, 255, 255, 0.15);
}

.cal-btn-secondary:hover {
  background: var(--sand-2);
  border-color: var(--text-muted);
}

/* =================== PRINT PREVIEW MODAL & PAPER CANVAS =================== */
.print-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s;
}

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

.print-modal-box {
  width: 100%;
  max-width: 860px;
  height: 90vh;
  max-height: 920px;
  background: var(--sand-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96) translateY(16px);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.print-modal-overlay.open .print-modal-box {
  transform: scale(1) translateY(0);
}

[data-theme="dark"] .print-modal-box {
  background: #0f141c;
  border-color: rgba(255, 255, 255, 0.12);
}

/* Modal Header */
.print-modal-header {
  padding: 1.1rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

[data-theme="dark"] .print-modal-header {
  background: var(--sand-3);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.print-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  background: var(--teal-light);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.25rem;
}

.print-modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.print-modal-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.print-modal-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.print-modal-close:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.06);
}

/* Toolbar */
.print-modal-toolbar {
  padding: 0.75rem 1.5rem;
  background: var(--sand);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

[data-theme="dark"] .print-modal-toolbar {
  background: #141b24;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.print-toolbar-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.print-toolbar-label {
  color: var(--text-muted);
  font-weight: 500;
}

.print-toolbar-val {
  color: var(--text-primary);
  font-weight: 600;
}

.print-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.print-btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #b8914a 100%);
  border: none;
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.55rem 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 2px 10px rgba(201, 168, 76, 0.35);
  transition: all var(--transition);
}

.print-btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.45);
}

.print-btn-secondary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition);
}

[data-theme="dark"] .print-btn-secondary {
  background: var(--sand-3);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.print-btn-secondary:hover {
  background: var(--sand-2);
  border-color: var(--gold);
}

/* Scrollable Body Canvas */
.print-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  background: #525659; /* Standard PDF/Print preview canvas dark background */
}

.print-paper-canvas-wrap {
  width: 100%;
  max-width: 720px;
}

/* Paper Sheet Mockup (Matched 1:1 with PDF Document Outline) */
.print-paper-sheet {
  background: #ffffff;
  color: #111827;
  border-radius: 6px;
  padding: 1.8rem 2.2rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  line-height: 1.45;
  width: 100%;
  box-sizing: border-box;
}

/* Top Accent Stripe */
.print-top-stripe {
  height: 4px;
  background: var(--gold, #c9a84c);
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 2px;
}

/* Cover & Header Banner */
.print-header-banner {
  background: #111827;
  color: #ffffff;
  padding: 1.1rem 1.4rem;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.3rem;
  border-left: 4.5px solid #c9a84c;
  gap: 1rem;
}

.print-header-left {
  flex: 1;
}

.print-header-brand {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #c9a84c;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.print-header-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.35rem 0;
  line-height: 1.2;
}

.print-header-meta {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-bottom: 0.3rem;
}

.print-header-date {
  font-size: 0.72rem;
  color: #94a3b8;
}

.print-header-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid #c9a84c;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  text-align: right;
  min-width: 150px;
  flex-shrink: 0;
}

.print-header-pill-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #c9a84c;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.print-header-pill-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0.15rem;
}

/* Section Header (matching PDF drawSectionHeader) */
.print-section-header {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 1.4rem;
  margin-bottom: 0.8rem;
  page-break-after: avoid;
  break-after: avoid;
}

.print-section-accent-bar {
  width: 3.5px;
  height: 18px;
  background: #c9a84c;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 2px;
}

.print-section-title-wrap {
  flex: 1;
}

.print-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

.print-section-subtitle {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 0.1rem;
}

/* 4 KPI Summary Cards Grid */
.print-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

@media (max-width: 640px) {
  .print-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.print-kpi-card {
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 0.6rem 0.75rem;
}

.print-kpi-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.print-kpi-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111827;
  margin: 0.2rem 0 0.1rem 0;
}

.print-kpi-sub {
  font-size: 0.66rem;
  color: #64748b;
}

/* Tables (Budget, Accommodations, Tips) */
.print-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.2rem;
  font-size: 0.78rem;
  page-break-inside: avoid;
  break-inside: avoid;
}

.print-table th {
  background: #111827;
  color: #ffffff;
  text-align: left;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  border: 1px solid #111827;
}

.print-table th.text-right {
  text-align: right;
}

.print-table td {
  padding: 0.45rem 0.7rem;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  vertical-align: top;
}

.print-table td.text-right {
  text-align: right;
  font-weight: 700;
}

.print-table tr:nth-child(even) td {
  background: #f8f9fa;
}

.print-table tr.total-row td {
  background: #fdf8ed !important;
  color: #111827 !important;
  font-weight: 800 !important;
  border-top: 1.5px solid #c9a84c;
  border-bottom: 1.5px solid #c9a84c;
}

/* Day-by-Day Itinerary Layout */
.print-days-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.print-day-card {
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  overflow: hidden;
  page-break-inside: avoid;
  break-inside: avoid;
  background: #ffffff;
}

.print-day-ribbon {
  background: #1e293b;
  color: #ffffff;
  padding: 0.45rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.print-day-badge {
  background: #c9a84c;
  color: #111827;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.print-day-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  flex: 1;
}

.print-day-cost-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: #c9a84c;
}

.print-day-content {
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.print-period-block {
  page-break-inside: avoid;
  break-inside: avoid;
}

.print-period-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.print-period-morning { color: #2a7b7b; }
.print-period-afternoon { color: #b45309; }
.print-period-evening { color: #1e293b; }

.print-act-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.2rem 0;
}

.print-act-dot {
  font-size: 0.55rem;
  line-height: 1.6;
  flex-shrink: 0;
}

.print-act-morning-dot { color: #2a7b7b; }
.print-act-afternoon-dot { color: #b45309; }
.print-act-evening-dot { color: #1e293b; }

.print-act-body {
  flex: 1;
}

.print-act-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.print-act-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
}

.print-act-cost {
  font-size: 0.74rem;
  font-weight: 700;
  color: #2a7b7b;
  white-space: nowrap;
}

.print-act-desc {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
  margin-top: 0.05rem;
}

/* Document Footer */
.print-document-footer {
  margin-top: 1.5rem;
  padding-top: 0.65rem;
  border-top: 1.5px solid #c9a84c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: #64748b;
  page-break-inside: avoid;
  break-inside: avoid;
}

.print-doc-footer-brand {
  color: #475569;
  font-weight: 500;
}

.print-doc-footer-badge {
  color: #111827;
  font-weight: 700;
}

/* Legacy fallback classes if needed */
.print-paper-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 2px solid #111827;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}

.print-paper-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #111827;
}

.print-paper-slogan {
  font-size: 0.74rem;
  color: #4b5563;
  margin-top: 0.1rem;
}

.print-paper-date {
  font-size: 0.74rem;
  color: #6b7280;
  font-weight: 500;
}

.print-paper-hero {
  margin-bottom: 1.25rem;
}

.print-paper-dest {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.print-paper-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.print-paper-chip {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  color: #374151;
}

.print-paper-chip strong {
  color: #111827;
}

.print-paper-budget {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.print-paper-budget-total {
  border-bottom: 1px dashed #d1d5db;
  padding-bottom: 0.6rem;
}

.print-paper-budget-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6b7280;
}

.print-paper-budget-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f766e;
  margin-top: 0.15rem;
}

.print-paper-budget-note {
  font-size: 0.7rem;
  color: #9ca3af;
}

.print-paper-budget-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
}

.print-paper-b-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #4b5563;
}

.print-paper-b-item strong {
  color: #111827;
}

.print-paper-section-heading {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111827;
  border-bottom: 1.5px solid #e5e7eb;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

.print-paper-days {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.print-paper-day-card {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
}

.print-paper-day-header {
  background: #f3f4f6;
  border-bottom: 1px solid #d1d5db;
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.print-paper-day-badge {
  background: #111827;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.print-paper-day-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #111827;
  flex: 1;
}

.print-paper-day-cost {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f766e;
}

.print-paper-day-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.print-paper-block-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4b5563;
  background: #e5e7eb;
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

.print-paper-acts-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.print-paper-act {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0.65rem;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 4px;
}

.print-paper-act-icon {
  font-size: 1rem;
  line-height: 1.3;
}

.print-paper-act-info {
  flex: 1;
}

.print-paper-act-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.print-paper-act-head strong {
  font-size: 0.84rem;
  color: #111827;
}

.print-paper-act-cost {
  font-size: 0.74rem;
  font-weight: 600;
  color: #0f766e;
  white-space: nowrap;
}

.print-paper-act-desc {
  font-size: 0.74rem;
  color: #6b7280;
  margin-top: 0.1rem;
}

.print-paper-footer {
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 0.72rem;
  color: #9ca3af;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* Footer Modal Controls */
.print-modal-footer {
  padding: 0.9rem 1.5rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

[data-theme="dark"] .print-modal-footer {
  background: var(--sand-3);
  border-top-color: rgba(255, 255, 255, 0.1);
}

.print-footer-tip {
  font-size: 0.78rem;
  color: var(--text-secondary);
  flex: 1;
}

.print-footer-btns {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Normal Preview Mode Floating Action Bar */
.normal-preview-banner {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  z-index: 9999;
  background: var(--ink);
  color: #ffffff;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  padding: 0.5rem 0.8rem 0.5rem 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 90vw;
}

.normal-preview-banner.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.normal-preview-banner-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.normal-preview-banner-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
}

.normal-preview-badge {
  background: var(--teal);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.normal-preview-banner-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.normal-preview-btn-print {
  background: linear-gradient(135deg, var(--gold) 0%, #b8914a 100%);
  color: var(--ink);
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.35);
  transition: all var(--transition);
  white-space: nowrap;
}

.normal-preview-btn-print:hover {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  transform: translateY(-1px);
}

.normal-preview-btn-modal {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.normal-preview-btn-modal:hover {
  background: rgba(255, 255, 255, 0.22);
}

.normal-preview-btn-close {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.2rem 0.4rem;
  cursor: pointer;
  transition: color var(--transition);
}

.normal-preview-btn-close:hover {
  color: #ffffff;
}

/* =================== PRINT STYLESHEET (@media print) =================== */
@media print {
  /* Page margins and print color optimization */
  @page {
    margin: 14mm 12mm;
    size: auto;
  }

  *,
  *::before,
  *::after {
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    transition: none !important;
  }

  html,
  body {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 11pt !important;
    line-height: 1.45 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* ── 1. Hide Navigation, Topbars & Menus ── */
  .topbar,
  .mobile-nav,
  nav,
  header.hero-nav,
  .theme-toggle,
  #themeToggle,
  .site-header,
  .normal-preview-banner {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* ── 2. Hide Buttons, Action Bars & Interactive UI Controls ── */
  .results-actions,
  .action-btn,
  button,
  .day-actions-wrap,
  .day-map-btn,
  .day-toggle,
  .currency-switch-group,
  .curr-toggle-btn,
  .packing-quick-actions,
  .packing-add-bar,
  .packing-filter-tabs,
  .generate-btn,
  .book-btn,
  .custom-modal-close,
  .share-toast {
    display: none !important;
    visibility: hidden !important;
  }

  /* ── 3. Hide Advertisement Containers & Trackers ── */
  .ad-container,
  .ad-anchor,
  [id^="ad-"],
  [id*="ad-"],
  ins.adsbygoogle,
  .adsbygoogle,
  .ad-banner,
  .ad-responsive {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* ── 4. Hide Modals, Overlays & Dialogs ── */
  .print-modal-overlay,
  .cal-modal-overlay,
  .map-modal-overlay,
  .modal-overlay,
  .feedback-modal,
  #cookie-consent-banner,
  .loading-overlay,
  #luxentrae-print-iframe {
    display: none !important;
    visibility: hidden !important;
  }

  /* ── 5. Hide Pre-results Form & Hero clutter when printing ── */
  .hero-section,
  .form-section,
  .saved-trips-section,
  .features-grid,
  .about-section,
  .faq-section,
  .footer-links,
  .footer-newsletter {
    display: none !important;
  }

  /* Keep Results section visible and full width */
  #results,
  .results-hero,
  .budget-section,
  .itinerary-section,
  .hotels-section,
  .tips-section,
  .packing-section {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 0 1.5rem 0 !important;
    background: transparent !important;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* ── 6. Results Header & Meta ── */
  .results-hero {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 1.25rem !important;
    margin-bottom: 1.5rem !important;
    page-break-after: avoid;
    break-after: avoid;
  }

  .results-dest {
    font-size: 20pt !important;
    color: #111827 !important;
    font-weight: 700 !important;
  }

  .results-meta {
    margin-top: 0.75rem !important;
    gap: 0.5rem !important;
  }

  .results-chip {
    background: #f3f4f6 !important;
    border: 1px solid #d1d5db !important;
    color: #374151 !important;
    font-size: 8.5pt !important;
    padding: 0.25rem 0.65rem !important;
  }

  .results-chip span {
    color: #111827 !important;
    font-weight: 700 !important;
  }

  /* ── 7. Budget Overview Formatting ── */
  .budget-section {
    page-break-inside: avoid;
    break-inside: avoid;
    margin-bottom: 1.5rem !important;
  }

  .budget-total-card {
    background: #f9fafb !important;
    border: 2px solid #d1d5db !important;
    color: #111827 !important;
    padding: 1rem 1.25rem !important;
    margin-bottom: 1rem !important;
  }

  .budget-cards {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.6rem !important;
    margin-bottom: 1rem !important;
  }

  .budget-mini-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    padding: 0.75rem !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .budget-mini-val {
    font-size: 13pt !important;
    color: #111827 !important;
  }

  .budget-chart {
    display: none !important; /* Hide visual bars to preserve crisp printable numbers */
  }

  /* ── 8. Day-by-Day Itinerary Cards (Printer-Friendly Layout) ── */
  .itinerary-section {
    padding-top: 0 !important;
  }

  .day-card {
    background: #ffffff !important;
    border: 1px solid #9ca3af !important;
    border-radius: 8px !important;
    margin-bottom: 1.25rem !important;
    overflow: visible !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .day-header {
    background: #f3f4f6 !important;
    border-bottom: 1px solid #d1d5db !important;
    padding: 0.75rem 1rem !important;
    cursor: default !important;
  }

  .day-num {
    background: #111827 !important;
    color: #ffffff !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 10pt !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .day-title {
    font-size: 12pt !important;
    font-weight: 700 !important;
    color: #111827 !important;
  }

  .day-subtitle {
    font-size: 8.5pt !important;
    color: #4b5563 !important;
  }

  .day-cost {
    font-size: 10.5pt !important;
    font-weight: 700 !important;
    color: #0f766e !important;
  }

  /* Force open all collapsible itinerary days when printing */
  .day-body {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
    padding: 0.9rem 1.1rem !important;
  }

  .time-block {
    margin-bottom: 0.9rem !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .time-label {
    background: #e5e7eb !important;
    border: 1px solid #d1d5db !important;
    color: #1f2937 !important;
    font-size: 7.5pt !important;
    font-weight: 700 !important;
    padding: 0.2rem 0.55rem !important;
    margin-bottom: 0.45rem !important;
    display: inline-block !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .activity-item {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    padding: 0.55rem 0.75rem !important;
    margin-bottom: 0.45rem !important;
    page-break-inside: avoid;
    break-inside: avoid;
    gap: 0.65rem !important;
  }

  .activity-icon {
    font-size: 1.1rem !important;
  }

  .activity-name {
    font-size: 9.5pt !important;
    font-weight: 600 !important;
    color: #111827 !important;
  }

  .activity-desc {
    font-size: 8pt !important;
    color: #4b5563 !important;
    margin-top: 0.15rem !important;
  }

  .activity-cost {
    font-size: 8pt !important;
    font-weight: 600 !important;
    color: #0f766e !important;
  }

  /* ── 9. Packing List & Travel Intelligence ── */
  .packing-cat-card,
  .tip-category,
  .info-card,
  .hotel-card {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    page-break-inside: avoid;
    break-inside: avoid;
    margin-bottom: 0.75rem !important;
    padding: 0.75rem !important;
  }

  .packing-cat-items {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.35rem 0.75rem !important;
  }

  .packing-item {
    font-size: 8pt !important;
  }

  /* ── 10. Clean Print Footer Stamp ── */
  footer {
    border-top: 1px solid #d1d5db !important;
    padding: 0.75rem 0 !important;
    margin-top: 1.5rem !important;
    text-align: center !important;
    font-size: 8pt !important;
    color: #6b7280 !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  footer .footer-bottom,
  footer .footer-copyright {
    display: block !important;
    color: #6b7280 !important;
  }
}

/* ==============================================================================
   UNOBTRUSIVE NEWSLETTER SIGNUP BOX (KLAVIYO INTEGRATION)
   End-of-article email capture for travel intelligence and cost breakdowns
   Crafted for geometric symmetry, optical center-axis harmony, and effortless UX
   ============================================================================== */
.newsletter-signup-box {
  margin: 3.5rem auto 2.5rem auto;
  max-width: 680px;
  width: 100%;
  padding: 44px 38px 36px 38px;
  background: var(--sand-2, #ede7d9);
  background-image: radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.12) 0%, transparent 72%);
  border: 1px solid rgba(201, 168, 76, 0.38);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(201, 168, 76, 0.1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
  box-sizing: border-box;
}

.newsletter-signup-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold, #c9a84c), transparent);
  border-radius: 999px;
}

[data-theme="dark"] .newsletter-signup-box {
  background: var(--sand-2, #141926);
  background-image: radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.14) 0%, transparent 75%);
  border-color: rgba(201, 168, 76, 0.28);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 168, 76, 0.14);
}

.newsletter-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

.newsletter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold, #c9a84c);
  margin: 0 auto 0.95rem auto;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.28);
  user-select: none;
}

.newsletter-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold, #c9a84c);
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.75);
  flex-shrink: 0;
}

.newsletter-title {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-primary, #0d1117);
  margin: 0 auto 0.75rem auto;
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 560px;
  text-wrap: balance;
}

[data-theme="dark"] .newsletter-title {
  color: var(--text-primary, #f0ece4);
}

.newsletter-desc {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-secondary, #4a5568);
  margin: 0 auto 1.65rem auto;
  max-width: 520px;
  text-align: center;
  text-wrap: pretty;
}

[data-theme="dark"] .newsletter-desc {
  color: var(--text-secondary, #a0aec0);
}

/* Symmetrical Form & Dedicated Label */
.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.newsletter-field-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted, #718096);
  margin: 0 auto 0.55rem auto;
  text-align: center;
  transition: color 0.2s ease;
  user-select: none;
  cursor: pointer;
}

.newsletter-form:focus-within .newsletter-field-label {
  color: var(--gold, #c9a84c);
}

/* Luxury Unified Pill Capsule */
.newsletter-input-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #ffffff;
  border: 1.5px solid rgba(201, 168, 76, 0.35);
  border-radius: 999px;
  padding: 4px 5px 4px 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

[data-theme="dark"] .newsletter-input-group {
  background: #111622;
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.newsletter-input-group:focus-within {
  border-color: var(--gold, #c9a84c);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.22), 0 6px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .newsletter-input-group:focus-within {
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.28), 0 6px 26px rgba(0, 0, 0, 0.4);
}

.newsletter-input-wrap {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  gap: 12px;
}

.newsletter-input-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted, #718096);
  flex-shrink: 0;
  pointer-events: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.newsletter-input-group:focus-within .newsletter-input-icon {
  color: var(--gold, #c9a84c);
}

.newsletter-input {
  width: 100%;
  height: 42px;
  border: none;
  background: transparent;
  outline: none;
  color: var(--text-primary, #0d1117);
  font-size: 0.94rem;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  padding: 0;
  box-shadow: none;
}

[data-theme="dark"] .newsletter-input {
  color: #f0ece4;
}

.newsletter-input::placeholder {
  color: var(--text-muted, #8c9ba5);
  opacity: 1;
}

.newsletter-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--gold, #c9a84c);
  color: #11151f;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.25);
  user-select: none;
}

.newsletter-btn-arrow {
  transition: transform 0.2s ease;
}

.newsletter-submit-btn:hover:not(:disabled) {
  background: #d4b55c;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.38);
}

.newsletter-submit-btn:hover:not(:disabled) .newsletter-btn-arrow {
  transform: translateX(3px);
}

.newsletter-submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.newsletter-submit-btn:focus-visible {
  outline: 2px solid var(--gold, #c9a84c);
  outline-offset: 3px;
}

.newsletter-submit-btn.is-loading {
  opacity: 0.8;
  cursor: wait;
}

.newsletter-submit-btn.is-loading .newsletter-btn-arrow {
  display: none;
}

.newsletter-btn-spinner {
  display: none;
}

.newsletter-submit-btn.is-loading .newsletter-btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(17, 21, 31, 0.25);
  border-top-color: #11151f;
  border-radius: 50%;
  animation: nl-spin 0.75s linear infinite;
}

@keyframes nl-spin {
  to { transform: rotate(360deg); }
}

/* Symmetrical Feedback States */
.newsletter-feedback {
  margin: 0.95rem auto 0 auto;
  font-size: 0.88rem;
  line-height: 1.5;
  width: 100%;
  max-width: 520px;
  display: flex;
  justify-content: center;
  text-align: center;
  transition: all 0.25s ease;
}

.newsletter-feedback.error {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--coral, #d4634e);
  font-weight: 500;
  padding: 10px 22px;
  background: rgba(212, 99, 78, 0.09);
  border: 1px solid rgba(212, 99, 78, 0.28);
  border-radius: 999px;
  text-align: center;
  margin: 0.65rem auto 0 auto;
  animation: nl-shake 0.35s ease;
}

@keyframes nl-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.newsletter-feedback.error .feedback-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.newsletter-feedback.success {
  margin-top: 0.85rem;
  width: 100%;
}

.feedback-success-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 26px 28px;
  background: rgba(42, 123, 123, 0.08);
  border: 1px solid rgba(42, 123, 123, 0.3);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  animation: nl-fade-in 0.3s ease;
}

@keyframes nl-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

[data-theme="dark"] .feedback-success-card {
  background: rgba(58, 155, 155, 0.15);
  border-color: rgba(58, 155, 155, 0.4);
}

.feedback-success-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal, #2a7b7b);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto 4px auto;
  box-shadow: 0 4px 14px rgba(42, 123, 123, 0.32);
}

.feedback-success-icon svg {
  width: 20px;
  height: 20px;
}

.feedback-success-body {
  text-align: center;
  width: 100%;
}

.feedback-success-body strong {
  display: block;
  font-size: 1.12rem;
  color: var(--teal, #2a7b7b);
  margin-bottom: 6px;
  font-weight: 600;
  text-align: center;
}

[data-theme="dark"] .feedback-success-body strong {
  color: #5eead4;
}

.feedback-success-body p {
  font-size: 0.92rem;
  color: var(--text-secondary, #4a5568);
  margin: 0 auto 14px auto;
  line-height: 1.6;
  max-width: 420px;
  text-align: center;
}

[data-theme="dark"] .feedback-success-body p {
  color: var(--text-secondary, #a0aec0);
}

.newsletter-reset-link {
  display: inline-block;
  margin: 0 auto;
  background: transparent;
  border: none;
  color: var(--gold, #c9a84c);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: inherit;
  transition: color 0.2s ease;
}

.newsletter-reset-link:hover {
  color: #d4b55c;
}

/* Symmetrical Footer Metadata */
.newsletter-footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 1.45rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 0.78rem;
  color: var(--text-muted, #718096);
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

[data-theme="dark"] .newsletter-footer-meta {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.newsletter-guarantee {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.newsletter-meta-sep {
  opacity: 0.4;
  user-select: none;
}

.newsletter-frequency {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.newsletter-provider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--gold, #c9a84c);
  font-weight: 600;
}

.newsletter-star-pip {
  color: var(--gold, #c9a84c);
}

.already-subscribed-tag {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--teal, #2a7b7b);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 4px 14px;
  background: rgba(42, 123, 123, 0.08);
  border: 1px solid rgba(42, 123, 123, 0.24);
  border-radius: 999px;
  margin: 0 auto 0.5rem auto;
}

[data-theme="dark"] .already-subscribed-tag {
  color: #5eead4;
  background: rgba(94, 234, 212, 0.1);
  border-color: rgba(94, 234, 212, 0.3);
}

/* Responsive Geometric Symmetrical Stacking */
@media (max-width: 640px) {
  .newsletter-signup-box {
    padding: 32px 20px 28px 20px;
    margin: 2.5rem auto 2rem auto;
    border-radius: 18px;
  }

  .newsletter-title {
    font-size: 1.55rem;
  }

  .newsletter-desc {
    font-size: 0.9rem;
    margin-bottom: 1.35rem;
  }

  .newsletter-input-group {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    gap: 10px;
  }

  .newsletter-input-group:focus-within {
    box-shadow: none;
    border: none;
  }

  .newsletter-input-wrap {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid rgba(201, 168, 76, 0.35);
    border-radius: 999px;
    padding: 0 16px 0 16px;
    height: 48px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  [data-theme="dark"] .newsletter-input-wrap {
    background: #111622;
    border-color: rgba(201, 168, 76, 0.3);
  }

  .newsletter-input-wrap:focus-within {
    border-color: var(--gold, #c9a84c);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.22);
  }

  .newsletter-input {
    height: 46px;
  }

  .newsletter-submit-btn {
    width: 100%;
    height: 48px;
    font-size: 0.94rem;
  }

  .newsletter-footer-meta {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
  }

  .newsletter-meta-sep {
    display: none;
  }
}


