.account-delete-dialog {
  width: min(560px, calc(100vw - 28px));
  max-height: min(760px, calc(100dvh - 28px));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fffdfa;
  color: #241b15;
  box-shadow: 0 28px 80px rgba(36, 27, 21, .28);
  overflow: auto;
}

.account-delete-dialog::backdrop {
  background: rgba(20, 16, 13, .58);
  backdrop-filter: blur(2px);
}

.account-delete-card {
  padding: clamp(22px, 5vw, 32px);
}

.account-delete-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.account-delete-kicker {
  margin: 0 0 5px;
  color: #9d4e36;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.account-delete-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  line-height: 1.1;
}

.account-delete-close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 0;
  border-radius: 50%;
  background: #eee9e2;
  color: #241b15;
  font: inherit;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.account-delete-step[hidden] { display: none !important; }

.account-delete-step p {
  margin: 0 0 14px;
  line-height: 1.55;
}

.account-delete-warning {
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid #e4b8ae;
  border-radius: 14px;
  background: #fff1ed;
  color: #713025;
}

.account-delete-warning strong { display: block; margin-bottom: 4px; }

.account-delete-field {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.account-delete-field span {
  font-weight: 800;
}

.account-delete-field input {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  border: 1px solid #cfc3b4;
  border-radius: 13px;
  background: #fff;
  color: #241b15;
  padding: 11px 13px;
  font: inherit;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  outline: none;
}

.account-delete-field input:focus {
  border-color: #9d4e36;
  box-shadow: 0 0 0 3px rgba(157, 78, 54, .12);
}

.account-delete-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.account-delete-actions button {
  min-height: 46px;
  border-radius: 999px;
  padding: 10px 17px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.account-delete-actions button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.account-delete-primary {
  border: 0;
  background: #8f3528;
  color: #fff;
}

.account-delete-secondary {
  border: 1px solid #cfc3b4;
  background: transparent;
  color: #241b15;
}

.account-delete-status {
  margin: 14px 0 0 !important;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: .92rem;
}

.account-delete-status[hidden] { display: none; }
.account-delete-status.is-error { background: #fff1ed; color: #713025; }
.account-delete-status.is-success { background: #edf4ea; color: #31512d; }

.account-delete-email-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #edf4ea;
  font-size: 1.55rem;
}

.account-delete-muted {
  color: #6b625a;
  font-size: .9rem;
}

@media (max-width: 520px) {
  .account-delete-actions { display: grid; grid-template-columns: 1fr; }
  .account-delete-actions button { width: 100%; }
}
