/* ==========================================================================
   APEX OVERSEAS TRAVEL ERP + CRM - PRODUCTION DESIGN SYSTEM (VANILLA CSS)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Caveat:wght@600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  /* Futuristic Dark Glassmorphism Spectrum */
  --bg-main: #080c14;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  --bg-sidebar: rgba(10, 15, 26, 0.9);
  --bg-sidebar-hover: rgba(30, 41, 59, 0.6);
  --bg-sidebar-active: linear-gradient(135deg, rgba(79, 70, 229, 0.8), rgba(14, 165, 233, 0.8));
  --bg-header: rgba(15, 23, 42, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.25);
  --border-focus: #38bdf8;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --text-light: #ffffff;

  /* Neon Brand Accents */
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-light: rgba(99, 102, 241, 0.15);
  --secondary: #06b6d4;
  --accent: #a855f7;
  --neon-cyan: #38bdf8;
  --neon-emerald: #10b981;
  --neon-amber: #f59e0b;
  --neon-rose: #f43f5e;

  /* Glassmorphism Effect Tokens */
  --glass-bg: rgba(15, 23, 42, 0.7);
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
  --glass-blur: blur(16px);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Layout Spacing & Shadows */
  --sidebar-width: 260px;
  --header-height: 70px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow-cyan: 0 0 20px rgba(56, 189, 248, 0.3);
  --shadow-glow-purple: 0 0 20px rgba(168, 85, 247, 0.3);
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Switch Support (if toggled) */
body.light-theme {
  --bg-main: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-sidebar: #0f172a;
  --bg-header: rgba(255, 255, 255, 0.9);
  --border-color: #cbd5e1;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: 1px solid rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
  font-size: 14px;
  line-height: 1.5;
}

/* ==========================================================================
   APP CONTAINER & LAYOUT
   ========================================================================== */

#app-root {
  display: flex;
  width: 100vw;
  min-height: 100vh;
}

/* SIDEBAR STYLES */
.sidebar {
  width: var(--sidebar-width);
  background-color: var(--bg-sidebar);
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: var(--transition-fast);
  border-right: 1px solid #1e293b;
}

.sidebar-header {
  height: var(--header-height);
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #1e293b;
}

.brand-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.brand-title {
  color: white;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.sidebar-menu {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-menu::-webkit-scrollbar {
  width: 4px;
}
.sidebar-menu::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

.menu-group-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #475569;
  margin: 16px 12px 6px 12px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #94a3b8;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-item:hover {
  background-color: var(--bg-sidebar-hover);
  color: white;
}

.nav-item.active {
  background: linear-gradient(90deg, #4338ca, #4f46e5);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.nav-badge {
  margin-left: auto;
  background-color: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

/* MAIN WRAPPER */
.main-wrapper {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: calc(100vw - var(--sidebar-width));
}

/* HEADER */
.top-header {
  height: var(--header-height);
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.global-search {
  position: relative;
  width: 340px;
}

.global-search input {
  width: 100%;
  padding: 9px 16px 9px 40px;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-fast);
}

.global-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  background-color: var(--bg-card);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.date-filter-select {
  padding: 8px 14px;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 13px;
  outline: none;
  cursor: pointer;
}

.role-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-light);
  padding: 6px 12px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.role-switcher label {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

.role-switcher select {
  background: transparent;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  outline: none;
  cursor: pointer;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.icon-btn:hover {
  background-color: var(--bg-main);
  color: var(--primary);
}

.badge-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background-color: var(--danger);
  border-radius: 50%;
}

.user-profile-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--border-color);
  cursor: pointer;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

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

.user-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
}

.user-role-badge {
  font-size: 11px;
  color: var(--text-muted);
}

/* CONTENT VIEW AREA */
.content-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* BREADCRUMB & PAGE HEADER */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.page-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.page-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.action-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* BUTTONS */
.btn {
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #4338ca);
  color: white;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

.btn-secondary {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  background-color: var(--bg-main);
  color: var(--text-primary);
}

.btn-success {
  background-color: var(--success);
  color: white;
}

.btn-success:hover {
  background-color: #059669;
}

.btn-danger {
  background-color: var(--danger);
  color: white;
}

.btn-sm {
  padding: 5px 12px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

/* CARDS & FROSTED GLASS CONTAINERS */
.card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), var(--shadow-glow-cyan);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* MODULAR SMART WIDGET BLOCKS & FUTURISTIC FROSTED GLASS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.stat-card, .smart-widget-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
}

.stat-card::before, .smart-widget-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.stat-card:hover, .smart-widget-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.25);
}

.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.stat-value {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.8px;
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.stat-trend {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.stat-trend.up { color: var(--neon-emerald); }
.stat-trend.down { color: var(--neon-rose); }
.stat-trend.info { color: var(--neon-cyan); }

.stat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.15);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* SMART AUDIO WAVE & LIVE PULSE INDICATOR */
.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--neon-emerald);
  box-shadow: 0 0 12px var(--neon-emerald);
  animation: pulseGlow 1.5s infinite ease-in-out;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 18px var(--neon-emerald); }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.audio-wave-container {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
  padding: 2px 4px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.audio-bar {
  width: 3px;
  background: var(--neon-cyan);
  border-radius: 3px;
  animation: waveAnim 1.2s ease-in-out infinite alternate;
}

.audio-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.audio-bar:nth-child(2) { height: 85%; animation-delay: 0.3s; }
.audio-bar:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.audio-bar:nth-child(4) { height: 60%; animation-delay: 0.4s; }

@keyframes waveAnim {
  0% { height: 20%; }
  100% { height: 100%; }
}

/* INTUITIVE TOGGLE SWITCHES & RANGE SLIDERS */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.12);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(135deg, var(--neon-cyan), var(--primary));
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* CUSTOM RANGE SLIDER */
.range-slider-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.range-slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  transition: background 0.3s;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--neon-cyan);
  cursor: pointer;
  box-shadow: 0 0 12px var(--neon-cyan);
  transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* TABLES */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.data-table th {
  background-color: var(--bg-main);
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  vertical-align: middle;
}

.data-table tbody tr:hover {
  background-color: rgba(79, 70, 229, 0.02);
}

/* BADGES & PILLS */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
}

.badge-new { background-color: #e0f2fe; color: #0284c7; }
.badge-contacted { background-color: #fef3c7; color: #d97706; }
.badge-interested { background-color: #f3e8ff; color: #9333ea; }
.badge-follow-up { background-color: #fed7aa; color: #c2410c; }
.badge-converted { background-color: #d1fae5; color: #059669; }
.badge-lost, .badge-rejected { background-color: #fee2e2; color: #dc2626; }
.badge-approved, .badge-verified, .badge-paid { background-color: #d1fae5; color: #059669; }
.badge-pending, .badge-unpaid { background-color: #fef3c7; color: #d97706; }
.badge-partially { background-color: #e0e7ff; color: #4338ca; }

/* MODALS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.modal-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 650px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform 0.25s ease;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background-color: var(--bg-main);
}

/* FORM STYLES */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-control {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-primary);
  background-color: var(--bg-card);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* TABS SYSTEM */
.tabs-container {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 16px;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* TIMELINE STYLES */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline-marker {
  position: absolute;
  left: -20px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 3px solid var(--bg-card);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.timeline-title {
  font-weight: 700;
  font-size: 13px;
}

.timeline-time {
  font-size: 11px;
  color: var(--text-muted);
}

/* NOTIFICATION DRAWER */
.notification-drawer {
  position: fixed;
  top: var(--header-height);
  right: 20px;
  width: 360px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 200;
  display: none;
}

.notification-drawer.active {
  display: block;
}

.notif-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notif-list {
  max-height: 380px;
  overflow-y: auto;
}

.notif-item {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.notif-item:hover {
  background-color: var(--bg-main);
}

.notif-item.unread {
  background-color: var(--primary-light);
}

/* ==========================================================================
   VISUAL TRAVEL ITINERARY SAMPLE LAYOUT (GRAPHIC DESIGN SHEET)
   ========================================================================== */

.visual-itinerary-sheet {
  background: #ffffff;
  color: #2b2d42;
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 40px 48px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid #e2e8f0;
}

.visual-itinerary-sheet::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(180, 83, 9, 0.15);
  border-radius: 50%;
  box-shadow: inset 0 0 0 20px rgba(180, 83, 9, 0.03), inset 0 0 0 40px rgba(180, 83, 9, 0.02);
  pointer-events: none;
}

.itinerary-script-accent {
  font-family: 'Caveat', cursive;
  font-size: 44px;
  color: #b45309;
  line-height: 1;
  text-align: center;
}

.itinerary-main-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 38px;
  letter-spacing: 4px;
  color: #1e1b4b;
  text-transform: uppercase;
  text-align: center;
  margin-top: -8px;
  margin-bottom: 28px;
}

.itinerary-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 36px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #cbd5e1;
}

.itinerary-meta-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
}

.itinerary-meta-item label {
  font-weight: 700;
  color: #1e293b;
  min-width: 90px;
}

.itinerary-meta-item .fill-line {
  flex: 1;
  border-bottom: 1px solid #94a3b8;
  padding-bottom: 2px;
  font-weight: 600;
  color: #334155;
}

.itinerary-days-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.itinerary-day-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: start;
}

.itinerary-arch-image {
  width: 140px;
  height: 150px;
  border-radius: 70px 70px 10px 10px;
  object-fit: cover;
  border: 3px solid #fef3c7;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.itinerary-day-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.itinerary-day-header {
  font-weight: 800;
  font-size: 15px;
  color: #1e1b4b;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid #fef3c7;
  padding-bottom: 4px;
}

.itinerary-timeline-list {
  position: relative;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.itinerary-timeline-list::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background-color: #d97706;
}

.itinerary-timeline-node {
  position: relative;
}

.itinerary-timeline-node::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #b45309;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #fef3c7;
}

.itinerary-node-title {
  font-weight: 800;
  font-size: 12px;
  color: #78350f;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.itinerary-node-time {
  font-weight: 600;
  color: #92400e;
}

.itinerary-node-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  margin-top: 2px;
}

/* PRINT STYLES */
@media print {
  .sidebar, .top-header, .action-bar, .btn {
    display: none !important;
  }
  .main-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
  }
  .content-body {
    padding: 0 !important;
  }
  .card {
    border: none !important;
    box-shadow: none !important;
  }
  .visual-itinerary-sheet {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    max-width: 100% !important;
  }
}
