/* ==========================================================================
   Axios NetworkIQ — Modern Enterprise Glassmorphic Design System
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-base: #0a0e17;
  --bg-surface: #111827;
  --bg-surface-elevated: #1a2234;
  --bg-card: rgba(22, 30, 49, 0.75);
  --bg-card-hover: rgba(30, 41, 67, 0.9);
  --bg-glass: rgba(17, 24, 39, 0.65);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(6, 182, 212, 0.3);
  --border-violet: rgba(139, 92, 246, 0.3);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-light: #cbd5e1;

  /* Accent Colors */
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --cyan-600: #0891b2;
  --violet-500: #8b5cf6;
  --violet-400: #a78bfa;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --rose-500: #f43f5e;
  --rose-400: #fb7185;

  /* Gradients */
  --gradient-cyan: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(14, 165, 233, 0.05) 100%);
  --gradient-violet: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(168, 85, 247, 0.05) 100%);
  --gradient-emerald: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(20, 184, 166, 0.05) 100%);
  --gradient-amber: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.05) 100%);
  --gradient-accent-bar: linear-gradient(90deg, #06b6d4 0%, #8b5cf6 50%, #ec4899 100%);
  --gradient-btn-primary: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-cyan-glow: 0 0 20px rgba(6, 182, 212, 0.35);
  --shadow-violet-glow: 0 0 20px rgba(139, 92, 246, 0.35);

  /* Layout */
  --sidebar-width: 270px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.dark-theme {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  background-image: 
    radial-gradient(at 10% 15%, rgba(6, 182, 212, 0.08) 0px, transparent 50%),
    radial-gradient(at 90% 85%, rgba(139, 92, 246, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(15, 23, 42, 0.6) 0px, transparent 80%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

a {
  color: var(--cyan-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--cyan-500);
}

.code-font {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}

.text-cyan { color: var(--cyan-400) !important; }
.text-violet { color: var(--violet-400) !important; }
.text-emerald { color: var(--emerald-400) !important; }
.text-amber { color: var(--amber-400) !important; }
.text-danger { color: var(--rose-400) !important; }
.text-muted { color: var(--text-muted) !important; }
.p-0 { padding: 0 !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }

/* App Layout */
.app-layout {
  display: flex;
  min-height: 100vh;
  width: 100vw;
}

/* ==========================================================================
   Sidebar Navigation
   ========================================================================== */
.sidebar {
  width: var(--sidebar-width);
  background: rgba(13, 19, 33, 0.95);
  backdrop-filter: blur(16px);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: transform var(--transition-smooth);
}

.brand-header {
  padding: 24px 20px 18px 20px;
  border-bottom: 1px solid var(--border-color);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-symbol, .brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-cyan-glow);
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.logo-symbol {
  background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  display: block;
}

.brand-title .highlight {
  color: var(--cyan-400);
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sidebar-quick-actions {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
}

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

.nav-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 12px 14px 6px 14px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  color: var(--text-light);
  background: transparent;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  width: 100%;
}

.nav-item i {
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.nav-item:hover i {
  color: var(--cyan-400);
}

.nav-item.active {
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan-400);
  border-color: rgba(6, 182, 212, 0.25);
  font-weight: 600;
}

.nav-item.active i {
  color: var(--cyan-400);
}

.nav-badge {
  margin-left: auto;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.nav-badge.pulse-badge {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-400);
  border-color: rgba(16, 185, 129, 0.3);
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: auto;
}

.status-indicator-dot.online {
  background: var(--emerald-400);
  box-shadow: 0 0 8px var(--emerald-400);
}

.sidebar-footer {
  padding: 16px 18px;
  border-top: 1px solid var(--border-color);
  background: rgba(10, 14, 23, 0.5);
}

.axios-ecosystem-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  color: var(--cyan-400);
  margin-bottom: 12px;
  font-weight: 500;
}

.dot-online {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 6px var(--emerald-400);
}

.user-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.user-role {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: calc(100vw - var(--sidebar-width));
}

.top-header {
  height: var(--header-height);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.sidebar-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.current-view-title h1 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.current-view-title p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

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

.header-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  width: 280px;
  transition: all var(--transition-fast);
}

.header-search-bar:focus-within {
  border-color: var(--cyan-500);
  box-shadow: var(--shadow-cyan-glow);
  width: 340px;
}

.header-search-bar i {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

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

.metrics-link-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--violet-400);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
}

.metrics-link-btn:hover {
  background: rgba(139, 92, 246, 0.22);
  color: #fff;
}

.live-mode-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  padding: 8px 14px;
}

.view-viewport {
  padding: 28px 32px 60px 32px;
  flex: 1;
}

.tab-view {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.tab-view.active {
  display: block;
}

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

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
}

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

.btn-xs {
  padding: 4px 9px;
  font-size: 0.72rem;
  border-radius: 6px;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--gradient-btn-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.45);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-glow:hover::after {
  opacity: 1;
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  border-color: var(--border-color);
  color: var(--text-light);
}

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

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-light);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--text-muted);
  color: #fff;
}

.btn-outline-cyan {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--cyan-400);
}

.btn-outline-cyan:hover {
  background: rgba(6, 182, 212, 0.18);
  border-color: var(--cyan-400);
  color: #fff;
}

.btn-danger {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: var(--rose-400);
}

.btn-danger:hover {
  background: var(--rose-500);
  color: #fff;
}

/* ==========================================================================
   Cards & Glassmorphism
   ========================================================================== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-header.flex-between {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-title h3 {
  font-size: 1.1rem;
}

.card-subtitle {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.card-body {
  padding: 22px;
}

/* Grids */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* Stat Cards */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-card.gradient-cyan { background: var(--gradient-cyan); border-color: rgba(6, 182, 212, 0.25); }
.stat-card.gradient-violet { background: var(--gradient-violet); border-color: rgba(139, 92, 246, 0.25); }
.stat-card.gradient-emerald { background: var(--gradient-emerald); border-color: rgba(16, 185, 129, 0.25); }
.stat-card.gradient-amber { background: var(--gradient-amber); border-color: rgba(245, 158, 11, 0.25); }

.stat-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.gradient-cyan .stat-card-icon { color: var(--cyan-400); }
.gradient-violet .stat-card-icon { color: var(--violet-400); }
.gradient-emerald .stat-card-icon { color: var(--emerald-400); }
.gradient-amber .stat-card-icon { color: var(--amber-400); }

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 2px 0;
  font-family: 'Outfit', sans-serif;
}

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

.chart-container-box {
  height: 270px;
  position: relative;
}

/* Recent lists on dashboard */
.recent-list {
  display: flex;
  flex-direction: column;
  divide-y: 1px solid var(--border-color);
}

.recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-fast);
}

.recent-item:last-child {
  border-bottom: none;
}

.recent-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.recent-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.recent-item-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--cyan-400);
}

.recent-item-text strong {
  display: block;
  font-size: 0.9rem;
}

.recent-item-text span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Spotlight banner */
.bi-spotlight-card {
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 28px;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139, 92, 246, 0.25);
  color: var(--violet-400);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.spotlight-content h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.spotlight-content p {
  color: var(--text-light);
  font-size: 0.92rem;
  max-width: 800px;
  margin-bottom: 20px;
}

/* ==========================================================================
   Events Manager Tab
   ========================================================================== */
.view-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.6);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
}

.filter-pill {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill.active {
  background: var(--cyan-500);
  color: #fff;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: var(--shadow-md);
}

.event-card-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.event-card-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan-400);
  margin-bottom: 8px;
}

.event-card-title {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.event-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.event-card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.event-mini-stat strong {
  display: block;
  font-size: 1.1rem;
  font-family: 'Outfit', sans-serif;
  color: var(--cyan-400);
}

.event-mini-stat span {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.event-card-notes {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.4;
}

.event-card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-color);
  background: rgba(10, 14, 23, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Contacts & CRM
   ========================================================================== */
.search-and-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrapper i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.input-icon-wrapper input {
  padding: 9px 14px 9px 36px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
  min-width: 260px;
}

.input-icon-wrapper input:focus {
  border-color: var(--cyan-400);
}

.form-select-inline {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  outline: none;
  cursor: pointer;
}

.form-select-inline option {
  background: #111827;
  color: #fff;
}

.contacts-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: all var(--transition-fast);
}

.contact-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-avatar-pill {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-main-info {
  flex: 1;
}

.contact-main-info h4 {
  font-size: 1.1rem;
  line-height: 1.2;
}

.contact-role-company {
  font-size: 0.82rem;
  color: var(--cyan-400);
  font-weight: 500;
}

.contact-stage-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stage-Lead { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; }
.stage-In-Discussion { background: rgba(245, 158, 11, 0.15); color: var(--amber-400); }
.stage-Partner-Opportunity { background: rgba(139, 92, 246, 0.2); color: var(--violet-400); }
.stage-Active-Partner { background: rgba(16, 185, 129, 0.2); color: var(--emerald-400); }
.stage-Client { background: rgba(6, 182, 212, 0.2); color: var(--cyan-400); }
.stage-Investor-Advisor { background: rgba(236, 72, 153, 0.2); color: #f472b6; }

.contact-synergy-bar {
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-color);
}

.synergy-label {
  font-size: 0.74rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.synergy-score-tag {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--emerald-400);
}

.contact-section-box {
  background: rgba(15, 23, 42, 0.4);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.contact-section-box strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.contact-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Business Card Scanner & OCR Hub
   ========================================================================== */
.scanner-hero-banner {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(139, 92, 246, 0.12) 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.tag-pill-cyan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 182, 212, 0.2);
  color: var(--cyan-400);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.tag-pill-violet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139, 92, 246, 0.2);
  color: var(--violet-400);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.scanner-dual-panel {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
}

.stream-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

#scanner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Viewfinder overlay */
.card-viewfinder-overlay {
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 15%;
  border: 2px dashed rgba(6, 182, 212, 0.6);
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--cyan-400);
  border-style: solid;
}

.corner.top-left { top: -2px; left: -2px; border-width: 3px 0 0 3px; }
.corner.top-right { top: -2px; right: -2px; border-width: 3px 3px 0 0; }
.corner.bottom-left { bottom: -2px; left: -2px; border-width: 0 0 3px 3px; }
.corner.bottom-right { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; }

.scan-laser-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #06b6d4, #22d3ee, transparent);
  box-shadow: 0 0 10px #06b6d4;
  animation: laserSweep 2.2s infinite ease-in-out;
}

@keyframes laserSweep {
  0% { top: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.viewfinder-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  color: var(--cyan-400);
  white-space: nowrap;
}

.camera-controls-bar {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.dropzone-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dropzone-box {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 20px;
  text-align: center;
  background: rgba(15, 23, 42, 0.4);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.dropzone-box:hover {
  border-color: var(--cyan-400);
  background: rgba(6, 182, 212, 0.05);
}

.dropzone-icon {
  font-size: 2.5rem;
  color: var(--cyan-400);
  margin-bottom: 12px;
}

.sample-cards-picker {
  background: rgba(15, 23, 42, 0.6);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.sample-buttons {
  display: flex;
  gap: 6px;
}

.preview-box {
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid var(--border-color);
  margin-top: 14px;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

#card-canvas {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #000;
  border: 1px solid var(--border-color);
}

/* Progress bar */
.progress-bar-container {
  margin-top: 12px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 4px;
  color: var(--cyan-400);
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #06b6d4, #8b5cf6);
  transition: width 0.2s ease;
}

/* Clean Form */
.clean-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: flex;
  gap: 14px;
}

.flex-1 { flex: 1; }
.flex-2 { flex: 2; }

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

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-color);
  padding: 9px 12px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan-400);
  box-shadow: var(--shadow-cyan-glow);
}

.form-actions-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   QR Badges & Telemetry Feed
   ========================================================================== */
.qr-preview-box {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}

.qr-code-frame {
  width: 160px;
  height: 160px;
  background: #ffffff;
  padding: 10px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.qr-badge-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qr-badge-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.qr-badge-url {
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan-400);
  word-break: break-all;
}

.qr-badge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.telemetry-summary-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.mini-telemetry-stat {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.mini-telemetry-stat .stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  display: block;
}

.mini-telemetry-stat .stat-caption {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.metrics-bridge-banner {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.82rem;
}

.code-inline {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan-400);
}

.scan-feed-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
}

.scan-feed-item {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  transition: all var(--transition-fast);
}

.scan-feed-item:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(6, 182, 212, 0.3);
}

.scan-feed-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.scan-device-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
}

/* ==========================================================================
   Business Intelligence & Synergy Engine
   ========================================================================== */
.bi-header-search-banner {
  padding: 28px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.bi-search-intro h2 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.bi-search-intro p {
  color: var(--text-light);
  font-size: 0.9rem;
  max-width: 850px;
  margin-bottom: 20px;
}

.bi-subnav-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 20px 0;
}

.bi-subtab-btn {
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.recon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
  margin-top: 14px;
}

.exhibitor-recon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.exhibitor-recon-card:hover {
  border-color: var(--cyan-400);
  transform: translateY(-3px);
  box-shadow: var(--shadow-cyan-glow);
}

.exhibitor-recon-card .card-header {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.mini-opp-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #0f172a;
  border: 2.5px solid var(--cyan-400);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
}

.mini-opp-circle.border-emerald {
  border-color: var(--emerald-400);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.mini-opp-circle.border-amber {
  border-color: var(--amber-400);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.mini-opp-circle.border-danger {
  border-color: var(--rose-400);
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.3);
}

.mini-opp-circle strong {
  font-size: 1.05rem;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.mini-opp-circle span {
  font-size: 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.time-strategy-banner {
  border: 1px solid var(--border-color);
  background: rgba(15, 23, 42, 0.7);
}

.time-strategy-banner.alert-high {
  border-left: 3px solid var(--emerald-400);
  background: rgba(16, 185, 129, 0.05);
}

.time-strategy-banner.alert-drain {
  border-left: 3px solid var(--rose-400);
  background: rgba(244, 63, 94, 0.08);
}

.bi-search-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bi-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.preset-companies-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.bi-report-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeIn 0.4s ease forwards;
}

.bi-score-hero-card {
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-violet-glow);
}

.bi-score-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: conic-gradient(var(--cyan-400) 0% 88%, rgba(255,255,255,0.1) 88% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bi-score-inner {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #111827;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bi-score-inner strong {
  font-size: 1.5rem;
  font-family: 'Outfit', sans-serif;
  color: var(--cyan-400);
  line-height: 1;
}

.bi-score-inner span {
  font-size: 0.58rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.opportunity-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.app-opportunity-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: all var(--transition-fast);
}

.app-opportunity-card:hover {
  border-color: var(--cyan-400);
  transform: translateY(-3px);
}

.opp-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan-400);
  background: rgba(6, 182, 212, 0.15);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

.opp-title {
  font-size: 1.1rem;
}

.opp-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.opp-stack-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-right: 4px;
}

/* ==========================================================================
   Settings & Data Tab
   ========================================================================== */
.settings-action-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.settings-action-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.settings-action-item strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.settings-action-item p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  max-width: 480px;
}

.settings-action-item.danger-border {
  border-color: rgba(244, 63, 94, 0.3);
  background: rgba(244, 63, 94, 0.05);
}

.ecosystem-apps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ecosystem-app-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  margin-right: 12px;
}

.badge-status-online {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.help-text {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  padding: 20px;
}

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

.glass-modal {
  background: #111827;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform var(--transition-fast);
}

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

.glass-modal.modal-lg {
  max-width: 780px;
}

.glass-modal.modal-fullscreen {
  max-width: 860px;
}

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

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
}

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

/* Live Mode Modal */
.live-mode-body {
  text-align: center;
  padding: 40px 24px;
}

.live-mode-top-badge {
  display: inline-block;
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan-400);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.live-mode-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.live-action-card {
  background: rgba(15, 23, 42, 0.8);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 16px;
  color: #fff;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.live-action-card i {
  font-size: 2.2rem;
  color: var(--cyan-400);
}

.live-action-card:hover {
  border-color: var(--cyan-400);
  transform: translateY(-4px);
  background: rgba(6, 182, 212, 0.1);
  box-shadow: var(--shadow-cyan-glow);
}

.dot-live-pulse {
  width: 10px;
  height: 10px;
  background: var(--rose-500);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--rose-500);
  animation: livePulse 1.4s infinite;
}

@keyframes livePulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #1e293b;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  color: #fff;
  animation: slideInRight 0.3s ease forwards;
}

.toast.toast-success { border-color: rgba(16, 185, 129, 0.4); border-left: 4px solid var(--emerald-400); }
.toast.toast-error { border-color: rgba(244, 63, 94, 0.4); border-left: 4px solid var(--rose-400); }
.toast.toast-info { border-color: rgba(6, 182, 212, 0.4); border-left: 4px solid var(--cyan-400); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .grid-2-col, .scanner-dual-panel {
    grid-template-columns: 1fr;
  }
  .live-mode-buttons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
    width: 100vw;
  }
  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .view-viewport {
    padding: 16px;
  }
  .top-header {
    padding: 0 16px;
  }
  .header-search-bar {
    display: none;
  }
}

/* ==========================================================================
   Meta Smart Glasses Audio Whisper HUD
   ========================================================================== */
.glasses-hud-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(6, 182, 212, 0.08);
  font-size: 0.82rem;
  padding: 7px 14px;
}

.glasses-hud-btn:hover {
  background: rgba(6, 182, 212, 0.16);
  border-color: var(--cyan-400);
  box-shadow: var(--shadow-cyan-glow);
}

.glasses-hud-badge {
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(6, 182, 212, 0.2);
  color: var(--cyan-400);
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.glasses-hud-badge.pulse-cyan {
  background: rgba(6, 182, 212, 0.3);
  animation: pulseCyan 1.2s infinite;
}

.glasses-hud-badge.pulse-emerald {
  background: rgba(16, 185, 129, 0.25);
  color: var(--emerald-400);
  border-color: rgba(16, 185, 129, 0.5);
  animation: pulseEmerald 1.5s infinite;
}

.glasses-hud-badge.muted {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  border-color: rgba(255, 255, 255, 0.15);
}

@keyframes pulseCyan {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(6, 182, 212, 0); }
}

@keyframes pulseEmerald {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hud-connection-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 18px 22px;
  border-radius: var(--radius-lg);
}

.hud-banner-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hud-banner-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.hud-banner-info p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.45;
  margin: 0;
}

.hud-transcript-container {
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
}

.hud-transcript-item {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  animation: fadeIn 0.25s ease forwards;
}

.hud-transcript-item.recon {
  border-left: 3px solid var(--cyan-400);
}

.hud-transcript-item.hook {
  border-left: 3px solid var(--emerald-400);
}

.hud-transcript-item.avoid {
  border-left: 3px solid var(--rose-400);
}

.hud-transcript-item.voice_input {
  border-left: 3px solid var(--violet-400);
}

.hud-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.hud-timestamp {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.hud-item-text {
  font-size: 0.84rem;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}

/* Custom Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.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.15);
  transition: .25s;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .25s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(135deg, var(--cyan-400), var(--violet-500));
  border-color: var(--cyan-400);
}

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

/* ==========================================================================
   Event Floor Time Maximizer & High-ROI Command Center
   ========================================================================== */
.header-floor-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

.header-floor-timer:hover {
  border-color: var(--cyan-400);
  background: rgba(6, 182, 212, 0.15);
  box-shadow: var(--shadow-cyan-glow);
}

.header-active-conv-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  color: var(--emerald-400);
  margin-left: 6px;
}

.conv-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-400);
  animation: pulseEmerald 1.2s infinite;
}

/* Floor Clock Card */
.floor-clock-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 100%;
}

.clock-gauge-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.clock-gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}

.gauge-fill {
  fill: none;
  stroke: var(--cyan-400);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 283;
  transition: stroke-dashoffset 0.8s ease;
  filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.6));
}

.clock-center-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.clock-label {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 700;
}

.clock-digits {
  font-size: 1.35rem;
  font-family: 'Outfit', sans-serif;
  color: #fff;
  line-height: 1.1;
  margin: 2px 0;
}

.clock-sub {
  font-size: 0.65rem;
  color: var(--cyan-400);
  font-weight: 600;
}

.clock-controls-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.duration-presets-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-btn-group {
  display: flex;
  gap: 4px;
}

.clock-action-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-budget-distribution-bar {
  display: flex;
  width: 100%;
  height: 22px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dist-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  white-space: nowrap;
  padding: 0 4px;
}

.dist-segment.seg-whale { background: rgba(16, 185, 129, 0.4); color: var(--emerald-300); }
.dist-segment.seg-qual { background: rgba(6, 182, 212, 0.35); color: var(--cyan-300); }
.dist-segment.seg-pass { background: rgba(244, 63, 94, 0.35); color: var(--rose-300); }

/* Conversation Stopwatch Card */
.active-conv-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition-fast);
}

.active-conv-card.drain-active {
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.04);
}

.no-active-conv-box {
  background: rgba(15, 23, 42, 0.5);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
}

.empty-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  font-size: 1.4rem;
}

.conv-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.conv-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.booth-badge-pill {
  background: rgba(6, 182, 212, 0.18);
  color: var(--cyan-400);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
}

.conv-tier-pill {
  font-size: 0.75rem;
  font-weight: 700;
}

.conv-target-title {
  font-size: 1.2rem;
  color: #fff;
  margin: 4px 0 2px 0;
}

.conv-subtitle {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}

.conv-score-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0b0f19;
  border: 2.5px solid var(--cyan-400);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.conv-score-badge.border-emerald {
  border-color: var(--emerald-400);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.conv-score-badge.border-danger {
  border-color: var(--rose-400);
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.3);
}

.conv-score-badge strong {
  font-size: 1.05rem;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.conv-score-badge span {
  font-size: 0.52rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.conv-stopwatch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.timer-display-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.timer-caption {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.timer-digits {
  font-size: 1.7rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan-400);
  line-height: 1;
  text-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
}

.timer-target {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.phase-display-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.phase-caption {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.phase-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan-400);
}

.conv-script-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

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

.script-text {
  font-size: 0.88rem;
  color: #fff;
  line-height: 1.45;
  margin: 0;
  font-style: italic;
}

.conv-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.exit-actions-group, .finish-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pacing-alert-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 6px;
  font-size: 0.8rem;
}

.pacing-alert-banner.alert-drain {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.4);
}

.pacing-alert-banner.alert-high {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.pulse-warning {
  animation: pulseRose 1.2s infinite;
}

@keyframes pulseRose {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(244, 63, 94, 0); }
}

/* Target Queue List */
.target-cards-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  margin-top: 10px;
}

.target-item-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all var(--transition-fast);
}

.target-item-card:hover {
  border-color: var(--cyan-400);
  background: rgba(15, 23, 42, 0.9);
}

.target-item-card.visited {
  opacity: 0.65;
  background: rgba(15, 23, 42, 0.3);
}

.target-item-card.drain-item {
  border-color: rgba(244, 63, 94, 0.25);
  background: rgba(244, 63, 94, 0.03);
}

.target-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.target-rank-num {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-muted);
  width: 20px;
}

.target-item-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.target-company-name {
  font-size: 0.92rem;
  color: #fff;
}

.target-industry-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.badge-visited {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Time ROI Analytics */
.roi-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.roi-stat-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.roi-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
  margin-bottom: 4px;
}

.roi-stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.roi-stat-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .tm-dual-grid {
    grid-template-columns: 1fr !important;
  }
  .roi-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==================== DESKTOP SUITE NAVIGATION, TUTORIAL & PROFILE ==================== */
.btn-outline-violet {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c4b5fd;
}

.btn-outline-violet:hover {
  background: rgba(139, 92, 246, 0.22);
  border-color: #8b5cf6;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.35);
}

.header-user-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 4px 12px 4px 5px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.header-user-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(6, 182, 212, 0.35);
}

.header-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.35);
}

.header-user-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.header-user-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.2;
}

.header-user-org {
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* Shared Suite Modals */
.suite-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.suite-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.suite-modal-card {
  background: #0d1527;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(6, 182, 212, 0.15);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.suite-modal-backdrop.active .suite-modal-card {
  transform: translateY(0) scale(1);
}

.suite-modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.suite-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Tutorial styles */
.tutorial-step-header {
  padding: 24px 24px 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tutorial-step-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid;
  flex-shrink: 0;
}

.tutorial-step-titles {
  flex: 1;
}

.tutorial-step-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid;
  margin-bottom: 6px;
}

.tutorial-step-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.tutorial-step-sub {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 2px;
}

.tutorial-step-body {
  padding: 20px 24px;
}

.tutorial-headline {
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 10px;
  line-height: 1.4;
}

.tutorial-paragraph {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.tutorial-bullets-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tutorial-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.tutorial-bullet-item i {
  margin-top: 3px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.tutorial-tip-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.78rem;
  color: #fde68a;
  line-height: 1.45;
}

.tutorial-step-footer {
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tutorial-dots-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tutorial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.25s;
}

.tutorial-dot.active {
  width: 22px;
  border-radius: 10px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.tutorial-buttons-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-tutorial-nav {
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-tutorial-back {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.btn-tutorial-skip {
  background: transparent;
  border: none;
  color: var(--text-muted);
}

.btn-tutorial-skip:hover {
  color: #fff;
}

.btn-tutorial-next {
  background: linear-gradient(135deg, #06b6d4, #0284c7);
  border: none;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
}

.btn-tutorial-next:hover {
  transform: scale(1.02);
}

/* App Switcher Modal */
.app-switcher-header {
  padding: 22px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.app-switcher-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-switcher-header p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 3px;
}

.app-switcher-grid {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 60vh;
  overflow-y: auto;
}

.app-switcher-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.app-switcher-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateY(-1px);
}

.app-switcher-card.current-app {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.4);
}

.app-card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.app-card-details {
  flex: 1;
  min-width: 0;
}

.app-card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-card-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 10px;
  letter-spacing: 0.4px;
}

.app-card-desc {
  font-size: 0.76rem;
  color: var(--text-light);
  line-height: 1.35;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-card-cat {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 3px;
  display: block;
}

.launch-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-left: 4px;
}

.current-indicator {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cyan);
  color: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Slide-over Profile Drawer (Desktop) */
.suite-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.suite-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.suite-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #090e1c;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.75);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  z-index: 10000;
  overflow-y: auto;
}

.suite-drawer-backdrop.active .suite-drawer-panel {
  transform: translateX(0);
}

.profile-drawer-header {
  padding: 26px 24px 20px;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.08) 0%, rgba(9, 14, 28, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar-large {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
  position: relative;
  flex-shrink: 0;
}

.profile-status-ring {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--emerald);
  border: 2px solid #090e1c;
  box-shadow: 0 0 8px var(--emerald);
}

.profile-meta-main {
  flex: 1;
  min-width: 0;
}

.profile-display-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.profile-display-role {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}

.profile-sso-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 0.68rem;
  color: var(--cyan);
  font-weight: 600;
  margin-top: 6px;
}

.profile-drawer-body {
  padding: 20px 24px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.profile-info-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 18px;
}

.profile-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #f1f5f9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
}

.profile-data-row:last-child {
  border-bottom: none;
}

.profile-data-label {
  color: var(--text-light);
}

.profile-data-value {
  color: #f8fafc;
  font-weight: 600;
}

.profile-select-control {
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 9px 12px;
  color: #fff;
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
}

.profile-select-control:focus {
  border-color: var(--cyan);
}

.btn-profile-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 11px 16px;
  color: #f1f5f9;
  font-size: 0.84rem;
  cursor: pointer;
  margin-bottom: 8px;
  transition: all 0.2s;
}

.btn-profile-action:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(6, 182, 212, 0.3);
}

.btn-profile-action span {
  flex: 1;
  text-align: left;
  margin-left: 10px;
}

.btn-profile-signout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fda4af;
  border-radius: 12px;
  padding: 13px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-profile-signout:hover {
  background: rgba(244, 63, 94, 0.22);
  border-color: #f43f5e;
  color: #fff;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.3);
}

/* Sign-in Modal (Desktop) */
.signin-card-body {
  padding: 32px 28px 26px;
  text-align: center;
}

.signin-logo-img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1.5px solid var(--border-color);
  margin: 0 auto 16px;
  display: block;
}

.signin-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
}

.signin-subtitle {
  font-size: 0.84rem;
  color: var(--text-light);
  margin-top: 4px;
  margin-bottom: 24px;
}

.btn-sso-login {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border: none;
  border-radius: 12px;
  padding: 14px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.35);
  margin-bottom: 16px;
  transition: all 0.2s;
}

.btn-sso-login:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.5);
}

.demo-account-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 11px 16px;
  color: #f1f5f9;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.2s;
  text-align: left;
}

.demo-account-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(6, 182, 212, 0.4);
}



