/* ===== [ Organization sign-up form ] ===== */
/* Renders inside the site's own theme, so it inherits type and colour and
   only takes responsibility for layout and state. */

.csr-surveys-signup {
  max-width: 34rem;
}

.csr-surveys-signup-intro {
  margin: 0 0 1.5rem 0;
}

.csr-surveys-signup-row {
  margin: 0 0 1.1rem 0;
}

.csr-surveys-signup-row label {
  display: block;
  margin: 0 0 0.3rem 0;
  font-weight: 600;
}

.csr-surveys-signup-opt {
  font-weight: 400;
  opacity: 0.6;
  font-size: 0.875em;
}

.csr-surveys-signup-row input {
  width: 100%;
  max-width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid currentColor;
  border-radius: 0.25rem;
  background: transparent;
  color: inherit;
  font: inherit;
  box-sizing: border-box;
}

.csr-surveys-signup-row input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 1px;
}

.csr-surveys-signup-row input[size="4"],
.csr-surveys-signup-row input[maxlength="2"] {
  width: 6rem;
}

.csr-surveys-signup-submit button {
  padding: 0.6rem 1.4rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid currentColor;
  border-radius: 0.25rem;
}

.csr-surveys-signup-error {
  padding: 0.8rem 1rem;
  margin: 0 0 1.25rem 0;
  border-left: 4px solid #D63638;
  background: rgba(214, 54, 56, 0.08);
}

.csr-surveys-signup-done {
  padding: 1.25rem 1.5rem;
  border-left: 4px solid #00A32A;
  background: rgba(0, 163, 42, 0.07);
}

.csr-surveys-signup-done h3 {
  margin-top: 0;
}

/* Honeypot. Off-screen rather than display:none, which is the first thing a
   bot checks for. Hidden from assistive technology too, so nobody is asked
   to fill in a field that must stay empty. */

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