/* Cashback V36.7.98 — remove the legacy rectangular backdrop behind Admin navigation.
   Root cause: V36.7.95 applied theme-specific backgrounds to the OUTER .admin-card.
   Those selectors are more specific than V36.7.97's generic transparent reset, so
   the rectangle survived behind the new rounded .admin-nav-shell. This override
   matches each legacy theme selector and leaves the rounded child shell untouched.
*/

html body.theme-default.default-light-mode #tab-admin > .admin-card,
html body.default-light-mode #tab-admin > .admin-card,
html body.theme-default.default-dark-mode #tab-admin > .admin-card,
html body.default-dark-mode #tab-admin > .admin-card,
html body.theme-bootstrap-light #tab-admin > .admin-card,
html body.theme-bootstrap-default:not(.theme-bootstrap-light) #tab-admin > .admin-card,
html body.theme-halloween:not(.default-light-mode) #tab-admin > .admin-card,
html body.theme-winter:not(.default-light-mode) #tab-admin > .admin-card,
html body.theme-ocean:not(.default-light-mode) #tab-admin > .admin-card {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* Older theme sheets also attached pseudo-surface layers to the parent. */
html body.theme-default.default-light-mode #tab-admin > .admin-card::before,
html body.default-light-mode #tab-admin > .admin-card::before,
html body.theme-default.default-dark-mode #tab-admin > .admin-card::before,
html body.default-dark-mode #tab-admin > .admin-card::before,
html body.theme-bootstrap-light #tab-admin > .admin-card::before,
html body.theme-bootstrap-default:not(.theme-bootstrap-light) #tab-admin > .admin-card::before,
html body.theme-halloween:not(.default-light-mode) #tab-admin > .admin-card::before,
html body.theme-winter:not(.default-light-mode) #tab-admin > .admin-card::before,
html body.theme-ocean:not(.default-light-mode) #tab-admin > .admin-card::before,
html body.theme-default.default-light-mode #tab-admin > .admin-card::after,
html body.default-light-mode #tab-admin > .admin-card::after,
html body.theme-default.default-dark-mode #tab-admin > .admin-card::after,
html body.default-dark-mode #tab-admin > .admin-card::after,
html body.theme-bootstrap-light #tab-admin > .admin-card::after,
html body.theme-bootstrap-default:not(.theme-bootstrap-light) #tab-admin > .admin-card::after,
html body.theme-halloween:not(.default-light-mode) #tab-admin > .admin-card::after,
html body.theme-winter:not(.default-light-mode) #tab-admin > .admin-card::after,
html body.theme-ocean:not(.default-light-mode) #tab-admin > .admin-card::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* The only surface for the category menu remains the rounded nav shell. */
html body #tab-admin > .admin-card > .admin-nav-shell {
  border-radius: 30px !important;
  overflow: hidden !important;
}
@media (max-width: 700px) {
  html body #tab-admin > .admin-card > .admin-nav-shell {
    border-radius: 26px !important;
  }
}
