/* =========================================================
   Contexto — forms.css
   The narrow single-form page shell and its fields. Used by
   contact.html and reset_token.html — the classes are named
   .contact-* because the contact page had them first.
   ========================================================= */

.contact-wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.contact-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.contact-subtitle {
  color: var(--color-muted);
  font-size: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.6rem 0.7rem;
  border-radius: 6px;
  border: 1px solid var(--color-border);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.contact-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.field-errors {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.25rem;
}

.field-errors span {
  font-size: 0.85rem;
  color: var(--color-primary);
}
