/* Applyfin design tokens v1.1. Light mode only. */
:root {
  /* Colour */
  --af-primary: #0D65D9;
  --af-primary-hover: #0A51AE;
  --af-primary-band: #0A5DCB;      /* bottom band inside a blue inset card */
  --af-primary-tint: #E6F1FC;
  --af-primary-light: #99C7F3;
  --af-foreground: #031B3A;        /* text + navy CTA surface */
  --af-background: #FFFFFF;
  --af-global-background: #F5F5F5; /* shell */
  --af-list-background: #F5F8FB;
  --af-muted: #F1F5F9;
  --af-border: #E2E8F0;
  --af-muted-foreground: #64748B;
  --af-body-secondary: #475569;
  --af-success: #16a34a;
  --af-warning: #f59e0b;
  --af-attention: #ea580c;
  --af-destructive: #dc2626;
  --af-destructive-hover: #b91c1c;

  /* Badges: fill / border / text */
  --af-badge-info-bg: #E6F1FC;     --af-badge-info-border: #99C7F3;     --af-badge-info-fg: #0A51AE;
  --af-badge-success-bg: #F0FDF4;  --af-badge-success-border: #BBF7D0;  --af-badge-success-fg: #15803d;
  --af-badge-warning-bg: #FFFBEB;  --af-badge-warning-border: #FDE68A;  --af-badge-warning-fg: #b45309;
  --af-badge-danger-bg: #FEF2F2;   --af-badge-danger-border: #FECACA;   --af-badge-danger-fg: #b91c1c;
  --af-badge-neutral-bg: #F1F5F9;  --af-badge-neutral-border: #E2E8F0;  --af-badge-neutral-fg: #475569;

  /* Type */
  --af-font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --af-font-mono: 'Geist Mono', ui-monospace, monospace;

  /* Radius */
  --af-radius-xs: 4px;
  --af-radius-sm: 6px;
  --af-radius: 8px;
  --af-radius-lg: 12px;

  /* Inset layout */
  --af-inset-margin: 16px;
  --af-inset-radius: 12px;
  --af-inset-padding-x: 64px;
  --af-inset-padding-y: 72px;
  --af-inset-max-width: 1536px;    /* nav + cards stop here, centred; matches Tailwind's 2xl container */

  /* Shadows */
  --af-shadow-sm: 0 1px 2px rgba(3,27,58,0.06);
  --af-shadow-lg: 0 12px 32px -8px rgba(3,27,58,0.18);
  --af-shadow-search: 0 24px 48px -16px rgba(3,27,58,0.35);
  --af-shadow-screenshot: 0 30px 80px -30px rgba(13,101,217,0.30);
  --af-focus-ring: 0 0 0 3px #99C7F3;
}
