/* Bescherming tegen horizontale scroll */
html, body { 
  overflow-x: hidden; 
  max-width: 100vw; 
}

/* Aanpassing voor donker/licht thema */
.bg-light {
  background-color: var(--dark-lighter, #f8f9fa) !important;
  color: var(--text-primary, #212529) !important;
}

.table {
  color: var(--text-primary, #212529);
  border-color: var(--border-color, rgba(0,0,0,0.1));
  margin-bottom: 2rem;
}

.table thead {
  background: var(--dark-card, #f1f3f5);
  border-bottom: 2px solid var(--border-color, rgba(0,0,0,0.1));
}

.table tbody tr {
  border-bottom: 1px solid var(--border-color, rgba(0,0,0,0.05));
}

/* Juridische tekst styling */
.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary, #212529);
}

.legal-section h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary, #212529);
}

.legal-section h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary, #212529);
}

.legal-section p,
.legal-section li {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-primary, #212529);
}

.legal-section ul,
.legal-section ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-section ul li,
.legal-section ol li {
  margin-bottom: 0.75rem;
}

.highlight-box {
  padding: 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid var(--primary, #007bff);
  background: var(--dark-lighter, rgba(0, 123, 255, 0.05));
  border-radius: 0.375rem;
}

.contact-info {
  padding: 2rem;
  margin: 2.5rem 0;
  background: var(--dark-card, #f8f9fa);
  border-radius: 0.5rem;
  border: 1px solid var(--border-color, rgba(0,0,0,0.1));
}

.last-updated {
  font-size: 0.875rem;
  color: var(--text-muted, #6c757d);
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color, rgba(0,0,0,0.1));
}