/* Avada's custom height cap can cover an inline notice with the mobile menu. */
#wrapper:has(> #fgcccc-fraud-notice:not([data-variant="floating"])) > .fusion-tb-header {
  max-height: none !important;
}

/* Keep the submitted HTML's inline styles and restore browser defaults. */
#fgcccc-fraud-notice,
#fgcccc-fraud-notice :where(*) {
  all: revert;
}

#fgcccc-fraud-notice {
  padding-inline: 8px;
  color: #000;
  font: 16px/normal serif;
}

#fgcccc-fraud-notice[data-palette="purple"] {
  --fgcccc-accent: #5e3764;
  --fgcccc-on-accent: #ffffff;
  --fgcccc-heading: #5e3764;
  --fgcccc-panel: #faf5f9;
  --fgcccc-border: #e2d9e2;
}

#fgcccc-fraud-notice[data-palette="custom"] {
  --fgcccc-heading: color-mix(in srgb, var(--fgcccc-accent) 38%, black);
  --fgcccc-panel: color-mix(in srgb, var(--fgcccc-accent) 6%, white);
  --fgcccc-border: color-mix(in srgb, var(--fgcccc-accent) 22%, white);
}

#fgcccc-fraud-notice:is([data-palette="purple"], [data-palette="custom"]) {
  --fgcccc-dark-panel: color-mix(in srgb, var(--fgcccc-accent) 30%, #0b1020);
}

#fgcccc-fraud-notice [hidden],
#fgcccc-fraud-notice[hidden] {
  display: none;
}

#fgcccc-fraud-notice :where(summary, button):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (max-width: 424px), (max-height: 540px) {
  #fgcccc-fraud-notice #fraudAlertWidget {
    max-width: min(380px, calc(100vw - 44px)) !important;
    max-height: 55vh;
    overflow: auto !important;
  }
}
