:root {
  --bg-page: #000000;
  --bg-surface: #0a0a0a;
  --bg-card: #111111;
  --bg-subtle: #161616;
  --bg-elevated: #1f1f1f;
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted: #737373;
  --border-subtle: #262626;
  --border-strong: #404040;
  --accent-bg: #ffffff;
  --accent-text: #000000;
  --accent-hover: #e5e5e5;
  --shadow-elevated: 0 20px 45px -15px rgba(0, 0, 0, 0.85);
}

html.light {
  --bg-page: #ffffff;
  --bg-surface: #fafafa;
  --bg-card: #f5f5f5;
  --bg-subtle: #eeeeee;
  --bg-elevated: #e5e5e5;
  --text-primary: #000000;
  --text-secondary: #525252;
  --text-muted: #737373;
  --border-subtle: #e5e5e5;
  --border-strong: #a3a3a3;
  --accent-bg: #000000;
  --accent-text: #ffffff;
  --accent-hover: #262626;
  --shadow-elevated: 0 20px 45px -15px rgba(0, 0, 0, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-page);
}
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Sticky table first column */
.sticky-col {
  position: sticky;
  left: 0;
  z-index: 15;
}

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

.animate-fade-in {
  animation: fadeIn 0.2s ease-out forwards;
}
