/* NEO DESIGN TEMPLATE - BASE STYLES */
/* Extracted from mnv-marketplace-template */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* ============================= */
/* GLOBAL RESET & BASE STYLES */
/* ============================= */

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #0a0a0a;
  color: #ffffff;
  overflow: hidden;
}

code {
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

html, body, #root {
  height: 100%;
  width: 100%;
}

/* ============================= */
/* THEME VARIANTS */
/* ============================= */

body.blue-theme {
  background: linear-gradient(to top right, #3f6881 0%, #5b94b9 100%);
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
  color: #ffffff;
}

body.dark-theme {
  background: linear-gradient(to top right, #2c4859 0%, #406882 100%);
  color: #ffffff;
}

body.light-theme {
  background: #f8f9fa;
  color: #000000;
  min-height: 100vh;
}

/* White Theme Comprehensive Styles */
body.light-theme .header h1 { color: #000000; }
body.light-theme .header h2 { color: #6c757d; }

body.light-theme .theme-toggle {
  background: #ffffff;
  color: #212529;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
body.light-theme .theme-toggle:hover {
  background: #f8f9fa;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

body.light-theme .search-input {
  background: #ffffff;
  border: 1px solid #ced4da;
  color: #000000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
body.light-theme .search-input::placeholder { color: #6c757d; }
body.light-theme .search-input:focus {
  background: #ffffff;
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

body.light-theme .adventure-display {
  background: #ffffff;
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body.light-theme .adventure-display-title { color: #000000; }

body.light-theme .tab-button {
  background: #e9ecef;
  color: #000000;
  border: 1px solid #dee2e6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
body.light-theme .tab-button:hover {
  background: #dee2e6;
  color: #000000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
body.light-theme .tab-button.active {
  background: #dee2e6;
  color: #000000;
  border-color: #ced4da;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

body.light-theme .adventure-dropdown {
  background: #ffffff;
  border: 1px solid #ced4da;
  color: #212529;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
body.light-theme .adventure-dropdown:hover {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

body.light-theme .adventure-status-badge {
  background: #ffffff;
  color: #495057;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* White theme data table styles */
body.light-theme #data-table {
  background: #ffffff;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
body.light-theme #data-table th {
  background: #f8f9fa;
  color: #495057;
  border-bottom: 2px solid #dee2e6;
}
body.light-theme #data-table td {
  color: #000000;
  border-bottom: 1px solid #e9ecef;
}
body.light-theme #data-table tr:hover {
  background: #f8f9fa;
}
body.light-theme .table-stats {
  color: #6c757d;
}
body.light-theme #no-data-table {
  background: #ffffff;
  color: #6c757d;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* White theme voice dashboard specific styles */
body.light-theme .voice-stats-grid {
  background: #ffffff;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
body.light-theme .voice-stat-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  color: #000000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
body.light-theme .voice-stat-card h3 {
  color: #495057;
}
body.light-theme .transcript-container {
  background: #ffffff;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
body.light-theme .transcript-message.assistant {
  background: rgba(13, 110, 253, 0.05);
  border-left: 3px solid #0d6efd;
  color: #212529;
}
body.light-theme .transcript-message.user {
  background: #f8f9fa;
  border-left: 3px solid #6c757d;
  color: #212529;
}
body.light-theme .insight-category {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  color: #000000;
}

/* Additional white theme styles for dashboard components */
body.light-theme .stat-value,
body.light-theme .stat-value {
  color: #000000 !important;
}
body.light-theme .stat-label {
  color: #495057 !important;
}
body.light-theme .stat-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
body.light-theme .stat-card h4 {
  color: #000000 !important;
}
body.light-theme .stats-grid {
  color: #000000;
}
body.light-theme .ai-insights-section h3,
body.light-theme .ai-insights-section h4 {
  color: #000000 !important;
}
body.light-theme .strategic-recommendations h3 {
  color: #000000 !important;
}
body.light-theme .tab-content {
  color: #000000;
}
body.light-theme .tab-content h3,
body.light-theme .tab-content h4,
body.light-theme .tab-content p,
body.light-theme .tab-content span,
body.light-theme .tab-content div {
  color: #000000;
}

/* Fix for AI Business Insights and Strategic Recommendations headers */
body.light-theme #key-insights-list,
body.light-theme #recommendations-list {
  color: #000000 !important;
}
body.light-theme #key-insights-list *,
body.light-theme #recommendations-list * {
  color: #000000 !important;
}

/* Insights header styling for different themes */
.insights-header {
  color: #8ec4d9;
}
body.light-theme .insights-header {
  color: #000000 !important;
}
body.light-theme .profile-menu {
  background: #ffffff;
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
body.light-theme .profile-menu-item {
  color: #000000;
}
body.light-theme .profile-menu-item:hover {
  background: #f8f9fa;
}
body.light-theme .adventure-status-badge span {
  color: #000000;
}

/* ============================= */
/* CUSTOM SCROLLBAR */
/* ============================= */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* White theme scrollbar override */
body.light-theme ::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

body.light-theme ::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

body.light-theme ::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

/* ============================= */
/* TEXT SELECTION */
/* ============================= */

::selection {
  background: rgba(142, 196, 217, 0.2);
  color: #8ec4d9;
}

/* ============================= */
/* FOCUS STYLES */
/* ============================= */

/* Force blue outline on all interactive elements */
button:focus,
input:focus,
select:focus,
.tab-button:focus,
.adventure-dropdown:focus {
  outline: 2px solid rgba(142, 196, 217, 0.5) !important;
  outline-offset: 2px !important;
}

/* Additional button focus override for browser defaults */
button:focus-visible {
  outline: 2px solid rgba(142, 196, 217, 0.5) !important;
  outline-offset: 2px !important;
}

/* ============================= */
/* ANIMATIONS */
/* ============================= */

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

/* ============================= */
/* UTILITY CLASSES */
/* ============================= */

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

.slide-in {
  animation: slideIn 0.3s ease-out;
}

.spinner {
  animation: spin 1s linear infinite;
}

/* ============================= */
/* APP CONTAINER */
/* ============================= */

.App {
  height: 100vh;
  width: 100vw;
}

/* ============================= */
/* MAIN LAYOUT STRUCTURE */
/* ============================= */

.digitalh20-overview {
  display: flex;
  height: 100vh;
  position: relative;
}

.main-content {
  flex: 1;
  padding: 20px 20px 20px 100px;
  overflow-y: auto;
}

/* ============================= */
/* SIDEBAR STYLES */
/* ============================= */

.sidebar {
  width: 60px;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  position: absolute;
  left: 20px;
  top: 20px;
  bottom: 20px;
  height: calc(100vh - 40px);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  z-index: 100;
  transition: all 0.3s ease;
}

body.light-theme .sidebar {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body.dark-theme .sidebar {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body.light-theme .sidebar {
  background: #ffffff;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-header {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.logo {
  width: 40px;
  height: 40px;
  background: rgba(142, 196, 217, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, #8ec4d9, #7ab4cc);
  border-radius: 10px;
  z-index: -1;
  opacity: 0.3;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 10px;
}

.nav-item {
  position: relative;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

body.light-theme .nav-item {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .nav-item {
  color: #666666;
}

body.light-theme .nav-item {
  color: #6c757d;
}

body.light-theme .nav-item:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

body.dark-theme .nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

body.light-theme .nav-item.active {
  background: rgba(142, 196, 217, 0.15);
  color: #8ec4d9;
}

body.dark-theme .nav-item.active {
  background: rgba(142, 196, 217, 0.1);
  color: #8ec4d9;
}

/* ============================= */
/* BLUE THEME STYLES (Similar to Dark Theme) */
/* ============================= */

/* Blue theme should have white text like dark theme */
body.blue-theme .sidebar {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

body.blue-theme .nav-item {
  color: rgba(255, 255, 255, 0.7);
}

body.blue-theme .nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.blue-theme .nav-item.active {
  background: rgba(142, 196, 217, 0.15);
  color: #8ec4d9;
}

body.blue-theme .stat-value,
body.blue-theme .stat-label,
body.blue-theme .insights-header,
body.blue-theme h1,
body.blue-theme h2,
body.blue-theme h3,
body.blue-theme h4,
body.blue-theme h5,
body.blue-theme h6,
body.blue-theme p,
body.blue-theme span,
body.blue-theme div,
body.blue-theme li {
  color: #ffffff;
}

body.blue-theme .stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body.blue-theme .adventure-display-title {
  color: #ffffff;
}

body.blue-theme .tab-content {
  color: #ffffff;
}

body.light-theme .nav-item:hover {
  background: rgba(142, 196, 217, 0.1);
  color: #212529;
}

body.light-theme .nav-item.active {
  background: rgba(142, 196, 217, 0.15);
  color: #0d6efd;
}

.nav-item:focus {
  outline: 2px solid #b8e0f0;
  outline-offset: 2px;
}

.nav-item:focus:not(.active) {
  outline: 2px solid #b8e0f0;
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: #8ec4d9;
  border-radius: 0 3px 3px 0;
}

.nav-tooltip {
  position: absolute;
  left: 60px;
  background: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.nav-item:hover .nav-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================= */
/* HEADER STYLES */
/* ============================= */

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

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

.nav-icon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.nav-icon:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-dot {
  width: 4px;
  height: 4px;
  background: #a8d2e6;
  border-radius: 50%;
}

.header h1 {
  font-size: 28px;
  font-weight: 300;
}

body.light-theme .header h1 {
  color: #ffffff;
}

body.dark-theme .header h1 {
  color: #ffffff;
}

.header h2 {
  font-size: 28px;
  font-weight: 200;
}

body.light-theme .header h2 {
  color: #ffffff;
}

body.dark-theme .header h2 {
  color: #999999;
}

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

/* ============================= */
/* THEME TOGGLE BUTTON */
/* ============================= */

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

body.light-theme .theme-toggle {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

body.dark-theme .theme-toggle {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

body.light-theme .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

body.dark-theme .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.theme-toggle:focus {
  outline: 2px solid rgba(142, 196, 217, 0.5) !important;
  outline-offset: 2px;
}

body.light-theme .theme-toggle:focus {
  outline: 2px solid rgba(142, 196, 217, 0.7) !important;
  outline-offset: 2px;
}

body.dark-theme .theme-toggle:focus {
  outline: 2px solid rgba(142, 196, 217, 0.5) !important;
  outline-offset: 2px;
}

body.blue-theme .theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.blue-theme .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

body.blue-theme .theme-toggle:focus {
  outline: 2px solid rgba(142, 196, 217, 0.7) !important;
  outline-offset: 2px;
}

/* ============================= */
/* SEARCH INPUT */
/* ============================= */

.search-input {
  padding: 10px 15px;
  border-radius: 8px;
  width: 250px;
  outline: none;
  transition: all 0.3s ease;
}

body.light-theme .search-input {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

body.dark-theme .search-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.light-theme .search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .search-input::placeholder {
  color: #666666;
}

body.light-theme .search-input:focus {
  background: rgba(255, 255, 255, 0.4);
  border-color: #8ec4d9;
}

body.dark-theme .search-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #8ec4d9;
}

body.blue-theme .search-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

body.blue-theme .search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

body.blue-theme .search-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #8ec4d9;
}

/* ============================= */
/* DASHBOARD CONTENT PANELS */
/* ============================= */

.adventure-and-health-row {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.adventure-display {
  position: relative;
  border-radius: 16px;
  padding: 20px;
  min-height: 400px;
  backdrop-filter: blur(20px);
  flex: 2;
}

body.light-theme .adventure-display {
  background: rgba(255, 255, 255, 0.096);
  border: 1px solid rgba(255, 255, 255, 0.128);
}

body.dark-theme .adventure-display {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.adventure-display-title {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

body.light-theme .adventure-display-title {
  color: rgba(255, 255, 255, 0.8);
}

body.dark-theme .adventure-display-title {
  color: #666666;
}

/* ============================= */
/* TAB NAVIGATION */
/* ============================= */

.tab-buttons {
  display: flex;
  gap: 2px;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.tab-button {
  flex: 1;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

/* Dark theme tab buttons - dark backgrounds with white text */
body.dark-theme .tab-button {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .tab-button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

body.dark-theme .tab-button.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Blue theme tab buttons - white text like dark theme */
body.blue-theme .tab-button {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.blue-theme .tab-button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

body.blue-theme .tab-button.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* ============================= */
/* DROPDOWN STYLES */
/* ============================= */

/* Blue theme dropdowns - white text */
body.blue-theme .adventure-dropdown {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

body.blue-theme .adventure-dropdown option {
  background: #2c4859;
  color: #ffffff;
}

/* Dark theme dropdowns - white text */
body.dark-theme .adventure-dropdown {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

body.dark-theme .adventure-dropdown option {
  background: #1a1a1a;
  color: #ffffff;
}

.adventure-dropdown {
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

body.light-theme .adventure-dropdown {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

body.dark-theme .adventure-dropdown {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.light-theme .adventure-dropdown:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: #8ec4d9;
}

body.dark-theme .adventure-dropdown:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: #8ec4d9;
}

/* ============================= */
/* STATUS INDICATORS */
/* ============================= */

.adventure-status-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

body.light-theme .adventure-status-badge {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .adventure-status-badge {
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #8ec4d9;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ============================= */
/* RESPONSIVE DESIGN */
/* ============================= */

@media (max-width: 1200px) {
  .adventure-and-health-row {
    flex-direction: column;
  }
  
  .adventure-display {
    flex: none;
  }
  
  .metrics-panels {
    grid-template-columns: 1fr;
  }
}

/* ============================= */
/* WHITE THEME TEXT FIXES */
/* ============================= */

/* Analytics tab text visibility fixes for white theme */
body.light-theme .analytics-content h3,
body.light-theme .analytics-content h4,
body.light-theme .analytics-content p,
body.light-theme .analytics-content span,
body.light-theme .analytics-content .document-item,
body.light-theme .analytics-content .document-title,
body.light-theme .analytics-content .document-description,
body.light-theme .analytics-content .chunk-count,
body.light-theme .analytics-content .stat-label,
body.light-theme .analytics-content .stat-value,
body.light-theme .analytics-content .metric-label,
body.light-theme .analytics-content .metric-value,
body.light-theme .analytics-section h3,
body.light-theme .analytics-section h4,
body.light-theme .analytics-section p,
body.light-theme .analytics-section span,
body.light-theme .document-stats h3,
body.light-theme .document-stats p,
body.light-theme .documents-list h3,
body.light-theme .documents-list p,
body.light-theme .documents-list .document-item,
body.light-theme .documents-list .document-title,
body.light-theme .documents-list .document-description,
body.light-theme .chunk-analytics h3,
body.light-theme .chunk-analytics p,
body.light-theme .chunk-analytics .stat-item {
  color: #000000 !important;
}

/* Ensure all text content in analytics is black for light theme */
body.light-theme .analytics-content *,
body.light-theme .analytics-section *,
body.light-theme .document-stats *,
body.light-theme .documents-list *,
body.light-theme .chunk-analytics * {
  color: #000000 !important;
}

/* Specific overrides for any remaining white text */
body.light-theme .tab-content p,
body.light-theme .tab-content h1,
body.light-theme .tab-content h2,
body.light-theme .tab-content h3,
body.light-theme .tab-content h4,
body.light-theme .tab-content h5,
body.light-theme .tab-content h6,
body.light-theme .tab-content span,
body.light-theme .tab-content div,
body.light-theme .tab-content li {
  color: #000000 !important;
}

/* ============================= */
/* VOICE DASHBOARD WHITE THEME FIXES */
/* ============================= */

/* Voice dashboard text visibility fixes for white theme */
body.light-theme .voice-dashboard-container,
body.light-theme .call-management-panel,
body.light-theme .panel-header,
body.light-theme .panel-title,
body.light-theme .status-indicator,
body.light-theme .call-controls,
body.light-theme .call-log,
body.light-theme .call-item,
body.light-theme .lead-summary,
body.light-theme .lead-meta,
body.light-theme .lead-score,
body.light-theme .call-timestamp,
body.light-theme .call-duration,
body.light-theme .call-status,
body.light-theme .realtime-insights,
body.light-theme .lead-ranking,
body.light-theme .live-lead-scoring {
  color: #000000 !important;
}

/* Voice dashboard - all text elements black in light theme */
body.light-theme .voice-dashboard-container *,
body.light-theme .call-management-panel *,
body.light-theme .panel-header *,
body.light-theme .call-controls *,
body.light-theme .call-log *,
body.light-theme .call-item *,
body.light-theme .lead-summary *,
body.light-theme .realtime-insights *,
body.light-theme .lead-ranking *,
body.light-theme .live-lead-scoring * {
  color: #000000 !important;
}

/* Voice dashboard specific elements */
body.light-theme .voice-dashboard-container h1,
body.light-theme .voice-dashboard-container h2,
body.light-theme .voice-dashboard-container h3,
body.light-theme .voice-dashboard-container h4,
body.light-theme .voice-dashboard-container h5,
body.light-theme .voice-dashboard-container h6,
body.light-theme .voice-dashboard-container p,
body.light-theme .voice-dashboard-container span,
body.light-theme .voice-dashboard-container div,
body.light-theme .voice-dashboard-container li,
body.light-theme .voice-dashboard-container label,
body.light-theme .voice-dashboard-container strong,
body.light-theme .voice-dashboard-container em {
  color: #000000 !important;
}

/* Main container and body text fixes */
body.light-theme main,
body.light-theme .main-content,
body.light-theme .container {
  color: #000000 !important;
}

/* All paragraph and heading elements in light theme */
body.light-theme p,
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6,
body.light-theme span,
body.light-theme div,
body.light-theme li,
body.light-theme label,
body.light-theme strong,
body.light-theme em {
  color: #000000 !important;
}

/* ============================= */
/* ANALYTICS TEXT CLASSES */
/* ============================= */

/* Dark theme - default white text */
.analytics-text-primary {
  color: #ffffff;
}

.analytics-text-secondary {
  color: rgba(255, 255, 255, 0.6);
}

/* Light theme - black text */
body.light-theme .analytics-text-primary {
  color: #000000 !important;
}

body.light-theme .analytics-text-secondary {
  color: rgba(0, 0, 0, 0.6) !important;
}

/* ============================= */
/* AI KNOWLEDGE ASSISTANT FIXES */
/* ============================= */

/* AI Knowledge Assistant chat text fixes for light theme */
body.light-theme .message-content,
body.light-theme .chat-message,
body.light-theme .chat-message .message-content,
body.light-theme .chat-message .message-content *,
body.light-theme .insights-header,
body.light-theme #chat-messages,
body.light-theme #chat-messages *,
body.light-theme #chat-container,
body.light-theme #chat-container * {
  color: #000000 !important;
}

/* Chat input specific fixes */
body.light-theme #chat-input {
  color: #000000 !important;
  background: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
}

body.light-theme #chat-input::placeholder {
  color: rgba(0, 0, 0, 0.5) !important;
}

/* Chat messages container and content */
body.light-theme .chat-message.assistant .message-content {
  color: #000000 !important;
}

body.light-theme .chat-message.assistant .message-content p,
body.light-theme .chat-message.assistant .message-content ul,
body.light-theme .chat-message.assistant .message-content li,
body.light-theme .chat-message.assistant .message-content div {
  color: #000000 !important;
}

/* Footer text in AI assistant */
body.light-theme #chat-container + div {
  color: #000000 !important;
}

body.light-theme #chat-container + div * {
  color: #000000 !important;
}

/* AI assistant text class */
.ai-assistant-text {
  color: #ffffff;
}

body.light-theme .ai-assistant-text {
  color: #000000 !important;
}

body.light-theme .ai-assistant-text * {
  color: #000000 !important;
}

/* Chat footer and button styles */
.chat-footer-text {
  color: rgba(255, 255, 255, 0.5);
}

.chat-clear-button {
  color: rgba(255, 255, 255, 0.4);
}

body.light-theme .chat-footer-text {
  color: rgba(0, 0, 0, 0.5) !important;
}

body.light-theme .chat-footer-text * {
  color: rgba(0, 0, 0, 0.5) !important;
}

body.light-theme .chat-clear-button {
  color: rgba(0, 0, 0, 0.4) !important;
}

/* Fix model dropdown text color in light mode */
body.light-theme .adventure-dropdown {
  color: #000000 !important;
}

/* Add light grey placeholder text for search field */
body.light-theme .search-input::placeholder {
  color: #999999 !important;
}