
/* Badge Removal CSS - Less aggressive version */

/* Target specific lovable badge structures */
div[style*="Edit with Lovable"],
div[style*="edit with lovable"],
div:has(> a[href*="lovable"]),
div[class*="__love"],
div[class*="love-"],
div[class*="-love"],
div[class*="badge-"],
div[class*="-badge"],
div[id*="badge-"],
div[id*="-badge"],
div[data-testid*="badge"],
div[data-testid*="love"],
/* User-provided selectors - fixed */
iframe[src*="lovable.dev"],
/* Backup generic match */
iframe[src*="lovable.dev"],
iframe[src*="lovable.app"],
iframe[src*="gptengineer.app"],
iframe[src*="gpteng.co"],
div:has(> a[href*="lovable.dev"]),
div:has(> a[href*="lovable.app"]),
div:has(> a[href*="gptengineer.app"]),
div:has(> a[href*="gpteng.co"]),
div[class*="lovable"],
div[class*="Lovable"],
div[id*="lovable"],
div[id*="Lovable"],
div[data-lovable],
div[aria-label*="lovable"],
div[aria-label*="Lovable"],
#lovable-badge,
.lovable-badge,
.lovable-edit,
.lovable-button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  position: absolute !important;
  z-index: -9999 !important;
}

/* Target the popup with an X button */
div:has(> div > button[aria-label="close"]),
div:has(> div > button:has(> svg[stroke="currentColor"])) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}
