/* Voyageur Premium Travel Stylesheet */

:root {
  --bg-dark: #08080c;
  --bg-panel: rgba(16, 16, 26, 0.6);
  --bg-panel-hover: rgba(26, 26, 38, 0.75);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-border-focus: rgba(157, 78, 221, 0.4);
  
  --accent-purple: #9d4edd;
  --accent-purple-glow: rgba(157, 78, 221, 0.3);
  --accent-teal: #00f5d4;
  --accent-teal-glow: rgba(0, 245, 212, 0.25);
  --accent-gold: #ffbe0b;
  
  --text-main: #f8f9fa;
  --text-muted: #9ba1b8;
  --text-dark: #0a0a0f;
  
  --sidebar-width: 270px;
  --header-height: 80px;
  --border-radius-lg: 20px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;
  
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset and Core Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  height: 100vh;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-title, .section-title, .form-title, .modal-title, .modal-dest-title, .brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Tactical Noise Grain Overlay */
.noise-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.045;
  filter: url(#noiseFilter);
}

/* Background Floating Orbs Container */
.glass-bg-container {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -2;
  overflow: hidden;
  background: #06060a;
  pointer-events: none;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.45;
  mix-blend-mode: screen;
  animation: drift-orb 28s infinite alternate ease-in-out;
}
.orb-1 {
  top: -10%; left: -10%;
  width: 45vw; height: 45vw;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
  animation-duration: 32s;
}
.orb-2 {
  bottom: -15%; right: -10%;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
  animation-duration: 26s;
  animation-delay: -6s;
}
.orb-3 {
  top: 40%; left: 25%;
  width: 35vw; height: 35vw;
  background: radial-gradient(circle, rgba(255, 190, 11, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  animation-duration: 22s;
  animation-delay: -11s;
}
@keyframes drift-orb {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.08) rotate(15deg); }
  100% { transform: translateY(20px) scale(0.95) rotate(-10deg); }
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* Layout Framework */
.app-container {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
  width: var(--sidebar-width);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  padding: 2.5rem 1.8rem;
  z-index: 100;
  flex-shrink: 0;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.brand-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-purple);
  filter: drop-shadow(0 0 8px var(--accent-purple-glow));
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 40%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.9rem 1.2rem;
  border-radius: var(--border-radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
}

.nav-item svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  transition: var(--transition-smooth);
}

.nav-item:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.nav-item.active {
  color: var(--text-main);
  background: rgba(157, 78, 221, 0.12);
  border: 1px solid rgba(157, 78, 221, 0.2);
  box-shadow: 0 4px 15px rgba(157, 78, 221, 0.08);
}

.nav-item.active svg {
  color: var(--accent-purple);
  filter: drop-shadow(0 0 5px var(--accent-purple-glow));
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple) 0%, #7b2cbf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: white;
  font-size: 0.95rem;
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.3);
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.95rem;
  color: var(--text-main);
}

.user-badge {
  font-size: 0.75rem;
  color: var(--accent-teal);
}

/* Main Content Panel */
.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
  position: relative;
  background: radial-gradient(circle at top right, rgba(157, 78, 221, 0.05), transparent 600px),
              radial-gradient(circle at bottom left, rgba(0, 245, 212, 0.03), transparent 600px);
}

/* Header */
.content-header {
  height: var(--header-height);
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.header-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 0.6rem 1rem;
  width: 320px;
  transition: var(--transition-fast);
}

.header-search:focus-within {
  border-color: var(--glass-border-focus);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.15);
}

.search-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  margin-right: 0.75rem;
}

.header-search input {
  background: transparent;
  border: none;
  color: var(--text-main);
  outline: none;
  font-size: 0.9rem;
  width: 100%;
}

.header-search input::placeholder {
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.date-widget {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.notification-bell {
  position: relative;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.notification-bell:hover {
  color: var(--text-main);
}

.notification-bell svg {
  width: 22px;
  height: 22px;
}

.bell-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 6px var(--accent-teal-glow);
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-panel);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  background: var(--bg-panel-hover);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Content Panels Structure */
.content-panel {
  display: none;
  padding: 3rem;
  animation: fadeIn 0.4s ease-out forwards;
}

.content-panel.active {
  display: block;
}

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

/* Hero Showcase Banner */
.hero-banner {
  height: 320px;
  border-radius: var(--border-radius-lg);
  position: relative;
  background-image: url('hero_background.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin-bottom: 3.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(8, 8, 12, 0.9) 30%, rgba(8, 8, 12, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4rem;
  max-width: 650px;
}

.hero-subtitle {
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 1.8rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #7b2cbf 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(157, 78, 221, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(157, 78, 221, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Category Filters */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
}

.pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.pill:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.07);
}

.pill.active {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: white;
  box-shadow: 0 4px 12px var(--accent-purple-glow);
}

/* Destinations Grid */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.5rem;
}

/* Cards */
.dest-card {
  position: relative;
  overflow: hidden;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  height: 400px;
  cursor: pointer;
}

/* Asymmetrical layout rules for a luxurious travel editorial look */
@media (min-width: 1200px) {
  .dest-card:nth-child(5n+1) {
    grid-column: span 4;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    height: 420px;
  }
  .dest-card:nth-child(5n+1) .dest-card-img-wrap {
    height: 100%;
    width: 100%;
  }
  .dest-card:nth-child(5n+1) .dest-card-info {
    height: 100%;
    padding: 2rem;
    justify-content: space-between;
  }
  .dest-card:nth-child(5n+4) {
    grid-column: span 4;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    height: 420px;
  }
  .dest-card:nth-child(5n+4) .dest-card-img-wrap {
    height: 100%;
    width: 100%;
    order: 2;
  }
  .dest-card:nth-child(5n+4) .dest-card-info {
    height: 100%;
    padding: 2rem;
    justify-content: space-between;
    order: 1;
  }
}

@media (max-width: 1200px) and (min-width: 769px) {
  .destinations-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .dest-card {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .destinations-grid {
    grid-template-columns: 1fr;
  }
  .dest-card {
    grid-column: span 1;
  }
}

.dest-card-img-wrap {
  width: 100%;
  height: 60%;
  overflow: hidden;
  position: relative;
}

.dest-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Curated Gradients for Card Placeholders to look extremely premium */
.dest-card-img.placeholder-grad-0 { background: linear-gradient(135deg, rgba(29, 15, 48, 0.4) 0%, rgba(74, 21, 75, 0.8) 100%), url('dest_kyoto.png'); background-size: cover; background-position: center; background-blend-mode: overlay; }
.dest-card-img.placeholder-grad-1 { background: linear-gradient(135deg, rgba(11, 37, 42, 0.4) 0%, rgba(0, 245, 212, 0.8) 100%), url('dest_amalfi.png'); background-size: cover; background-position: center; background-blend-mode: overlay; }
.dest-card-img.placeholder-grad-2 { background: linear-gradient(135deg, rgba(19, 27, 45, 0.4) 0%, rgba(26, 58, 96, 0.8) 100%), url('dest_swiss.png'); background-size: cover; background-position: center; background-blend-mode: overlay; }
.dest-card-img.placeholder-grad-3 { background: linear-gradient(135deg, rgba(45, 24, 16, 0.4) 0%, rgba(114, 60, 34, 0.8) 100%), url('dest_cappadocia.png'); background-size: cover; background-position: center; background-blend-mode: overlay; }
.dest-card-img.placeholder-grad-4 { background: linear-gradient(135deg, rgba(9, 32, 21, 0.4) 0%, rgba(31, 78, 55, 0.8) 100%), url('dest_bali.png'); background-size: cover; background-position: center; background-blend-mode: overlay; }
.dest-card-img.placeholder-grad-5 { background: linear-gradient(135deg, rgba(29, 24, 43, 0.4) 0%, rgba(60, 46, 107, 0.8) 100%), url('dest_iceland.png'); background-size: cover; background-position: center; background-blend-mode: overlay; }

.dest-card-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dest-card-info {
  padding: 1.5rem;
  height: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dest-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.dest-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.dest-card-location {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.dest-card-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.dest-card-rating svg {
  width: 15px;
  height: 15px;
  fill: var(--accent-gold);
  color: var(--accent-gold);
}

.dest-card-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0.5rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dest-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

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

.price-tag span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.price-level {
  color: var(--accent-teal);
  font-weight: 600;
  font-size: 0.9rem;
}

.dest-card:hover .dest-card-img {
  transform: scale(1.08);
}

.dest-card:hover {
  transform: translateY(-5px);
  border-color: rgba(157, 78, 221, 0.25);
  box-shadow: 0 12px 40px rgba(157, 78, 221, 0.12);
}

/* Skeleton Loading State */
.grid-skeleton {
  display: contents;
}

.skeleton-card {
  height: 380px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.05) 37%, rgba(255, 255, 255, 0.02) 63%);
  background-size: 400% 100%;
  animation: skeleton-glow 1.4s ease infinite;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--glass-border);
}

@keyframes skeleton-glow {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* Itinerary Planner Panel Layout */
.planner-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3rem;
  align-items: start;
}

.planner-form-card {
  padding: 2.2rem;
}

.form-title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.form-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  border-radius: var(--border-radius-md);
  padding: 0.8rem 1rem;
  outline: none;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ba1b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

.form-group select:focus {
  border-color: var(--glass-border-focus);
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.15);
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.slider-container input[type=range] {
  flex-grow: 1;
  appearance: none;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.slider-container input[type=range]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-purple);
  cursor: pointer;
  box-shadow: 0 0 8px var(--accent-purple-glow);
  transition: var(--transition-fast);
}

.slider-container input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-teal);
  min-width: 60px;
}

.radio-group {
  display: flex;
  gap: 0.5rem;
}

.radio-label {
  flex: 1;
  cursor: pointer;
}

.radio-label input {
  display: none;
}

.radio-btn {
  display: block;
  text-align: center;
  padding: 0.7rem 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.radio-label input:checked + .radio-btn {
  background: rgba(157, 78, 221, 0.15);
  border-color: var(--accent-purple);
  color: var(--text-main);
  box-shadow: 0 4px 10px rgba(157, 78, 221, 0.1);
}

.interest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.interest-box {
  cursor: pointer;
}

.interest-box input {
  display: none;
}

.interest-box-inner {
  display: block;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.interest-box input:checked + .interest-box-inner {
  background: rgba(0, 245, 212, 0.08);
  border-color: var(--accent-teal);
  color: var(--text-main);
  box-shadow: 0 4px 10px rgba(0, 245, 212, 0.05);
}

/* Planner Output Panel */
.planner-output {
  min-height: 580px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.output-placeholder {
  margin: auto;
  text-align: center;
  max-width: 320px;
}

.placeholder-icon {
  width: 64px;
  height: 64px;
  color: var(--text-muted);
  opacity: 0.3;
  margin-bottom: 1.5rem;
}

.output-placeholder h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.output-placeholder p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.planner-loader {
  margin: auto;
  text-align: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(157, 78, 221, 0.1);
  border-top-color: var(--accent-purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 15px rgba(157, 78, 221, 0.15);
}

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

.loader-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hidden {
  display: none !important;
}

/* Results Content */
.itinerary-results {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1.2rem;
  margin-bottom: 2rem;
}

.results-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.results-header p {
  color: var(--accent-teal);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Timeline Components */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 3px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-purple) 0%, rgba(0, 245, 212, 0.3) 100%);
}

.timeline-day {
  position: relative;
}

.timeline-day-dot {
  position: absolute;
  top: 6px;
  left: -28px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-purple);
  border: 2px solid var(--bg-dark);
  box-shadow: 0 0 8px var(--accent-purple-glow);
  z-index: 2;
}

.timeline-day-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.day-number {
  color: var(--accent-purple);
}

.timeline-events {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 0.5rem;
}

.timeline-event {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-md);
  padding: 1rem 1.2rem;
  display: grid;
  grid-template-columns: 24px 80px 1fr;
  gap: 1.2rem;
  align-items: center;
  transition: var(--transition-fast);
}

.timeline-event:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.event-time {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-teal);
}

.event-details h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.event-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Day Weather Badge & Checklist Action */
.day-weather-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.15);
  color: var(--accent-teal);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.8rem;
  vertical-align: middle;
}

.event-checklist-btn {
  background: transparent;
  border: 1.5px solid var(--glass-border);
  width: 20px;
  height: 20px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: transparent;
}

.event-checklist-btn:hover {
  border-color: var(--accent-purple);
  background: rgba(157, 78, 221, 0.05);
}

.event-checklist-btn.checked {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: white;
}

.event-checklist-btn svg {
  width: 12px;
  height: 12px;
  stroke-width: 4px;
}

.timeline-event.completed {
  opacity: 0.5;
}

.timeline-event.completed .event-details h5 {
  text-decoration: line-through;
  color: var(--text-muted);
}

/* Dashboard Styles */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-bottom: 3.5rem;
}

.stat-card {
  padding: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-icon.purple {
  background: rgba(157, 78, 221, 0.1);
  color: var(--accent-purple);
  border: 1px solid rgba(157, 78, 221, 0.2);
}

.stat-icon.teal {
  background: rgba(0, 245, 212, 0.1);
  color: var(--accent-teal);
  border: 1px solid rgba(0, 245, 212, 0.2);
}

.stat-icon.gold {
  background: rgba(255, 190, 11, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(255, 190, 11, 0.2);
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Voyageur Global Passage Map Styling */
.map-card {
  margin-bottom: 3.5rem;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}

.map-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.map-legend {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.home {
  background: var(--accent-teal);
  box-shadow: 0 0 6px var(--accent-teal);
}

.legend-dot.dest {
  background: var(--accent-purple);
  box-shadow: 0 0 6px var(--accent-purple);
}

.canvas-container {
  position: relative;
  width: 100%;
  height: 280px;
  background: rgba(4, 4, 6, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
}

.map-grid-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

#route-map-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.dashboard-block {
  padding: 2.2rem;
  min-height: 400px;
}

.block-title {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.8rem;
}

.empty-state {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 4rem 2rem;
  line-height: 1.5;
}

/* Bookings & Itineraries Lists */
.bookings-list, .itineraries-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.itinerary-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.itinerary-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

/* V2 Boarding Pass Ticket Layout */
.booking-item {
  background: linear-gradient(135deg, rgba(20, 20, 30, 0.7) 0%, rgba(10, 10, 15, 0.9) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 0;
  display: flex;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s, box-shadow 0.3s;
}

.booking-item:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--accent-purple-glow);
  box-shadow: 0 15px 35px rgba(157, 78, 221, 0.12);
}

/* Perforated Divider Dots */
.booking-item::before, .booking-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #06060a;
  border-radius: 50%;
  right: 170px;
  z-index: 3;
}

.booking-item::before {
  top: -10px;
  box-shadow: inset 0 -3px 3px rgba(0, 0, 0, 0.3);
}

.booking-item::after {
  bottom: -10px;
  box-shadow: inset 0 3px 3px rgba(0, 0, 0, 0.3);
}

.booking-item .item-left {
  flex-grow: 1;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1.2rem;
}

.ticket-logo {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-purple);
  text-transform: uppercase;
}

.ticket-flight-no {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ticket-flight-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.path-airport {
  display: flex;
  flex-direction: column;
}

.airport-code {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.airport-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.path-line-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.path-line {
  width: 100%;
  height: 1px;
  border-bottom: 1.5px dashed var(--glass-border);
  position: relative;
  margin-bottom: 2px;
}

.path-line::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--accent-teal);
}

.path-plane {
  position: absolute;
  top: -8px;
  left: calc(50% - 8px);
  color: var(--accent-teal);
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
}

.ticket-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 1rem;
  width: 100%;
}

.detail-block {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.detail-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Ticket Stub */
.ticket-stub {
  width: 180px;
  border-left: 1px dashed rgba(255, 255, 255, 0.1);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.01);
  align-items: stretch;
  position: relative;
}

.stub-top {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.stub-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stub-seat {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--accent-teal);
  text-shadow: 0 0 10px rgba(0, 245, 212, 0.1);
}

.stub-gate {
  font-size: 0.9rem;
  font-weight: 600;
}

.stub-barcode {
  height: 44px;
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  width: 100%;
  opacity: 0.45;
  margin-top: 1rem;
}

.barcode-bar {
  background: var(--text-main);
  height: 100%;
}
.barcode-bar.thin { width: 1.5px; }
.barcode-bar.mid { width: 3px; }
.barcode-bar.thick { width: 5px; }

.item-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
}

.booking-item.hotel .item-icon { color: var(--accent-purple); }
.booking-item.flight .item-icon { color: var(--accent-teal); }
.booking-item.experience .item-icon { color: var(--accent-gold); }

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

.item-main h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.item-main p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.item-right {
  text-align: right;
}

.item-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.item-ref {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.btn-item-action {
  background: rgba(157, 78, 221, 0.1);
  color: var(--accent-purple);
  border: 1px solid rgba(157, 78, 221, 0.2);
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-item-action:hover {
  background: var(--accent-purple);
  color: white;
}

/* Modals Core */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5, 5, 8, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 3rem;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-close:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.07);
}

/* Destination details modal layout */
.modal-dest-hero {
  height: 240px;
  border-radius: var(--border-radius-md);
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 2rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.modal-dest-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(8, 8, 12, 0.95) 0%, transparent 100%);
}

.modal-dest-meta-wrap {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.modal-dest-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
}

.modal-dest-location {
  color: var(--accent-teal);
  font-weight: 600;
  font-size: 1rem;
}

.modal-dest-rating {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  padding: 0.4rem 0.8rem;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.modal-dest-rating svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-gold);
  color: var(--accent-gold);
}

.modal-dest-desc {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.98rem;
  margin-bottom: 2rem;
}

.modal-section-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  border-left: 3px solid var(--accent-purple);
  padding-left: 0.75rem;
}

.highlights-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.highlight-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-teal);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Modal booking options list */
.booking-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking-option-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.option-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.option-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
}

.booking-option-card:nth-child(2) .option-icon { color: var(--accent-teal); }
.booking-option-card:nth-child(3) .option-icon { color: var(--accent-gold); }

.option-icon svg {
  width: 22px;
  height: 22px;
}

.option-main h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.option-main p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.option-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.option-price {
  text-align: right;
}

.option-cost {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.option-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Booking Modal Form Specifics */
.booking-modal-content {
  max-width: 500px;
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}

.modal-subtitle {
  color: var(--accent-teal);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.booking-summary-box {
  background: rgba(157, 78, 221, 0.06);
  border: 1px solid rgba(157, 78, 221, 0.15);
  border-radius: var(--border-radius-md);
  padding: 1.2rem;
  margin-bottom: 1.8rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.price-amount {
  color: var(--accent-teal);
}

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

.booking-modal-content input[type=date],
.booking-modal-content input[type=number] {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  border-radius: var(--border-radius-md);
  padding: 0.8rem 1rem;
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.booking-modal-content input[type=date]:focus,
.booking-modal-content input[type=number]:focus {
  border-color: var(--glass-border-focus);
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.15);
}

.total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 1.5rem;
  margin: 2rem 0;
}

.total-bar span {
  font-size: 1.05rem;
  font-weight: 500;
}

.total-bar .total-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-teal);
  font-family: 'Outfit', sans-serif;
  text-shadow: 0 0 10px rgba(0, 245, 212, 0.15);
}

/* Success Popups/State alerts */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(10, 10, 15, 0.9);
  border: 1px solid var(--accent-teal);
  box-shadow: 0 8px 30px rgba(0, 245, 212, 0.15);
  border-radius: var(--border-radius-md);
  padding: 1rem 1.8rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 2000;
  font-weight: 600;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  animation: slideUp 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

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

/* Responsive CSS Styles */
@media (max-width: 1024px) {
  .app-container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 1.2rem 2rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .sidebar-brand {
    margin-bottom: 0;
  }
  .sidebar-nav {
    flex-direction: row;
    flex-grow: 0;
    gap: 0.4rem;
  }
  .sidebar-user {
    display: none;
  }
  .main-content {
    height: calc(100vh - 80px);
  }
  .planner-layout {
    grid-template-columns: 1fr;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .content-panel {
    padding: 1.5rem;
  }
  .hero-banner {
    height: 250px;
    margin-bottom: 2rem;
  }
  .hero-content {
    padding: 0 2rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .filter-pills {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.4rem;
  }
}
