/* =========================================================
   LOGO CIRCULAR — VOLUNTARIADO LATIDO SOLIDARIO
   Complemento visual. No sustituye styles.css.
   ========================================================= */

/* Regla común: fuerza un recorte circular limpio sin deformar el logo. */
.brand img,
.auth-brand-panel img,
.vol-portal-brand img {
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #ffffff !important;
  border: 2px solid rgba(7, 61, 140, 0.14) !important;
  box-shadow: 0 8px 24px rgba(7, 61, 140, 0.14) !important;
  padding: 6px !important;
  clip-path: circle(50% at 50% 50%);
}

/* Gestor administrativo / barra lateral */
.brand img {
  width: 150px !important;
  height: 150px !important;
  max-width: 150px !important;
  max-height: 150px !important;
  display: block;
  margin: 0 auto;
}

/* Pantalla de inicio de sesión */
.auth-brand-panel img {
  width: 140px !important;
  height: 140px !important;
  max-width: 140px !important;
  max-height: 140px !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Cabecera del portal del voluntario */
.vol-portal-brand img {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  flex: 0 0 58px;
  padding: 3px !important;
  margin: 0;
}

/* Ajuste cuando la barra lateral se compacta. */
@media (max-width: 1100px) {
  .brand img {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    padding: 3px !important;
  }
}

/* En móviles el portal mantiene un logo compacto. */
@media (max-width: 760px) {
  .auth-brand-panel img {
    width: 108px !important;
    height: 108px !important;
    max-width: 108px !important;
    max-height: 108px !important;
  }

  .vol-portal-brand img {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    flex-basis: 48px;
  }
}
