/* FORCE Dark Glass Sidebar with Slim Neon Edge */
/* This version uses !important everywhere to override stubborn theme styles */

:root {
  --nm-purple: #8a3cf4;
  --nm-orange: #ff7e33;
  --nm-bg-dark: #101217;
}

/* Full column reset */
.md-sidebar--primary,
.md-sidebar--primary * {
  background: transparent !important;
  box-shadow: none !important;
}

/* Sidebar main container */
.md-sidebar--primary {
  position: relative !important;
  z-index: 2 !important;
}

/* Parent wrapper */
.md-grid,
.md-main,
.md-main__inner {
  background: transparent !important;
}

/* Dark glass panel */
.md-sidebar--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 23, 0.92) !important; /* glassy dark */
  backdrop-filter: blur(4px) !important;
  border-radius: 0 16px 16px 0 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important,
              0 8px 24px rgba(0, 0, 0, 0.45) !important;
  z-index: -1 !important;
}

/* Neon strip */
.md-sidebar--primary::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(var(--nm-purple), var(--nm-orange)) !important;
  box-shadow: 0 0 8px rgba(138, 60, 244, 0.6) !important,
              0 0 12px rgba(255, 126, 51, 0.4) !important;
  z-index: 3 !important;
}

/* Scroll area stays transparent */
.md-sidebar--primary .md-sidebar__scrollwrap {
  background: transparent !important;
}
