/* ───────────────────────────────────────────────────────────────
   Thème de login IRIU — charte officielle
   Navy  #1e2a4a   (principale)
   Teal  #5bbfb3   (accent)
   ─────────────────────────────────────────────────────────────── */

/* Fond de page : dégradé navy IRIU */
.login-pf body {
  background: linear-gradient(135deg, #1e2a4a 0%, #16203a 100%) !important;
  background-attachment: fixed;
}

/* Logo IRIU/PDFI dans le header (posé sur fond blanc pour visibilité) */
#kc-header-wrapper {
  background-image: url(../img/iriu-logo.png);
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  height: 110px;
  min-height: 110px;
  width: 100%;
  max-width: 420px;
  padding: 14px 18px;
  margin: 0 auto 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  /* masque le texte "iriu" du realm sans casser le layout */
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  white-space: nowrap;
  overflow: hidden;
}

/* Carte de login */
.login-pf-page .card-pf {
  border-top: 3px solid #5bbfb3;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* Boutons primaires (Se connecter) */
.login-pf .btn-primary,
.btn-primary {
  background-color: #5bbfb3 !important;
  border-color: #5bbfb3 !important;
  color: #ffffff !important;
  font-weight: 600;
}
.login-pf .btn-primary:hover,
.login-pf .btn-primary:focus,
.btn-primary:hover,
.btn-primary:focus {
  background-color: #49a99d !important;
  border-color: #49a99d !important;
}

/* Liens (mot de passe oublié, etc.) */
a,
a:hover,
a:focus {
  color: #5bbfb3;
}

/* Champs focus */
.form-control:focus {
  border-color: #5bbfb3;
  box-shadow: 0 0 0 0.15rem rgba(91, 191, 179, 0.35);
}

/* Sélecteur de langue */
#kc-locale ul {
  background-color: #1e2a4a;
}
#kc-locale ul li a:hover {
  color: #5bbfb3;
}

/* Checkbox "se souvenir de moi" */
.login-pf-page .checkbox label {
  color: #1e2a4a;
}
