/* ==========================================================================
   Plani Finanzas — Formulario de eliminación de cuenta
   Solo para eliminar-cuenta.html.
   ========================================================================== */

.delete-account-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 1.5rem 0 2rem;
  padding: 1.5rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
}

.delete-account-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-top: 0.75rem;
}
.delete-account-form label:first-child { margin-top: 0; }

.delete-account-form input,
.delete-account-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-900);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  resize: vertical;
}

.delete-account-form input:focus,
.delete-account-form textarea:focus {
  outline: none;
  border-color: var(--green-dark);
}

.delete-account-form button {
  margin-top: 1.25rem;
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: 10px;
  background: var(--green-dark);
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}
.delete-account-form button:hover { background: var(--green-mid); }

.delete-account-form .form-error {
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}
.delete-account-form .form-error.is-visible { display: block; }
