/* GoPixel WP Admin Studio - Glassmorphism UI (Scoped under .mwp-theme-active) */
:root {
  --mwp-primary: #8b5cf6;
  --mwp-accent: #ec4899;
  --mwp-glow: rgba(139, 92, 246, 0.45);
  --mwp-glass-bg: rgba(24, 21, 42, 0.88);
  --mwp-canvas-bg: #131126;
  --mwp-card-bg: rgba(32, 28, 56, 0.90);
  --mwp-border: rgba(255, 255, 255, 0.20);
  --mwp-text: #ffffff;
  --mwp-muted-text: #e2e8f0;
  --mwp-blur: 14px;
  --mwp-opacity: 0.75;
  --mwp-sidebar-width: 260px;
}

/* =========================================================================
   GLOBAL RESET & PLUS JAKARTA SANS TYPOGRAPHY UNDER .mwp-theme-active
   ========================================================================= */
body.wp-admin.mwp-theme-active,
body.wp-admin.mwp-theme-active #wpwrap,
body.wp-admin.mwp-theme-active #adminmenu,
body.wp-admin.mwp-theme-active .postbox,
body.wp-admin.mwp-theme-active input,
body.wp-admin.mwp-theme-active button,
body.wp-admin.mwp-theme-active select,
body.wp-admin.mwp-theme-active textarea {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  transition: background 0.25s ease, color 0.25s ease;
}

body.wp-admin.mwp-theme-active code,
body.wp-admin.mwp-theme-active pre,
body.wp-admin.mwp-theme-active kbd {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace !important;
}

/* =========================================================================
   STUNNING GLOWING BUTTONS & SEGMENTED TABS
   ========================================================================= */
body.wp-admin.mwp-theme-active .button.button-primary,
body.wp-admin.mwp-theme-active .button-primary,
body.wp-admin.mwp-theme-active input[type="submit"].button-primary {
  background: linear-gradient(135deg, var(--mwp-primary) 0%, var(--mwp-accent) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 14px var(--mwp-glow) !important;
  border-radius: 8px !important;
  padding: 6px 18px !important;
  font-weight: 600 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  text-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  height: auto !important;
  line-height: normal !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.wp-admin.mwp-theme-active .button.button-primary:hover,
body.wp-admin.mwp-theme-active .button.button-primary:focus {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px var(--mwp-glow) !important;
  opacity: 0.95 !important;
  color: #ffffff !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .button:not(.button-primary),
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .button.button-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f1f5f9 !important;
  border: 1px solid var(--mwp-border) !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  font-weight: 600 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  box-shadow: none !important;
  text-shadow: none !important;
  height: auto !important;
  line-height: normal !important;
  transition: all 0.2s ease !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .button:not(.button-primary):hover,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .button.button-secondary:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .upload-plugin .wp-upload-form,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .upload-theme .wp-upload-form {
  background: var(--mwp-card-bg) !important;
  border: 1px solid var(--mwp-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.45) !important;
  color: var(--mwp-text) !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .wp-upload-form input[type="file"] {
  color: #e2e8f0 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .wp-upload-form input[type="file"] {
  color: #0f172a !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .button:not(.button-primary),
body.wp-admin.mwp-theme-active.mwp-theme-light .button.button-secondary {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  font-weight: 600 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  text-shadow: none !important;
  height: auto !important;
  line-height: normal !important;
  transition: all 0.2s ease !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .button:not(.button-primary):hover,
body.wp-admin.mwp-theme-active.mwp-theme-light .button.button-secondary:hover {
  background: #f8fafc !important;
  color: #000000 !important;
  border-color: #94a3b8 !important;
}

/* Modern Segmented Navigation Tabs */
body.wp-admin.mwp-theme-active .nav-tab-wrapper {
  border-bottom: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  padding: 6px !important;
  border-radius: 12px !important;
  margin-bottom: 24px !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .nav-tab-wrapper {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid var(--mwp-border) !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .nav-tab-wrapper {
  background: #e2e8f0 !important;
  border: 1px solid #cbd5e1 !important;
}

body.wp-admin.mwp-theme-active .nav-tab {
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  transition: all 0.15s ease !important;
  margin: 0 !important;
  background: transparent !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .nav-tab {
  color: #cbd5e1 !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .nav-tab:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .nav-tab.nav-tab-active {
  background: linear-gradient(135deg, var(--mwp-primary) 0%, var(--mwp-accent) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--mwp-glow) !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .nav-tab {
  color: #334155 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .nav-tab:hover {
  color: #0f172a !important;
  background: rgba(255, 255, 255, 0.9) !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .nav-tab.nav-tab-active {
  background: #ffffff !important;
  color: var(--mwp-primary) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  font-weight: 700 !important;
}

/* -------------------------------------------------------------------------
   DARK THEME (High Contrast, Rich Midnight Atmosphere, High Readability)
   ------------------------------------------------------------------------- */
body.wp-admin.mwp-theme-active:not(.block-editor-page),
body.wp-admin.mwp-theme-active.mwp-theme-dark:not(.block-editor-page),
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.block-editor-page) #wpwrap,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.block-editor-page) #wpcontent {
  background: var(--mwp-canvas-bg) !important;
  color: var(--mwp-text) !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.block-editor-page) h1,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.block-editor-page) h2,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.block-editor-page) h3,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.block-editor-page) h4,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.block-editor-page) th {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.block-editor-page) p,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.block-editor-page) td,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.block-editor-page) label,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.block-editor-page) .description {
  color: var(--mwp-muted-text) !important;
}

/* Dark Admin Bar */
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar {
  background: rgba(13, 18, 30, 0.88) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  color: #f8fafc !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .ab-item,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar a.ab-item,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .ab-empty-item {
  color: #f1f5f9 !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .ab-icon,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .ab-icon:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .ab-item:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar #wp-admin-bar-site-name > .ab-item:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar #wp-admin-bar-site-name > a:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .dashicons,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .dashicons:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .ab-top-menu > li > .ab-item:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .quicklinks .menupop ul li a:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar #wp-admin-bar-my-account > a:before {
  color: #cbd5e1 !important;
  fill: #cbd5e1 !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .ab-item:hover,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar a.ab-item:hover,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar li:hover > .ab-item,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .menupop.hover > .ab-item {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .ab-item:hover:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar a.ab-item:hover:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar li:hover > .ab-item:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .menupop.hover > .ab-item:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .ab-item:hover .ab-icon:before {
  color: #ffffff !important;
  fill: #ffffff !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .menupop .ab-sub-wrapper,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .quicklinks .menupop ul.ab-sub-secondary,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #wpadminbar .quicklinks .menupop ul.ab-submenu {
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
  border-radius: 10px !important;
}

/* Sidebar Width & Stacking Context (Dark Mode) */
body.wp-admin.mwp-theme-active:not(.folded):not(.mwp-theme-light) #adminmenuwrap, 
body.wp-admin.mwp-theme-active:not(.folded):not(.mwp-theme-light) #adminmenu, 
body.wp-admin.mwp-theme-active:not(.folded):not(.mwp-theme-light) #adminmenuback {
  width: var(--mwp-sidebar-width) !important;
}
body.wp-admin.mwp-theme-active:not(.folded):not(.mwp-theme-light) #wpcontent {
  margin-left: var(--mwp-sidebar-width) !important;
}
body.wp-admin.mwp-theme-active:not(.folded):not(.mwp-theme-light) #wpfooter {
  left: var(--mwp-sidebar-width) !important;
  margin-left: 0 !important;
  right: 0 !important;
}
body.wp-admin.mwp-theme-active.folded:not(.mwp-theme-light) #adminmenuwrap, 
body.wp-admin.mwp-theme-active.folded:not(.mwp-theme-light) #adminmenu, 
body.wp-admin.mwp-theme-active.folded:not(.mwp-theme-light) #adminmenuback {
  width: 48px !important;
}
body.wp-admin.mwp-theme-active.folded:not(.mwp-theme-light) #wpcontent {
  margin-left: 48px !important;
}
body.wp-admin.mwp-theme-active.folded:not(.mwp-theme-light) #wpfooter {
  left: 48px !important;
  margin-left: 0 !important;
  right: 0 !important;
}

/* Stacking Context: Hovered & Open menu items are ALWAYS above subsequent items */
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top {
  position: relative !important;
}
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top:hover,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.opensub {
  position: relative !important;
  z-index: 9999 !important;
}
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.wp-has-current-submenu:not(:hover):not(.opensub) {
  position: relative !important;
  z-index: 1 !important;
}

/* Remove default WordPress arrow notches, triangles & markers completely */
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-menu-arrow,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.wp-has-current-submenu .wp-menu-arrow,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu:after,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu > li.current > a.current:after,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.opensub > a.menu-top:after,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top:hover > a.menu-top:after,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.wp-has-submenu.opensub:hover:after,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-submenu:after {
  display: none !important;
  content: none !important;
}

/* Dark Admin Menu (Sidebar) */
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenuback, 
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenuwrap, 
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu {
  background: var(--mwp-glass-bg) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.10) !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu a,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu a.menu-top,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-menu-name {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  font-size: 13px !important;
}

/* Inactive Dark Mode Icons: Crisp slate-300 with 11:1 WCAG AAA contrast */
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu div.wp-menu-image,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu div.wp-menu-image:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu a.menu-top div.wp-menu-image:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .dashicons,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .dashicons:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-menu-image.dashicons-before:before {
  color: #cbd5e1 !important;
  fill: #cbd5e1 !important;
  opacity: 1 !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-menu-image svg,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-menu-image svg path,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-menu-image svg g {
  fill: #cbd5e1 !important;
  stroke: #cbd5e1 !important;
  color: #cbd5e1 !important;
  opacity: 1 !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-menu-image img {
  opacity: 0.9 !important;
  filter: brightness(0) invert(0.85) !important;
}

/* Dark Hover State */
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top:hover,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.opensub > a.menu-top,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li > a.menu-top:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top:hover a.menu-top,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top:hover .wp-menu-name {
  color: #ffffff !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top:hover div.wp-menu-image:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.opensub > a.menu-top div.wp-menu-image:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li > a.menu-top:focus div.wp-menu-image:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top:hover .dashicons:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.opensub > a.menu-top .dashicons:before {
  color: #ffffff !important;
  fill: #ffffff !important;
  opacity: 1 !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top:hover .wp-menu-image svg,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.opensub > a.menu-top .wp-menu-image svg,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top:hover .wp-menu-image svg path {
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top:hover .wp-menu-image img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

/* Dark Active State */
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.current a.menu-top,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu {
  background: linear-gradient(135deg, var(--mwp-primary) 0%, var(--mwp-accent) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--mwp-glow) !important;
  border-radius: 8px !important;
  margin: 4px 8px !important;
  width: auto !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.current a.menu-top .wp-menu-name,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu .wp-menu-name {
  color: #ffffff !important;
  font-weight: 700 !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.current div.wp-menu-image:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.current a.menu-top div.wp-menu-image:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu div.wp-menu-image:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.current .dashicons:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.wp-has-current-submenu .dashicons:before {
  color: #ffffff !important;
  fill: #ffffff !important;
  opacity: 1 !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.current .wp-menu-image svg,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.wp-has-current-submenu .wp-menu-image svg,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.current .wp-menu-image svg path,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.wp-has-current-submenu .wp-menu-image svg path {
  fill: #ffffff !important;
  stroke: #ffffff !important;
  opacity: 1 !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.current .wp-menu-image img,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.wp-has-current-submenu .wp-menu-image img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

/* Dark Collapse Button */
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #collapse-button {
  color: #cbd5e1 !important;
}
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #collapse-button:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #collapse-button .collapse-button-icon:after {
  color: #cbd5e1 !important;
}
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #collapse-button:hover .collapse-button-icon:after {
  color: #ffffff !important;
}

/* Dark Base Flyout Submenu Reset & Inactive Suppression */
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-submenu {
  background: rgba(15, 23, 42, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.folded) #adminmenu li.menu-top:not(.wp-has-current-submenu):not(:hover):not(.opensub):not(.mwp-hover-active):not(:focus-within) > .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light).folded #adminmenu li.menu-top:not(:hover):not(.opensub):not(.mwp-hover-active):not(:focus-within) > .wp-submenu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  top: -1000em !important;
}

/* Dark In-line Submenu (Active menu item inside expanded sidebar) */
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.folded) #adminmenu li.wp-has-current-submenu > .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.folded) #adminmenu li.wp-has-current-submenu.opensub > .wp-submenu {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  display: block !important;
  width: auto !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-left: 2px solid var(--mwp-primary) !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  margin: 4px 8px 6px 12px !important;
  padding: 6px 4px !important;
  border-radius: 0 8px 8px 0 !important;
  box-shadow: none !important;
  z-index: 1 !important;
}
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.folded) #adminmenu li.wp-has-current-submenu:not(.opensub) .wp-submenu-head {
  display: none !important;
}

/* Dark Floating Flyout Popover (Opens to the right of sidebar, never overlapping items) */
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.folded) #adminmenu li.menu-top:not(.wp-has-current-submenu):hover > .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.folded) #adminmenu li.opensub:not(.wp-has-current-submenu) > .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.folded) #adminmenu li.mwp-hover-active:not(.wp-has-current-submenu) > .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.folded) #adminmenu .wp-not-current-submenu.opensub .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.folded) #adminmenu .wp-not-current-submenu:hover .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light):not(.folded) #adminmenu .wp-not-current-submenu.mwp-hover-active .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light).folded #adminmenu li.menu-top:hover > .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light).folded #adminmenu li.opensub > .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light).folded #adminmenu li.mwp-hover-active > .wp-submenu {
  position: absolute !important;
  left: var(--mwp-sidebar-width) !important;
  margin-top: 0 !important;
  margin-left: 8px !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  padding: 8px 6px !important;
  min-width: 210px !important;
  width: auto !important;
  max-width: 280px !important;
  max-height: calc(100vh - 44px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent !important;
  background: rgba(15, 23, 42, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
  z-index: 99999 !important;
  box-sizing: border-box !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transition: none !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light).folded #adminmenu li.menu-top:hover > .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light).folded #adminmenu li.opensub > .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light).folded #adminmenu li.mwp-hover-active > .wp-submenu {
  left: 48px !important;
}

/* Dark Fallback for Settings & bottom-most items to open upwards naturally */
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu > li#menu-settings:not(.wp-has-current-submenu):hover > .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu > li#menu-settings.opensub:not(.wp-has-current-submenu) > .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu > li#menu-settings.mwp-hover-active:not(.wp-has-current-submenu) > .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light).folded #adminmenu > li#menu-settings:hover > .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light).folded #adminmenu > li#menu-settings.opensub > .wp-submenu,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light).folded #adminmenu > li#menu-settings.mwp-hover-active > .wp-submenu {
  bottom: 0;
  top: auto;
}

/* Dark Hover Bridge: active ONLY when menu item is actively hovered/open, zero vertical bleed */
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top:hover:after,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top.mwp-hover-active:after,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top.opensub:after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  right: -16px !important;
  width: 20px !important;
  background: transparent !important;
  display: block !important;
  z-index: 99998 !important;
  pointer-events: auto !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top:hover > .wp-submenu:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top.mwp-hover-active > .wp-submenu:before,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu li.menu-top.opensub > .wp-submenu:before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: -16px !important;
  width: 20px !important;
  background: transparent !important;
  display: block !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-submenu::-webkit-scrollbar {
  width: 4px !important;
}
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-submenu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25) !important;
  border-radius: 4px !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-submenu .wp-submenu-head {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 8px 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-bottom: 4px !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-submenu a,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-has-current-submenu .wp-submenu a {
  color: #cbd5e1 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  margin: 2px 0 !important;
  display: block !important;
  transition: all 0.15s ease !important;
  background: transparent !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-submenu a:hover,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-submenu a:focus,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-has-current-submenu .wp-submenu a:focus {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  padding-left: 16px !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-submenu li.current a,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-submenu li.current a:hover,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #adminmenu .wp-has-current-submenu .wp-submenu li.current a {
  color: #ffffff !important;
  font-weight: 700 !important;
  background: rgba(139, 92, 246, 0.25) !important;
  border-left: 3px solid var(--mwp-accent) !important;
}

/* Remove default WordPress arrow notch from the active pill button */
body.wp-admin.mwp-theme-active #adminmenu li.wp-has-current-submenu .wp-menu-arrow,
body.wp-admin.mwp-theme-active #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu:after,
body.wp-admin.mwp-theme-active #adminmenu > li.current > a.current:after {
  display: none !important;
}

/* Dark Cards, Postboxes & Containers */
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .postbox, 
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .welcome-panel, 
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .card,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) #dashboard-widgets .postbox {
  background: var(--mwp-card-bg) !important;
  backdrop-filter: blur(var(--mwp-blur)) !important;
  -webkit-backdrop-filter: blur(var(--mwp-blur)) !important;
  border: 1px solid var(--mwp-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.45) !important;
  color: var(--mwp-text) !important;
  overflow: hidden !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .postbox .postbox-header {
  border-bottom: 1px solid var(--mwp-border) !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  padding: 12px 18px !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) input[type="text"],
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) input[type="search"],
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) input[type="email"],
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) input[type="url"],
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) input[type="number"],
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) select,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) textarea {
  background: rgba(15, 23, 42, 0.88) !important;
  border: 1px solid var(--mwp-border) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  transition: all 0.15s ease !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) input:focus,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) select:focus,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) textarea:focus {
  border-color: var(--mwp-primary) !important;
  box-shadow: 0 0 0 2px var(--mwp-glow) !important;
  outline: none !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .widefat,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) table.widefat,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .wp-list-table {
  background: transparent !important;
  border: 1px solid var(--mwp-border) !important;
  color: var(--mwp-text) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .widefat thead th,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .widefat thead td,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .widefat tfoot th,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .widefat tfoot td,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .widefat tbody th,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .widefat tbody td,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .form-table th,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .form-table td,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .wp-list-table th {
  color: #ffffff !important;
  border-bottom: 1px solid var(--mwp-border) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .widefat td,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .form-table td {
  color: var(--mwp-text) !important;
  border-bottom: 1px solid var(--mwp-border) !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .widefat.striped tbody tr:nth-child(odd),
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .widefat tbody tr:nth-child(even),
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .widefat tbody tr,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .striped > tbody > :nth-child(odd),
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) ul.striped > :nth-child(odd),
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .wp-list-table tr:nth-child(odd) {
  background-color: transparent !important;
  color: var(--mwp-text) !important;
}

body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .widefat tbody tr:hover,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .striped > tbody > :nth-child(odd):hover,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .wp-list-table tr:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Modern Admin Notices (Dark) */
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .notice,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) div.updated,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) div.error {
  background: rgba(15, 23, 42, 0.90) !important;
  border: 1px solid var(--mwp-border) !important;
  border-left: 4px solid var(--mwp-primary) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(12px) !important;
  padding: 12px 18px !important;
  margin: 16px 0 !important;
}
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .notice-success,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) div.updated {
  border-left-color: #10b981 !important;
}
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .notice-error,
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) div.error {
  border-left-color: #f43f5e !important;
}
body.wp-admin.mwp-theme-active:not(.mwp-theme-light) .notice-warning {
  border-left-color: #f59e0b !important;
}

/* -------------------------------------------------------------------------
   LITE THEME (Crisp, High Contrast, WCAG AAA Readable, Clean Slate Canvas)
   ------------------------------------------------------------------------- */
body.wp-admin.mwp-theme-active.mwp-theme-light {
  background: #f8fafc !important;
  color: #0f172a !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light h1,
body.wp-admin.mwp-theme-active.mwp-theme-light h2,
body.wp-admin.mwp-theme-active.mwp-theme-light h3,
body.wp-admin.mwp-theme-active.mwp-theme-light h4,
body.wp-admin.mwp-theme-active.mwp-theme-light th {
  color: #0f172a !important;
  font-weight: 700 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light p,
body.wp-admin.mwp-theme-active.mwp-theme-light td,
body.wp-admin.mwp-theme-active.mwp-theme-light label,
body.wp-admin.mwp-theme-active.mwp-theme-light .description {
  color: #334155 !important;
}

/* Lite Admin Bar */
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar,
body.mwp-theme-light #wpadminbar {
  background: #ffffff !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08) !important;
  color: #0f172a !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .ab-item,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar a.ab-item,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .ab-empty-item,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar span.ab-label,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .display-name,
body.mwp-theme-light #wpadminbar .ab-item,
body.mwp-theme-light #wpadminbar a.ab-item,
body.mwp-theme-light #wpadminbar span.ab-label {
  color: #0f172a !important;
  font-weight: 600 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .ab-icon,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .ab-icon:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .ab-item:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar #wp-admin-bar-site-name > .ab-item:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar #wp-admin-bar-site-name > a:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .dashicons,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .dashicons:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .ab-top-menu > li > .ab-item:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .quicklinks .menupop ul li a:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar #wp-admin-bar-my-account > a:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before,
body.mwp-theme-light #wpadminbar .dashicons:before,
body.mwp-theme-light #wpadminbar .ab-icon:before {
  color: #334155 !important;
  fill: #334155 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .ab-item:hover,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar a.ab-item:hover,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar li:hover > .ab-item,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .menupop.hover > .ab-item,
body.mwp-theme-light #wpadminbar .ab-item:hover,
body.mwp-theme-light #wpadminbar li:hover > .ab-item {
  color: #000000 !important;
  background: #f1f5f9 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .ab-item:hover:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar a.ab-item:hover:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar li:hover > .ab-item:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .menupop.hover > .ab-item:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .ab-item:hover .ab-icon:before {
  color: var(--mwp-primary) !important;
  fill: var(--mwp-primary) !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .menupop .ab-sub-wrapper,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .quicklinks .menupop ul.ab-sub-secondary,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .quicklinks .menupop ul.ab-submenu,
body.mwp-theme-light #wpadminbar .menupop .ab-sub-wrapper {
  background: #ffffff !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12) !important;
  border-radius: 10px !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .menupop .ab-sub-wrapper .ab-item,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-item,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .quicklinks .menupop ul.ab-submenu .ab-item,
body.mwp-theme-light #wpadminbar .menupop .ab-sub-wrapper .ab-item {
  color: #0f172a !important;
  font-weight: 600 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .menupop .ab-sub-wrapper .ab-item:hover,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-item:hover,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .quicklinks .menupop ul.ab-submenu .ab-item:hover {
  color: var(--mwp-primary) !important;
  background: #f1f5f9 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar #wp-admin-bar-search-engines-blocked .ab-item,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar #wp-admin-bar-search-engines-blocked .ab-item:before {
  color: #dc2626 !important;
  font-weight: 700 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .update-plugins,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .ab-sub-wrapper .update-plugins,
body.wp-admin.mwp-theme-active.mwp-theme-light #wpadminbar .count-bubble {
  background-color: var(--mwp-primary) !important;
  color: #ffffff !important;
}

/* Lite Admin Menu (Sidebar) */
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenuback, 
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenuwrap, 
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-right: 1px solid #cbd5e1 !important;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.03) !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu a,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu a.menu-top,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-menu-name {
  color: #0f172a !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}

/* Inactive Menu Icons: Deep rich slate-800 (#1e293b), 100% visible with 12.6:1 WCAG AAA contrast */
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu div.wp-menu-image,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu div.wp-menu-image:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu a.menu-top div.wp-menu-image:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .dashicons,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .dashicons:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-menu-image.dashicons-before:before {
  color: #1e293b !important;
  fill: #1e293b !important;
  opacity: 1 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-menu-image svg,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-menu-image svg path,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-menu-image svg g {
  fill: #1e293b !important;
  stroke: #1e293b !important;
  color: #1e293b !important;
  opacity: 1 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-menu-image img {
  opacity: 0.9 !important;
  filter: brightness(0.2) contrast(1.2) !important;
}

/* Menu Hover State */
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.menu-top:hover,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.opensub > a.menu-top,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li > a.menu-top:focus {
  background: #f1f5f9 !important;
  color: var(--mwp-primary) !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.menu-top:hover a.menu-top,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.menu-top:hover .wp-menu-name {
  color: var(--mwp-primary) !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.menu-top:hover div.wp-menu-image:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.opensub > a.menu-top div.wp-menu-image:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li > a.menu-top:focus div.wp-menu-image:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.menu-top:hover .dashicons:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.opensub > a.menu-top .dashicons:before {
  color: var(--mwp-primary) !important;
  fill: var(--mwp-primary) !important;
  opacity: 1 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.menu-top:hover .wp-menu-image svg,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.opensub > a.menu-top .wp-menu-image svg,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.menu-top:hover .wp-menu-image svg path {
  fill: var(--mwp-primary) !important;
  stroke: var(--mwp-primary) !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.menu-top:hover .wp-menu-image img {
  opacity: 1 !important;
}

/* Active Menu Item Pill & Icon (Pure Crisp White on the primary gradient) */
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.current a.menu-top,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu {
  background: linear-gradient(135deg, var(--mwp-primary) 0%, var(--mwp-accent) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--mwp-glow) !important;
  border-radius: 8px !important;
  margin: 4px 8px !important;
  width: auto !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.current a.menu-top .wp-menu-name,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu .wp-menu-name {
  color: #ffffff !important;
  font-weight: 700 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.current div.wp-menu-image:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.current a.menu-top div.wp-menu-image:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu div.wp-menu-image:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.current .dashicons:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.wp-has-current-submenu .dashicons:before {
  color: #ffffff !important;
  fill: #ffffff !important;
  opacity: 1 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.current .wp-menu-image svg,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.wp-has-current-submenu .wp-menu-image svg,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.current .wp-menu-image svg path,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.wp-has-current-submenu .wp-menu-image svg path {
  fill: #ffffff !important;
  stroke: #ffffff !important;
  opacity: 1 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.current .wp-menu-image img,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.wp-has-current-submenu .wp-menu-image img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

/* Notification Badges & Count Bubbles in Lite Mode */
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .update-plugins,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .awaiting-mod,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .menu-counter,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .count-bubble {
  background: var(--mwp-primary) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.current .update-plugins,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.wp-has-current-submenu .update-plugins {
  background: #ffffff !important;
  color: #0f172a !important;
}

/* Collapse / Fold Button in Lite Mode */
body.wp-admin.mwp-theme-active.mwp-theme-light #collapse-button {
  color: #1e293b !important;
}
body.wp-admin.mwp-theme-active.mwp-theme-light #collapse-button:hover {
  color: var(--mwp-primary) !important;
  background: #f1f5f9 !important;
}
body.wp-admin.mwp-theme-active.mwp-theme-light #collapse-button .collapse-button-icon:after {
  color: #1e293b !important;
}
body.wp-admin.mwp-theme-active.mwp-theme-light #collapse-button:hover .collapse-button-icon:after {
  color: var(--mwp-primary) !important;
}

/* Lite Base Flyout Submenu Reset & Inactive Suppression */
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-submenu {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.16), 0 4px 12px -2px rgba(0, 0, 0, 0.08) !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light:not(.folded) #adminmenu li.menu-top:not(.wp-has-current-submenu):not(:hover):not(.opensub):not(.mwp-hover-active):not(:focus-within) > .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light.folded #adminmenu li.menu-top:not(:hover):not(.opensub):not(.mwp-hover-active):not(:focus-within) > .wp-submenu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  top: -1000em !important;
}

/* Lite In-line Submenu (Active menu item inside expanded sidebar) */
body.wp-admin.mwp-theme-active.mwp-theme-light:not(.folded) #adminmenu li.wp-has-current-submenu > .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light:not(.folded) #adminmenu li.wp-has-current-submenu.opensub > .wp-submenu {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  display: block !important;
  width: auto !important;
  background: #f8fafc !important;
  border-left: 2px solid var(--mwp-primary) !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  margin: 4px 8px 6px 12px !important;
  padding: 6px 4px !important;
  border-radius: 0 8px 8px 0 !important;
  box-shadow: none !important;
  z-index: 1 !important;
}
body.wp-admin.mwp-theme-active.mwp-theme-light:not(.folded) #adminmenu li.wp-has-current-submenu:not(.opensub) .wp-submenu-head {
  display: none !important;
}

/* Lite Floating Flyout Popover (Opens to the right of sidebar, never overlapping items) */
body.wp-admin.mwp-theme-active.mwp-theme-light:not(.folded) #adminmenu li.menu-top:not(.wp-has-current-submenu):hover > .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light:not(.folded) #adminmenu li.opensub:not(.wp-has-current-submenu) > .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light:not(.folded) #adminmenu li.mwp-hover-active:not(.wp-has-current-submenu) > .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light:not(.folded) #adminmenu .wp-not-current-submenu.opensub .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light:not(.folded) #adminmenu .wp-not-current-submenu:hover .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light:not(.folded) #adminmenu .wp-not-current-submenu.mwp-hover-active .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light.folded #adminmenu li.menu-top:hover > .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light.folded #adminmenu li.opensub > .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light.folded #adminmenu li.mwp-hover-active > .wp-submenu {
  position: absolute !important;
  left: var(--mwp-sidebar-width) !important;
  margin-top: 0 !important;
  margin-left: 8px !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  padding: 8px 6px !important;
  min-width: 210px !important;
  width: auto !important;
  max-width: 280px !important;
  max-height: calc(100vh - 44px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain !important;
  scrollbar-width: thin !important;
  scrollbar-color: #cbd5e1 transparent !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.16), 0 4px 12px -2px rgba(0, 0, 0, 0.08) !important;
  z-index: 99999 !important;
  box-sizing: border-box !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transition: none !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light.folded #adminmenu li.menu-top:hover > .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light.folded #adminmenu li.opensub > .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light.folded #adminmenu li.mwp-hover-active > .wp-submenu {
  left: 48px !important;
}

/* Lite Fallback for Settings & bottom-most items to open upwards naturally */
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu > li#menu-settings:not(.wp-has-current-submenu):hover > .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu > li#menu-settings.opensub:not(.wp-has-current-submenu) > .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu > li#menu-settings.mwp-hover-active:not(.wp-has-current-submenu) > .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light.folded #adminmenu > li#menu-settings:hover > .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light.folded #adminmenu > li#menu-settings.opensub > .wp-submenu,
body.wp-admin.mwp-theme-active.mwp-theme-light.folded #adminmenu > li#menu-settings.mwp-hover-active > .wp-submenu {
  bottom: 0;
  top: auto;
}

/* Lite Hover Bridge: active ONLY when menu item is actively hovered/open, zero vertical bleed */
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.menu-top:hover:after,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.menu-top.mwp-hover-active:after,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.menu-top.opensub:after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  right: -16px !important;
  width: 20px !important;
  background: transparent !important;
  display: block !important;
  z-index: 99998 !important;
  pointer-events: auto !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.menu-top:hover > .wp-submenu:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.menu-top.mwp-hover-active > .wp-submenu:before,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu li.menu-top.opensub > .wp-submenu:before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: -16px !important;
  width: 20px !important;
  background: transparent !important;
  display: block !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-submenu::-webkit-scrollbar {
  width: 4px !important;
}
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-submenu::-webkit-scrollbar-thumb {
  background: #cbd5e1 !important;
  border-radius: 4px !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-submenu .wp-submenu-head {
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 8px 12px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  margin-bottom: 4px !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-submenu a,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-has-current-submenu .wp-submenu a {
  color: #1e293b !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  margin: 2px 0 !important;
  display: block !important;
  transition: all 0.15s ease !important;
  background: transparent !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-submenu a:hover,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-submenu a:focus,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-has-current-submenu .wp-submenu a:focus {
  color: #0f172a !important;
  background: #e2e8f0 !important;
  padding-left: 16px !important;
  font-weight: 700 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-submenu li.current a,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-submenu li.current a:hover,
body.wp-admin.mwp-theme-active.mwp-theme-light #adminmenu .wp-has-current-submenu .wp-submenu li.current a {
  color: #0f172a !important;
  font-weight: 800 !important;
  background: #e2e8f0 !important;
  border-left: 3px solid var(--mwp-primary) !important;
}

/* Lite Cards, Postboxes & Containers */
body.wp-admin.mwp-theme-active.mwp-theme-light .postbox, 
body.wp-admin.mwp-theme-active.mwp-theme-light .welcome-panel, 
body.wp-admin.mwp-theme-active.mwp-theme-light .card,
body.wp-admin.mwp-theme-active.mwp-theme-light #dashboard-widgets .postbox {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05) !important;
  color: #0f172a !important;
  overflow: hidden !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .welcome-panel-header-wrap {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .welcome-panel-header-image {
  display: none !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .welcome-panel-header h2 {
  color: #0f172a !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .welcome-panel-header p,
body.wp-admin.mwp-theme-active.mwp-theme-light .welcome-panel-header a {
  color: #2563eb !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .welcome-panel .welcome-panel-close,
body.wp-admin.mwp-theme-active.mwp-theme-light .welcome-panel .welcome-panel-close::before {
  color: #475569 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .welcome-panel .welcome-panel-close:hover,
body.wp-admin.mwp-theme-active.mwp-theme-light .welcome-panel .welcome-panel-close:hover::before {
  color: #1d4ed8 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .postbox .postbox-header {
  border-bottom: 1px solid #f1f5f9 !important;
  color: #0f172a !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  padding: 12px 18px !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light input[type="text"],
body.wp-admin.mwp-theme-active.mwp-theme-light input[type="search"],
body.wp-admin.mwp-theme-active.mwp-theme-light input[type="email"],
body.wp-admin.mwp-theme-active.mwp-theme-light input[type="url"],
body.wp-admin.mwp-theme-active.mwp-theme-light input[type="number"],
body.wp-admin.mwp-theme-active.mwp-theme-light select,
body.wp-admin.mwp-theme-active.mwp-theme-light textarea {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  transition: all 0.15s ease !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light input:focus,
body.wp-admin.mwp-theme-active.mwp-theme-light select:focus,
body.wp-admin.mwp-theme-active.mwp-theme-light textarea:focus {
  border-color: var(--mwp-primary) !important;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2) !important;
  outline: none !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .widefat,
body.wp-admin.mwp-theme-active.mwp-theme-light table.widefat,
body.wp-admin.mwp-theme-active.mwp-theme-light .wp-list-table {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .widefat thead th,
body.wp-admin.mwp-theme-active.mwp-theme-light .widefat thead td,
body.wp-admin.mwp-theme-active.mwp-theme-light .form-table th,
body.wp-admin.mwp-theme-active.mwp-theme-light .wp-list-table th {
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  background: #f8fafc !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .widefat td,
body.wp-admin.mwp-theme-active.mwp-theme-light .form-table td {
  color: #334155 !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .widefat.striped tbody tr:nth-child(odd),
body.wp-admin.mwp-theme-active.mwp-theme-light .striped > tbody > :nth-child(odd),
body.wp-admin.mwp-theme-active.mwp-theme-light .wp-list-table tr:nth-child(odd) {
  background: #f8fafc !important;
}

/* Modern Admin Notices (Lite) */
body.wp-admin.mwp-theme-active.mwp-theme-light .notice,
body.wp-admin.mwp-theme-active.mwp-theme-light div.updated,
body.wp-admin.mwp-theme-active.mwp-theme-light div.error {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 4px solid var(--mwp-primary) !important;
  border-radius: 10px !important;
  color: #0f172a !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
  padding: 12px 18px !important;
  margin: 16px 0 !important;
}
body.wp-admin.mwp-theme-active.mwp-theme-light .notice-success,
body.wp-admin.mwp-theme-active.mwp-theme-light div.updated {
  border-left-color: #10b981 !important;
}
body.wp-admin.mwp-theme-active.mwp-theme-light .notice-error,
body.wp-admin.mwp-theme-active.mwp-theme-light div.error {
  border-left-color: #f43f5e !important;
}
body.wp-admin.mwp-theme-active.mwp-theme-light .notice-warning {
  border-left-color: #f59e0b !important;
}

/* =========================================================================
   MAINTENANCE WARNING IN ADMIN BAR
   ========================================================================= */
#wpadminbar #wp-admin-bar-mwp-maintenance-warning {
  display: block !important;
}
#wpadminbar #wp-admin-bar-mwp-maintenance-warning .ab-item,
body #wpadminbar #wp-admin-bar-mwp-maintenance-warning .ab-item {
  background: rgba(220, 38, 38, 0.18) !important;
  border: 1px solid rgba(220, 38, 38, 0.45) !important;
  border-radius: 14px !important;
  margin-top: 3px !important;
  padding: 0 10px !important;
  height: 26px !important;
  line-height: 26px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  text-decoration: none !important;
}
#wpadminbar #wp-admin-bar-mwp-maintenance-warning:hover .ab-item,
body #wpadminbar #wp-admin-bar-mwp-maintenance-warning:hover .ab-item {
  background: rgba(220, 38, 38, 0.32) !important;
  border-color: rgba(220, 38, 38, 0.8) !important;
}
#wpadminbar #wp-admin-bar-mwp-maintenance-warning .ab-icon {
  color: #fbbf24 !important;
  margin-right: 2px !important;
}

/* Notices Drawer */
body.wp-admin.mwp-theme-active .mwp-notices-drawer {
  position: fixed;
  top: 32px;
  right: -380px;
  width: 360px;
  height: calc(100vh - 32px);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99999;
  padding: 20px;
  overflow-y: auto;
  color: #ffffff;
}

body.wp-admin.mwp-theme-active.mwp-theme-light .mwp-notices-drawer {
  background: rgba(255, 255, 255, 0.96);
  border-left: 1px solid #e2e8f0;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

body.wp-admin.mwp-theme-active .mwp-notices-drawer.is-open {
  right: 0;
}

body.wp-admin.mwp-theme-active .mwp-badge-count {
  background: var(--mwp-primary);
  color: #fff;
  border-radius: 9999px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 5px;
}

/* =========================================================================
   STUDIO TABS, SWITCHES & TOAST SYSTEM
   ========================================================================= */
.mwp-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mwp-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.mwp-tab-btn.is-active {
  background: linear-gradient(135deg, var(--mwp-primary) 0%, var(--mwp-accent) 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 16px var(--mwp-glow) !important;
}
body.mwp-theme-light .mwp-tab-btn {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}
body.mwp-theme-light .mwp-tab-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
body.mwp-theme-light .mwp-tab-btn.is-active {
  color: #ffffff !important;
}

/* Toggle Switch */
.mwp-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  cursor: pointer;
}
.mwp-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.mwp-slider-toggle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mwp-slider-toggle:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.mwp-switch input:checked + .mwp-slider-toggle {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: #10b981;
}
.mwp-switch input:checked + .mwp-slider-toggle:before {
  transform: translateX(22px);
}
body.mwp-theme-light .mwp-slider-toggle {
  background: #cbd5e1;
  border-color: #94a3b8;
}
body.mwp-theme-light .mwp-slider-toggle:before {
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
}

/* Inputs & Form Controls */
.mwp-input, .mwp-textarea, .mwp-select {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.mwp-input:focus, .mwp-textarea:focus, .mwp-select:focus {
  border-color: var(--mwp-primary) !important;
  box-shadow: 0 0 0 3px var(--mwp-glow) !important;
  outline: none !important;
}
body.mwp-theme-light .mwp-input,
body.mwp-theme-light .mwp-textarea,
body.mwp-theme-light .mwp-select {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

/* Modern Toast Alert */
.mwp-toast-alert {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999999;
  padding: 14px 22px;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 36px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.mwp-toast-alert.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.mwp-toast-alert .dashicons {
  color: #10b981;
  font-size: 22px;
  width: 22px;
  height: 22px;
}
