/* ==========================================================================
   Chœur Polycantus — 08-forms.css

   Formulaires, messages et pièges à robots.
   ========================================================================== */

.form {
  width: 100%;
  max-width: 34rem;
}

.form__row {
  margin-bottom: 1.05rem;
}

.form label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="password"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  color: #4a5559;
}

.form textarea {
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--mint);
  outline: 2px solid rgba(9, 214, 177, 0.28);
}

/* Sur fond coloré, les libellés s'éclaircissent. */
.split__panel--teal .form label,
.split__panel--slate .form label,
.band--teal .form label {
  color: rgba(255, 255, 255, 0.9);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.errorlist {
  list-style: none;
  padding: 0;
  margin: 0 0 0.6rem;
  color: #b4453d;
  font-size: 0.9rem;
}

.flash {
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--mint);
  background: #eef8f6;
  margin-bottom: 1rem;
}

.flash--error {
  border-left-color: #b4453d;
  background: #fbf0ef;
}
