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

:root {
  --bg-primary: #0f1117;
  --bg-secondary: #161922;
  --bg-tertiary: #1c1f2e;
  --bg-card: #1a1d2b;
  --bg-hover: #232738;
  --border: #2a2e3f;
  --border-subtle: #1f2333;
  --text-primary: #e8eaf0;
  --text-secondary: #8b90a5;
  --text-muted: #5a5f75;
  --accent: #6c5ce7;
  --accent-hover: #5b4bd4;
  --accent-glow: rgba(108, 92, 231, 0.15);
  --green: #00d68f;
  --green-dim: rgba(0, 214, 143, 0.12);
  --amber: #ffb347;
  --amber-dim: rgba(255, 179, 71, 0.12);
  --red: #ff6b6b;
  --red-dim: rgba(255, 107, 107, 0.12);
  --blue: #4dabf7;
  --blue-dim: rgba(77, 171, 247, 0.12);
  --sidebar-w: 260px;
  --topbar-h: 52px;
  --radius: 8px;
  --radius-lg: 12px;
  --font-sans:
    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Menlo", monospace;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
}

.hidden {
  display: none !important;
}

.error {
  color: var(--red);
  margin-top: 10px;
  font-size: 13px;
}

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

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
