* { box-sizing: border-box; }

.loginvr {
  font-family: Arial, sans-serif;
  padding-top: 125px;
  padding-bottom: 0;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
   
  flex-direction: column;

}

.containerts {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.darkcnv {
  text-align: center;
}

.moninputv {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.loginv {
  width: 100%;
  padding: 10px;
  background: #4e73df;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.loginv:hover { background: #2e59d9; }

.switchts {
  text-align: center;
  margin-top: 10px;
}

.switchts a {
  color: #4e73df;
  text-decoration: none;
  font-weight: bold;
}

.password-boxts {
  position: relative;
}

.togglets {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}


@media (max-width: 400px) {
  .containerts {
    margin: 15px;
    padding: 20px;
  }
}


/*footer {
  background: #222;
  color: white;
  padding: 0;
  margin: 0;
  height: 100%;
}

body{
  height: 100%;
}

footer {
    flex-shrink: 0; 
}*/
html, body {
    height: 100%; /* Le corps occupe toute la hauteur */
    margin: 0;
}

body {
    display: flex;
    flex-direction: column; /* Organise les éléments en colonne */
    min-height: 100vh; /* La hauteur minimale est celle de la fenêtre */
}


main {
    flex: 1; /* Le contenu prend tout l'espace disponible */
}
footer {
    flex-shrink: 0; /* Le footer ne rétrécit pas */
}