/* ------------------------------------------------------------------ contact page

   The sign-in card again, so the page reads as part of the same site. The
   violet side answers the common questions before they are asked; the form
   side is the sign-up form's fields with a message box added. */

#contact-fields { display: flex; flex-direction: column; }
/* display: flex above would otherwise beat the hidden attribute. */
#contact-fields[hidden] { display: none; }

/* The message box, set like the inputs above it. */
.auth-form textarea {
  width: 100%;
  min-height: 132px;
  margin-bottom: 16px;
  padding: 12px 18px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  resize: vertical;
  border-radius: 16px;
  background: var(--inset);
  border: 1.5px solid transparent;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.auth-form textarea:hover { border-color: var(--rule-hour); }
.auth-form textarea:focus {
  outline: none;
  background: var(--page);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.auth-form textarea[aria-invalid="true"] { border-color: var(--danger); background: var(--s-noshow-bg); }

.auth-form .optional { font-weight: 600; color: var(--ink-faint); }
.auth-form #email { margin-bottom: 6px; }
.auth-form #email-hint { margin: 0 4px 14px; }

/* Off the page for people; still there for scripts to fill in. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact-privacy {
  margin: 14px 4px 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-soft);
}
.contact-privacy a { color: var(--accent-text); font-weight: 800; }

/* The common questions, as plain links on the violet, each with a chevron
   showing it leads somewhere. */
.contact-answers p { margin: 0 0 12px; font-size: 15px; font-weight: 700; opacity: 0.88; }
.contact-answers ul { list-style: none; margin: 0; padding: 0; }
.contact-answers li + li { border-top: 1px solid rgba(255, 255, 255, 0.2); }
.contact-answers a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  text-decoration: none;
}
.contact-answers a::after {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.75;
}
.contact-answers a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-answers a:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; border-radius: 6px; }

/* After sending. */
.contact-sent h1:focus { outline: none; }
.contact-sent .btn { align-self: flex-start; margin-top: 4px; }
.contact-sent:not([hidden]) { display: flex; flex-direction: column; }

@media (min-width: 761px) and (max-height: 820px) {
  .auth-form textarea { min-height: 96px; font-size: 16px; padding: 8px 18px; margin-bottom: 10px; border-radius: 14px; }
  .contact-answers a { padding: 8px 2px; font-size: 15px; }
}
