/*
Auteur : Léon
Date : 11.12.2025
*/

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", Arial, sans-serif;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #ece9e6, #ffffff);
}

/* Conteneur centré */
.container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
a{
  color: #ffffff;
}
/* Formulaire */
.login-box {
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  width: 360px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.6s ease-out;
}

/* Logo */
.logo {
  width: 80px;
  display: block;
  margin: 0 auto 15px auto;
}

/* Titre */
h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #222;
}

/* Labels */
label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

/* Inputs */
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border-radius: 8px;
  border: 1px solid #bbb;
  font-size: 15px;
  transition: 0.2s;
}

input:focus {
  border-color: #000;
}

/* Bouton */
button {
  width: 100%;
  padding: 12px;
  background: #111;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 17px;
  cursor: pointer;
  transition: 0.25s;
}

button:hover {
  background: #333;
  transform: translateY(-2px);
}

/* Texte inscription */
.register-text {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.register-text a {
  color: #000;
  font-weight: bold;
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 1.2rem;
  font-size: 14px;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .login-box {
    width: 90%;
    padding: 25px;
  }
}
