/* RESET ET STYLES DE BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', 'Segoe UI', sans-serif;
}

:root {
  --primary: #24881c;
  --primary-dark: #185a13;
  --primary-light: #3aaa3f;
  --secondary: #2d2d2d;
  --dark: #171717;
  --light: #f1f1f1;
  --danger: #b42b2b;
  --warning: #e67e22;
  --success: #27ae60;
  --accent: #75b934;
}

body {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)), 
              url('/images/dayz-background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: var(--light);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* CONTAINER PRINCIPAL */
.reset-container {
  width: 100%;
  max-width: 500px;
  background-color: rgba(25, 25, 25, 0.95);
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  border: 1px solid rgba(70, 70, 70, 0.5);
  padding: 30px;
  animation: fadeIn 0.4s ease-out forwards;
}

/* TITRES */
h1 {
  color: var(--primary-light);
  font-size: 1.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(58, 170, 63, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
  margin-bottom: 25px;
  position: relative;
  text-align: center;
}

h1::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--accent);
}

/* FORMULAIRE */
form {
  margin: 25px 0;
}

input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--light);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

input[type="email"]:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(58, 170, 63, 0.25);
}

/* BOUTON D'ENVOI */
button[type="submit"] {
  width: 100%;
  padding: 12px 15px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

button[type="submit"]:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: none;
}

/* MESSAGES DE CONFIRMATION */
.message {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-size: 0.95rem;
  text-align: center;
}

.message-success {
  background-color: rgba(39, 174, 96, 0.2);
  color: #2ecc71;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.message-error {
  background-color: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

/* DESCRIPTION */
.form-description {
  margin-bottom: 20px;
  text-align: center;
  color: #bbb;
  font-size: 0.95rem;
}

/* LIENS DE NAVIGATION */
.navigation-links {
  margin-top: 25px;
  text-align: center;
  font-size: 0.9rem;
}

.navigation-links a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
  margin: 5px 0;
}

.navigation-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

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

/* MEDIA QUERIES */
@media (max-width: 480px) {
  .reset-container {
    width: 95%;
    padding: 20px;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  input, button {
    font-size: 0.9rem;
  }
}