/* Proxiva design tokens v1 — use these in the Laravel app and the website.
   Contrast ratios are WCAG 2.x, measured against the background named in the comment. */
:root {
  /* Brand */
  --px-navy:        #1F2A44;  /* headings, body text, sidebar, logo letters   (14.3:1 on white) */
  --px-blue:        #3B6EF5;  /* brand blue: swoosh, icons, charts, focus ring, large UI */
  --px-blue-action: #2F58D4;  /* buttons, links, active states (white text 6.1:1) */
  --px-blue-hover:  #2548B0;  /* hover / pressed for action blue */
  --px-orange:      #FF6B35;  /* accent only: coin, highlights, badges. Never small text on white */
  --px-orange-ink:  #A83A0E;  /* orange used as TEXT on light backgrounds (5.8:1 on orange tint) */
  --px-blue-on-dark:#6F96FF;  /* blue links/icons/swoosh on navy (5.1:1) */

  /* Neutrals */
  --px-bg:          #F4F6FB;  /* app/page background */
  --px-surface:     #FFFFFF;  /* cards, tables, modals */
  --px-border:      #B4BFD3;  /* default borders, dividers */
  --px-border-strong:#8D9BB5; /* inputs, table outlines, focus-less controls (2.8:1 on white) */
  --px-text:        #1F2A44;  /* primary text */
  --px-text-muted:  #5B6B85;  /* secondary text, labels (5.4:1 on white, 5.0:1 on bg) */
  --px-text-faint:  #9AA5B8;  /* placeholder, disabled, decoration ONLY (2.5:1, not for reading) */

  /* Tints (backgrounds for badges, selected rows, alerts) */
  --px-blue-50:     #E8EEFF;
  --px-blue-100:    #D3DFFF;
  --px-orange-50:   #FFF0E8;
  --px-orange-100:  #FFDCC9;

  /* Status: solid = icons/fills, ink = text, tint = background */
  --px-success:       #2BB673;  --px-success-ink: #166B45;  --px-success-tint: #E8F7F0;
  --px-warning:       #F2A900;  --px-warning-ink: #8A5A00;  --px-warning-tint: #FFF4DC;
  --px-danger:        #E5484D;  --px-danger-ink:  #B42318;  --px-danger-tint:  #FDECEC;
  --px-info:          #3B6EF5;  --px-info-ink:    #2F58D4;  --px-info-tint:    #E8EEFF;

  /* Dark surfaces (sidebar, dark mode) */
  --px-dark-bg:      #1F2A44;
  --px-dark-surface: #243049;  /* cards on navy */
  --px-dark-border:  #3A4864;
  --px-dark-text:    #FFFFFF;
  --px-dark-muted:   #B7C2DA;  /* 8.0:1 on navy */

  /* Type */
  --px-font:        'Poppins', 'Nirmala UI', 'Noto Sans Devanagari', system-ui, sans-serif;
  --px-radius-sm: 8px; --px-radius: 12px; --px-radius-lg: 20px;
  --px-focus: 0 0 0 3px rgba(59,110,245,.35);
}
