/* ===== CONTACT.CSS v2 (responsive texte) ===== */

/* Général */
#connexion {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* Formulaire centré avec carte flottante */
.connexion__form {
  background: linear-gradient(135deg, #ff9933, #cc6600);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
}

/* Chaque champ (titre + input/textarea) */
.form__control {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

/* Titre du champ */
.form__control label {
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
}

/* Champ de saisie */
.form__control input[type="text"],
.form__control textarea {
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  background-color: #fff7ec;
  font-size: 1rem;
  color: #333;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Zone de texte plus grande */
#message_content {
  height: 200px;
  width: 100%;
  resize: vertical;
}

/* Bouton Envoyer */
button.btn {
  background: white;
  color: #cc6600;
  border: 2px solid #cc6600;
  padding: 0.75rem 2rem;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
}

/* Style désactivé */
button.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button.btn:hover:not(:disabled) {
  background: #cc6600;
  color: white;
}

/* Messages d'alerte */
.alert {
  margin-top: 2rem;
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
}

.alert-danger {
  background-color: #ffe5e5;
  color: #a60000;
  border: 1px solid #ffa0a0;
}

/* Responsive Mobile */
@media screen and (max-width: 600px) {
  .connexion__form {
    width: 95%;
    padding: 1rem;
  }

  .form__control label {
    font-size: 1rem;
  }

  .form__control input[type="text"],
  .form__control textarea {
    font-size: 0.95rem;
  }

  button.btn {
    font-size: 0.9rem;
  }
}