/* ATLAS Access - brand layer for the NetBird dashboard.
   Brand: ATLAS (Academy system since 2026-10-12): black #0A0D14 + royal blue #5B8CFF.
   Colour remap of the bundle lives in the rewritten CSS chunks (gen.py); this file adds
   tokens and the few things the bundle hardcodes. Same-origin only (CSP: style-src 'self'). */
:root {
  --atlas-black: #0A0D14;
  --atlas-surface: #0D111A;
  --atlas-stroke: #1B2334;
  --atlas-blue: #5B8CFF;
  --atlas-blue-hover: #3F73F0;
  --atlas-link: #8FB0FF;
  --atlas-text: #EEF2FA;
  --atlas-on-accent: #070A12;
  color-scheme: dark;
}
html, body { background-color: var(--atlas-black); }
::selection { background: rgba(91, 140, 255, .35); color: var(--atlas-text); }
:focus-visible { outline-color: var(--atlas-blue); }
* { scrollbar-color: #2A3448 transparent; }

/* Primary actions: black text on royal blue (white on #5B8CFF is ~3.2:1). */
button[class*="enabled:bg-netbird"]:enabled,
button[class*="enabled:dark:bg-netbird"]:enabled,
a[class*="enabled:dark:bg-netbird"],
.bg-netbird.text-white,
.bg-netbird .text-white { color: var(--atlas-on-accent) !important; }
button[class*="enabled:dark:bg-netbird"]:enabled svg,
button[class*="enabled:bg-netbird"]:enabled svg { color: var(--atlas-on-accent); }

/* Orange hardcoded in JSX (SVG fills/strokes, inline styles). */
[fill="#f68330" i] { fill: var(--atlas-blue) !important; }
[stroke="#f68330" i] { stroke: var(--atlas-blue) !important; }
[stop-color="#f68330" i] { stop-color: var(--atlas-blue) !important; }
[style*="246, 131, 48"][style*="background"],
[style*="#f68330" i][style*="background"] { background-color: var(--atlas-blue) !important; }

/* Links that use the brand accent stay readable on black. */
a.text-netbird:hover, .hover\:text-netbird:hover { color: var(--atlas-link) !important; }
