/* Fluent UI-inspired dark theme for WP-Admin sidebar (sidebar menu only) */

/* Fix menu separator */
#adminmenu .wp-menu-separator,
.wp-not-current-submenu.wp-menu-separator {
  background: #292827 !important;   /* Fluent UI: neutralDark */
  color: #292827 !important;
  border: none !important;
  height: 1px !important;
  margin: 8px 0 !important;
  opacity: 1 !important;
}

/* Admin menu background and borders */
#adminmenu, #adminmenuback, #adminmenuwrap, #adminmenu .wp-submenu, #adminmenu .wp-submenu-wrap {
  background: #1b1a19 !important;  /* Fluent UI: neutralPrimary/neutralDark */
  border-right: 1px solid #292827 !important;
}

/* Main menu items (default state) */
#adminmenu li.menu-top > a {
  color: #f3f2f1 !important;         /* Fluent UI: neutralLighter */
  background: transparent !important;
  border-radius: 0 !important;
  transition: background 0.2s, color 0.2s !important;
}

/* Main menu items (hover/active/focus/current) */
#adminmenu li.menu-top:hover > a,
#adminmenu li.menu-top.focused > a,
#adminmenu .wp-has-current-submenu > a,
#adminmenu .wp-menu-open > a {
  background: #292827 !important;    /* Slightly lighter for highlight */
  color: #58a6ff !important;         /* Fluent UI: communicationPrimary (blue) */
}

/* Submenu background and item colors */
#adminmenu .wp-submenu {
  background: #252423 !important;   /* Fluent UI: neutralSecondary */
}

#adminmenu .wp-submenu a {
  color: #f3f2f1 !important;
  background: transparent !important;
}

/* Submenu item hover/active */
#adminmenu .wp-submenu a:hover,
#adminmenu .wp-submenu a:focus,
#adminmenu .wp-submenu .current {
  background: #292827 !important;
  color: #58a6ff !important;
}

/* Notification badges */
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
  background: #58a6ff !important;    /* Fluent UI: communicationPrimary */
  color: #1b1a19 !important;
}

/* Menu icons */
#adminmenu .wp-menu-image:before {
  color: #bcbcbc !important;         /* Fluent UI: icon color for dark bg */
}

/* Current/active menu icon */
#adminmenu .wp-has-current-submenu .wp-menu-image:before,
#adminmenu .wp-menu-open .wp-menu-image:before,
#adminmenu li.menu-top:hover .wp-menu-image:before {
  color: #58a6ff !important;
}