/* Account deletion: the danger zone, and the restore gate. */

/* Set apart from the rest of Settings rather than styled like it. This is
   the one section on the page you should have to mean to use. */
.settings-danger-section {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.05);
}
.settings-danger-section h2 { color: #f87171; }
.settings-danger-section[hidden] { display: none !important; }

.acct-delete-note {
  margin: 8px 0 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fg-mute, #9aa3b2);
}
.acct-blocked-lead { display: block; margin-bottom: 4px; color: #fbbf24; }
.acct-blockers { margin: 0; padding-left: 18px; }
.acct-blockers li { margin: 3px 0; }
.acct-blockers a { color: var(--accent, #6366f1); }

/* ── The restore gate ────────────────────────────────────────────────────
   Deliberately opaque, not a translucent overlay. The app behind it is not
   available, and letting it show through would suggest otherwise. */
.acct-deleted-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg, #0d0f14);
}

.acct-deleted-card {
  width: 100%;
  max-width: 460px;
  padding: 30px 32px;
  border-radius: 16px;
  background: var(--bg-elev, #14171f);
  border: 1px solid var(--line-2, rgba(255, 255, 255, 0.12));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  color: var(--fg, #eef0f4);
  text-align: center;
}
.acct-deleted-card h1 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.acct-deleted-card p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-mute, #9aa3b2);
}
.acct-deleted-card strong { color: var(--fg, #eef0f4); }

.acct-deleted-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.acct-deleted-note:empty { display: none; }
.acct-deleted-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--fg-mute, #9aa3b2);
}

@media (max-width: 520px) {
  .acct-deleted-card { padding: 24px 20px; }
  /* Stacked, and each a real tap target — this is a decision people make
     once and should not fumble. */
  .acct-deleted-actions { flex-direction: column; }
  .acct-deleted-actions .ds-btn {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
