/*
 * Shared design tokens for Exactun. This is the single source of truth for
 * the token vocabulary used by both the customer app and the backoffice
 * engine. The values below are the customer-app (indigo/gold) theme;
 * design_system/tokens_backoffice.css overrides a subset of these for the
 * burnt-orange staff theme. Keep both files loaded, tokens.css first.
 */

:root {
  /* Customer-app theme colors */
  --color-page: #f4f3f8;
  --color-surface: #ffffff;
  --color-ink: #211d38;
  --color-muted: #676178;
  --color-muted-soft: #8b84a0;
  --color-header-meta: #4a4560;
  --color-border: #ded9cd;
  --color-border-soft: rgba(36, 31, 89, 0.08);
  --color-border-strong: rgba(36, 31, 89, 0.22);
  --color-primary: #241f59;
  --color-primary-strong: #17123f;
  --color-accent: #9d7c37;
  --color-avatar-bg: #e8e5f3;
  --color-avatar-text: #302a5c;

  /* Flash / notice colors */
  --color-alert-bg: #fff0f0;
  --color-alert-border: #edb8b8;
  --color-alert-text: #9b2727;
  --color-notice-bg: #f8f4e9;
  --color-notice-border: #d9c48f;
  --color-notice-text: #6f5521;

  /* Status colors (badges, pills) */
  --color-success-bg: #e8f7ef;
  --color-success-border: #b7e4cb;
  --color-success-text: #17603a;
  --color-warning-bg: #fff4cc;
  --color-warning-border: #e8cf80;
  --color-warning-text: #6f4e00;
  --color-danger-bg: #fde8ee;
  --color-danger-border: #f3b9c8;
  --color-danger-text: #8a1f38;
  --color-info-bg: #f3e8ff;
  --color-info-border: #d9b9f5;
  --color-info-text: #5a2a75;

  /* Shadows and focus */
  --shadow-panel: 0 24px 70px rgba(36, 31, 89, 0.16);
  --shadow-button: 0 6px 16px -8px rgba(36, 31, 89, 0.6);
  --focus-ring: 3px solid rgba(157, 124, 55, 0.45);

  /* Spacing scale (observed ad hoc steps, not a mathematical scale) */
  --space-1: 6px;
  --space-2: 8px;
  --space-3: 10px;
  --space-4: 12px;
  --space-5: 14px;
  --space-6: 16px;
  --space-7: 18px;
  --space-8: 28px;

  /* Radius scale */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  /* Font-size scale */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.8125rem;
  --font-size-base: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
}
