.center {
  text-align: center;
}

.formStack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.successIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 3.5rem;
  block-size: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--color-success-bg, #ecfdf5);
}

.successIconSvg {
  inline-size: 1.75rem;
  block-size: 1.75rem;
  color: var(--color-success-text, #059669);
}

.statusTitle {
  color: var(--color-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.statusBody {
  margin-block-start: 0.5rem;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

.error {
  border: 1px solid var(--color-error-border, #fecaca);
  border-radius: 1.5rem;
  padding: 0.75rem 1rem;
  background: var(--color-error-bg, #fef2f2);
  color: var(--color-error-text, #b91c1c);
  font-size: 0.875rem;
}

.spacedError {
  margin-block-end: 1.25rem;
}

.footer {
  margin-block-start: 1.5rem;
  border-block-start: 1px solid var(--color-border);
  padding-block-start: 1.5rem;
  font-size: 0.875rem;
  text-align: center;
}

.footerLink {
  color: var(--color-heading);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mutedLink {
  color: var(--color-text-tertiary);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.passwordField {
  position: relative;
  inline-size: 100%;
}

.passwordInput {
  inline-size: 100%;
  min-block-size: 2.875rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-3) 2.5rem var(--space-3) var(--space-4);
  background: var(--surface-primary);
  color: var(--text-primary);
  font-size: 0.875rem;
}

.passwordToggle {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0.5rem;
  display: flex;
  align-items: center;
  border: 0;
  padding: 0;
  background: none;
  color: var(--text-tertiary);
  cursor: pointer;
}

.forgotLinkWrap {
  text-align: center;
}

.infoBox {
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 1rem;
  background: var(--color-surface-secondary);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  text-align: center;
}

.totpInput {
  font-size: 1.25rem;
  letter-spacing: 0.45em;
  text-align: center;
}

.plainButton {
  inline-size: 100%;
  border: 0;
  background: none;
  color: var(--color-text-tertiary);
  cursor: pointer;
  font-size: 0.875rem;
}

.noToken {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  text-align: center;
}

.actionWrap {
  margin-block-start: 1rem;
  text-align: center;
}
