/* ==========================================================================
   Synergy Design System — Design Tokens
   Source: https://www.figma.com/design/93I4Lg8lJniLg8KQBebdDt/Synergy-Design-System

   These CSS custom properties are the single source of truth for design tokens.
   They are referenced by the Tailwind theme config in base.html.
   ========================================================================== */

:root {
  /* Brand */
  --core-brand-primary: #0D5E6D;
  --core-brand-secondary: #148B9D;

  /* Surfaces */
  --surface-white: #FFFFFF;
  --surface-neutral-primary: #F5F5F5;
  --surface-neutral-secondary: #EBEBEB;
  --surface-brand-primary: #0D5E6D;

  /* Text */
  --text-primary: #1A1A1A;
  --text-secondary: #666666;
  --text-tertiary: #999999;
  --text-on-color: #FFFFFF;
  --text-disabled: #BDBDBD;
  --text-error: #991B1B;

  /* Borders */
  --border-neutral-primary: #E0E0E0;
  --border-neutral-subtle: #EEEEEE;
  --border-focused: #2563EB;
  --border-error: #DC2626;

  /* Semantic */
  --core-danger: #DC2626;
  --core-success: #16A34A;
  --core-warning: #D97706;
  --core-info: #2563EB;
  --surface-error: #FEF2F2;
  --surface-success: #F0FDF4;
  --surface-warning: #FFFBEB;
  --surface-info: #EFF6FF;

  /* Sidebar */
  --sidebar-width: 260px;
  --sidebar-bg: #0A4D5A;
  --sidebar-item-hover: rgba(255, 255, 255, 0.08);
  --sidebar-item-active: rgba(255, 255, 255, 0.15);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 150ms;
  --transition-normal: 250ms;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}
