/**
 * AlumaVerse design tokens — B2B SaaS dashboard palette
 * Reference with var(--token-name) in components.css
 */
:root {
  /* Primary actions (SaaS interactive blue) */
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-primary-subtle: #eff6ff;
  --color-primary-border: #bfdbfe;

  /* Brand (AlumaVerse — nav accents, industrial identity) */
  --color-brand: #434242;
  --color-brand-hover: #323636;
  --color-brand-muted: #5a5a5a;
  --color-brand-tint: #f4f4f5;
  --color-brand-subtle: #fafafa;

  /* Backgrounds */
  --color-bg-page: #f1f5f9;
  --color-bg-page-saved: #e2e8f0;
  --color-bg-surface: #ffffff;
  --color-bg-subtle: #f8fafc;
  --color-bg-muted: #f1f5f9;
  --color-bg-panel-header: #e5e5e5;
  --color-bg-hover: #f8fafc;
  --color-bg-canvas: #f8fafc;
  --color-accent-soft: #e2e8f0;

  /* Text */
  --color-text: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #64748b;
  --color-text-on-brand: #ffffff;
  --color-text-on-primary: #ffffff;
  --color-text-link: #2563eb;
  --color-text-link-hover: #1d4ed8;

  /* Borders */
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;
  --color-border-panel: #737373;
  --color-border-focus: #2563eb;

  /* Status */
  --color-success: #16a34a;
  --color-success-bg: #f0fdf4;
  --color-success-border: #bbf7d0;
  --color-danger: #dc2626;
  --color-danger-bg: #fef2f2;
  --color-danger-border: #fecaca;
  --color-warning: #d97706;
  --color-warning-bg: #fffbeb;
  --color-warning-border: #fde68a;
  --color-info: #0284c7;
  --color-info-bg: #f0f9ff;
  --color-info-border: #bae6fd;

  /* Overlay */
  --color-overlay: rgba(15, 23, 42, 0.5);

  /* PDF chrome */
  --color-pdf-header: #0f172a;

  /* Product railing finishes (estimator Step 2) */
  --color-railing-bronze: #a0522d;
  --color-railing-black: #000000;
  --color-railing-white: #ffffff;
  --color-railing-custom: #cccccc;

  /* Typography */
  --font-family-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-family-mono: "SF Mono", "Cascadia Code", "Consolas", monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.8125rem;
  --font-size-md: 0.875rem;
  --font-size-lg: 1rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --letter-spacing-label: 0.05em;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Layout */
  --container-max-width: 1280px;
  --content-narrow-max-width: 800px;
  --auth-card-max-width: 420px;
  --nav-height: 56px;

  /* Shape */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-panel: 6px;
  --radius-full: 9999px;
  --border-width: 1px;
  --border-width-thick: 2px;

  /* Shadows (subtle SaaS elevation) */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-panel: 0 2px 4px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-focus: 0 0 0 3px rgba(37, 99, 235, 0.2);

  /* Motion */
  --transition-fast: 0.12s ease;
  --transition-normal: 0.18s ease;
  --transition-slow: 0.3s ease-in-out;

  /* Z-index */
  --z-base: 1;
  --z-sticky: 100;
  --z-dropdown: 200;
  --z-prompt: 1000;
  --z-overlay: 9999;
  --z-toast: 10000;

  /* Opacity */
  --opacity-disabled: 0.5;
  --opacity-overlay: 0.5;

  /* Breakpoints */
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
}
