.account-feedback {
  box-sizing: border-box;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 32px;
  overflow: auto;
  border: 1px solid var(--line, #d9d2cb);
  border-radius: 20px;
  background: var(--surface, #fff);
  color: var(--fg, #201c19);
  box-shadow: 0 24px 80px rgb(0 0 0 / 25%);
  font: 400 16px/1.6 system-ui, sans-serif;
  text-align: center;
}

.account-feedback::backdrop {
  background: rgb(0 0 0 / 60%);
}

.account-feedback-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #e5f6ec;
  color: #176b3a;
}

.account-feedback[data-variant="error"] .account-feedback-icon {
  background: #fde8e8;
  color: #b4232b;
}

.account-feedback-icon svg {
  width: 32px;
  height: 32px;
}

.account-feedback h2 {
  margin: 0 0 12px;
  color: inherit;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.account-feedback p {
  margin: 0 0 26px;
  color: var(--muted, #625b55);
  overflow-wrap: anywhere;
}

.account-feedback button {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--red, #d20c1a);
  color: #fff;
  font: 700 15px/1.5 system-ui, sans-serif;
  cursor: pointer;
}

.account-feedback button:hover {
  filter: brightness(.9);
}

.account-feedback button:focus-visible {
  outline: 3px solid var(--fg, #201c19);
  outline-offset: 4px;
}

@media (max-width: 480px) {
  .account-feedback { padding: 26px 22px; }
}
