/* val.css v9 — professional floating shell for VAL on stocky.uk.
   Same design family as /account: deep navy, indigo→violet→cyan accents, glass. */

:root {
  --val-bg: #0a0b1d;
  --val-ink: #eef0ff;
  --val-muted: #9aa0c3;
  --val-line: rgba(255, 255, 255, 0.09);
  --val-indigo: #6366f1;
  --val-violet: #a855f7;
  --val-cyan: #22d3ee;
}

html, body {
  background: var(--val-bg) !important;
}

body {
  color: var(--val-ink);
  font-family: "Outfit", system-ui, sans-serif;
}

/* soft aurora backdrop behind the whole app */
#root::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(820px 520px at 12% -8%, rgba(79, 70, 229, 0.16), transparent 62%),
    radial-gradient(720px 480px at 92% -12%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(680px 520px at 55% 108%, rgba(8, 145, 178, 0.10), transparent 60%);
}

#root > * { position: relative; z-index: 1; }

/* subtle scrollbars */
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.35);
  border-radius: 8px;
  border: 2px solid var(--val-bg);
}
*::-webkit-scrollbar-track { background: transparent; }

/* headings get the display font */
h1, h2, h3 {
  font-family: "Syne", "Outfit", system-ui, sans-serif;
  letter-spacing: -0.01em;
}

/* buttons + primary actions keep our accent family */
button, .btn {
  border-radius: 12px;
}
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid rgba(139, 92, 246, 0.7);
  outline-offset: 2px;
}

/* loading container inherits brand background */
#loading-container, .loading-container {
  background-color: var(--val-bg) !important;
}

/* dark-mode tweaks only — light theme untouched */
html.dark body { color-scheme: dark; }
