/* Style général du formulaire */
form {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Titres */
form h3 {
  color: #366150; /* couleur verte Espace24 */
  font-weight: bold;
  margin-bottom: 20px;
}

/* Labels */
form label {
  font-weight: 600;
  color: #333;
}

/* Champs texte et textarea */
form .form-control {
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: all 0.3s ease;
}

form .form-control:focus {
  border-color: #366150;
  box-shadow: 0 0 5px rgba(54,97,80,0.4);
}

/* Menu déroulant */
form select.form-control {
  background-color: #fff;
  color: #333;
  cursor: pointer;
}

form select.form-control option {
  padding: 8px;
}

/* Bouton */
form button {
  background-color: #366150;
  border: none;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #27463d;
}

/* Bannière */
.banner-formation {
  margin-top: 40px;
  text-align: center;
}

.banner-formation img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* Image responsive dans la colonne gauche */
.img-formation-wrapper {
  margin-top: 20px;
  text-align: center;
}

.img-formation {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.required {
  color: red;
  font-weight: bold;
}

.hidden {
  display: none;
}

/* Ajustement du titre sur mobile */
@media (max-width: 767px) {
  h2.page-title {
    margin-top: 10px !important;   /* force la marge réduite */
    padding-top: 0 !important;
  }
}
