/* Pages Mentions légales et Politique de confidentialité */
.legal-container {
  background: #f8f9fa;
  padding: 3rem 1rem 4rem;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  color: #2c3e50;
  line-height: 1.7;
}

.legal-content h1 {
  font-size: 2rem;
  margin: 0 0 0.25rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  color: #007b5a;
  margin: 2rem 0 0.75rem;
}

.legal-content a {
  color: #007b5a;
  font-weight: 600;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-maj {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.legal-intro {
  background: #eef7f3;
  border-left: 4px solid #007b5a;
  padding: 1rem 1.25rem;
  border-radius: 6px;
}

.legal-table-wrap {
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 560px;
}

.legal-table th,
.legal-table td {
  border: 1px solid #e3e6e8;
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: #f1f4f5;
}

/* Zone de suppression du compte (profil) */
.profil-danger-zone {
  margin-top: 2.5rem;
  border: 1px solid #f1c4c0;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  background: #fff8f7;
}

.profil-danger-zone summary {
  cursor: pointer;
  font-weight: 600;
  color: #c0392b;
}

.profil-danger-zone p {
  color: #5a6c7d;
  font-size: 0.95rem;
}

.profil-danger-zone label {
  display: block;
  margin: 0.75rem 0 0.25rem;
  font-weight: 600;
}

.profil-danger-zone input[type="password"] {
  width: 100%;
  max-width: 320px;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.profil-danger-zone .profil-danger-check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-weight: 400;
}

.profil-btn-danger {
  margin-top: 1rem;
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
}

.profil-btn-danger:hover {
  background: #a93226;
}

/* Note d'information sous les formulaires */
.form-rgpd-note {
  font-size: 0.85rem;
  color: #6c7a89;
  margin-top: 0.75rem;
  line-height: 1.5;
}

.form-rgpd-note a {
  color: #007b5a;
}

@media (max-width: 600px) {
  .legal-content {
    padding: 1.5rem 1.1rem;
  }
}

/* Bouton « Se déconnecter » du profil (formulaire POST) */
.profil-logout-form {
  display: inline;
}

button.profil-btn-logout {
  cursor: pointer;
  font-family: inherit;
}
