/* Modernus CRM — Design Tokens */
/* Notion-inspired clean aesthetic */

:root {
  /* Colors — neutral base */
  --bg-primary: #ffffff;
  --bg-secondary: #f7f7f5;
  --bg-tertiary: #f0f0ee;
  --bg-hover: #ebebea;
  --bg-active: #e3e3e1;
  --bg-sidebar: #f7f7f5;

  /* Text */
  --text-primary: #37352f;
  --text-secondary: #6b6b6b;
  --text-tertiary: #9b9b9b;
  --text-inverse: #ffffff;

  /* Borders */
  --border-light: #e9e9e7;
  --border-medium: #d3d3d1;
  --border-focus: #2383e2;

  /* Accent — Modernus brand */
  --accent-primary: #2383e2;
  --accent-hover: #1b6ec2;
  --accent-light: #e8f0fe;

  /* Semantic colors */
  --color-you: #2383e2;         /* Blue — human actions */
  --color-you-bg: #e8f0fe;
  --color-auto: #0f7b6c;        /* Green — automated */
  --color-auto-bg: #e6f4f1;
  --color-urgent: #eb5757;       /* Red — urgent */
  --color-urgent-bg: #fde8e8;
  --color-review: #9b9b9b;      /* Gray — review */
  --color-review-bg: #f0f0ee;

  /* ICP tiers */
  --color-hot: #eb5757;
  --color-warm: #f2994a;
  --color-cold: #9b9b9b;

  /* Pipeline stage colors */
  --stage-prospect: #9b9b9b;
  --stage-contacted: #2383e2;
  --stage-replied: #f2994a;
  --stage-engaged: #6fcf97;
  --stage-meeting: #bb6bd9;
  --stage-xray: #f2c94c;
  --stage-won: #27ae60;
  --stage-lost: #eb5757;
  --stage-noshow: #eb5757;
  --stage-nurture: #9b9b9b;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Menlo, Consolas, monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.875rem;
  --text-lg: 1rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --line-height: 1.5;

  /* Radius */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  /* Layout */
  --sidebar-width: 240px;
  --header-height: 48px;
  --kanban-card-width: 280px;
  --kanban-column-width: 300px;

  /* Transitions */
  --transition-fast: 120ms ease;
  --transition-normal: 200ms ease;
}
