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

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

/* Typografie voor juridisch document */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  border-bottom: 3px solid var(--primary);
  padding-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

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

.update-date {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

ol {
  counter-reset: section;
  list-style-type: none;
  padding-left: 0;
}

ol > li {
  counter-increment: section;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 2rem;
}

ol > li::before {
  content: counter(section) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

ul li {
  margin-bottom: 0.5rem;
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}

.definition-box {
  background: var(--dark-lighter, #f8f9fa);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0.25rem;
}

.important-notice {
  background: var(--dark-card, #fff);
  border: 2px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0.5rem;
}

.table-responsive {
  margin: 2rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  color: var(--text-primary);
  border-color: var(--border-color, rgba(0,0,0,0.1));
  width: 100%;
  margin-bottom: 1rem;
}

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

.table th {
  font-weight: 600;
  padding: 1rem;
  border-bottom: 2px solid var(--border-color, rgba(0,0,0,0.1));
}

.table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color, rgba(0,0,0,0.1));
}

.contact-info {
  background: var(--dark-lighter, #f8f9fa);
  padding: 2rem;
  border-radius: 0.5rem;
  margin-top: 3rem;
}