/* =============================================================================
   ROAR Assessment Demo — Master Stylesheet
   AiVRIC Vision Platform / 3HUE Cybersecurity
   ============================================================================= */

/* -----------------------------------------------------------------------------
   CSS Variables — Dark Mode Default
   ----------------------------------------------------------------------------- */
:root {
  /* Unified Midnight Palette — aliased from shared-ui tokens */
  --aivric-primary: #2050C0;
  --dark-elevated: #1B2A47;
  --primary-light: #3B5B90;
  --aivric-cyan: #02252F;
  --aivric-accent: #F4B860;

  /* Standardized Severity — aliased from shared-ui tokens */
  --severity-critical: #E11D48;
  --high: #F4B860;
  --severity-medium: #F4B860;
  --low: #2BD4A7;
  --pass: #2BD4A7;
  --info: #3B5B90;

  /* Level 0-4 Background Hierarchy — linked to shared dark-mode tokens */
  --bg: var(--dark-background, #000522);
  --card-bg: var(--dark-surface, #0D1528);
  --text: var(--dark-text-primary, #EAF2FF);
  --text-muted: var(--dark-text-secondary, #9FB0CC);
  --border: var(--dark-border, #1B2A47);
  --sidebar-width: 280px;
}

/* -----------------------------------------------------------------------------
   Light Mode Override (Enterprise Pale)
   ----------------------------------------------------------------------------- */
.light {
  --bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --text: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --aivric-primary: #2050C0;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

/* Respect reduced motion preference (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .section-hero {
    animation: none !important;
  }
  body {
    animation: none !important;
  }
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

/* Skip to main content link (508 compliance) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--aivric-primary);
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 0.5rem 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 100;
  text-decoration: none;
  transition: top 0.15s;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--aivric-accent);
  outline-offset: 2px;
}

/* Global focus styles (WCAG 2.4.7 — visible focus indicator) */
:focus-visible {
  outline: 3px solid var(--aivric-primary);
  outline-offset: 2px;
}

/* Remove default outline only when :focus-visible is supported */
:focus:not(:focus-visible) {
  outline: none;
}

/* -----------------------------------------------------------------------------
   Custom Scrollbar
   ----------------------------------------------------------------------------- */
/* Firefox — dark mode default */
html {
  scrollbar-width: thin;
  scrollbar-color: #475569 #000522;
}

/* Chrome / Safari / Edge — dark mode default */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000522;
}

::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #64748B;
}

/* Light mode scrollbar */
.light {
  scrollbar-color: #CBD5E1 #F1F5F9;
}

.light ::-webkit-scrollbar-track {
  background: #F1F5F9;
}

.light ::-webkit-scrollbar-thumb {
  background: #CBD5E1;
}

.light ::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Sidebar scrollbar — thinner, appears on hover (dark default) */
.sidebar {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.sidebar:hover {
  scrollbar-color: rgba(71, 85, 105, 0.7) transparent;
}

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

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 9999px;
  transition: background 0.2s;
}

.sidebar:hover::-webkit-scrollbar-thumb {
  background: rgba(71, 85, 105, 0.7);
}

.sidebar:hover::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.9);
}

/* Light mode sidebar scrollbar */
.light .sidebar:hover {
  scrollbar-color: rgba(148, 163, 184, 0.5) transparent;
}

.light .sidebar:hover::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.5);
}

.light .sidebar:hover::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.8);
}

section,
[id] {
  scroll-margin-top: 80px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--aivric-primary);
  text-decoration: none;
}

a:hover {
  color: var(--dark-elevated);
  text-decoration: underline;
}

/* Ensure links are distinguishable beyond color (WCAG 1.4.1) */
a:focus-visible {
  outline: 3px solid var(--aivric-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* -----------------------------------------------------------------------------
   Top Navbar
   ----------------------------------------------------------------------------- */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.top-nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.125rem;
  white-space: nowrap;
}

.top-nav-logo i {
  color: var(--primary-light);
  font-size: 1.25rem;
}

.top-nav-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #94A3B8;
}

.breadcrumb a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb a:hover {
  color: #CBD5E1;
  text-decoration: none;
}

.breadcrumb .separator {
  color: #475569;
  font-size: 0.75rem;
}

.breadcrumb .current {
  color: #E2E8F0;
  font-weight: 500;
}

.top-nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hamburger Menu Button */
.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  cursor: pointer;
  color: #CBD5E1;
  font-size: 1.125rem;
  transition: all 0.15s;
  flex-shrink: 0;
  padding: 0;
  font-family: inherit;
}

.hamburger-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Dark Mode Toggle Button */
.dark-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  cursor: pointer;
  color: #CBD5E1;
  font-size: 1rem;
  transition: all 0.15s;
  padding: 0;
  font-family: inherit;
}

.dark-toggle:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Sidebar Overlay (mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 35;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

.btn-print {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  color: #94A3B8;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.btn-print:hover {
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

/* -----------------------------------------------------------------------------
   Sidebar
   ----------------------------------------------------------------------------- */
.sidebar {
  position: fixed;
  left: 0;
  top: 64px;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--card-bg);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 40;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar.collapsed {
  transform: translateX(calc(var(--sidebar-width) * -1));
}

.sidebar-header {
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-header h2 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.sidebar-header p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sidebar-section {
  padding: 1rem 1.25rem 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-left: 3px solid transparent;
  transition: all 0.15s;
  text-decoration: none;
  line-height: 1.4;
}

.sidebar-nav a:hover {
  background: rgba(32, 80, 192, 0.1);
  color: var(--text);
  text-decoration: none;
}

.sidebar-nav a.active {
  border-left-color: var(--aivric-primary);
  background: rgba(32, 80, 192, 0.15);
  color: var(--aivric-primary);
  font-weight: 600;
}

.sidebar-nav a.current-page {
  border-left-color: var(--dark-elevated);
  background: rgba(32, 80, 192, 0.2);
  color: var(--primary-light);
  font-weight: 700;
}

/* Light mode sidebar nav */
.light .sidebar-nav a:hover {
  background: #F8FAFC;
}

.light .sidebar-nav a.active {
  background: #DBEAFE;
  color: var(--dark-elevated);
}

.light .sidebar-nav a.current-page {
  background: #cef0ff;
  color: var(--dark-elevated);
}

.sidebar-nav a i {
  width: 20px;
  margin-right: 0.625rem;
  text-align: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.sidebar-nav .nav-badge {
  margin-left: auto;
  font-size: 0.6875rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
}

.sidebar-toggle {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.15s;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sidebar-toggle:hover {
  background: var(--bg);
  color: var(--text);
}

/* -----------------------------------------------------------------------------
   Main Content
   ----------------------------------------------------------------------------- */
.main-content {
  margin-left: var(--sidebar-width);
  margin-top: 64px;
  padding: 2rem;
  max-width: 1200px;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-content.full-width {
  margin-left: 0;
  max-width: none;
  width: 100%;
}

/* No sidebar layout variant */
.main-content.no-sidebar {
  margin-left: 0;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* -----------------------------------------------------------------------------
   Cards
   ----------------------------------------------------------------------------- */
.card {
  background: var(--card-bg);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.card-header h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}

.card-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.card-body {
  color: var(--text);
}

/* Stat Cards */
.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--card-bg);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.stat-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stat-card .stat-label {
  font-size: 0.6875rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.stat-card .stat-change {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  font-weight: 600;
}

.stat-card.critical {
  border-left: 4px solid var(--severity-critical);
}

.stat-card.high {
  border-left: 4px solid var(--high);
}

.stat-card.medium {
  border-left: 4px solid var(--severity-medium);
}

.stat-card.low {
  border-left: 4px solid var(--low);
}

.stat-card.pass {
  border-left: 4px solid var(--pass);
}

/* Provider Cards */
.provider-card {
  background: var(--card-bg);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.provider-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.provider-card.aws {
  border-left: 4px solid var(--aws);
}

.provider-card.azure {
  border-left: 4px solid var(--azure);
}

.provider-card.k8s {
  border-left: 4px solid var(--k8s);
}

.provider-card.github {
  border-left: 4px solid var(--github);
}

/* -----------------------------------------------------------------------------
   Tables
   ----------------------------------------------------------------------------- */
.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.report-table thead {
  background: var(--bg);
  border-bottom: 2px solid var(--border);
}

.report-table th {
  padding: 0.75rem 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-align: left;
}

.report-table td {
  padding: 0.625rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.report-table tbody tr:nth-child(even) {
  background: rgba(13, 21, 40, 0.5);
}

.report-table tbody tr:hover {
  background: rgba(32, 80, 192, 0.1);
  transition: background 0.15s;
}

/* Light mode table */
.light .report-table thead {
  background: #F8FAFC;
}

.light .report-table th {
  color: #64748B;
}

.light .report-table tbody tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.5);
}

.light .report-table tbody tr:hover {
  background: rgba(32, 80, 192, 0.1);
}

.table-compact th,
.table-compact td {
  padding: 0.375rem 0.75rem;
}

.table-sticky thead {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--card-bg);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

/* -----------------------------------------------------------------------------
   Badges
   ----------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 9999px;
  white-space: nowrap;
}

.badge-critical {
  background: #FEE2E2;
  color: #B91C1C;
}

.badge-high {
  background: #FFEDD5;
  color: #C2410C;
}

.badge-medium {
  background: #FEF9C3;
  color: #A16207;
}

.badge-low {
  background: #DCFCE7;
  color: #15803D;
}

.badge-pass {
  background: #DBEAFE;
  color: #1D4ED8;
}

.badge-info {
  background: #F3F4F6;
  color: #4B5563;
}

.badge-provider-aws {
  background: #FFF7ED;
  color: #9A3412;
}

.badge-provider-azure {
  background: #EFF6FF;
  color: #1E40AF;
}

.badge-provider-k8s {
  background: #EFF6FF;
  color: #1E3A8A;
}

.badge-provider-github {
  background: #F3F4F6;
  color: #1F2937;
}

.badge-lg {
  padding: 0.25rem 0.875rem;
  font-size: 0.75rem;
}

/* -----------------------------------------------------------------------------
   Progress Bars
   ----------------------------------------------------------------------------- */
.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 1s ease;
}

.progress-fill.critical { background: var(--severity-critical); }
.progress-fill.high     { background: var(--high); }
.progress-fill.medium   { background: var(--severity-medium); }
.progress-fill.low      { background: var(--low); }
.progress-fill.pass     { background: var(--pass); }
.progress-fill.primary  { background: var(--aivric-primary); }

.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
}

.progress-lg {
  height: 12px;
}

/* Stacked progress */
.progress-stacked {
  display: flex;
  height: 8px;
  border-radius: 9999px;
  overflow: hidden;
  background: var(--border);
}

.progress-stacked .segment {
  height: 100%;
  transition: width 1s ease;
}

/* -----------------------------------------------------------------------------
   Charts
   ----------------------------------------------------------------------------- */
.chart-container {
  position: relative;
  width: 100%;
  min-height: 300px;
  padding: 1rem;
}

.chart-sm  { min-height: 200px; }
.chart-md  { min-height: 300px; }
.chart-lg  { min-height: 450px; }
.chart-xl  { min-height: 600px; }

.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.chart-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.chart-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* -----------------------------------------------------------------------------
   Section Headers
   ----------------------------------------------------------------------------- */
.section-hero {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #000522 0%, #2050C0 50%, #3B5B90 100%);
  border-radius: 1rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.section-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.section-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-hero .subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.section-hero .hero-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  position: relative;
}

.section-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(32, 80, 192, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aivric-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.light .section-icon {
  background: #DBEAFE;
  color: #2050C0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* -----------------------------------------------------------------------------
   Heat Map
   ----------------------------------------------------------------------------- */
.heatmap-grid {
  display: grid;
  grid-template-columns: 120px repeat(5, 1fr);
  gap: 2px;
}

.heatmap-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  font-weight: 600;
  color: #FFFFFF;
  font-size: 0.875rem;
  transition: transform 0.15s, box-shadow 0.15s;
}

.heatmap-cell:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hm-green   { background: #22C55E; }
.hm-yellow  { background: #EAB308; }
.hm-orange  { background: #F97316; }
.hm-red     { background: #DC2626; }
.hm-darkred { background: #991B1B; }
.hm-gray    { background: #D1D5DB; color: #6B7280; }

.hm-label {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--text);
  padding: 0.5rem;
  display: flex;
  align-items: center;
}

.hm-header {
  background: var(--card-bg);
  font-size: 0.6875rem;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 0.375rem;
}

.light .hm-label {
  color: #475569;
}

.light .hm-header {
  background: #F1F5F9;
  color: #64748B;
}

/* -----------------------------------------------------------------------------
   Accordion
   ----------------------------------------------------------------------------- */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--bg);
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background 0.15s;
}

.accordion-trigger:hover {
  background: var(--card-bg);
}

.light .accordion-trigger {
  background: #F8FAFC;
}

.light .accordion-trigger:hover {
  background: #F1F5F9;
}

.accordion-trigger .chevron {
  transition: transform 0.2s ease;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.accordion-item.open .accordion-trigger .chevron {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.open .accordion-content {
  max-height: 2000px;
}

.accordion-body {
  padding: 1rem 1rem 1.25rem;
}

/* -----------------------------------------------------------------------------
   Roadmap Timeline
   ----------------------------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--severity-critical) 0%, var(--high) 40%, var(--aivric-primary) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -2.375rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  z-index: 10;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.2);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.15);
}

.timeline-dot.critical { background: var(--severity-critical); }
.timeline-dot.high     { background: var(--high); }
.timeline-dot.medium   { background: var(--severity-medium); }
.timeline-dot.low      { background: var(--low); }
.timeline-dot.pass     { background: var(--pass); }
.timeline-dot.primary  { background: var(--aivric-primary); }

.timeline-content {
  padding-left: 0.5rem;
}

.timeline-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.timeline-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

/* -----------------------------------------------------------------------------
   Recommendation Cards
   ----------------------------------------------------------------------------- */
.rec-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-left: 4px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card-bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
  transition: box-shadow 0.2s;
}

.rec-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.rec-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #FFFFFF;
  flex-shrink: 0;
}

.rec-card.phase-1 {
  border-left-color: var(--severity-critical);
}

.rec-card.phase-1 .rec-number {
  background: var(--severity-critical);
}

.rec-card.phase-2 {
  border-left-color: var(--high);
}

.rec-card.phase-2 .rec-number {
  background: var(--high);
}

.rec-card.phase-3 {
  border-left-color: var(--aivric-primary);
}

.rec-card.phase-3 .rec-number {
  background: var(--aivric-primary);
}

.rec-body h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.rec-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* -----------------------------------------------------------------------------
   Gauge Charts
   ----------------------------------------------------------------------------- */
.gauge-container {
  text-align: center;
  padding: 1rem;
}

.gauge-label {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 0.5rem;
  color: var(--text);
}

.gauge-value {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
}

/* -----------------------------------------------------------------------------
   Animations
   ----------------------------------------------------------------------------- */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}

.slide-up {
  animation: slideUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Scroll reveal base */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Direction variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
  opacity: 1;
  transform: none;
}

/* Stagger delays for groups */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Card hover micro-interactions */
.card, .stat-card, .provider-card, .section-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
}

/* Smooth number counter style for stat values */
.stat-card .stat-value {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover .stat-value {
  transform: scale(1.05);
}

/* Section hero gradient shimmer */
.section-hero {
  background-size: 200% 200%;
  animation: heroShimmer 8s ease-in-out infinite;
}

@keyframes heroShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Smooth page load fade-in */
body {
  animation: pageLoad 0.4s ease-out;
}

@keyframes pageLoad {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Pulse */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.6; }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* -----------------------------------------------------------------------------
   Color Utilities
   ----------------------------------------------------------------------------- */
.text-critical { color: var(--severity-critical); }
.text-high     { color: var(--high); }
.text-medium   { color: var(--severity-medium); }
.text-low      { color: var(--low); }
.text-pass     { color: var(--pass); }
.text-muted    { color: var(--text-muted); }
.text-primary  { color: var(--aivric-primary); }

.bg-critical-light { background: #FEF2F2; }
.bg-high-light     { background: #FFF7ED; }
.bg-medium-light   { background: #FEFCE8; }
.bg-low-light      { background: #F0FDF4; }
.bg-pass-light     { background: #EFF6FF; }

/* -----------------------------------------------------------------------------
   Misc UI Elements
   ----------------------------------------------------------------------------- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  background: var(--card-bg);
  color: var(--text-muted);
  border-radius: 0.25rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

.light .tag {
  background: #F1F5F9;
  color: #475569;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.metric-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.metric-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Grid gap variants */
.gap-1   { gap: 0.5rem; }
.gap-2   { gap: 1rem; }
.gap-3   { gap: 1.5rem; }

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--aivric-primary);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(32, 80, 192, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 30;
  font-size: 0.875rem;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--dark-elevated);
  transform: translateY(-2px);
}

/* Section cards for index */
.section-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.section-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  border-color: var(--primary-light);
  text-decoration: none;
}

.section-card .section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 0.375rem;
  background: rgba(32, 80, 192, 0.2);
  color: var(--aivric-primary);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.light .section-card .section-icon {
  background: #DBEAFE;
}

.section-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  line-height: 1.4;
}

.section-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.section-card .section-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Confidential footer */
.report-footer {
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
}

body.sidebar-collapsed .report-footer {
  margin-left: 0 !important;
}

/* -----------------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .chart-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  /* Mobile: sidebar starts off-screen; .open slides it in */
  .sidebar {
    transform: translateX(calc(var(--sidebar-width) * -1));
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  }

  /* On mobile, sidebar is off-screen so content is always full-width */
  .main-content {
    margin-left: 0;
  }

  .report-footer {
    margin-left: 0 !important;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chart-grid {
    grid-template-columns: 1fr;
  }

  .chart-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .heatmap-grid {
    grid-template-columns: 100px repeat(5, 1fr);
  }
}

@media (max-width: 768px) {
  .top-nav {
    padding: 0 1rem;
  }

  .breadcrumb {
    display: none;
  }

  .main-content {
    padding: 1rem;
  }

  .section-hero {
    padding: 2rem 1.5rem;
  }

  .section-hero h1 {
    font-size: 1.5rem;
  }

  .metric-grid,
  .metric-grid-3 {
    grid-template-columns: 1fr;
  }

  .chart-grid-3,
  .chart-grid {
    grid-template-columns: 1fr;
  }

  .chart-grid-4 {
    grid-template-columns: 1fr;
  }

  .heatmap-grid {
    grid-template-columns: 80px repeat(5, 1fr);
    font-size: 0.75rem;
  }

  .report-table {
    font-size: 0.75rem;
  }

  .report-table th,
  .report-table td {
    padding: 0.5rem;
  }

  .stat-card .stat-value {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .metric-grid-2 {
    grid-template-columns: 1fr;
  }

  .heatmap-grid {
    grid-template-columns: 60px repeat(5, 1fr);
    font-size: 0.625rem;
  }
}

/* -----------------------------------------------------------------------------
   Print Styles
   ----------------------------------------------------------------------------- */
@media print {
  .sidebar,
  .top-nav,
  .sidebar-toggle,
  .dark-toggle,
  .back-to-top,
  .no-print {
    display: none !important;
  }

  .main-content {
    margin-left: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  .main-content.full-width {
    margin-left: 0 !important;
  }

  body {
    background: #FFFFFF;
    color: #000000;
    font-size: 11pt;
  }

  .card {
    box-shadow: none !important;
    border: 1px solid #DDD;
    page-break-inside: avoid;
  }

  .report-table {
    page-break-inside: avoid;
  }

  .section-hero {
    background: #2050C0 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .badge {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .chart-container canvas {
    max-height: 300px !important;
  }

  a[href]::after {
    content: none;
  }

  .page-break {
    page-break-before: always;
  }
}

/* =============================================================================
   Dark Mode is now the DEFAULT - above styles apply
   The following are LIGHT MODE overrides
   ============================================================================= */

/* Dark mode default badge styles */
.badge-critical { background: rgba(220, 38, 38, 0.2); color: #FCA5A5; }
.badge-high     { background: rgba(249, 115, 22, 0.2); color: #FDBA74; }
.badge-medium   { background: rgba(234, 179, 8, 0.2);  color: #FDE68A; }
.badge-low      { background: rgba(34, 197, 94, 0.2);  color: #86EFAC; }
.badge-pass     { background: rgba(59, 130, 246, 0.2); color: #93C5FD; }
.badge-info     { background: rgba(148, 163, 184, 0.2); color: #E2E8F0; }

.badge-provider-aws   { background: rgba(255, 153, 0, 0.15); color: #FBBF24; }
.badge-provider-azure { background: rgba(0, 120, 212, 0.15); color: #93C5FD; }
.badge-provider-k8s   { background: rgba(50, 108, 229, 0.15); color: #93C5FD; }
.badge-provider-github { background: rgba(148, 163, 184, 0.15); color: #E2E8F0; }

/* Light mode badge overrides */
.light .badge-critical { background: #FEE2E2; color: #B91C1C; }
.light .badge-high     { background: #FFEDD5; color: #C2410C; }
.light .badge-medium   { background: #FEF9C3; color: #A16207; }
.light .badge-low      { background: #DCFCE7; color: #15803D; }
.light .badge-pass     { background: #DBEAFE; color: #1D4ED8; }
.light .badge-info     { background: #F3F4F6; color: #4B5563; }

.light .badge-provider-aws   { background: #FFF7ED; color: #9A3412; }
.light .badge-provider-azure { background: #EFF6FF; color: #1E40AF; }
.light .badge-provider-k8s   { background: #EFF6FF; color: #1E3A8A; }
.light .badge-provider-github { background: #F3F4F6; color: #1F2937; }

/* Light mode focus indicators */
.light :focus-visible {
  outline-color: var(--aivric-primary);
}

/* Light mode links */
.light a {
  color: var(--dark-elevated);
}

.light a:hover {
  color: var(--aivric-primary);
}

/* Light mode cards */
.light .card,
.light .stat-card,
.light .provider-card,
.light .section-card {
  background: var(--card-bg);
  border-color: var(--border);
  color: var(--text);
}

.light .section-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.light .section-card h3 {
  color: var(--text);
}

.light .section-card p {
  color: var(--text-muted);
}

.light .card:hover,
.light .stat-card:hover,
.light .provider-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.light .card-header h3,
.light .card-header h2 {
  color: var(--text);
}

.light .stat-card .stat-label {
  color: #94A3B8;
}

.light .stat-card .stat-value {
  color: var(--text);
}

/* Light mode code elements */
.light code {
  background: #F1F5F9;
  color: #1E293B;
}

.light pre {
  background: #F8FAFC;
  color: #1E293B;
  border-color: #E2E8F0;
}

.light .cli-block,
.light .code-block {
  background: #F8FAFC;
  color: #1E293B;
  border-color: #E2E8F0;
}

/* Light mode rec-card */
.light .rec-card {
  background: var(--card-bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.light .rec-body h4 {
  color: var(--text);
}

.light .rec-body p {
  color: var(--text-muted);
}

/* Light mode timeline */
.light .timeline::before {
  background: linear-gradient(180deg, var(--severity-critical) 0%, var(--high) 40%, var(--aivric-primary) 100%);
}

.light .timeline-content h4 {
  color: var(--text);
}

.light .timeline-content p {
  color: var(--text-muted);
}

.light .timeline-date {
  color: var(--text-muted);
}

/* Light mode gauge */
.light .gauge-label {
  color: var(--text);
}

/* Light mode back to top */
.light .back-to-top {
  background: var(--aivric-primary);
  box-shadow: 0 2px 8px rgba(32, 80, 192, 0.4);
}

/* Light mode sidebar overlay */
.light .sidebar-overlay.active {
  background: rgba(0, 0, 0, 0.5);
}

/* Light toggle icon swap - show moon in light mode */
.dark-toggle .fa-moon::before {
  content: "\f185"; /* sun icon - shown in dark mode */
}

.light .dark-toggle .fa-moon::before {
  content: "\f186"; /* moon icon - shown in light mode */
}

/* =============================================================================
   High Contrast Mode (WCAG 1.4.6 — AAA enhanced contrast)
   ============================================================================= */
@media (prefers-contrast: more) {
  :root {
    --border: #94A3B8;
  }

  .badge { border: 1px solid currentColor; }
  .card, .stat-card, .provider-card, .section-card { border-width: 2px; }
  .sidebar-nav a.active, .sidebar-nav a.current-page { border-left-width: 4px; }

  .dark {
    --text: #FFFFFF;
    --text-muted: #CBD5E1;
    --border: #64748B;
  }
}

/* =============================================================================
   Dark mode is now the default - no media query needed
   The :root variables already define dark mode colors
   ============================================================================= */

/* =============================================================================
   Explicit Light Mode (when user selects light mode despite OS dark preference)
   ============================================================================= */
.light {
  --bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --text: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;
}

.light body {
  background-color: #F8FAFC !important;
}

.light .dark\:bg-slate-800,
.light .dark\:bg-slate-700,
.light .dark\:bg-gray-800 {
  background-color: inherit !important;
}

.light .dark\:text-white,
.light .dark\:text-slate-100,
.light .dark\:text-slate-200,
.light .dark\:text-slate-300 {
  color: inherit !important;
}

/* =============================================================================
   Tailwind dark: class defaults (dark mode is now the default)
   These styles apply by default without needing .dark
   ============================================================================= */

/* Background colors - dark mode default */
.dark\:bg-slate-800 { background-color: #1E293B !important; }
.dark\:bg-slate-800\/80 { background-color: rgba(30, 41, 59, 0.8) !important; }
.dark\:bg-slate-800\/5 { background-color: rgba(30, 41, 59, 0.05) !important; }
.dark\:bg-slate-700 { background-color: #334155 !important; }
.dark\:bg-slate-700\/30 { background-color: rgba(51, 65, 85, 0.3) !important; }
.dark\:bg-slate-800\/50 { background-color: rgba(30, 41, 59, 0.5) !important; }
.dark\:bg-gray-800 { background-color: #1F2937 !important; }
.dark\:bg-gray-700 { background-color: #374151 !important; }

/* Text colors - dark mode default */
.dark\:text-white { color: #FFFFFF !important; }
.dark\:text-slate-100 { color: #F1F5F9 !important; }
.dark\:text-slate-200 { color: #E2E8F0 !important; }
.dark\:text-slate-300 { color: #CBD5E1 !important; }
.dark\:text-slate-400 { color: #94A3B8 !important; }
.dark\:text-slate-500 { color: #64748B !important; }
.dark\:text-gray-100 { color: #F3F4F6 !important; }
.dark\:text-gray-200 { color: #E5E7EB !important; }
.dark\:text-gray-300 { color: #D1D5DB !important; }
.dark\:text-gray-400 { color: #9CA3AF !important; }

/* Border colors - dark mode default */
.dark\:border-slate-600 { border-color: #475569 !important; }
.dark\:border-slate-700 { border-color: #334155 !important; }
.dark\:border-gray-600 { border-color: #4B5563 !important; }
.dark\:border-gray-700 { border-color: #374151 !important; }

/* Ring colors - dark mode default */
.dark\:ring-slate-700 { --tw-ring-color: #334155 !important; }
.dark\:ring-cyan-900\/30 { --tw-ring-color: rgba(22, 78, 99, 0.3) !important; }
.dark\:ring-orange-900\/30 { --tw-ring-color: rgba(124, 45, 18, 0.3) !important; }
.dark\:ring-emerald-900\/30 { --tw-ring-color: rgba(6, 78, 59, 0.3) !important; }

/* Gradient from/to - dark mode default */
.dark\:from-slate-800 { --tw-gradient-from: #1E293B !important; }
.dark\:to-slate-750 { --tw-gradient-to: #253143 !important; }

/* Divide colors - dark mode default */
.dark\:divide-slate-700 > :not([hidden]) ~ :not([hidden]) { border-color: #334155 !important; }
.dark\:divide-slate-600 > :not([hidden]) ~ :not([hidden]) { border-color: #475569 !important; }

/* Light mode overrides for Tailwind dark: classes */
.light .dark\:bg-slate-800,
.light .dark\:bg-slate-700,
.light .dark\:bg-gray-800,
.light .dark\:bg-gray-700 {
  background-color: inherit !important;
}

.light .dark\:text-white,
.light .dark\:text-slate-100,
.light .dark\:text-slate-200,
.light .dark\:text-slate-300,
.light .dark\:text-slate-400,
.light .dark\:text-gray-100,
.light .dark\:text-gray-200,
.light .dark\:text-gray-300 {
  color: inherit !important;
}
