/* ================================================
   CloudEnergy Branding - NUCLEAR OPTION
   Hide EVERYTHING related to Zammad
   ================================================ */

/* Phase 1: Hide by element type */
footer,
footer *,
.footer,
.Footer,
[class*="footer"],
[class*="Footer"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  position: absolute !important;
  left: -99999px !important;
}

/* Phase 2: Hide by content (Zammad references) */
a[href*="zammad"],
a[href*="Zammad"],
img[alt*="Zammad"],
img[src*="zammad"],
[title*="Zammad"],
[aria-label*="Zammad"] {
  display: none !important;
  visibility: hidden !important;
}

/* Phase 3: Specific body class targeting */
body.login footer,
body.signup footer,
body.password_reset footer,
body[class*="login"] footer,
body[class*="signup"] footer,
body[class*="password"] footer {
  display: none !important;
}

/* Phase 4: All SVG and images in footer */
footer svg,
footer img,
.footer svg,
.footer img {
  display: none !important;
}

/* Phase 5: CloudEnergy Footer - AGGRESSIVE PLACEMENT */
body.login::after,
body.signup::after,
body.password_reset::after,
body::after {
  content: 'Powered by CloudEnergy S.r.l' !important;
  display: block !important;
  position: fixed !important;
  bottom: 20px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  text-align: center !important;
  color: #999 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  z-index: 999999 !important;
  background: rgba(255, 255, 255, 0.9) !important;
  padding: 5px 0 !important;
  pointer-events: none !important;
  line-height: 1.5 !important;
}

/* Phase 6: Brand colors */
.btn-primary,
.btn--primary,
button[type="submit"],
input[type="submit"] {
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%) !important;
  border-color: #0ea5e9 !important;
}
