/* CSS Variables derived from style-config.js */

/* Base variables - shared across themes */
:root {
  /* Border radius */
  --radius-none: 0;
  --radius-sm: 0.125rem;
  --radius: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;

  /* Light theme (default) */
  --color-primary: #3b82f6;
  --color-primary-hover: #2563eb;
  --color-secondary: #7c3aed;
  --color-secondary-hover: #6d28d9;
  --color-background: #f8f8fa;
  --color-background-end: #ffffff;
  --color-card: #ffffff;
  --color-text: #000000;
  --color-text-secondary: #6b7280;
  --color-border: #e5e7eb;
  --color-footer: #1f2937;

  /* Status colors - Light theme */
  --color-success-bg: #dcfce7;
  --color-success-text: #166534;
  --color-warning-bg: #fef3c7;
  --color-warning-text: #92400e;
  --color-error-bg: #fee2e2;
  --color-error-text: #b91c1c;
  --color-info-bg: #dbeafe;
  --color-info-text: #1e40af;

  /* Shadows - shared with light theme defaults */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.1),
    0 2px 8px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Dark theme */
.dark {
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-secondary: #6d28d9;
  --color-secondary-hover: #5b21b6;
  --color-background: #0f172a;
  --color-background-end: #111827;
  --color-card: #1f2937;
  --color-text: #ffffff;
  --color-text-secondary: #9ca3af;
  --color-border: #374151;
  --color-footer: #0f172a;

  /* Status colors - Dark theme */
  --color-success-bg: rgba(22, 101, 52, 0.3);
  --color-success-text: #86efac;
  --color-warning-bg: rgba(146, 64, 14, 0.3);
  --color-warning-text: #fde68a;
  --color-error-bg: rgba(185, 28, 28, 0.3);
  --color-error-text: #fca5a5;
  --color-info-bg: rgba(30, 64, 175, 0.3);
  --color-info-text: #93c5fd;

  /* Shadows for dark mode */
  --shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.3),
    0 2px 8px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3),
    0 4px 6px -2px rgba(0, 0, 0, 0.25);
}

