/* ── Cancellazione account — estensioni al design system di style.css ──────
   style.css e logo.png sono copie di dividily_pages (sito dividily.it): non
   modificarli qui, così restano ri-sincronizzabili. Ogni stile specifico di
   questa pagina vive in questo file.                                        */

/* Form */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 28px 0 12px;
  box-shadow: 0 14px 34px rgba(46, 45, 43, 0.06);
}

.form-card label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 10px;
}

.form-card input[type="email"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}

.form-card input[type="email"]::placeholder { color: var(--dim); }

.form-card input[type="email"]:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-soft);
}

.form-card .btn { margin-top: 18px; }

/* La tabella scorre nel proprio contenitore: su schermi stretti la sua
   larghezza min-content trascinerebbe l'intera pagina in overflow. */
.table-scroll { overflow-x: auto; margin: 18px 0 24px; }
.table-scroll .legal-table { margin: 0; min-width: 460px; }

/* Form con la sola azione (conferma finale): nessuna card, solo il bottone */
.action-form { margin: 26px 0 30px; }

/* Bottone distruttivo (conferma finale) */
.btn-danger {
  background: var(--coral-dk);
  color: #fff;
  box-shadow: 0 8px 22px rgba(216, 84, 60, 0.30);
}
.btn-danger:hover {
  background: #C24630;
  box-shadow: 0 12px 30px rgba(216, 84, 60, 0.40);
}

/* Callout di esito */
.callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 0 0 28px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
}
.callout p { margin-bottom: 0; font-size: 15px; color: var(--ink-soft); }
.callout strong { color: var(--ink); }

.callout-warn { border-left-color: var(--amber-dk); background: var(--surface-2); }
.callout-error { border-left-color: var(--coral); }

/* Riquadro riepilogo della richiesta in corso */
.target-account {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-xs);
  padding: 3px 9px;
  white-space: nowrap;
}

/* Riga finale di supporto */
.support-line {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--dim);
}
.support-line a { color: var(--coral-dk); text-decoration: underline; text-underline-offset: 3px; }
.support-line a:hover { color: var(--coral); }

/* Switcher di lingua — link puri, nessun JS (CSP: script-src 'self') */
.lang-links {
  margin-top: 18px;
  font-size: 13.5px;
}
.lang-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lang-links a {
  color: var(--dim);
  text-decoration: none;
}
.lang-links a:hover {
  color: var(--coral-dk);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lang-current {
  color: var(--ink);
  font-weight: 600;
}
