/**
 * LifeOS Design System — Variables & Design Tokens
 * Direction: Minimal Modern Dark + Soft Indigo Accents
 */

:root {
  /* Brand & Core Color Palette */
  --bg-primary: #0F1117;
  --bg-sidebar: #151821;
  --bg-card: #1B1F2A;
  --bg-card-hover: #222736;
  --bg-input: #12151D;
  --bg-modal-backdrop: rgba(10, 12, 16, 0.75);

  /* Accents */
  --accent-primary: #818CF8;
  --accent-primary-hover: #6366F1;
  --accent-primary-subtle: rgba(129, 140, 248, 0.12);
  --accent-secondary: #A78BFA;
  --accent-secondary-hover: #8B5CF6;
  --accent-secondary-subtle: rgba(167, 139, 250, 0.12);

  /* Typography Colors */
  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --text-inverse: #0F1117;

  /* Feedback & Semantic States */
  --success: #34D399;
  --success-subtle: rgba(52, 211, 153, 0.12);
  --warning: #FBBF24;
  --warning-subtle: rgba(251, 191, 36, 0.12);
  --danger: #F87171;
  --danger-subtle: rgba(248, 113, 113, 0.12);
  --info: #60A5FA;
  --info-subtle: rgba(96, 165, 250, 0.12);

  /* Borders & Dividers */
  --border: #2A2F3A;
  --border-subtle: #212631;
  --border-focus: #818CF8;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.84375rem; /* 13.5px */
  --font-size-base: 0.9375rem;/* 15px */
  --font-size-md: 1.0625rem;  /* 17px */
  --font-size-lg: 1.25rem;    /* 20px */
  --font-size-xl: 1.5rem;     /* 24px */
  --font-size-2xl: 1.75rem;   /* 28px */

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

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;

  /* Spacing Scale */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 16px rgba(129, 140, 248, 0.15);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 220ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout Dimensions */
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 72px;
  --header-height: 64px;
  --z-sidebar: 100;
  --z-header: 90;
  --z-overlay: 110;
  --z-modal: 120;
  --z-dropdown: 105;
}
