/* ===== PAGE DE CONNEXION ===== */
.auth {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: radial-gradient(circle at 30% 50%, #e8fff2, #ffffff);
  padding: 20px;
  text-align: center;
}

.auth h1 {
  color: #27ae60;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.auth-box {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeIn 0.5s ease;
}

.auth-box input {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 1em;
}

.auth-box button {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  border: none;
  padding: 12px;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: transform 0.2s;
}

.auth-box button:hover {
  transform: scale(1.03);
}

.switch {
  font-size: 0.9em;
  color: #555;
}

.switch a {
  color: #27ae60;
  text-decoration: none;
  font-weight: bold;
}

.hidden {
  display: none;
}
