/*
 * Cashback Pro V36.7.122 — remove the thin white line protruding above
 * rounded content panels in Default Light mode.
 */

/* Structural page shells must not draw a horizontal top edge. */
html body.theme-default.default-light-mode main.main-container,
html body.theme-default.default-light-mode .main-container,
html body.theme-default.default-light-mode .main-container > .tab-content.active,
html body.theme-default.default-light-mode .main-container > .admin-pane.active,
html body.theme-default.default-light-mode .tab-content.active,
html body.theme-default.default-light-mode .admin-pane.active,
html body.theme-default.default-light-mode #tab-profile,
html body.theme-default.default-light-mode #tab-contact-links,
html body.theme-default.default-light-mode #tab-orders,
html body.theme-default.default-light-mode #tab-finance,
html body.theme-default.default-light-mode #tab-commission,
html body.theme-default.default-light-mode #tab-policy,
html body.theme-default.default-light-mode #tab-support,
html body.theme-default.default-light-mode #tab-ai,
html body.theme-default.default-light-mode #tab-knowledge,
html body.theme-default.default-light-mode #tab-admin {
  border-top: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Remove decorative shell pseudo-elements that can escape rounded corners. */
html body.theme-default.default-light-mode main.main-container::before,
html body.theme-default.default-light-mode main.main-container::after,
html body.theme-default.default-light-mode .main-container::before,
html body.theme-default.default-light-mode .main-container::after,
html body.theme-default.default-light-mode .tab-content.active::before,
html body.theme-default.default-light-mode .tab-content.active::after,
html body.theme-default.default-light-mode .admin-pane.active::before,
html body.theme-default.default-light-mode .admin-pane.active::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: none !important;
}

/* The page title/header wrapper is layout only; rounded content cards retain
   their own border and glass effect. */
html body.theme-default.default-light-mode .main-container > .tab-content.active > .section-heading,
html body.theme-default.default-light-mode .main-container > .admin-pane.active > .section-heading,
html body.theme-default.default-light-mode .tab-content.active > .section-heading,
html body.theme-default.default-light-mode .admin-pane.active > .section-heading,
html body.theme-default.default-light-mode #tab-profile > .section-heading,
html body.theme-default.default-light-mode #tab-contact-links > .section-heading {
  border-top: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Remove pseudo-lines on headings only, not separators inside cards/forms. */
html body.theme-default.default-light-mode .main-container > .tab-content.active > .section-heading::before,
html body.theme-default.default-light-mode .main-container > .tab-content.active > .section-heading::after,
html body.theme-default.default-light-mode .main-container > .admin-pane.active > .section-heading::before,
html body.theme-default.default-light-mode .main-container > .admin-pane.active > .section-heading::after,
html body.theme-default.default-light-mode .tab-content.active > .section-heading::before,
html body.theme-default.default-light-mode .tab-content.active > .section-heading::after,
html body.theme-default.default-light-mode .admin-pane.active > .section-heading::before,
html body.theme-default.default-light-mode .admin-pane.active > .section-heading::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Hide only a leading structural HR; internal dividers remain untouched. */
html body.theme-default.default-light-mode .main-container > hr:first-child,
html body.theme-default.default-light-mode .main-container > .tab-content.active > hr:first-child,
html body.theme-default.default-light-mode .main-container > .admin-pane.active > hr:first-child {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
