/* ============================================
   Design Tokens — pmcdn.me NAS Dashboard
   ============================================ */

:root {
  /* Colors — Background */
  --color-bg-primary: #0a0a0a;
  --color-bg-surface: #141414;
  --color-bg-surface-hover: #1a1a1a;
  --color-bg-elevated: #1e1e1e;
  --color-bg-input: #0f0f0f;

  /* Colors — Border */
  --color-border: #2a2a2a;
  --color-border-subtle: #1f1f1f;
  --color-border-focus: #00c853;

  /* Colors — Text */
  --color-text-primary: #e0e0e0;
  --color-text-secondary: #888;
  --color-text-muted: #555;
  --color-text-inverse: #0a0a0a;

  /* Colors — Accent */
  --color-accent: #00c853;
  --color-accent-hover: #00e676;
  --color-accent-dim: rgba(0, 200, 83, 0.15);
  --color-accent-text: #00c853;

  /* Colors — Status */
  --color-success: #00c853;
  --color-warning: #ffc107;
  --color-error: #ff5252;
  --color-info: #448aff;

  /* Colors — Usage thresholds */
  --color-usage-ok: #00c853;
  --color-usage-warn: #ffc107;
  --color-usage-critical: #ff5252;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
  --font-size-xs: 0.7rem;
  --font-size-sm: 0.8rem;
  --font-size-base: 0.9rem;
  --font-size-lg: 1.1rem;
  --font-size-xl: 1.4rem;
  --font-size-2xl: 2rem;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --panel-min-width: 340px;
  --header-height: 56px;
  --sidebar-width: 260px;
  --max-content-width: 1400px;
}
