/* ==========================================================================
   DMS DRIVE MANAGER - DESIGN SYSTEM & THEME TOKENS
   Video Production Suite Dark Theme (Inspired by DaVinci Resolve & Pro Suites)
   ========================================================================== */

:root {
  /* Color Palette - Flat Core Surfaces (Deep Black & Neutral Grays) */
  --bg-app: #08080a;
  --bg-surface: #0f0f13;
  --bg-surface-elevated: #16161c;
  --bg-surface-card: #121216;
  --bg-surface-hover: #1c1c22;
  --bg-surface-active: #24242c;
  --bg-glass: rgba(15, 15, 19, 0.96);
  --bg-glass-card: rgba(18, 18, 22, 0.96);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-default: rgba(255, 255, 255, 0.14);
  --border-highlight: rgba(255, 187, 0, 0.5);
  --border-accent: #ffbb00;

  /* Typography Colors (Grayscale + Yellow Accent) */
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-muted: #6b6b76;
  --text-accent: #ffbb00;

  /* Accent Colors & Brand Signals (Yellow #ffbb00 as key highlight, flat tones) */
  --accent-yellow: #ffbb00;
  --accent-yellow-hover: #e6a800;
  --accent-yellow-dim: rgba(255, 187, 0, 0.12);
  --accent-cyan: #ffbb00;
  --accent-blue: #71717a;
  --accent-purple: #71717a;
  --accent-emerald: #10b981;
  --accent-amber: #ffbb00;
  --accent-rose: #ef4444;
  --accent-crimson: #ef4444;

  /* Flat Status Colors (NO Gradients) */
  --gradient-safe: #ffbb00;
  --gradient-warning: #f59e0b;
  --gradient-critical: #ef4444;
  --gradient-accent: #ffbb00;
  --gradient-card-glow: none;

  /* Shadows (Flat & Deep) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.85);
  --shadow-glow: none;

  /* Layout Dimensions */
  --header-height: 64px;
  --sidebar-width: 290px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Styles & Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-app);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-app);
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Selection */
::selection {
  background: #ffbb00;
  color: #08080a;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
