/* Corps et fond */
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #1b2735, #090a0f);
  color: #fff;
  margin: 0;
  padding: 20px;
  text-align: center; /* centre tous les éléments dans body */
}

/* Header - Titre centré en haut */
header h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #ffd700; /* doré */
}

/* Conteneur de l’image centré avec marge */
.image-container {
  margin-bottom: 30px;
}

/* Limite la largeur de l’image et la centre */
.image-container img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

/* Main contient formulaire et texte */
main p {
  font-style: italic;
  margin-bottom: 20px;
}

/* Formulaire centré */
.form-jedi {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  max-width: 350px;
  margin: 0 auto 40px auto; /* centre horizontalement et marge en bas */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  text-align: left; /* texte du formulaire aligné à gauche */
}

/* Étiquettes */
label {
  display: block;
  margin-top: 12px;
  font-weight: bold;
  color: #ddd;
}

/* Champs texte, mot de passe, textarea */
input[type="text"],
input[type="password"],
textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #555;
  border-radius: 4px;
  background: #1a1a2e;
  color: white;
}

/* Textarea ajustable verticalement */
textarea {
  resize: vertical;
}

/* Bouton submit */
.btn-submit {
  margin-top: 20px;
  padding: 12px;
  width: 100%;
  background: #00bfff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1em;
}

/* Effet au survol */
.btn-submit:hover {
  background: #0095d6;
}

/* Radios inline */
label input[type="radio"] {
  margin-right: 8px;
}
