/* POSOman 2026 Premium SaaS – design tokens */

:root {
  /* Typography – Inter */
  --pos-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --pos-font-weight-medium: 500;
  --pos-font-weight-semibold: 600;

  /* Primary scale (anchor #216b97) */
  --pos-primary-50: #eff6fa;
  --pos-primary-100: #d6ebf4;
  --pos-primary-400: #38a2b9;
  --pos-primary: #216b97;
  --pos-primary-600: #216b97;
  --pos-primary-700: #1a5680;

  /* Neutrals (cool gray) */
  --pos-gray-50: #f9fafb;
  --pos-gray-100: #f3f4f6;
  --pos-gray-200: #e5e7eb;
  --pos-gray-300: #d1d5db;
  --pos-gray-500: #6b7280;
  --pos-gray-600: #4b5563;
  --pos-gray-700: #374151;
  --pos-gray-900: #111827;

  /* Surfaces */
  --pos-page-bg: var(--pos-gray-50);
  --pos-surface: #ffffff;

  /* Elevation */
  --pos-shadow-raised: 0 1px 2px rgba(0, 0, 0, 0.04);
  --pos-shadow-overlay: 0 4px 12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);

  /* Semantic */
  --pos-error: #dc2626;
  --pos-error-light: #fef2f2;

  /* Legacy / compatibility */
  --pos-header-bg: #216b97;
  --pos-gradient: linear-gradient(90deg, #216b97 0%, #38a2b9 100%);
  --pos-border: var(--pos-gray-200);
  --pos-border-strong: var(--pos-gray-300);
  --pos-border-input: var(--pos-gray-300);
  --pos-text: var(--pos-gray-700);
  --pos-text-secondary: var(--pos-gray-500);
  --pos-heading: var(--pos-gray-900);
  --pos-text-muted: var(--pos-gray-500);

  /* Spacing (8px grid) */
  --space-0: 0;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;

  /* Layout */
  --header-height: 56px;
  --sidebar-width: 260px;
  --sidebar-width-collapsed: 72px;
  --sidebar-inset: 0;
  --content-margin-left: var(--sidebar-width);
  --content-margin-left-collapsed: var(--sidebar-width-collapsed);
}
