/* ============================================================
   theme.css — Dark-mode design tokens. No layout rules here.
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #080808;
  --bg-panel: #050505;
  --bg-raised: #1a1a1f;
  --bg-code: #111114;
  --border: #26262b;
  --border-soft: #1e1e23;

  /* Text */
  --text: #e8e8ea;
  --text-muted: #8b8b92;
  --text-faint: #55555c;

  /* Accent */
  --accent: #9c9d9e;
  --accent-dim: rgba(156, 157, 158, 0.12);
  --code-fg: #9c9d9e;

  /* Semantic Colors */
  --success: #5fb97a;
  --success-hover: #62c073;
  --error: #e06c75;
  --error-light: #ff7b7b;
  --delete: #e5484d;
  --warning: #e5b567;
  --warning-fair: #e5c07b;
  --warning-orange: #ffb02e;
  --code-bg-dark: #0d1117;
  --white: #fff;
  --success-border: #3f8a55;
  --success-text: #6fc287;

  /* Typography */
  --font-ui: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Cascadia Code', 'Consolas', 'Courier New', monospace;

  /* Geometry */
  --radius: 4px;
  --radius-lg: 6px;
}

html {
  font-size: 16px; /* rem base */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  overflow: hidden;
}

::selection {
  background: rgba(77, 159, 255, 0.28);
}

/* Slim premium scrollbars */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #2c2c33;
  border-radius: 5px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: #3a3a42;
  border: 2px solid transparent;
  background-clip: content-box;
}
