/* NProgress theme override.

   Recolors the top-loading bar served by the CDN nprogress.css (default #29d
   blue) to the app's primary purple. Uses the --primary design token so the bar
   automatically tracks the light/dark theme (see input.css). Loaded AFTER the
   CDN stylesheet so these rules win on source order — the selectors match
   nprogress.css's own #nprogress specificity exactly. */

#nprogress .bar {
  background: hsl(var(--primary));
}

/* The peg is the glowing comet trail at the leading edge of the bar. */
#nprogress .peg {
  box-shadow: 0 0 10px hsl(var(--primary)), 0 0 5px hsl(var(--primary));
}

/* Spinner is disabled in nprogress.js, but recolor it too in case it's enabled. */
#nprogress .spinner-icon {
  border-top-color: hsl(var(--primary));
  border-left-color: hsl(var(--primary));
}
