/* Wrapper form */
.webform-submission-devis-pharma-add-form {
  background: #f4f6ec;
  padding: 2rem;
  border-radius: 12px;
  max-width: 650px;
  margin: 2rem auto;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}
/* Titre du form */
.webform-submission-devis-pharma-add-form::before {
  content: "Demande de devis - Pharmacie";
  display: block;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #485c11;
  margin-bottom: 1.5rem;
}
/* Labels */
.webform-submission-devis-pharma-add-form label {
  color: #3a4a0e;
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.3rem;
}
/* Input, select & textarea */
.webform-submission-devis-pharma-add-form input[type="text"],
.webform-submission-devis-pharma-add-form input[type="email"],
.webform-submission-devis-pharma-add-form input[type="tel"],
.webform-submission-devis-pharma-add-form input[type="number"],
.webform-submission-devis-pharma-add-form select,
.webform-submission-devis-pharma-add-form textarea {
  background: #ffffff;
  border: 1px solid #d7ddc0;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  color: #3a4a0e;
  width: 100%;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
/* Placeholder */
.webform-submission-devis-pharma-add-form input::placeholder,
.webform-submission-devis-pharma-add-form textarea::placeholder {
  color: #a8b48a;
  font-style: normal;
}
/* Focus state */
.webform-submission-devis-pharma-add-form input:focus,
.webform-submission-devis-pharma-add-form select:focus,
.webform-submission-devis-pharma-add-form textarea:focus {
  border-color: #485c11;
  outline: none;
  box-shadow: 0 0 0 3px rgba(72, 92, 17, 0.18);
}
/* Champs avec suffixe (m², €, mois) */
.webform-submission-devis-pharma-add-form .input-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
}
.webform-submission-devis-pharma-add-form .input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
}
.webform-submission-devis-pharma-add-form .field-suffix {
  background: #e3e9cd;
  border: 1px solid #d7ddc0;
  border-left: none;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 0.65rem 0.9rem;
  color: #485c11;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
}
/* Zone d'upload de fichier */
.webform-submission-devis-pharma-add-form input[type="file"] {
  background: #ffffff;
  border: 1px dashed #b7c48f;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  width: 100%;
  color: #3a4a0e;
  font-size: 0.9rem;
}
.webform-submission-devis-pharma-add-form .description {
  color: #7a8a5a;
  font-size: 0.8rem;
  margin-top: 0.3rem;
}
.webform-submission-devis-pharma-add-form .btn-secondary {
  background: #e3e9cd;
  border: 1px solid #d7ddc0;
  color: #485c11;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
}
.webform-submission-devis-pharma-add-form .btn-secondary:hover {
  background: #d3dcb6;
}
/* Encadré CAPTCHA */
.webform-submission-devis-pharma-add-form .captcha-admin-links {
  background: #ffffff;
  border: 1px solid #d7ddc0;
  border-radius: 8px;
  margin: 1rem 0;
}
.webform-submission-devis-pharma-add-form .captcha-admin-links summary {
  color: #3a4a0e;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
}
/* Bouton Submit - pill shape, căn giữa */
.webform-submission-devis-pharma-add-form .form-actions {
  text-align: center;
  margin-top: 1.2rem;
}
.webform-submission-devis-pharma-add-form .button--primary {
  background: #485c11;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.webform-submission-devis-pharma-add-form .button--primary:hover {
  background: #364509;
}