/* DSNET Phase 11 - Force sidebar colors + override any later CSS.
   Requirements:
   - Menu container uses same colors as header (rgba(17,22,35,0.55)).
   - Menu buttons use RGBA 101522ff => rgba(16,21,34,1).
   - Ensure rules win even if other CSS loads after (use !important + higher specificity).
*/

body.auth .portal-sidebar {
  background: rgba(17, 22, 35, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

body.auth .portal-sidebar .portal-sidebar-link {
  background: rgba(16, 21, 34, 1) !important; /* 101522ff */
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

body.auth .portal-sidebar .portal-sidebar-link:hover,
body.auth .portal-sidebar .portal-sidebar-link:focus-visible {
  background: rgba(16, 21, 34, 0.85) !important;
}

/* Make sure sections/title (if present) remain readable */
body.auth .portal-sidebar .portal-sidebar-section,
body.auth .portal-sidebar .portal-sidebar-title {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* Slightly dim active/disabled */
body.auth .portal-sidebar .portal-sidebar-link[aria-current="page"] {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22) !important;
}
