.auth-success {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid #94d5aa;
  background: #e7f8ed;
  color: #0b5f32;
}

.auth-success[hidden] {
  display: none;
}

.auth-success-check {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #128443;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.auth-success-content > strong {
  display: block;
  font-size: 18px;
}

.auth-success-content p {
  margin: 5px 0;
  color: #174e2e;
  line-height: 1.45;
}

.auth-success-content .auth-success-detail {
  color: #3c654d;
  font-size: 13px;
}

.auth-success-action {
  margin-top: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0b5f32;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-success-action:focus-visible {
  outline: 3px solid rgba(18, 132, 67, .3);
  outline-offset: 4px;
}

.auth-form.login-sent {
  display: none;
}

.auth-error {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid #e2a4a4;
  background: #fff0f0;
  color: #7c1818;
}

.auth-error[hidden] {
  display: none;
}

.auth-error-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #b3261e;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.auth-error strong {
  display: block;
  font-size: 18px;
}

.auth-error p {
  margin: 5px 0 0;
  color: #7c1818;
  line-height: 1.45;
}
