/* Pipeline Beacon forms and notices. Loaded after pipeline-beacon.css and
   pipeline-beacon-home.css, and reuses their colour and font variables.
   Used by signup.php and checkout-success.php. */

.signup-form {
  max-width: 36rem;
  margin-top: 2rem;
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--head-font);
  font-weight: 600;
}

/* The monthly or annual choice on the sign-up form. */
.plan-field {
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
}

.plan-field legend {
  margin-bottom: 0.5rem;
  padding: 0;
  font-family: var(--head-font);
  font-weight: 600;
}

.plan-option {
  display: block;
  margin-bottom: 0.5rem;
}

.plan-option input {
  margin-right: 0.5rem;
}

.form-field input[type="text"],
.form-field input[type="email"] {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 1rem;
}

.form-field input:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.form-help {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.form-submit {
  border: 0;
  white-space: normal;
}

.form-submit:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* Notices: ink text on a tint, with a coloured left bar, so the message does
   not depend on the colour alone. */
.notice {
  max-width: 62ch;
  padding: 1rem 1.25rem;
  border-left: 0.375rem solid var(--rule);
  border-radius: var(--radius);
}

.notice-success {
  border-left-color: #4C7A5E;
  background: #E9F3F1;
}

.notice-warning {
  border-left-color: #B0793C;
  background: #FEF5EB;
}

.notice-error {
  border-left-color: #B0453F;
  background: #F9EDEC;
}
