/**
 * ILACM Design Tokens
 * Implements Executive SaaS Light & Midnight Pro Dark Themes from Figma Rn8oLQ5m5dswxusOb1E24C
 */

:root, [data-theme="light"] {
  /* Canvas & Surface Colors */
  --bg-canvas: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-hover: #F1F5F9;
  --bg-surface-subtle: #F8FAFC;
  --bg-sidebar: #FFFFFF;
  --bg-topbar: #FFFFFF;

  /* Borders & Dividers */
  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;
  --border-focus: #2563EB;

  /* Typography */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;

  /* Brand Colors */
  --brand-primary: #2563EB;
  --brand-primary-hover: #1D4ED8;
  --brand-primary-subtle: #EFF6FF;

  /* Status Colors */
  --color-success: #16A34A;
  --color-success-bg: #DCFCE7;
  --color-warning: #D97706;
  --color-warning-bg: #FEF3C7;
  --color-danger: #DC2626;
  --color-danger-bg: #FEE2E2;
  --color-info: #0284C7;
  --color-info-bg: #E0F2FE;

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);

  /* Geometry */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
}

[data-theme="dark"] {
  /* Canvas & Surface Colors */
  --bg-canvas: #0B0F19;
  --bg-surface: #111827;
  --bg-surface-hover: #1F2937;
  --bg-surface-subtle: #131B2E;
  --bg-sidebar: #0D121F;
  --bg-topbar: #0D121F;

  /* Borders & Dividers */
  --border-subtle: #1E293B;
  --border-strong: #334155;
  --border-focus: #3B82F6;

  /* Typography */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #0F172A;

  /* Brand Colors */
  --brand-primary: #3B82F6;
  --brand-primary-hover: #60A5FA;
  --brand-primary-subtle: #172554;

  /* Status Colors */
  --color-success: #22C55E;
  --color-success-bg: #052E16;
  --color-warning: #F59E0B;
  --color-warning-bg: #451A03;
  --color-danger: #EF4444;
  --color-danger-bg: #450A0A;
  --color-info: #38BDF8;
  --color-info-bg: #082F49;

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
}
