body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #5e5e5e; /* gris de fond */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px; /* espace entre logo et texte */
  margin-bottom: 40px;
}

.logo {
  width: 100px; 
  margin-bottom: 10px;
}

h1 {
  color: white;
  font-weight: normal;
  margin-bottom: 40px;
  font-size: 60px;
}

.login-box {
  background-color: #575757;
  padding: 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.4);
}

.login-box label {
  color: white;
  font-size: 15px;
  align-self: flex-start;
  margin-top: 10px;
  margin-bottom: 5px;
}

.login-box input {
  width: 250px;
  padding: 8px;
  border: none;
  border-radius: 3px;
  margin-bottom: 10px;
}

.login-box button {
  width: 260px;
  padding: 10px;
  border: none;
  border-radius: 10px;
  margin-top: 10px;
  font-size: 14px;
  cursor: pointer;
}

.login-box .btn-connect {
  background-color: #00AEEF;
  color: white;;
}

.login-box .btn-sign {
  background-color: #717171;
  color: white;
}

.password-container {
  position: relative;
  width: 260px;
}

.password-container input {
  width: 100%;
  padding: 8px;
  padding-right: 40px; /* espace réservé pour l’œil */
  border: none;
  border-radius: 3px;
  box-sizing: border-box;
}

.password-container .eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-75%);
  cursor: pointer;
  width: 20px;   /* ajuste la taille */
  height: 20px;
  user-select: none;
}

.guest {
  margin-top: 10px;
}

.guest a  {
  font-size: 14px;
  color: #00AEEF;
  cursor: pointer;
  text-decoration: none;
}

.error-message {
  color: rgb(100, 22, 22);
  font-weight: bold;
  text-align: center;
}