/* SpamCipher Design Tokens — Min8T Design System */

:root {
  /* Colors — Light Mode */
  --color-background: #ffffff;
  --color-surface: #fafafa;
  --color-surface-hover: #f5f5f5;
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #6b6b6b;
  --color-text-tertiary: #9e9e9e;
  --color-text-on-accent: #ffffff;
  --color-border-light: #f0f0f0;
  --color-border-medium: #e0e0e0;
  --color-border-strong: #c8c8c8;
  --color-accent-primary: #0066ff;
  --color-accent-hover: #0052cc;
  --color-accent-active: #0041a8;
  --color-accent-light: #e6f2ff;
  --color-success: #00c853;
  --color-warning: #ff9800;
  --color-error: #f44336;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;

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

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
}

/* Dark Mode */
[data-theme="dark"] {
  --color-background: #1e1e1e;
  --color-surface: #2a2a2a;
  --color-surface-hover: #333333;
  --color-text-primary: #e0e0e0;
  --color-text-secondary: #a0a0a0;
  --color-text-tertiary: #707070;
  --color-text-on-accent: #ffffff;
  --color-border-light: #333333;
  --color-border-medium: #3a3a3a;
  --color-border-strong: #4a4a4a;
  --color-accent-primary: #3399ff;
  --color-accent-hover: #1a8cff;
  --color-accent-active: #0080ff;
  --color-accent-light: #1a2e45;
  --color-success: #00e676;
  --color-warning: #ffb74d;
  --color-error: #ef5350;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.3);
}
