/* APDEV Shopify apps - design tokens.
 *
 * COPY THIS FILE VERBATIM into every new app. Do not re-derive the values, do not "improve" them:
 * identical tokens across apps are the whole point, and a drifting palette is invisible until two
 * apps sit side by side in the same Shopify Admin.
 *
 * PHP stack   -> public/assets/css/design-tokens.css
 * Remix stack -> app/styles/design-tokens.css
 *
 * Canonical source of the palette: ../../docs/UI-ADMIN-SHELL.md, itself derived from
 * brand/apdev/shopify/design-system-shopify-apdev.md + the Revolut visual override.
 */
:root {
  /* Primary */
  --color-dark: #191c1f;
  --color-white: #ffffff;
  --color-surface: #f4f4f4;

  /* Brand / Interactive */
  --color-blue: #494fdf;
  --color-action-blue: #4f55f1;
  --color-blue-text: #376cd5;

  /* Semantic */
  --color-danger: #e23b4a;
  --color-deep-pink: #e61e49;
  --color-warning: #ec7e00;
  --color-yellow: #b09000;
  --color-teal: #00a87e;
  --color-light-green: #428619;
  --color-light-blue: #007bc2;
  --color-brown: #936d62;

  /* Neutral scale */
  --color-text-primary: #191c1f;
  --color-text-secondary: #505a63;
  --color-text-muted: #8d969e;
  --color-border: #c9c9cd;
  --color-text-on-dark: #ffffff;

  /* Aliases kept for backward compatibility with existing apps */
  --color-brand-dark: #191c1f;
  --color-card: #ffffff;
  --color-status-active: #191c1f;
  --color-status-inactive: #8d969e;

  /* Typography */
  --font-display: 'Aeonik Pro', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family: var(--font-body);

  /* Font sizes */
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 32px;
  --font-size-4xl: 48px;
  --font-size-hero: 80px;

  /* Layout */
  --sidebar-width: 220px;
  --sidebar-collapsed-width: 64px;

  /* Spacing - Revolut scale */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 80px;
  --spacing-4xl: 120px;

  /* Border radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-btn: 9999px;

  /* Shadows: none - flat design on purpose */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background: var(--color-white);
}
