/* NUCLEAR OPTION: Completely destroy the huge green box */

/* Target common elements that might contain the message */
.preview-status.success,
div.success-message, 
div.success-toast,
div.ai-voice-generated,
div.ai-voice-player {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  pointer-events: none !important;
}

/* Forcefully hide ANY container with the text */
div:has(text[contains="Voice Generated Successfully"]),
div:has(*:contains("Voice Generated Successfully")),
div[data-status="success"],
div.status-success {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  position: absolute !important;
  opacity: 0 !important;
}

/* Hide all success boxes everywhere */
div[style*="background-color: green"],
div[style*="background-color: #00"],
div[style*="background-color: rgb(0, 128, 0)"],
div[style*="background-color: rgba(0, 128, 0"],
div[style*="background-color: #0f0"],
div[style*="background-color: #0f0"],
div[style*="background: green"],
div[style*="background: #00"],
div[style*="background: rgb(0, 128, 0)"],
div[style*="background: rgba(0, 128, 0"],
div[style*="background: #0f0"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  position: absolute !important;
  opacity: 0 !important;
}

/* Hide common toast notification containers */
#toast-container,
.toast-top-right,
.toast-container,
.toast-success,
.Toastify__toast--success {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Completely hide the player container in audio-tab */
#verbatik-player-container .preview-status,
.audio-player-container .preview-status {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  opacity: 0 !important;
  display: none !important;
}

/* Ensure the DOM structure containing "Voice Generated Successfully" is hidden */
#editor-audio-status,
#voice-status,
.voice-status,
.generation-status,
.tts-status {
  font-size: 0 !important;
  color: transparent !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  visibility: hidden !important;
}

/* Make sure audio players are still shown */
audio {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  height: auto !important;
  width: auto !important;
}

/* Override ANY containing element that might have green color */
[class*="success"],
[class*="generated"],
[id*="success"],
[id*="generated"] {
  background-color: transparent !important;
  color: #666 !important;
  font-size: 13px !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}