/* The pages a buyer sees around payment: the one before Stripe and the one
   after. Narrow and plain, on the sign-in page's pattern, because each asks
   for one decision. */
.checkout {
  max-width: 34rem;
}

.checkout__header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}

.checkout__eyebrow {
  color: var(--ink-muted);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.checkout__alert {
  border: 1px solid var(--rust);
  border-left-width: 4px;
  border-radius: 4px;
  background: var(--surface-raised);
  padding: 0.75rem 1rem;
  margin: 0 0 1.5rem;
}

.checkout__form {
  margin-top: 2rem;
}

.checkout__field {
  margin-bottom: 1.25rem;
}

.checkout__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.checkout__field input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface-raised);
  color: var(--ink);
  font: inherit;
}

.checkout__field input:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 1px;
}

.checkout__hint {
  margin: 0.35rem 0 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.checkout__submit {
  appearance: none;
  border: 1px solid var(--rust);
  border-radius: 4px;
  background: var(--rust);
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
}

.checkout__submit:hover {
  background: #d05f31;
}

/* Said at body size and bordered, like the sign-in page's note: how long the
   parcel is held is information, not fine print. */
.checkout__note {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.checkout__account {
  margin: 2rem 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.checkout__account h2 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.checkout__actions {
  margin: 1.5rem 0 1rem;
}

/* Letting the parcel go is the lesser action beside paying for it, so it
   reads as a link rather than a second button. */
.checkout__release {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  color: var(--ink-muted);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
