.error-summary {
  margin: -12px 0 28px;
  padding: 15px 17px;
  border: 1px solid #e2b8b4;
  border-radius: 10px;
  color: #7a271a;
  background: #fff7f6;
  font-size: 0.8rem;
  line-height: 1.5;
}

.error-summary ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.password-toggle span {
  font-size: 0.68rem;
  font-weight: 700;
}

.result-page {
  display: grid;
  min-height: 100vh;
  padding: 24px;
  place-items: center;
  background-image:
    linear-gradient(rgba(17, 17, 19, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 19, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

.result-card {
  width: min(100%, 520px);
  padding: clamp(32px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.result-card > img {
  width: 128px;
  margin-bottom: 42px;
}

.result-card h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.05em;
}

.result-card > p:last-of-type {
  margin: 18px 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.result-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}

.result-link {
  margin-top: 28px;
  text-decoration: none;
}

@media (max-width: 820px) {
  .error-summary {
    border-color: #653a3a;
    color: #ffd8d4;
    background: rgba(126, 41, 35, 0.22);
  }
}
