/*
 * Destiny Intelligence Platform - Premium Glassmorphic Design System
 */

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

:root {
  --bg-cosmic: #0a0718;
  --bg-panel: rgba(18, 14, 39, 0.45);
  --bg-card: rgba(26, 21, 56, 0.35);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 243, 255, 0.15);
  
  /* Accent Colors */
  --gold: #f3c64f;
  --gold-glow: rgba(243, 198, 79, 0.3);
  --purple: #9d4edd;
  --cyan: #00f3ff;
  --cyan-glow: rgba(0, 243, 255, 0.35);
  --magenta: #ff007f;
  --green: #00ff88;
  --red: #ff3b30;
  
  /* Typography Scale Variables */
  --body-size: 16.5px;
  --header-size-base: 1.45rem;
  
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Gantt Roadmap Variables */
  --timeline-grid-line: rgba(255, 255, 255, 0.08);
  --timeline-label: rgba(255, 255, 255, 0.4);
  --timeline-date: rgba(255, 255, 255, 0.5);
}

/* ---------------------------------------------------------------
 * Transit Score Visual Components (ScoreBar heat-map + CircularGauge)
 * --------------------------------------------------------------- */
.score-track {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  width: 100px;
}
.score-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

/* Dropdown Option Text Visibility Fix */
select option {
  background-color: #120e27 !important;
  color: #ffffff !important;
  font-family: var(--font-body);
}

body.light-theme select option {
  background-color: #ffffff !important;
  color: #1a172c !important;
}

/* Light Theme Styling Blocks */
body.light-theme {
  --bg-cosmic: #f5f4fa;
  --bg-panel: rgba(255, 255, 255, 0.85);
  --bg-card: rgba(255, 255, 255, 0.95);
  --border-glass: rgba(10, 7, 24, 0.1);
  --border-glow: rgba(0, 243, 255, 0.22);
  --gold: #B8860B; /* Deep bronze for WCAG high contrast in light mode */
  --gold-glow: rgba(184, 134, 11, 0.25);
  --cyan: #0055bb;
  --cyan-glow: rgba(0, 85, 187, 0.25);
  --green: #006633;
  --purple: #5856d6;
  --red: #990000;
  color: #111118;
  
  /* Gantt Roadmap Light Theme Variables */
  --timeline-grid-line: rgba(0, 0, 0, 0.08);
  --timeline-label: rgba(17, 17, 24, 0.55);
  --timeline-date: rgba(17, 17, 24, 0.7);
}

/* Contrast enhancement: Force dark gold text on white/light backgrounds */
body.light-theme [style*="color: var(--gold)"],
body.light-theme [style*="color:var(--gold)"],
body.light-theme [style*="color: #f3c64f"],
body.light-theme [style*="color:#f3c64f"],
body.light-theme [style*="color: #D4AF37"],
body.light-theme [style*="color:#D4AF37"],
body.light-theme .text-yellow-400,
body.light-theme .text-amber-400,
body.light-theme .text-[#D4AF37] {
  color: #B8860B !important;
}

body.light-theme .sidebar {
  background: rgba(245, 244, 250, 0.85);
  border-right-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .logo-text {
  background: linear-gradient(to right, #0a0718, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme h1, body.light-theme h2, body.light-theme h3, body.light-theme h4, body.light-theme h5 {
  color: #111118;
}

body.light-theme .section-title {
  background: linear-gradient(to right, #0a0718, var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .input-field {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
  color: #111118;
}

body.light-theme .input-field:focus {
  background: #ffffff;
}

body.light-theme .nav-item {
  color: #4b4869;
}

body.light-theme .nav-item:hover, body.light-theme .nav-item.active {
  background: rgba(0, 0, 0, 0.04);
  color: var(--cyan);
}

body.light-theme .nav-item.active {
  background: rgba(0, 243, 255, 0.08);
}

body.light-theme .glass-panel, body.light-theme .glass-card {
  box-shadow: 0 8px 32px 0 rgba(10, 7, 24, 0.08);
}

body.light-theme .input-box label {
  color: #4b4869;
}

body.light-theme .section-subtitle,
body.light-theme .section-subtitle * {
  color: #4b4869 !important;
}

body.light-theme .disclaimer-banner {
  color: #4b4869 !important;
  border-top-color: rgba(10, 7, 24, 0.1) !important;
}

body.light-theme p,
body.light-theme span:not(.circle-progress):not(.circle-bg),
body.light-theme td,
body.light-theme th,
body.light-theme li {
  color: #111118;
}

/* Also ensure high contrast for secondary grey items */
body.light-theme .text-zinc-400,
body.light-theme .text-zinc-500,
body.light-theme .text-neutral-400,
body.light-theme .text-neutral-500 {
  color: #4b4869 !important;
}

/* Target inline styles that define colors */
body.light-theme [style*="color:#a5a2bf"],
body.light-theme [style*="color: #a5a2bf"],
body.light-theme [style*="color:#e2e1e9"],
body.light-theme [style*="color: #e2e1e9"],
body.light-theme [style*="color:#7b7899"],
body.light-theme [style*="color: #7b7899"],
body.light-theme [style*="color: rgb(165, 162, 191)"],
body.light-theme [style*="color: rgb(226, 225, 233)"],
body.light-theme [style*="color: rgb(123, 120, 153)"] {
  color: #2c2a3e !important;
}

body.light-theme [style*="color:#ffffff"],
body.light-theme [style*="color: #ffffff"],
body.light-theme [style*="color: #fff"],
body.light-theme [style*="color:#fff"],
body.light-theme [style*="color: rgb(255, 255, 255)"] {
  color: #111118 !important;
}

/* ==========================================
   Premium Components Light Mode Adaptations
   ========================================== */
body.light-theme .premium-dashboard-container .glass-card,
body.light-theme #numerology-profile-react-root .glass-card,
body.light-theme .premium-dashboard-container .matrix-grid-card,
body.light-theme .premium-dashboard-container .premium-advantage-banner {
  background-color: var(--bg-card) !important;
  background: var(--bg-card) !important;
  border-color: var(--border-glass) !important;
  box-shadow: 0 8px 32px 0 rgba(10, 7, 24, 0.06) !important;
  color: #111118 !important;
}

body.light-theme .premium-dashboard-container,
body.light-theme #numerology-profile-react-root {
  color: #111118 !important;
}

body.light-theme .premium-dashboard-container h3,
body.light-theme .premium-dashboard-container h4,
body.light-theme .premium-dashboard-container h5,
body.light-theme #numerology-profile-react-root h3,
body.light-theme #numerology-profile-react-root h4 {
  color: #111118 !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}

/* Intelligent text color overrides (exclude key color-coded text tags) */
body.light-theme .premium-dashboard-container td:not([class*="decision-"]):not([class*="vocation-"]):not([class*="titan-"]):not([style*="gold"]):not([style*="cyan"]):not([style*="green"]):not([style*="red"]):not([style*="purple"]):not([style*="#00ff88"]):not([style*="#ff3b30"]):not([style*="#f3c64f"]):not([style*="magenta"]):not([style*="violet"]),
body.light-theme .premium-dashboard-container th:not([class*="decision-"]):not([class*="vocation-"]):not([class*="titan-"]):not([style*="gold"]):not([style*="cyan"]):not([style*="green"]):not([style*="red"]):not([style*="purple"]):not([style*="#00ff88"]):not([style*="#ff3b30"]):not([style*="#f3c64f"]):not([style*="magenta"]):not([style*="violet"]),
body.light-theme .premium-dashboard-container p:not([class*="decision-"]):not([class*="vocation-"]):not([class*="titan-"]):not([style*="gold"]):not([style*="cyan"]):not([style*="green"]):not([style*="red"]):not([style*="purple"]):not([style*="#00ff88"]):not([style*="#ff3b30"]):not([style*="#f3c64f"]):not([style*="magenta"]):not([style*="violet"]),
body.light-theme .premium-dashboard-container span:not([class*="decision-"]):not([class*="vocation-"]):not([class*="titan-"]):not([style*="gold"]):not([style*="cyan"]):not([style*="green"]):not([style*="red"]):not([style*="purple"]):not([style*="#00ff88"]):not([style*="#ff3b30"]):not([style*="#f3c64f"]):not([style*="magenta"]):not([style*="violet"]):not(.chakra-indicator),
body.light-theme .premium-dashboard-container div:not([class*="decision-"]):not([class*="vocation-"]):not([class*="titan-"]):not([style*="gold"]):not([style*="cyan"]):not([style*="green"]):not([style*="red"]):not([style*="purple"]):not([style*="#00ff88"]):not([style*="#ff3b30"]):not([style*="#f3c64f"]):not([style*="magenta"]):not([style*="violet"]),
body.light-theme #numerology-profile-react-root td:not([class*="decision-"]):not([class*="vocation-"]):not([class*="titan-"]):not([style*="gold"]):not([style*="cyan"]):not([style*="green"]):not([style*="red"]):not([style*="purple"]):not([style*="#00ff88"]):not([style*="#ff3b30"]):not([style*="#f3c64f"]):not([style*="magenta"]):not([style*="violet"]),
body.light-theme #numerology-profile-react-root th:not([class*="decision-"]):not([class*="vocation-"]):not([class*="titan-"]):not([style*="gold"]):not([style*="cyan"]):not([style*="green"]):not([style*="red"]):not([style*="purple"]):not([style*="#00ff88"]):not([style*="#ff3b30"]):not([style*="#f3c64f"]):not([style*="magenta"]):not([style*="violet"]),
body.light-theme #numerology-profile-react-root p:not([class*="decision-"]):not([class*="vocation-"]):not([class*="titan-"]):not([style*="gold"]):not([style*="cyan"]):not([style*="green"]):not([style*="red"]):not([style*="purple"]):not([style*="#00ff88"]):not([style*="#ff3b30"]):not([style*="#f3c64f"]):not([style*="magenta"]):not([style*="violet"]),
body.light-theme #numerology-profile-react-root span:not([class*="decision-"]):not([class*="vocation-"]):not([class*="titan-"]):not([style*="gold"]):not([style*="cyan"]):not([style*="green"]):not([style*="red"]):not([style*="purple"]):not([style*="#00ff88"]):not([style*="#ff3b30"]):not([style*="#f3c64f"]):not([style*="magenta"]):not([style*="violet"]),
body.light-theme #numerology-profile-react-root div:not([class*="decision-"]):not([class*="vocation-"]):not([class*="titan-"]):not([style*="gold"]):not([style*="cyan"]):not([style*="green"]):not([style*="red"]):not([style*="purple"]):not([style*="#00ff88"]):not([style*="#ff3b30"]):not([style*="#f3c64f"]):not([style*="magenta"]):not([style*="violet"]),
body.light-theme #numerology-profile-react-root strong:not([class*="decision-"]):not([class*="vocation-"]):not([class*="titan-"]):not([style*="gold"]):not([style*="cyan"]):not([style*="green"]):not([style*="red"]):not([style*="purple"]):not([style*="#00ff88"]):not([style*="#ff3b30"]):not([style*="#f3c64f"]):not([style*="magenta"]):not([style*="violet"]) {
  color: #111118 !important;
}

body.light-theme .premium-dashboard-container strong,
body.light-theme .premium-dashboard-container b,
body.light-theme #numerology-profile-react-root strong {
  color: #000000;
}

/* SbcArtifact (Sarvatobhadra Chakra) SVG adjustments */
body.light-theme .premium-dashboard-container svg {
  background-color: #fcfbfe !important;
  border-color: rgba(212, 175, 55, 0.4) !important;
}
body.light-theme .premium-dashboard-container svg circle:not([cx="250"][cy="250"]) {
  fill: #ffffff !important;
  stroke: rgba(212, 175, 55, 0.5) !important;
}
body.light-theme .premium-dashboard-container svg text:not([fill*="D4AF37"]):not([fill*="gold"]):not([x="250"]) {
  fill: #111118 !important;
}
body.light-theme .premium-dashboard-container svg line {
  stroke: rgba(212, 175, 55, 0.25) !important;
}

/* Prashnavali results */
body.light-theme .premium-dashboard-container .decryption-panel {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: var(--border-glass) !important;
}
body.light-theme .premium-dashboard-container [style*="background: rgba(0, 0, 0, 0.3)"],
body.light-theme .premium-dashboard-container [style*="background:rgba(0,0,0,0.3)"] {
  background: rgba(0, 0, 0, 0.03) !important;
}
body.light-theme .premium-dashboard-container [style*="background: rgba(255, 255, 255, 0.02)"] {
  background: rgba(0, 0, 0, 0.02) !important;
}

/* Table borders */
body.light-theme .premium-dashboard-container tr,
body.light-theme .premium-dashboard-container th,
body.light-theme .premium-dashboard-container td {
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}
body.light-theme .premium-dashboard-container thead tr {
  border-bottom-color: rgba(0, 0, 0, 0.15) !important;
}

/* Input boxes and buttons */
body.light-theme .premium-dashboard-container input.input-field {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #111118 !important;
}

/* Decisions grid card internal boxes */
body.light-theme .premium-dashboard-container .bg-\[\#121215\],
body.light-theme .premium-dashboard-container .bg-\[\#0A0A0C\] {
  background-color: rgba(0, 0, 0, 0.03) !important;
  border-color: var(--border-glass) !important;
}
body.light-theme .premium-dashboard-container .bg-neutral-900\/50 {
  background-color: rgba(0, 0, 0, 0.02) !important;
  border-color: var(--border-glass) !important;
}

/* Tactical Screener & Roadmap Light Mode Adaptations */
body.light-theme #pane-predictive-roadmap .glass-card {
  background: var(--bg-card) !important;
  border-color: var(--border-glass) !important;
  color: #111118 !important;
}
body.light-theme #pane-predictive-roadmap select.input-field {
  background: #ffffff !important;
  color: #111118 !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}
body.light-theme #dasha-screener-results-container .glass-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}
body.light-theme #dasha-screener-results-container span:not([style*="gold"]):not([style*="cyan"]):not([style*="red"]):not([style*="#b91c1c"]):not([style*="#047857"]):not([style*="#ff3b30"]):not([style*="#ffd166"]):not([style*="rgb(255, 59, 48)"]):not([style*="rgb(255, 209, 102)"]) {
  color: #0f172a !important;
}
body.light-theme #dasha-screener-results-container div:not([style*="color"]) {
  color: #1e293b !important;
}

/* Bifurcated Tactical Ledger & High Contrast Card Standards */
.screener-card-risk {
  background: rgba(185, 28, 28, 0.06);
  border: 1px solid rgba(185, 28, 28, 0.35);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.screener-card-auspicious {
  background: rgba(4, 120, 87, 0.06);
  border: 1px solid rgba(4, 120, 87, 0.35);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
body.light-theme .screener-card-risk {
  background: #fff5f5 !important;
  border: 1px solid #fca5a5 !important;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.08) !important;
}
body.light-theme .screener-card-auspicious {
  background: #f0fdf4 !important;
  border: 1px solid #86efac !important;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.08) !important;
}
body.light-theme .screener-card-risk .narrative-text,
body.light-theme .screener-card-auspicious .narrative-text {
  color: #0f172a !important;
  font-weight: 500 !important;
}
body.light-theme .screener-metric-bold {
  color: #0f172a !important;
  font-weight: 800 !important;
}



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

body {
  background-color: var(--bg-cosmic);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(93, 30, 220, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(0, 243, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 0, 127, 0.04) 0%, transparent 60%);
  background-attachment: fixed;
  color: #e2e1e9;
  font-family: var(--font-body);
  font-size: var(--body-size);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-cosmic);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* Layout Framework */
.app-container {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Sidebar Navigation */
.sidebar {
  width: 280px;
  background: rgba(10, 7, 24, 0.7);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-glass);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  z-index: 100;
  position: sticky;
  top: 0;
  height: 100vh;
  transition: var(--transition-smooth);
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--gold-glow);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #0a0718;
}

.logo-text {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.3rem;
  background: linear-gradient(to right, #ffffff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #a5a2bf;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

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

.nav-item.active {
  border-left: 3px solid var(--cyan);
  background: rgba(0, 243, 255, 0.06);
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.3);
}

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

/* User Profile Input Banner */
.input-header {
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 20px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.input-group-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.input-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.input-box label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #7b7899;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.input-field {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  padding: 8px 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  min-width: 140px;
}

.input-field:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(0.85) sepia(0.5) saturate(4) hue-rotate(145deg);
  cursor: pointer;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
  transform: scale(1.15);
  opacity: 1;
}

body.light-theme input[type="date"]::-webkit-calendar-picker-indicator,
body.light-theme input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--purple));
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  color: #000;
  font-family: var(--font-header);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  align-self: flex-end;
  margin-top: 4px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(243, 198, 79, 0.4);
}

/* Content Area */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.content-pane {
  padding: 32px;
  display: none;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  animation: fadeIn 0.4s ease-out forwards;
}

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

/* Sub-pane isolated tabs */
.sub-pane {
  display: none;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  animation: fadeIn 0.3s ease-out forwards;
}

.sub-pane.active {
  display: block;
}

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

/* Cards & Panels */
.glass-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Predictive Roadmap Horizontal Gantt Timeline Styling */
#dasha-timeline-scroll-wrapper {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
  display: block;
}

#dasha-timeline-scroll-wrapper::-webkit-scrollbar {
  height: 10px;
}

#dasha-timeline-scroll-wrapper::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 6px;
}

#dasha-timeline-scroll-wrapper::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
}

.dasha-bar-item:hover {
  filter: brightness(1.25);
  transform: translateY(-1px);
  z-index: 8 !important;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 20px;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(0, 243, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Titles */
h1, h2, h3, h4 {
  font-family: var(--font-header);
  font-weight: 600;
  color: #fff;
  font-size: var(--header-size-base);
}

.section-title {
  font-size: calc(var(--header-size-base) * 1.4);
  margin-bottom: 8px;
  background: linear-gradient(to right, #ffffff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-subtitle {
  font-size: 0.9rem;
  color: #a5a2bf;
  margin-bottom: 24px;
}

/* Dashboard Grid Structures */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Ready Reckoner Stats */
.stat-circle {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.stat-circle svg {
  transform: rotate(-90deg);
  width: 100px;
  height: 100px;
}

.stat-circle circle {
  fill: none;
  stroke-width: 8;
}

.stat-circle .circle-bg {
  stroke: rgba(255, 255, 255, 0.05);
}

body.light-theme .stat-circle .circle-bg {
  stroke: rgba(0, 0, 0, 0.05);
}

.stat-circle .circle-progress {
  stroke-dasharray: 251.2;
  stroke-dashoffset: 251.2;
  transition: stroke-dashoffset 1s ease-in-out;
  stroke-linecap: round;
}

.stat-circle .stat-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  font-family: var(--font-header);
  font-weight: 700;
  color: inherit;
}

/* Toggleable Western/Vedic Switch */
.toggle-switch-container {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3px;
  align-self: flex-start;
  margin-bottom: 16px;
}

body.light-theme .toggle-switch-container {
  background: rgba(0, 0, 0, 0.05);
}

.toggle-btn {
  border: none;
  background: none;
  color: #a5a2bf;
  font-family: var(--font-header);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 18px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.toggle-btn.active {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 2px 10px rgba(157, 78, 221, 0.3);
}

/* Visualization Canvases */
.canvas-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  min-height: 420px;
  max-height: 480px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
}

.canvas-wrapper canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Chakra silhouette special alignment styling */
.chakra-container {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.chakra-graphic {
  flex: 1.2;
  display: flex;
  justify-content: center;
  position: relative;
  min-width: 200px;
}

.chakra-list {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.chakra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.chakra-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--cyan);
}

.chakra-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

/* Probability Heatmaps & Tables */
.prob-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.85rem;
}

.prob-table th, .prob-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
}

.prob-table th {
  color: #7b7899;
  font-family: var(--font-header);
  font-weight: 600;
}

.prob-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Explanation Pop-up modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 3, 12, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-content {
  background: rgba(18, 14, 39, 0.95);
  border: 1px solid var(--cyan);
  box-shadow: 0 0 30px var(--cyan-glow);
  width: 100%;
  max-width: 650px;
  border-radius: 16px;
  padding: 32px;
  position: relative;
  animation: zoomIn 0.3s ease-out forwards;
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #a5a2bf;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

/* Weight sliders customization */
.slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 500;
}

.weight-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.weight-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  cursor: pointer;
  box-shadow: 0 0 8px var(--cyan-glow);
  transition: transform 0.1s ease;
}

.weight-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Disclaimer banner styled fixed at the bottom */
.disclaimer-banner {
  background: rgba(10, 7, 24, 0.9);
  border-top: 1px solid var(--border-glass);
  padding: 12px 32px;
  font-size: 0.75rem;
  color: #7b7899;
  text-align: center;
  z-index: 90;
}

body.light-theme .disclaimer-banner {
  background: #ffffff;
  border-top-color: rgba(0,0,0,0.08);
}

/* Recommended / Avoid lists */
.recom-list, .avoid-list {
  list-style: none;
  margin-top: 10px;
}

.recom-list li, .avoid-list li {
  font-size: 0.85rem;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
  display: block;
}

.recom-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.avoid-list li::before {
  content: "✗";
  color: var(--red);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Calibration log styling */
.calibration-log {
  max-height: 150px;
  overflow-y: auto;
  font-family: monospace;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: 6px;
  border: 1px solid var(--border-glass);
}

.log-entry {
  margin-bottom: 4px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 4px;
}

.log-entry.success { color: var(--green); }
.log-entry.calib { color: var(--cyan); }

/* Theme mode variables overrides transition helper */
.sidebar, .input-header, .glass-panel, .glass-card, .input-field, h1, h2, h3, h4, body {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .grid-2col, .grid-3col {
    grid-template-columns: 1fr;
  }
  .grid-4col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .app-container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
  }
  .nav-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .nav-item {
    white-space: nowrap;
    padding: 8px 12px;
  }
  .input-header {
    padding: 16px;
  }
  .content-pane {
    padding: 16px;
  }
  .grid-4col {
    grid-template-columns: 1fr;
  }
}

/* Matrix Hover Tooltip Styling */
.matrix-tooltip {
  background: rgba(18, 14, 39, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--cyan);
  box-shadow: 0 0 15px var(--cyan-glow);
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.8rem;
  max-width: 260px;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 1000;
  line-height: 1.4;
  font-family: var(--font-body);
}

/* Premium Life Engineering Matrix Styling */
.premium-panel {
  background: rgba(8, 6, 20, 0.92) !important;
  border: 1px solid rgba(243, 198, 79, 0.25) !important;
  box-shadow: 0 0 35px rgba(243, 198, 79, 0.1) !important;
}

.premium-advantage-banner {
  background: linear-gradient(135deg, rgba(243, 198, 79, 0.08) 0%, rgba(0, 243, 255, 0.04) 100%);
  border: 1px solid rgba(0, 243, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.15);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: premium-pulse-glow 4s infinite ease-in-out;
}

@keyframes premium-pulse-glow {
  0% { box-shadow: 0 0 10px rgba(0, 243, 255, 0.12); border-color: rgba(0, 243, 255, 0.35); }
  50% { box-shadow: 0 0 20px rgba(0, 243, 255, 0.3); border-color: rgba(0, 243, 255, 0.85); }
  100% { box-shadow: 0 0 10px rgba(0, 243, 255, 0.12); border-color: rgba(0, 243, 255, 0.35); }
}

.premium-card {
  background: rgba(13, 10, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.premium-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(243, 198, 79, 0.2);
  transform: translateY(-2px);
}

.premium-card details {
  margin-top: 10px;
  cursor: pointer;
}

.premium-card details summary {
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  outline: none;
  user-select: none;
}

.premium-card details summary:hover {
  color: #fff;
}

/* Premium Matrix Grid Layout (3x4 CSS Grid) */
.premium-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.matrix-grid-card {
  position: relative;
  cursor: pointer;
  padding: 18px;
  background: rgba(13, 10, 28, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.matrix-grid-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.15);
  background: rgba(13, 10, 28, 0.85);
}

.matrix-prob-ring {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  font-family: var(--font-header);
  background: rgba(10, 7, 24, 0.8);
}

.prob-red {
  border: 2px solid var(--red);
  color: var(--red);
  box-shadow: 0 0 8px rgba(255, 59, 48, 0.3);
}

.prob-yellow {
  border: 2px solid var(--gold);
  color: var(--gold);
  box-shadow: 0 0 8px rgba(243, 198, 79, 0.3);
}

.prob-cyan {
  border: 2px solid var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 243, 255, 0.3);
}

.matrix-card-event {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 14px;
  display: block;
}

.matrix-card-why {
  font-size: 0.74rem;
  font-style: italic;
  color: #a5a2bf;
  margin-top: 4px;
  display: block;
  line-height: 1.35;
}

.matrix-card-window {
  background: rgba(0, 243, 255, 0.04);
  border: 1px dashed rgba(0, 243, 255, 0.25);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  margin-top: 10px;
  display: block;
  text-shadow: 0 0 5px rgba(0, 243, 255, 0.2);
}

.matrix-card-mitigation {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.72rem;
  color: #e2e1e9;
  margin-top: 10px;
  display: block;
  line-height: 1.4;
  transition: all 0.25s ease;
}

.matrix-grid-card:hover .matrix-card-mitigation {
  border-color: rgba(0, 243, 255, 0.2);
  background: rgba(0, 243, 255, 0.01);
}

.premium-matrix-tooltip {
  max-width: 300px;
}

@media (max-width: 1024px) {
  .premium-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
}

@media (max-width: 600px) {
  .premium-matrix-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

/* @media print light-theme styling and page breaks */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .sidebar, .input-header, .disclaimer-banner, button, .btn-primary, select, input, .toggle-switch-container {
    display: none !important;
  }
  .main-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .content-pane {
    display: none !important;
  }
  .content-pane.active {
    display: block !important;
  }
  .glass-panel, .glass-card, .premium-panel, .premium-card, .matrix-grid-card {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #d1d1d6 !important;
    box-shadow: none !important;
  }
  .section-title, .section-subtitle, h1, h2, h3, h4, h5, h6, p:not([class*="decision-"]):not([class*="vocation-"]):not([class*="titan-"]), span:not([class*="decision-"]):not([class*="vocation-"]):not([class*="titan-"]), li, td:not([class*="decision-"]):not([class*="vocation-"]):not([class*="titan-"]), th:not([class*="decision-"]):not([class*="vocation-"]):not([class*="titan-"]) {
    color: #1c1c1e !important;
    text-shadow: none !important;
  }
  .circle-bg {
    stroke: #e5e5ea !important;
  }
  .glass-card, .premium-matrix-grid, .grid-3col, .grid-2col {
    page-break-inside: avoid !important;
  }
}

/* Vertical column styling for Planetary Affinity Checklist */
#planets-info-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  overflow-x: visible !important;
  padding-bottom: 0 !important;
}

#planets-info-list .glass-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: none !important;
  margin-bottom: 0 !important;
}

/* Sub-navigation bar styling */
.sub-nav-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  background: rgba(18, 14, 39, 0.45);
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body.light-theme .sub-nav-bar {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
}

.sub-nav-item {
  font-size: 0.82rem;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.2s;
}

.sub-nav-item:hover {
  color: #fff;
  background: rgba(255,255,255,0.04);
}

.sub-nav-item.active {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
  font-weight: 600;
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.25);
}

body.light-theme .sub-nav-item {
  color: #4b4869;
}

body.light-theme .sub-nav-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

body.light-theme .sub-nav-item.active {
  background: var(--cyan);
  color: #000;
}

/* Sub-pane toggling system */
.sub-pane {
  display: none;
}

.sub-pane.active {
  display: block;
}

/* Premium overlay lock styling */
.premium-lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: opacity 0.3s ease, visibility 0.3s;
}

body.light-theme .premium-lock-overlay {
  background: rgba(245, 244, 250, 0.75);
}

.premium-lock-overlay.hidden {
  display: none !important;
}

/* Sentinel Cloud Security blur state */
body.sentinel-blurred .main-content {
  filter: blur(20px);
  pointer-events: none;
}

body.sentinel-blurred::after {
  content: "Sentinel Cloud Security Active - Unauthorized Access/Capture Intercepted";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.95);
  color: var(--red);
  border: 1px solid var(--red);
  padding: 20px 40px;
  border-radius: 12px;
  font-family: var(--font-header);
  font-size: 1.1rem;
  z-index: 999999;
  text-align: center;
  box-shadow: 0 0 30px rgba(255, 59, 48, 0.3);
}

/* Sentinel Toast Notification */
.sentinel-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(10, 7, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--red);
  box-shadow: 0 4px 20px rgba(255, 59, 48, 0.25);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sentinel-toast.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.light-theme .sentinel-toast {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 59, 48, 0.15);
  color: #1c1c1e;
}

/* Decisions Grid & Vocation status classes with high contrast */
.decision-pct-high, .vocation-favorable, .titan-status-green {
  color: #00ff88 !important;
}
.decision-pct-medium {
  color: #f3c64f !important;
}
.decision-pct-low, .vocation-unfavorable, .titan-status-red {
  color: #ff3b30 !important;
}

.decision-badge-high {
  color: #00ff88 !important;
  background: rgba(0, 255, 136, 0.1) !important;
  border: 1px solid #00ff88 !important;
  box-shadow: 0 0 4px rgba(0, 255, 136, 0.1) !important;
}
.decision-badge-medium {
  color: #f3c64f !important;
  background: rgba(243, 198, 79, 0.1) !important;
  border: 1px solid #f3c64f !important;
  box-shadow: 0 0 4px rgba(243, 198, 79, 0.1) !important;
}
.decision-badge-low {
  color: #ff3b30 !important;
  background: rgba(255, 59, 48, 0.1) !important;
  border: 1px solid #ff3b30 !important;
  box-shadow: 0 0 4px rgba(255, 59, 48, 0.1) !important;
}

body.light-theme .decision-pct-high, body.light-theme .vocation-favorable, body.light-theme .titan-status-green {
  color: #006633 !important;
}
body.light-theme .decision-pct-medium {
  color: #8f6600 !important;
}
body.light-theme .decision-pct-low, body.light-theme .vocation-unfavorable, body.light-theme .titan-status-red {
  color: #990000 !important;
}

body.light-theme .decision-badge-high {
  color: #006633 !important;
  background: rgba(0, 102, 51, 0.08) !important;
  border: 1px solid #006633 !important;
}
body.light-theme .decision-badge-medium {
  color: #8f6600 !important;
  background: rgba(143, 102, 0, 0.08) !important;
  border: 1px solid #8f6600 !important;
}
body.light-theme .decision-badge-low {
  color: #990000 !important;
  background: rgba(153, 0, 0, 0.08) !important;
  border: 1px solid #990000 !important;
}

@media print {
  .decision-pct-high, .vocation-favorable, .titan-status-green {
    color: #006633 !important;
  }
  .decision-pct-medium {
    color: #8f6600 !important;
  }
  .decision-pct-low, .vocation-unfavorable, .titan-status-red {
    color: #990000 !important;
  }
  .decision-badge-high {
    color: #006633 !important;
    background: rgba(0, 102, 51, 0.08) !important;
    border: 1px solid #006633 !important;
  }
  .decision-badge-low {
    color: #990000 !important;
    background: rgba(153, 0, 0, 0.08) !important;
    border: 1px solid #990000 !important;
  }
}

/* -------------------------------------------------------------
 * Light Theme Color & Readability Enhancements
 * ------------------------------------------------------------- */
body.light-theme [style*="color: #00ff88"],
body.light-theme [style*="color:#00ff88"],
body.light-theme [style*="color: rgb(0, 255, 136)"] {
  color: #006633 !important;
}
body.light-theme [style*="color: #ff3b30"],
body.light-theme [style*="color:#ff3b30"],
body.light-theme [style*="color: rgb(255, 59, 48)"] {
  color: #990000 !important;
}
body.light-theme [style*="color: #00f3ff"],
body.light-theme [style*="color:#00f3ff"],
body.light-theme [style*="color: rgb(0, 243, 255)"] {
  color: #0055bb !important;
}
body.light-theme [style*="color: var(--cyan)"],
body.light-theme [style*="color:var(--cyan)"] {
  color: #0055bb !important;
}
body.light-theme [style*="color: var(--green)"],
body.light-theme [style*="color:var(--green)"] {
  color: #006633 !important;
}

/* -------------------------------------------------------------
 * HTML2PDF Single Pane Export Print Layout Restructuring Overrides
 * ------------------------------------------------------------- */
.html2pdf-printing {
  background: #ffffff !important;
  color: #000000 !important;
}

/* Hide UI elements during print capture */
.html2pdf-printing button,
.html2pdf-printing .btn-secondary,
.html2pdf-printing .btn-primary,
.html2pdf-printing .toggle-switch-container,
.html2pdf-printing .sidebar,
.html2pdf-printing .input-header,
.html2pdf-printing .sub-nav-bar,
.html2pdf-printing .premium-lock-overlay {
  display: none !important;
}

/* Disable all backdrop-filters during print capture to prevent html2canvas blur rendering artifacts */
.html2pdf-printing,
.html2pdf-printing * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Eliminate dark/translucent backgrounds on wrappers to let the white page shine through */
.html2pdf-printing .premium-dashboard-container,
.html2pdf-printing .premium-panel,
.html2pdf-printing #premium-dashboard-root,
.html2pdf-printing [class*="bg-zinc-"],
.html2pdf-printing [class*="bg-neutral-"],
.html2pdf-printing [class*="bg-[#"],
.html2pdf-printing [class*="bg-black"],
.html2pdf-printing [style*="background-color: rgb(1"],
.html2pdf-printing [style*="background-color: rgba(1"],
.html2pdf-printing [style*="background: rgb(1"],
.html2pdf-printing [style*="background: rgba(1"] {
  background: transparent !important;
  background-color: transparent !important;
}

/* Restructure premium grids to stack vertically in print layout to prevent horizontal compression */
.html2pdf-printing .premium-dashboard-container .xl\:grid-cols-4,
.html2pdf-printing .premium-dashboard-container .lg\:grid-cols-3,
.html2pdf-printing .premium-dashboard-container .md\:grid-cols-2,
.html2pdf-printing .premium-dashboard-container .grid-cols-1,
.html2pdf-printing .premium-dashboard-container .grid-cols-3,
.html2pdf-printing .premium-dashboard-container .grid-cols-1.sm\:grid-cols-3 {
  display: block !important;
}
.html2pdf-printing .premium-dashboard-container .xl\:grid-cols-4 > div,
.html2pdf-printing .premium-dashboard-container .lg\:grid-cols-3 > div,
.html2pdf-printing .premium-dashboard-container .md\:grid-cols-2 > div,
.html2pdf-printing .premium-dashboard-container .grid-cols-1 > div,
.html2pdf-printing .premium-dashboard-container .grid-cols-3 > div,
.html2pdf-printing .premium-dashboard-container .grid-cols-1.sm\:grid-cols-3 > button {
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 16px !important;
  height: auto !important;
  min-height: 0 !important;
}

/* Eliminate min-width constraints on printed table cells to prevent text wrapping character-by-character */
.html2pdf-printing th,
.html2pdf-printing td,
.html2pdf-printing table th,
.html2pdf-printing table td {
  min-width: 0 !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

/* Remove glass container padding and borders to prevent page split outline issues */
.html2pdf-printing .glass-panel {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.html2pdf-printing .glass-card {
  background: #ffffff !important;
  border: 1px solid #e5e5ea !important;
  box-shadow: none !important;
  padding: 14px !important;
  margin-bottom: 16px !important;
  transform: none !important;
  color: #000000 !important;
}

/* Restructure outer horizontal side-by-side flex/grid layouts to stack vertically */
.html2pdf-printing .astro-grid-layout,
.html2pdf-printing .grid-2col,
.html2pdf-printing .grid-3col,
.html2pdf-printing div[style*="grid-template-columns: 1.2fr 1fr"],
.html2pdf-printing div[style*="grid-template-columns: 1fr 1.2fr"],
.html2pdf-printing div[style*="grid-template-columns: 1fr 1fr"],
.html2pdf-printing #bazi-elements-card > div[style*="display:grid"] {
  display: block !important;
}

.html2pdf-printing .astro-grid-layout > div,
.html2pdf-printing .grid-2col > div,
.html2pdf-printing .grid-3col > div,
.html2pdf-printing div[style*="grid-template-columns: 1.2fr 1fr"] > div,
.html2pdf-printing div[style*="grid-template-columns: 1fr 1.2fr"] > div,
.html2pdf-printing div[style*="grid-template-columns: 1fr 1fr"] > div,
.html2pdf-printing #bazi-elements-card > div[style*="display:grid"] > div {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-bottom: 20px !important;
  float: none !important;
}

/* Center 3x3 Astro-Numerology widget grid container */
.html2pdf-printing .grid-box-wrapper {
  margin: 0 auto 20px auto !important;
}

/* Remove gradient section title filters to avoid html2canvas black outline boxes */
.html2pdf-printing .section-title {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #0055bb !important;
  color: #0055bb !important;
  border-bottom: 2px solid #0055bb !important;
  padding-bottom: 6px;
  margin-bottom: 12px;
  font-size: 16px !important;
  font-weight: bold !important;
}

.html2pdf-printing .section-subtitle,
.html2pdf-printing .section-subtitle * {
  color: #48484a !important;
}

/* Resize canvas widgets for standard page dimensions */
.html2pdf-printing .canvas-wrapper {
  min-height: 280px !important;
  max-height: 340px !important;
  background: transparent !important;
  border: 1px solid #d1d1d6 !important;
}

/* Adjust general body elements inside html2pdf-printing to ensure high contrast */
.html2pdf-printing p,
.html2pdf-printing span:not(.circle-progress):not(.circle-bg),
.html2pdf-printing td,
.html2pdf-printing th,
.html2pdf-printing li {
  color: #1c1c1e !important;
}

.html2pdf-printing table {
  width: 100% !important;
  table-layout: auto !important;
}

.html2pdf-printing div {
  overflow: visible !important;
}

.html2pdf-printing .circle-bg {
  stroke: #e5e5ea !important;
}

/* High contrast overrides for circular gauge svg progress bars */
.html2pdf-printing circle[style*="stroke: rgb(0, 255, 136)"],
.html2pdf-printing circle[style*="stroke:#00ff88"],
.html2pdf-printing circle[style*="stroke: #00ff88"] {
  stroke: #006633 !important;
}
.html2pdf-printing circle[style*="stroke: rgb(243, 198, 79)"],
.html2pdf-printing circle[style*="stroke:#f3c64f"],
.html2pdf-printing circle[style*="stroke: #f3c64f"] {
  stroke: #B8860B !important;
}
.html2pdf-printing circle[style*="stroke: rgb(255, 59, 48)"],
.html2pdf-printing circle[style*="stroke:#ff3b30"],
.html2pdf-printing circle[style*="stroke: #ff3b30"] {
  stroke: #990000 !important;
}

.html2pdf-printing td,
.html2pdf-printing th,
.pdf-table td,
.pdf-table th,
/* PDF Export Full DOM Expansion & Print Unspooling */
body.pdf-export-mode,
body.pdf-export-mode .app-container,
body.pdf-export-mode main.main-content,
body.pdf-export-mode #pane-pdf-export,
body.pdf-export-mode #pdf-export-root {
  height: auto !important;
  min-height: 100vh !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
}

body.pdf-export-mode .sidebar,
body.pdf-export-mode .dashboard-header,
body.pdf-export-mode .disclaimer-banner {
  display: none !important;
}

/* 100-Year Multi-Tier Dasha Timeline Interactive Items */
.dasha-bar-item {
  position: relative;
  user-select: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.dasha-bar-item:hover {
  transform: translateY(-2px);
  filter: brightness(1.25);
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.4);
  z-index: 8 !important;
}

.dasha-bar-item:active {
  transform: scale(0.98);
}

/* AlphaSpikeCard & Domain Banner Ribbons */
.alpha-spike-card {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.alpha-spike-card:hover {
  transform: translateY(-2px);
}

.alpha-spike-card.screener-card-risk:hover {
  box-shadow: 0 6px 24px rgba(220, 38, 38, 0.25) !important;
}

.alpha-spike-card.screener-card-auspicious:hover {
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.25) !important;
}

.domain-banner-ribbon {
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
  user-select: none;
}

.domain-banner-ribbon .font-black {
  font-weight: 900 !important;
}

.domain-banner-ribbon .tracking-wider {
  letter-spacing: 0.06em !important;
}

/* ========================================================
   Interactive Map Location Picker (Leaflet / OpenStreetMap)
   ======================================================== */
.btn-map-picker {
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid var(--cyan);
  border-radius: 6px;
  color: #00f3ff;
  font-family: var(--font-header);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-map-picker:hover {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 12px var(--cyan-glow);
  transform: translateY(-1px);
}

body.light-theme .btn-map-picker {
  background: rgba(0, 85, 187, 0.08);
  border-color: #0055bb;
  color: #0055bb;
}

body.light-theme .btn-map-picker:hover {
  background: #0055bb;
  color: #ffffff;
}

.map-modal-content {
  max-width: 780px !important;
  width: 95% !important;
  padding: 22px !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.map-modal-header {
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 12px;
}

.map-search-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-map-action {
  background: rgba(243, 198, 79, 0.15);
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--gold);
  font-family: var(--font-header);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-map-action:hover {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 10px rgba(243, 198, 79, 0.4);
}

.leaflet-map-canvas {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  border: 1px solid var(--border-glass);
  background: #110e24;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.map-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border-glass);
  padding-top: 14px;
}

.btn-map-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #a5a2bf;
  font-family: var(--font-header);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

/* Light theme overrides for map modal */
body.light-theme .map-modal-content {
  background: #ffffff !important;
  color: #111118 !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
}

body.light-theme .map-modal-header h3 {
  color: #111118 !important;
}

body.light-theme #map-selected-name {
  color: #111118 !important;
}

body.light-theme .leaflet-map-canvas {
  background: #e5e5e5;
  border-color: rgba(0, 0, 0, 0.15);
}

body.light-theme .btn-map-secondary {
  background: #f1f0f7;
  border-color: #d1cfde;
  color: #4b4869;
}

body.light-theme .btn-map-secondary:hover {
  background: #e2e0ed;
  color: #111118;
}

/* =============================================================
   High-Converting Modern Landing Page Enhancements
   ============================================================= */
.landing-hero-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px 0 40px 0;
}

.landing-hero-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(0, 243, 255, 0.08) 0%, rgba(10, 7, 24, 0.85) 70%);
  border: 1px solid rgba(243, 198, 79, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(243, 198, 79, 0.1);
  padding: 40px 32px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 900px) {
  .landing-hero-card {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 28px;
  }
}

.landing-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(243, 198, 79, 0.12);
  border: 1px solid rgba(243, 198, 79, 0.35);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.landing-hero-title {
  font-family: var(--font-header);
  font-size: 2.3rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 14px 0;
  background: linear-gradient(135deg, #ffffff 40%, #f3c64f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-hero-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #a5a2bf;
  margin: 0 0 24px 0;
}

.landing-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #e2e1e9;
  font-weight: 500;
}

.landing-visual-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 243, 255, 0.3);
  box-shadow: 0 0 35px rgba(0, 243, 255, 0.2);
}

.landing-visual-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.landing-visual-wrap:hover img {
  transform: scale(1.03);
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.landing-feature-box {
  background: rgba(14, 11, 31, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.landing-feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 10px 25px rgba(0, 243, 255, 0.15);
}

.landing-feature-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.landing-feature-title {
  font-family: var(--font-header);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.landing-feature-desc {
  font-size: 0.82rem;
  color: #a5a2bf;
  line-height: 1.5;
  margin: 0;
}

.landing-cta-btn {
  background: linear-gradient(135deg, var(--gold), #ff8c00);
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  color: #000;
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(243, 198, 79, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.landing-cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(243, 198, 79, 0.6);
  background: linear-gradient(135deg, #ffe082, #ffa000);
}

/* Light Mode Overrides */
body.light-theme .landing-hero-card {
  background: #ffffff !important;
  border-color: rgba(212, 175, 55, 0.4) !important;
  box-shadow: 0 15px 40px rgba(10, 7, 24, 0.08) !important;
}

body.light-theme .landing-hero-title {
  background: linear-gradient(135deg, #111118 40%, #8f6600 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.light-theme .landing-hero-desc,
body.light-theme .landing-feature-desc {
  color: #4b4869 !important;
}

body.light-theme .landing-feature-box {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
}

body.light-theme .landing-feature-title {
  color: #111118 !important;
}

body.light-theme .landing-feature-box div,
body.light-theme .landing-feature-box span:not([style*="color:var(--cyan)"]):not([style*="color:var(--gold)"]):not([style*="color:var(--green)"]):not([style*="color:var(--purple)"]):not([style*="color:#00ff88"]):not([style*="color:#a5a2bf"]),
body.light-theme .landing-feature-box strong {
  color: #2b2848 !important;
}

body.light-theme .landing-trust-item {
  color: #2c2a3e !important;
}

.landing-card-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.landing-feature-box:hover .landing-card-thumb {
  transform: scale(1.02);
  border-color: var(--cyan);
}

/* =============================================================
   Light Theme: Modal Popups & Clickable Cards Overrides
   ============================================================= */

/* 1. Modal Overlay & Popup Content */
body.light-theme .modal-overlay {
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.light-theme .modal-content {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 25px rgba(0, 85, 187, 0.12) !important;
  color: #111118 !important;
}

body.light-theme .modal-close {
  color: #64748b !important;
}

body.light-theme .modal-close:hover {
  color: #0f172a !important;
}

body.light-theme #modal-explanation-title {
  color: #0055bb !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-theme #modal-explanation-body {
  color: #334155 !important;
}

body.light-theme .modal-content h3,
body.light-theme .modal-content h4 {
  color: #0f172a !important;
}

body.light-theme .modal-content h5[style*="color:var(--cyan)"],
body.light-theme .modal-content h5[style*="color: var(--cyan)"] {
  color: #0055bb !important;
}

body.light-theme .modal-content h5[style*="color:var(--gold)"],
body.light-theme .modal-content h5[style*="color: var(--gold)"] {
  color: #B8860B !important;
}

body.light-theme .modal-content h5[style*="color:var(--green)"],
body.light-theme .modal-content h5[style*="color: var(--green)"] {
  color: #006633 !important;
}

/* Modal text structural tags with safe negative selectors for status indicators */
body.light-theme .modal-content p:not([style*="color:var(--green)"]):not([style*="color: var(--green)"]):not([style*="color:#00ff88"]):not([style*="color: #00ff88"]):not([style*="color:var(--red)"]):not([style*="color: var(--red)"]):not([style*="color:#ff3b30"]):not([style*="color: #ff3b30"]) {
  color: #334155 !important;
}

body.light-theme .modal-content li {
  color: #475569 !important;
}

body.light-theme .modal-content strong:not([style*="color:var(--green)"]):not([style*="color: var(--green)"]):not([style*="color:var(--gold)"]):not([style*="color: var(--gold)"]):not([style*="color:var(--cyan)"]):not([style*="color: var(--cyan)"]):not([style*="color:var(--red)"]):not([style*="color: var(--red)"]):not([style*="color:#00ff88"]):not([style*="color:#ff3b30"]) {
  color: #0f172a !important;
}

body.light-theme .modal-content div:not([style*="color:var(--cyan)"]):not([style*="color: var(--cyan)"]):not([style*="color:var(--gold)"]):not([style*="color: var(--gold)"]):not([style*="color:var(--green)"]):not([style*="color: var(--green)"]):not([style*="color:var(--red)"]):not([style*="color: var(--red)"]) {
  color: inherit;
}

/* 2. Ashtakavarga SAV Heatmap Clickable Cards (Planetary Strength / Synthesis) */
body.light-theme #ashtakavarga-heatmap-container > div,
body.light-theme #sav-grid > div {
  background: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme #ashtakavarga-heatmap-container > div:hover,
body.light-theme #sav-grid > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1) !important;
}

body.light-theme #ashtakavarga-heatmap-container div[style*="color: #a5a2bf"],
body.light-theme #ashtakavarga-heatmap-container div[style*="color:#a5a2bf"],
body.light-theme #sav-grid div[style*="color: #a5a2bf"],
body.light-theme #sav-grid div[style*="color:#a5a2bf"] {
  color: #64748b !important;
}

body.light-theme #ashtakavarga-heatmap-container div[style*="color: #fff"],
body.light-theme #ashtakavarga-heatmap-container div[style*="color:#fff"],
body.light-theme #sav-grid div[style*="color: #fff"],
body.light-theme #sav-grid div[style*="color:#fff"] {
  color: #1e293b !important;
}

/* 3. Synthesis Dashboard Clickable Category Cards & Probability Matrix */
body.light-theme #pane-synthesis-dashboard .grid-3col .glass-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme #pane-synthesis-dashboard .grid-3col .glass-card:hover {
  box-shadow: 0 8px 24px rgba(0, 85, 187, 0.1) !important;
  border-color: rgba(0, 85, 187, 0.25) !important;
}

body.light-theme #prob-heatmap-table {
  border-collapse: separate;
  border-spacing: 2px;
}

body.light-theme #prob-heatmap-table th {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

body.light-theme #prob-heatmap-table td:first-child {
  background: #f8fafc !important;
  color: #1e293b !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

body.light-theme #prob-heatmap-table td {
  border: 1px solid rgba(0, 0, 0, 0.05);
}


