* { box-sizing: border-box; }

.loginvru {
  font-family: Arial, sans-serif;
  padding-top: 125px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.containeru {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.darkcnvu {
  text-align: center;
}

.moninputvu {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.loginvu {
  width: 100%;
  padding: 10px;
  background: #4e73df;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.loginvu:hover { background: #2e59d9; }

.switchu {
  text-align: center;
  margin-top: 10px;
}

.switchu a {
  color: #4e73df;
  text-decoration: none;
  font-weight: bold;
}

.password-boxu {
  position: relative;
}

.toggleu {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.toggleuu {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

@media (max-width: 400px) {
  .container {
    margin: 15px;
    padding: 20px;
  }
}


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 */
}