/* Staged account closure follows Wise's disclosure hierarchy in Ballr's palette. */
.deletion-flow {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  color: #1b1b20;
  background: #fff;
  box-sizing: border-box;
}
.deletion-progress { padding: 12px 0 26px; }
.deletion-progress > p { margin: 0 0 10px; font-size: 12px; font-weight: 600; line-height: 1.5; color: #72727b; }
.deletion-progress-track { display: flex; gap: 5px; }
.deletion-progress-track > span { height: 3px; flex: 1; border-radius: 2px; background: #ececef; }
.deletion-progress-track > .is-complete { background: #303038; }
.deletion-flow-content { flex: 1; min-width: 0; padding-bottom: 28px; }
.deletion-flow h3 { margin: 0 0 14px; max-width: 360px; font-size: clamp(25px, 6.7vw, 30px); font-weight: 700; letter-spacing: -.85px; line-height: 1.22; text-wrap: balance; }
.deletion-lead { margin: 0 0 24px; color: #686872; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.deletion-account { display: flex; flex-direction: column; gap: 6px; padding: 0 0 22px; margin-bottom: 24px; border-bottom: 1px solid #ededf0; }
.deletion-account > span { color: #7a7a83; font-size: 11px; line-height: 1.5; }
.deletion-account > strong { font-size: 14px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.deletion-consequences { border: 1px solid #e6e6eb; border-radius: 14px; padding: 20px; }
.deletion-flow h4 { margin: 0; font-size: 14px; font-weight: 650; line-height: 1.5; }
.deletion-consequences ul { list-style: none; padding: 0; margin: 18px 0 0; }
.deletion-consequences li { margin: 0; padding: 0; }
.deletion-consequences li + li { border-top: 1px solid #ededf0; margin-top: 16px; padding-top: 16px; }
.deletion-consequences li > strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.6; }
.deletion-consequences li > span, .deletion-consequences > p { display: block; margin: 5px 0 0; color: #73737d; font-size: 12px; line-height: 1.7; }
.deletion-export-hint { margin-top: 24px; }
.deletion-export-hint > p, .deletion-support { color: #73737d; font-size: 12px; line-height: 1.7; margin: 7px 0 0; overflow-wrap: anywhere; }
.deletion-support { margin-top: 22px; }
.deletion-flow .field { margin-bottom: 21px; }
.deletion-flow .field > span { color: #34343c; font-size: 13px; font-weight: 600; line-height: 1.6; }
.deletion-flow .field > input { border-radius: 10px; border-color: #d4d4dc; min-height: 52px; height: 52px; background: #fff; padding-inline: 14px; }
.deletion-flow .field > small { display: block; margin-top: 3px; color: #777780; font-size: 11px; line-height: 1.65; }
.deletion-closing, .deletion-final-warning { margin: 0 0 23px; padding: 13px 15px; border-radius: 10px; background: #fff4ef; color: #835137; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.deletion-final-warning { border: 1px solid #efdadd; background: #fff8f8; color: #9b3e48; }
.deletion-footer { position: sticky; bottom: 0; flex: none; z-index: 2; display: flex; flex-direction: column; gap: 10px; padding: 16px 0 max(18px, env(safe-area-inset-bottom)); margin-top: auto; border-top: 1px solid #ededf0; background: #fff; }
.deletion-footer-actions { display: flex; align-items: stretch; gap: 10px; }
.deletion-footer .primary-button { min-height: 52px; width: 100%; border: 1px solid transparent; border-radius: 10px; background: #242428; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.45; box-shadow: none; padding: 13px 16px; }
.deletion-footer .outline-button { flex: none; min-width: 78px; width: auto; min-height: 52px; border: 1px solid #dedee4; border-radius: 10px; color: #575760; background: #fff; font-size: 14px; font-weight: 500; padding: 13px 16px; }
.deletion-footer > .outline-button { width: 100%; }
.deletion-footer .primary-button.account-delete-submit { background: #b8313d; }
.deletion-cancel { min-height: 44px; width: 100%; padding: 9px 14px; color: #767680; font-size: 13px; font-weight: 500; }
.deletion-footer .form-error { margin: 0; }
.deletion-footer .form-error:empty { display: none; }
.deletion-flow button { transition: background-color 140ms ease-out, transform 140ms ease-out; }
.deletion-flow button:active:not(:disabled) { transform: scale(.98); }
.deletion-flow button:disabled { cursor: wait; opacity: .5; }
@media (hover: hover) and (pointer: fine) {
  .deletion-footer .primary-button:hover:not(:disabled) { background: #3b3b41; }
  .deletion-footer .account-delete-submit:hover:not(:disabled) { background: #a02632; }
  .deletion-cancel:hover:not(:disabled) { color: #26262c; background: #f7f7f9; border-radius: 10px; }
}
@media (max-width: 360px) {
  .deletion-consequences { padding: 16px; }
  .deletion-footer-actions { gap: 8px; }
  .deletion-footer .outline-button { min-width: 65px; padding-inline: 12px; }
  .deletion-footer .primary-button { font-size: 13px; padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .deletion-flow button { transition: none; }
  .deletion-flow button:active:not(:disabled) { transform: none; }
}
