/*
  This CSS hides the eraser icon ONLY while the page is not disabled.
  When JS sets <html data-me-reset-disabled="1">, all rules below are bypassed.
*/

:root:not([data-me-reset-disabled="1"]) .mwai-input .mwai-input-submit:has(svg.lucide.lucide-eraser) {
  display: none !important;
  pointer-events: none !important;
}

/* Fallback for browsers without :has() — JS will add this class on the button while enabled */
.mwai-input .mwai-input-submit.me-eraser-hidden {
  display: none !important;
}
