/* CSS Custom Properties for Dashboard */
:root {
  /* Primary Colors */
  --bg-primary: #18191c;
  --bg-secondary: #2c2f36;
  --bg-tertiary: #36393f;
  --border-color: #404040;
  --text-primary: #fff;
  --text-secondary: #e5e7eb;
  --text-muted: #b8b8b8;
  
  /* Accent Colors */
  --accent-primary: #5865f2;
  --accent-success: #4caf50;
  --accent-warning: #ff9800;
  --accent-danger: #ef4444;
  
  /* Component States */
  --hover-bg: rgba(255, 255, 255, 0.1);
  --active-bg: rgba(255, 255, 255, 0.15);
  --disabled-bg: rgba(255, 255, 255, 0.05);
  --disabled-text: rgba(255, 255, 255, 0.3);
  
  /* Spacing System */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;

  /* Layout */
  --sidebar-width: 300px;
  --content-padding: 20px;
  --content-padding-mobile: 16px;
  --sidebar-toggle-width: 22px;
  --sidebar-toggle-height: 38px;
  --sidebar-toggle-top: 80px;
  --sidebar-toggle-radius: 10px;
  --sidebar-toggle-radius-wide: 12px;
  --sidebar-toggle-top-mobile: 16px;
  --sidebar-toggle-left-mobile: 16px;
  --layout-gap: 20px;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.35s ease;
  
  /* Typography */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-xxl: 1.5rem;
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* Dark theme specific overrides */
@media (prefers-color-scheme: dark) {
  :root {
    /* Enhanced contrast for dark mode */
    --text-primary: #ffffff;
    --text-secondary: #f0f0f0;
    --border-color: #505050;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-color: #606060;
    --text-muted: #d0d0d0;
  }
}
