/* custom-dhi.css (skin DHI du portail LemonLDAP, repris d'APFDH) */

/* Logo de l'en-tête : le fichier source fait 827 × 971 */
img.logo-dhi {
  max-height: 140px;
  width: auto;
  margin: 1rem auto;
}

/* Drapeaux de langue, remontés en tête de la zone de connexion par custom-dhi.js */
span#languages.dhi-langues {
  text-align: center;
  max-height: none;
  margin: 0 0 1rem;
}
span#languages.dhi-langues img.langicon {
  height: 24px;
  width: auto;
  margin: 0 0.4rem;
}

/* Page de déconnexion : l'iframe du logout front-channel vers Bonita est bloquée à l'affichage
   (X-Frame-Options) mais la requête part bien ; on la masque, custom-dhi.js affiche un message traduit */
#logincontent form.info .card-body:has(iframe) {
  min-height: 4rem;
  text-align: center;
}
#logincontent form.info .card-body:has(iframe) iframe {
  position: absolute; width: 1px; height: 1px; border: 0; opacity: 0;
}
#logincontent form.info .card-body p.dhi-logout {
  padding: 1rem 0; font-size: 1.1rem; margin: 0;
}
