/* Identité visuelle Truffaut pour le portail LinShare (chargée par index.html, voir scripts/setup.sh)
   Palette relevée sur www.truffaut.com : vert profond #004E38, vert foncé #136A55, vert vif #2EBB99,
   fond clair #EBF9F3, texte #232323.
   LinShare impose ses couleurs avec des règles !important (parfois par identifiant, ex. #l-login) :
   les nôtres doivent donc être au moins aussi spécifiques. */

/* Bouton principal de la page de connexion */
html body #l-login .conexion,
html body #l-login .btn.bgm-lightblue.conexion,
html body .btn.bgm-lightblue {
  background-color: #136A55 !important;
  background-image: none !important;
  border-color: #136A55 !important;
  color: #FFFFFF !important;
}
html body #l-login .conexion:hover,
html body #l-login .conexion:focus,
html body .btn.bgm-lightblue:hover {
  background-color: #004E38 !important;
  border-color: #004E38 !important;
}

/* Lien « Mot de passe oublié ? » */
html body #l-login .mdp-forgotten,
html body .mdp-forgotten {
  color: #136A55 !important;
}

/* Badge « Libre & Free » (mention du produit libre) : masqué à la demande de Truffaut */
html body .login-libreNfreeCtn,
html body .libre-and-free,
html body .community-logo {
  display: none !important;
}

/* login-hauteur : formulaire de connexion coupé en haut sur écran peu haut (1080p à 125 %) */
html body .parent-login-form-alignment {
  top: max(50%, 372px) !important;
}

/* Boite « Ce partage est protege par un mot de passe » (acces des tiers aux partages) : le bandeau vide bleu #3fa9ff de LinShare
   devient un bandeau vert fonce Truffaut avec le logo blanc (19/10/2026) */
html body .anonymous-url-password-modal .password-modal-header {
  height: 110px !important;
  background: #004E38 url(/branding/truffaut-logo-white.svg) center / auto 38px no-repeat !important;
}
