/* Account deletion page: what it adds to styles.css (shared with the
   e-mail confirmation and password reset pages, which stay untouched). */

.badge--danger {
  border-color: rgba(255, 138, 138, 0.45);
  background: rgba(255, 138, 138, 0.1);
  color: var(--danger);
}

h2 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.panel {
  width: 100%;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
}

.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.bullets,
.notes {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.bullets li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.bullets li + li {
  margin-top: 6px;
}

.bullets li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--danger);
}

/* What the person has to know before going on. */
.notes {
  width: 100%;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 14px;
  background: rgba(255, 209, 102, 0.06);
}

.notes li {
  color: #e9dcb8;
  font-size: 0.86rem;
  line-height: 1.5;
}

.notes li + li {
  margin-top: 8px;
}

.notes strong,
.aside strong {
  color: var(--text);
  font-weight: 600;
}

.form .notes {
  margin-bottom: 4px;
}

.primary--danger {
  background: var(--danger);
  color: #1a0707;
  box-shadow: 0 10px 30px -14px rgba(255, 138, 138, 0.7);
}

.primary--danger:hover {
  background: #ffa0a0;
}

.secondary {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 15px 18px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.secondary:hover {
  border-color: var(--muted);
}

.secondary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.secondary[disabled] {
  opacity: 0.5;
  cursor: default;
}

.aside {
  margin: 20px 0 0;
  color: var(--hint);
  font-size: 0.84rem;
  line-height: 1.5;
}

.state[data-state="progress"] h1 {
  margin-top: 22px;
}

.state[data-state="progress"] .secondary {
  margin-top: 24px;
}

/* The request form reads better left-aligned on a wide card. */
@media (min-width: 560px) {
  .shell {
    max-width: 520px;
  }
}
