/* Taxelyst design tokens. Colours are sampled from the Taxelyst logo (navy + green).
   Change a value here and it changes in both panels. Light theme only. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand navy (logo wordmark "Tax") */
  --navy-950: #071c33;
  --navy-900: #0a2540;
  --navy-800: #0d2f52;
  --navy-700: #174269;
  --navy-600: #2a5a87;
  --navy-200: #c9d8e8;
  --navy-100: #e3ecf5;
  --navy-50:  #f1f6fb;

  /* Brand green (logo "elyst" + upward bars) */
  --green-800: #0e4f40;
  --green-700: #115c49;
  --green-600: #146c57;
  --green-500: #1f8a6c;
  --green-400: #3da77f;
  --green-300: #7cc9a6;
  --green-200: #bfe6d3;
  --green-100: #dcf2e7;
  --green-50:  #eff9f4;

  /* Accents used for icon tiles, charts and status */
  --blue-600: #2f7de1;  --blue-100: #dbe9fb;  --blue-50: #eef5fe;
  --amber-600: #e8920c; --amber-100: #fdecc8; --amber-50: #fff8e8;
  --red-600: #e0453f;   --red-100: #fbdcda;   --red-50: #fff1f0;
  --violet-600: #6f5be8; --violet-100: #e6e1fc; --violet-50: #f4f2ff;
  --teal-600: #0e9aa7;  --teal-100: #d3f1f4;

  /* Neutrals */
  --bg: #f3f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e4eaf1;
  --border-strong: #d2dbe6;
  --text: #0f1f33;
  --text-2: #4a5b70;
  --text-3: #7a8a9e;

  /* Shape and depth */
  --r-xs: 6px;
  --r-sm: 9px;
  --r-md: 12px;
  --r-lg: 16px;
  --shadow-xs: 0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.06), 0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow-md: 0 10px 28px -8px rgba(10, 37, 64, 0.16), 0 2px 6px rgba(10, 37, 64, 0.05);
  --shadow-lg: 0 28px 60px -14px rgba(10, 37, 64, 0.28);
  --ring: 0 0 0 3px rgba(31, 138, 108, 0.22);

  /* Layout */
  --sidebar-w: 232px;
  --header-h: 58px;
  --font: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Gradients */
  --grad-active: linear-gradient(90deg, #e4f5cf 0%, #cdeee0 52%, #d5e8f8 100%);
  --grad-brand: linear-gradient(135deg, var(--navy-800), var(--green-600));
}

/* Admin panel: same brand, deeper navy accents so the two panels are easy to tell apart. */
body[data-panel="admin"] {
  --grad-active: linear-gradient(90deg, #dbe6f5 0%, #d3ecf1 55%, #d8f1e3 100%);
}
