:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-alt: #f0f1f5;
  --text: #1a1c20;
  --text-muted: #5d6470;
  --border: #d9dce3;
  --code-bg: #eceef3;

  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-contrast: #ffffff;

  --success: #16a34a;
  --success-bg: #dcfce7;
  --success-border: #86efac;

  --error: #dc2626;
  --error-bg: #fee2e2;
  --error-border: #fca5a5;

  --warn: #ca8a04;
  --warn-bg: #fef9c3;

  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  --radius: 12px;
}

[data-theme="dark"] {
  --bg: #0f1115;
  --surface: #181b22;
  --surface-alt: #20242d;
  --text: #e6e8ec;
  --text-muted: #9aa2b1;
  --border: #2a2f3a;
  --code-bg: #20242d;

  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --primary-contrast: #ffffff;

  --success: #22c55e;
  --success-bg: #052e1a;
  --success-border: #166534;

  --error: #ef4444;
  --error-bg: #3f1212;
  --error-border: #7f1d1d;

  --warn: #eab308;
  --warn-bg: #3a2e08;

  --shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
}
