/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES — Style clair moderne
═══════════════════════════════════════════════════════════════ */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #f8f9ff;
  color: #1a1a2e;
  font-family: 'Barlow', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Container ── */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ── Header ── */
.legal-header {
  text-align: center;
  padding: 48px 0 40px;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
}
.legal-badge {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.legal-header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 10px;
}
.legal-header p {
  color: #999;
  font-size: 0.85rem;
}

/* ── Sections ── */
.legal-content { display: flex; flex-direction: column; gap: 32px; }

.legal-section {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 28px 32px;
}
.legal-section h2 {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8003d;
  display: inline-block;
}
.legal-section p {
  color: #555;
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 10px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul, .legal-section ol {
  padding-left: 20px;
  color: #555;
  font-size: 0.88rem;
  line-height: 1.8;
}
.legal-section a {
  color: #e8003d;
  text-decoration: none;
}
.legal-section a:hover { text-decoration: underline; }

/* ── Table ── */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.85rem;
}
.legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
}
.legal-table td:first-child {
  font-weight: 600;
  color: #1a1a2e;
  width: 40%;
  background: #f8f9ff;
  border-radius: 6px 0 0 6px;
}

/* ── Delete account page ── */
.delete-container {
  max-width: 520px;
  margin: 60px auto;
  padding: 0 24px;
}
.delete-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 32px rgba(0,0,0,.06);
  text-align: center;
}
.delete-icon { font-size: 2.5rem; margin-bottom: 16px; }
.delete-card h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 10px;
}
.delete-card p {
  color: #777;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.delete-form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.delete-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  display: block;
}
.delete-input {
  width: 100%;
  background: #f8f9ff;
  border: 1.5px solid #e0e3ef;
  border-radius: 10px;
  color: #1a1a2e;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  padding: 11px 14px;
  transition: border-color 0.15s;
}
.delete-input:focus { outline: none; border-color: #e8003d; }
.delete-btn {
  width: 100%;
  background: #e8003d;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.15s;
}
.delete-btn:hover { background: #c8002f; }
.delete-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.delete-success {
  display: none;
  text-align: center;
  padding: 20px;
  color: #2e7d32;
  font-size: 0.9rem;
}
.delete-success .check { font-size: 2rem; margin-bottom: 10px; }
.delete-error {
  color: #e8003d;
  font-size: 0.82rem;
  margin-top: 4px;
  display: none;
}
