/**
 * Cabinet – "Nous contacter" page
 *
 * Layout only: the fields reuse the .care-* form styles from demande-de-soin.css,
 * which is enqueued alongside this file on the /nous-contacter page.
 */

.contact-form-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.contact-form .care-block {
  margin-bottom: 20px;
}

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__error {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1.5px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.contact-form__actions {
  display: flex;
  justify-content: flex-end;
}

.contact-form__actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-form__actions .btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.care-success:focus {
  outline: none;
}

@media (max-width: 640px) {
  .contact-form-wrapper {
    padding: 32px 20px 60px;
  }
  .contact-form__actions {
    justify-content: stretch;
  }
  .contact-form__actions .btn-primary {
    width: 100%;
    justify-content: center;
  }
}
