/* Regroupe les styles propres a la page de contact et a son formulaire. */
.df-page-head {
  padding-top: 0.5rem;
}

.df-panel--contact {
  isolation: isolate;
}

.df-form--contact {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.df-field {
  display: grid;
  gap: 0.35rem;
}

.df-field--full,
.df-field--captcha,
.df-button--contact,
.df-form__hint {
  grid-column: 1 / -1;
}

.df-field--captcha {
  /* Reserve l'espace necessaire au widget hCaptcha afin de stabiliser la grille du formulaire. */
  min-height: 78px;
  align-items: start;
}

.df-field__label {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  font-size: 0.92rem;
}

.df-form--contact input,
.df-form--contact textarea {
  width: 100%;
  padding: 0.88rem 0.95rem;
  color: var(--text);
  font: inherit;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(8, 10, 15, 0.48);
}

.df-form--contact textarea {
  min-height: 150px;
  resize: vertical;
}

.df-form__success {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(50, 217, 200, 0.32);
  border-radius: 14px;
  color: #dffffb;
  background: rgba(50, 217, 200, 0.1);
}

.df-form__error {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 31, 114, 0.42);
  border-radius: 14px;
  color: #ffeaf2;
  background: rgba(255, 31, 114, 0.13);
}

.df-form__warning {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 202, 87, 0.36);
  border-radius: 14px;
  color: #fff4d7;
  background: rgba(255, 202, 87, 0.12);
}

.df-login-form__success {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(50, 217, 200, 0.32);
  border-radius: 14px;
  color: #dffffb;
  background: rgba(50, 217, 200, 0.1);
}

.df-login-form__help {
  margin: 0;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.92rem;
}

.df-form__hint {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.92rem;
}

.df-contact-image {
  width: min(360px, 100%);
}

.df-contact-image img {
  width: 100%;
}
