/* Sidebar in plain neutral tones that match the page background, instead of the navy gradient and neon cyan. */
html.dark {
  --sidebar: 0 0% 10.6%;
  --sidebar-accent: 0 0% 16%;
  --sidebar-border: 0 0% 18%;
}

/* The bundle paints the sidebar with an inline navy gradient; !important is the only way past an inline style. */
aside.bg-sidebar {
  background-image: none !important;
}

/* Profile card */
aside.bg-sidebar .border-cyan-300\/10 {
  border-color: hsl(0 0% 100% / .06);
}
aside.bg-sidebar .ring-cyan-400\/20 {
  --tw-ring-color: hsl(0 0% 100% / .1);
}
aside.bg-sidebar .bg-cyan-400\/15 {
  background-color: hsl(0 0% 100% / .08);
}
aside.bg-sidebar .text-cyan-300 {
  color: hsl(var(--sidebar-foreground));
}
aside.bg-sidebar .text-cyan-300\/70 {
  color: hsl(var(--sidebar-foreground) / .55);
}

/* Active menu item: quiet highlight with a thin accent bar instead of a solid neon block */
aside.bg-sidebar .bg-cyan-400 {
  background-color: hsl(0 0% 100% / .08);
  color: hsl(var(--sidebar-foreground));
  box-shadow: inset 3px 0 0 hsl(var(--primary));
}
aside.bg-sidebar .bg-cyan-400 .text-slate-950 {
  color: hsl(var(--primary));
}

/* Open group and nested items */
aside.bg-sidebar .bg-cyan-400\/\[0\.08\] {
  background-color: hsl(0 0% 100% / .05);
}
aside.bg-sidebar .border-cyan-400\/15 {
  border-color: hsl(0 0% 100% / .08);
}
aside.bg-sidebar .group:hover .group-hover\:text-cyan-300 {
  color: hsl(var(--sidebar-foreground));
}
