:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #eef5fa;
  color: #092f5b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top right, #d7edf8, transparent 42%), linear-gradient(145deg, #f8fbfd, #e8f1f8);
}

.deletion-shell {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.brand img { width: 78px; height: 78px; object-fit: contain; }
.brand p { margin: 0 0 5px; color: #52708c; font-size: .9rem; font-weight: 700; }
.brand h1 { margin: 0; font-size: clamp(1.7rem, 5vw, 2.5rem); }

.deletion-card {
  padding: clamp(22px, 5vw, 40px);
  border: 1px solid #d7e4ee;
  border-radius: 28px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 70px rgba(13, 47, 86, .14);
}

.lead { margin-top: 0; color: #385b7a; font-size: 1.08rem; line-height: 1.55; }

.warning {
  margin: 22px 0 26px;
  padding: 18px;
  border: 1px solid #f0bcc0;
  border-radius: 16px;
  background: #fff4f4;
  color: #80202a;
}

.warning p { margin: 7px 0 0; line-height: 1.5; }
.privacy-card h2 { margin: 28px 0 8px; font-size: 1.18rem; }
.privacy-card h2:first-of-type { margin-top: 0; }
.privacy-card p { color: #385b7a; line-height: 1.58; }
.privacy-card a { color: #215f95; }
form { display: grid; gap: 10px; }
label { margin-top: 8px; font-weight: 700; }
label span { color: #6b7d8e; font-size: .82rem; font-weight: 500; }

input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #b8cad9;
  border-radius: 12px;
  background: white;
  color: #092f5b;
  font: inherit;
}

input:focus { outline: 3px solid rgba(27, 116, 190, .18); border-color: #1b74be; }
.password-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

.visibility-button {
  border: 1px solid #b8cad9;
  border-radius: 12px;
  background: #edf5fb;
  color: #164f82;
  font-weight: 700;
  padding: 0 14px;
}

.confirmation {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 18px 0 8px;
  line-height: 1.45;
  font-weight: 600;
}

.confirmation input { width: 20px; min-height: 20px; margin-top: 1px; }
.error { min-height: 22px; margin: 4px 0; color: #b4232f; font-weight: 650; }

.delete-button {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: #c42d3b;
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.delete-button:disabled { opacity: .58; cursor: wait; }
.success { padding: 30px 0; text-align: center; }
.success span { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #dff4e7; color: #17743a; font-size: 2.4rem; font-weight: 800; }
.success h2 { margin-bottom: 6px; }
.success p { color: #52708c; line-height: 1.5; }

footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #dde8f0; }
footer a { color: #215f95; }

@media (max-width: 520px) {
  .deletion-shell { padding: 22px 0; }
  .brand { align-items: flex-start; }
  .brand img { width: 58px; height: 58px; }
  .password-row { grid-template-columns: 1fr; }
  .visibility-button { min-height: 42px; }
}
