/* ═══════════════════════════════════════════════
   Patentify — Shared Design Tokens
   Single source of truth for all CSS variables.
   Imported by all modules to ensure consistency.
   ═══════════════════════════════════════════════ */

:root {
  /* ── Typography ── */
  --font-display: 'DM Serif Display', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Courier New', Courier, monospace;

  /* ── Palette: Dark Theme (default) ── */
  --bg-primary: #000000;
  --bg-surface: #0A0A0A;
  --bg-card: #0F0F0F;
  --bg-hover: rgba(148, 163, 184, 0.06);
  --bg-bar: #050505;

  --border: rgba(148, 163, 184, 0.10);
  --border-strong: rgba(148, 163, 184, 0.20);

  --text: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-faint: #64748B;

  /* ── Accent Colors (unified) ── */
  --accent: #2E8B7A;
  --accent-blue: #2563EB;
  --accent-amber: #D4A017;
  --accent-violet: #8B5CF6;
  --accent-red: #EF4444;
  --accent-green: #22C55E;
  --accent-cyan: #06B6D4;
  --accent-rose: #F43F5E;

  /* ── Semantic Tokens ── */
  --success: #22C55E;
  --warning: #D4A017;
  --danger: #EF4444;
  --info: #2563EB;

  /* ── Spacing & Radii ── */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* ── Transitions ── */
  --transition: 0.2s ease;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Light Theme Override ── */
[data-theme="light"] {
  --bg-primary: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-hover: rgba(148, 163, 184, 0.08);
  --bg-bar: #F1F5F9;

  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(148, 163, 184, 0.30);

  --text: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-faint: #94A3B8;
}
