/* Remove any filter effects from body */

body[style*="filter"] {
  filter: none !important;
}

/* Remove backdrop dimming */

body[style*="backdrop-filter"] {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Remove any opacity changes to body */

body[style*="opacity"] {
  opacity: 1 !important;
}

/* Hide Bootstrap Studio smart form modal and backdrop */

.modal[data-bss-smart-form-modal], .modal-backdrop, .modal-backdrop.show, .modal-backdrop.fade {
  display: none !important;
  opacity: 0 !important;
}

/* Hide smart form iframe */

iframe[src*="bootstrapstudio.io/smartform-iframe"] {
  display: none !important;
}

/* Prevent body from getting modal-open class styling */

body.modal-open {
  overflow: auto !important;
  padding-right: 0 !important;
}

/* Remove any overlay or backdrop elements that might be created */

.fade.show, .modal-backdrop.fade.show {
  display: none !important;
}

/* Ensure no dimming effects on main content */

.container, .container-fluid, main, #main-content {
  filter: none !important;
  opacity: 1 !important;
}

/* Your existing message styling */

.success-message, .error-message {
  opacity: 0;
}

/* Additional safeguard - remove any dynamically added overlay styles */

[style*="background-color: rgba"], [style*="background: rgba"], div[style*="position: fixed"][style*="z-index"] {
  background: transparent !important;
  display: none !important;
}

