/* Account page and the sign-in landing. Page chrome comes from analytics.css. */

.account-wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.account-title {
  font-size: clamp(18px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.account-status { font-size: 14px; line-height: 1.65; margin: 0 0 20px; }
.account-status.is-error { color: #a8443c; }
.account-status.is-done { color: #2e7d4f; }

.account-note { font-size: 13px; line-height: 1.65; opacity: 0.75; }

.account-who {
  font-size: 13.5px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 26px;
}

.account-link {
  font-family: inherit;
  font-size: 13px;
  padding: 0;
  border: 0;
  background: none;
  color: #9a8032;
  text-decoration: underline;
  cursor: pointer;
}

.account-card {
  padding: 20px 22px;
  margin-bottom: 22px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: #fff;
}

/* The destructive one is marked before it is read, not after. */
.account-card.is-danger { border-color: rgba(168, 68, 60, 0.35); }

.account-card-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.account-card-note {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.8;
  margin: 0 0 14px;
}

.account-field { display: block; margin-bottom: 14px; }

.account-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 6px;
}

.account-field input {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  background: #fff;
}

.account-field input:focus { outline: none; border-color: #9a8032; }

.account-button {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 20px;
  border: none;
  border-radius: 6px;
  background: #9a8032;
  color: #fff;
  cursor: pointer;
}

.account-button:hover { background: #866f2b; }
.account-button:disabled { opacity: 0.55; cursor: default; }

.account-button.is-danger { background: #a8443c; }
.account-button.is-danger:hover { background: #8f382f; }

.account-result { font-size: 13px; line-height: 1.6; margin: 12px 0 0; }
.account-result.is-error { color: #a8443c; }
.account-result.is-done { color: #2e7d4f; }

/* The erasure route, stated plainly and without a button. Quieter than a
   card because it is a fallback for the rare case, not an invitation. */
.account-erase-note {
  font-size: 12.5px;
  line-height: 1.7;
  opacity: 0.7;
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.account-foot { font-size: 12.5px; opacity: 0.7; margin-top: 30px; }
