/* ============================================================
   BTS LEARNING — Auth layout overrides (login / register)
   Corrige le layout Able Pro v2 : pleine hauteur + image étirée
============================================================ */

html, body {
  height: 100%;
}

.auth-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-main .auth-wrapper.v2 {
  min-height: 100vh;
  flex: 1;
  align-items: stretch;   /* étire sidecontent et form sur toute la hauteur */
}

/* Image latérale : couvre toute la hauteur de la colonne */
.auth-main .auth-wrapper.v2 .auth-sidecontent {
  flex: 0 0 50%;
  max-width: 50%;
  overflow: hidden;
  display: block;
}

.auth-main .auth-wrapper.v2 .auth-sidecontent .img-auth-side {
  width: 100%;
  height: 100%;
  max-width: none;  /* annule img-fluid */
  object-fit: cover;
  display: block;
}

/* Formulaire : centré verticalement dans sa colonne */
.auth-main .auth-wrapper.v2 .auth-form {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

@media (max-width: 1199.98px) {
  .auth-main .auth-wrapper.v2 .auth-sidecontent {
    display: none;
  }
}
