/* ==========================================================================
   contact.css -- mise en forme du formulaire de contact (front)
   Gabarit : asset/templates/basic-contact.php
   Extrait de Form.css le 2026-09-01 pour separer contact et incident.
   ========================================================================== */

/* ===========================
   CADRE GLOBAL + CENTRAGE
=========================== */
#form_box_contact {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 20px 0 40px;

}

.basic_form_contact {
  width: 100%;
  max-width: 900px;                 /* même largeur visuelle que l’autre form */
  border: 1px solid #c2d8e6;        /* leger cadre bleu pale */
  border-radius: 4px;
  padding: 25px 30px 40px;
  box-sizing: border-box;
    border-top-left-radius: 30px 50px;
}

/* ===========================
   FORMULAIRE
=========================== */
.form_contact {
  width: 100%;
  font-family: "Nunito", Arial, sans-serif;
}

/* champ anti-bot caché */
.basic_input_contact_control {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* message succès / erreur si tu l’utilises */
.form_contact .ced_form_success,
.form_contact .ced_form_error {
  margin-bottom: 20px;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 14px;
}

.ced_form_success {
  background: #dceafc;
  color: #1B5FBF;
}
.ced_form_error {
  background: #ffd7d7;
  color: #8d2c2c;
}

/* ===========================
   LISTE DES CHAMPS
=========================== */
ul.basic_contact_forms {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.basic_contact_forms li {
  margin-bottom: 18px;
}

/* ===========================
   LABELS (style comme l’autre form)
=========================== */
.basic_label_contact_form {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
  color: #111;
}

/* ===========================
   INPUTS + TEXTAREA
   -> même style que ton formulaire de constat
=========================== */
.basic_input_contact_form,
.basic_contact_forms textarea,#form_box_contact input:read-write {
  display: block;
  border: none;
  background: #DCEBFA;             /* bleu tres clair */
  border-bottom: 6px solid #3F6C8C;
  box-shadow: -1px 8px 6px -4px #000;
  transition: all 0.5s ease-out;
  width: 50%;                      /* comme sur ton formulaire multi-step */
  padding: 8px 10px;
  font-size: 14px;
  color: #333;
  box-sizing: border-box;
}

.basic_input_contact_form::placeholder {
  color: #7A93A6;
}

/* textarea : un peu plus haut et redimensionnable */
.basic_contact_forms textarea#commentaire {
  height: 150px;
  width: 100%;
  resize: vertical;
}

/* focus : même sensation que l’autre form (tu peux ajuster si besoin) */
.basic_input_contact_form:focus,
.basic_contact_forms textarea:focus {
  outline: none;
  border-bottom-color: #2F80ED;
  box-shadow: -1px 10px 12px -6px rgba(0,0,0,0.35);
}

/* ===========================
   CHECKBOX CONDITIONS
=========================== */
.basic_contact_forms li.textarea input[type="checkbox"] {
  margin-right: 6px;
}

.basic_contact_forms li.textarea label {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

/* ===========================
   BOUTON ENVOYER
   -> style comme “Suivant”
=========================== */
.basic_contact_subbmit {
  margin-top: 25px;
  text-align: right;
}

.basic_custom_form_contact_btn,#form_box_contact button[type="submit"] {
  margin-top: 20px;
  background-color: #2F80ED;
  color: white;
  cursor: pointer;
  padding: 15px 25px;
  box-shadow: -1px 8px 6px -4px #000;
  transition: all 0.5s ease-out;
  border-radius: 10px;
  border: 1px solid white;
  font-weight: bold;


}

.basic_custom_form_contact_btn:hover,#form_box_contact button[type="submit"]:hover {
  box-shadow: 0px 1px 5px -4px #000;
    background-color: #1B5FBF;
}

.basic_custom_form_contact_btn:active {



}


/* ===========================
   CHECKBOX / RADIO (aspect custom)
=========================== */
#form_box_contact input[type=checkbox]:checked {
	background-color: #2F80ED;
}

#form_box_contact input[type=checkbox] {
	border: 3px solid white;
	background-color: #c1c1c1;
	box-shadow: 0px 3px 3px -1px black,inset 0px 0px 3px 1px #3c3c3c9c;
}

#form_box_contact input[type=checkbox] {
  appearance: block;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  transform: translateY(5px);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
