/*
 * Theme: Midnight
 * Ultra-dark night sky — soft blues, gentle purples, easy on the eyes
 * Designed for low-light / bedtime use
 * Author: Tracker Team
 */

[data-theme="midnight"] {
  /* Backgrounds — very dark with slight blue undertone */
  --bg-app: #0b0e17;
  --bg-app-secondary: #0f1320;
  --bg-card: rgba(14, 18, 30, 0.85);
  --bg-card-solid: #111628;
  --bg-card-hover: #181d32;
  --bg-sidebar: rgba(8, 11, 20, 0.95);
  --bg-input: rgba(12, 16, 28, 0.9);
  --bg-glass: rgba(10, 14, 24, 0.7);

  /* Text — soft, low contrast to reduce eye strain */
  --text-primary: #c8cfe0;
  --text-secondary: #7e89a4;
  --text-muted: #4a5270;
  --text-sidebar: #4a5270;
  --text-sidebar-active: #d0d8ea;
  --btn-text: #0b0e17;

  /* Accents — soft lavender / periwinkle */
  --accent: #8b9cf7;
  --accent-rgb: 139, 156, 247;
  --accent-hover: #a3b1fa;
  --accent-light: rgba(139, 156, 247, 0.1);
  --accent-glow: rgba(139, 156, 247, 0.15);
  --accent-secondary: #6366f1;
  --accent-secondary-rgb: 99, 102, 241;
  --accent-tertiary: #a78bfa;

  /* Sidebar */
  --sidebar-accent: linear-gradient(135deg, #8b9cf7, #6366f1);
  --sidebar-hover: rgba(139, 156, 247, 0.06);

  /* Semantic — muted tones */
  --success: #6ee7b7;
  --success-light: rgba(110, 231, 183, 0.1);
  --danger: #f87171;
  --danger-light: rgba(248, 113, 113, 0.1);
  --warning: #fbbf24;
  --warning-light: rgba(251, 191, 36, 0.1);
  --info: #7dd3fc;
  --info-light: rgba(125, 211, 252, 0.1);

  /* Borders — very subtle */
  --border: rgba(139, 156, 247, 0.06);
  --border-hover: rgba(139, 156, 247, 0.12);

  /* Shadows — gentle */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(139, 156, 247, 0.08);

  /* Radius — rounded, soft feel */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-xs: 5px;

  /* Fonts */
  --font-heading: 'Inter', -apple-system, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Space Mono', monospace;

  /* Effects — minimal, no harsh glows */
  --glass-blur: blur(12px) saturate(120%);
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;

  color-scheme: dark;
}
