/*!
 * sbomify Design Tokens
 * Core design system variables
 */

:root {
  /* ===== CORE BRAND COLORS ===== */
  --brand-primary: #3b7ddd;
  --brand-secondary: #6c757d;
  --brand-success: #1cbb8c;
  --brand-danger: #dc3545;
  --brand-warning: #fcb92c;
  --brand-info: #17a2b8;

  /* ===== NEUTRAL COLORS ===== */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f5f9;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;

  /* ===== SEMANTIC COLOR SYSTEM ===== */
  --text-primary: #495057;
  --text-secondary: #6c757d;
  --text-muted: #7c8b9d;
  --text-title: #1f2937;
  --text-link: #3b7ddd;
  --text-link-hover: #2f64b1;

  --bg-primary: #f9fbfd;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f8f9fa;
  --bg-glass: rgba(255, 255, 255, 0.8);

  --border-color: #e5e7eb;
  --border-color-light: #f0f0f0;
  --border-color-dark: #d1d9e2;

  /* ===== COMPONENT COLORS ===== */
  --nav-background: #e8e8e8;
  --sidebar-background: var(--bg-glass);
  --active-background: #7c8b9d;
  --form-control-border: #d1d9e2;

  /* ===== TYPOGRAPHY ===== */
  --font-family-primary: "Inter", "Helvetica Neue", Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --font-family-brand: "Agrandir", var(--font-family-primary);
  --font-family-mono: SFMono-Regular, Monaco, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 0.875rem;
  --font-size-lg: 1rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;

  /* ===== SPACING SYSTEM ===== */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;

  /* ===== BORDER RADIUS ===== */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;

  /* ===== SHADOWS ===== */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  /* ===== Z-INDEX SCALE ===== */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1050;
  --z-modal: 1055;
  --z-tooltip: 1070;

  /* ===== TRANSITIONS ===== */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;
}

/* Dark mode variables */
@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-title: #f1f5f9;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --border-color: #334155;
    --border-color-light: #475569;
    --shadow-sm: rgba(0, 0, 0, 0.3);
    --shadow-md: rgba(0, 0, 0, 0.15);
  }
}