/* Formulaire centré horizontalement */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #000;
  background-size: cover;
  background-position: center;
}

/* Correction du centrage */
.form-container {
  width: 90%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 25px;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  font-size: 1.1em;
}

input, select {
  width: 100%;
  padding: 16px;
  margin-top: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1.1em;
  box-sizing: border-box;
}

button {
  width: 100%;
  margin-top: 30px;
  padding: 16px;
  font-size: 1.2em;
  background-color: green;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: darkgreen;
}

/* Responsive */
@media screen and (max-width: 600px) {
  .form-container {
    margin: 20px auto;
    padding: 20px;
  }

  h2 {
    font-size: 1.5em;
  }

  input, select, button {
    font-size: 1em;
    padding: 14px;
  }
}
