/* Cashback V36.7.101
   Backup & Update: the tabs are independent buttons; the active tab panel is a
   layout wrapper only. Remove the extra pale/gray shell at BOTH levels:
   #admin-pane-backups and .backup-update-panel. Keep inner .admin-card blocks
   as the only visible content cards (server details, upload, remote update,
   rollback panels). Do not alter the tab buttons or their active state.
*/

/* Root pane: it must not paint a large square/rounded surface behind tabs/content.
   Theme-scoped selectors outrank the legacy dark/light/seasonal surface rules. */
html body.default-light-mode #tab-admin #admin-pane-backups,
html.theme-bootstrap-light body #tab-admin #admin-pane-backups,
html body.default-dark-mode #tab-admin #admin-pane-backups,
html.theme-bootstrap-default:not(.theme-bootstrap-light) body #tab-admin #admin-pane-backups,
html body.theme-halloween:not(.default-light-mode) #tab-admin #admin-pane-backups,
html body.theme-winter:not(.default-light-mode) #tab-admin #admin-pane-backups,
html body.theme-ocean:not(.default-light-mode) #tab-admin #admin-pane-backups,
html body[class*="theme-"]:not(.default-light-mode):not(.theme-default):not(.theme-halloween):not(.theme-winter):not(.theme-ocean) #tab-admin #admin-pane-backups {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
  overflow: visible !important;
}

/* Selected tab: layout only. The inner .admin-card(s) are intentionally retained. */
html body.default-light-mode #tab-admin #admin-pane-backups > .backup-update-panel,
html.theme-bootstrap-light body #tab-admin #admin-pane-backups > .backup-update-panel,
html body.default-dark-mode #tab-admin #admin-pane-backups > .backup-update-panel,
html.theme-bootstrap-default:not(.theme-bootstrap-light) body #tab-admin #admin-pane-backups > .backup-update-panel,
html body.theme-halloween:not(.default-light-mode) #tab-admin #admin-pane-backups > .backup-update-panel,
html body.theme-winter:not(.default-light-mode) #tab-admin #admin-pane-backups > .backup-update-panel,
html body.theme-ocean:not(.default-light-mode) #tab-admin #admin-pane-backups > .backup-update-panel,
html body[class*="theme-"]:not(.default-light-mode):not(.theme-default):not(.theme-halloween):not(.theme-winter):not(.theme-ocean) #tab-admin #admin-pane-backups > .backup-update-panel {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  color: inherit !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
  overflow: visible !important;
}

/* The direct content cards provide the single visible rounded surface. */
html body #tab-admin #admin-pane-backups > .backup-update-panel > .admin-card,
html body #tab-admin #admin-pane-backups > .backup-update-panel > .backup-content-card {
  box-sizing: border-box !important;
  max-width: 100% !important;
}

/* Do not reintroduce a wrapper through pseudo-elements from older theme styles. */
html body #tab-admin #admin-pane-backups::before,
html body #tab-admin #admin-pane-backups::after,
html body #tab-admin #admin-pane-backups > .backup-update-panel::before,
html body #tab-admin #admin-pane-backups > .backup-update-panel::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Keep spacing after the independent four tab buttons without enclosing them. */
html body #tab-admin #admin-pane-backups > .backup-update-subnav {
  margin-bottom: 14px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
