/* ============================================
   P2P DESIGN SYSTEM — CSS CUSTOM PROPERTIES
   ============================================ */

:root {
  /* ── Primary Palette ── */
  --color-primary: #240046;
  --color-primary-light: #3C096C;
  --color-primary-lighter: #5A189A;
  --color-primary-dark: #10002B;
  --color-accent: #7B2FF6;
  --color-accent-light: #9D4EDD;
  --color-accent-glow: rgba(123, 47, 246, 0.3);

  /* ── Background Palette ── */
  --color-bg-primary: #F0F8FF;
  --color-bg-secondary: #E8F0FE;
  --color-bg-card: #FFFFFF;
  --color-bg-hover: #F5F8FF;
  --color-bg-input: #F8FAFF;
  --color-bg-modal: rgba(16, 0, 43, 0.6);
  --color-bg-dark: #240046;

  /* ── Text Colors ── */
  --color-text-primary: #1A1A2E;
  --color-text-secondary: #4A4A6A;
  --color-text-muted: #8888A8;
  --color-text-inverse: #FFFFFF;
  --color-text-link: #5A189A;

  /* ── Status Colors ── */
  --color-success: #10B981;
  --color-success-bg: #ECFDF5;
  --color-warning: #F59E0B;
  --color-warning-bg: #FFFBEB;
  --color-danger: #EF4444;
  --color-danger-bg: #FEF2F2;
  --color-info: #3B82F6;
  --color-info-bg: #EFF6FF;

  /* ── Category Colors ── */
  --color-qa: #7B2FF6;
  --color-sell: #10B981;
  --color-buy: #3B82F6;
  --color-need: #F59E0B;
  --color-lost: #EF4444;
  --color-found: #06B6D4;
  --color-teamup: #EC4899;

  /* ── Borders ── */
  --border-color: #E2E8F0;
  --border-color-hover: #CBD5E1;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 20px;
  --border-radius-full: 50%;

  /* ── Shadows ── */
  --shadow-xs: 0 1px 2px rgba(36, 0, 70, 0.04);
  --shadow-sm: 0 2px 8px rgba(36, 0, 70, 0.06);
  --shadow-md: 0 4px 16px rgba(36, 0, 70, 0.08);
  --shadow-lg: 0 8px 32px rgba(36, 0, 70, 0.12);
  --shadow-xl: 0 16px 48px rgba(36, 0, 70, 0.16);
  --shadow-glow: 0 0 20px rgba(123, 47, 246, 0.2);

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

  /* ── Typography ── */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* ── Layout ── */
  --navbar-height: 64px;
  --sidebar-width: 240px;
  --chat-panel-width: 360px;
  --content-max-width: 1200px;

  /* ── Transitions ── */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
