/* === Branding sidebar Giovanoni: logo limpio sin circulo, footer firma === */

/* Reemplazo del logo Wagtail por Giovanoni; ocultamos el SVG/circulo original. */
.sidebar-custom-branding,
.sidebar-wagtail-branding {
  background-image: url("/static/img/admin/logo_giovanoni.5fc50665ce2f.png") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 78% auto !important;
  background-color: transparent !important;
  width: 100% !important;
  height: 70px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px !important;
  box-sizing: border-box !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Ocultar TODO el contenido nativo del branding (SVG con circulo, etc).
   El logo Giovanoni se renderiza solo via background-image del contenedor. */
.sidebar-custom-branding *,
.sidebar-wagtail-branding * {
  display: none !important;
}
.sidebar-custom-branding::before,
.sidebar-custom-branding::after,
.sidebar-wagtail-branding::before,
.sidebar-wagtail-branding::after {
  display: none !important;
}

/* Ocultar link "Wagtail X.Y editor guide" del account summary. */
a[href*="guide.wagtail.org"],
a[href*="wagtail.org/wagtail-"],
a[href*="docs.wagtail.org"] {
  display: none !important;
}

/* Footer dentro del sidebar (NO fixed) - no tapa action bar de Wagtail. */
.panorama-admin-footer {
  padding: 14px 10px !important;
  font-size: 0.65rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
  text-align: center !important;
  letter-spacing: 0.02em !important;
  line-height: 1.35 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  font-family: system-ui, -apple-system, sans-serif !important;
  margin-top: auto !important;
}
