:root {
  --color-bg: #ffffff;
  --color-surface: #f7f7f8;
  --color-text: #111111;
  --color-text-muted: #555555;
  --color-border: #e5e7eb;

  --color-primary: #2563eb; /* azul */
  --color-danger: #dc2626;  /* rojo */
  --color-warning: #d97706; /* ámbar */
  --color-success: #16a34a; /* verde */
  --color-primary-muted: #60a5fa55;

  --radius-sm: 6px;
  --radius-md: 8px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0b0c0f;
    --color-surface: #14161a;
    --color-text: #e6e7eb;
    --color-text-muted: #a1a1aa;
    --color-border: #26272b;

    --color-primary: #60a5fa;
    --color-danger: #f87171;
    --color-warning: #fbbf24;
    --color-success: #34d399;
    --color-primary-muted: #60a5fa55;
  }
}
