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

/* Aanpassing aan thema */
.bg-light {
  background-color: var(--bg-light) !important;
  color: var(--text-dark) !important;
}

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

h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

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

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

li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: var(--text-primary);
}

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

.intro-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-primary);
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.warning-box {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
  border-left: 4px solid #ff9800;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.info-box {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(13, 71, 161, 0.1));
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.table-responsive {
  margin: 2rem 0;
}

.table {
  color: var(--text-primary);
  border-color: var(--border);
}

.table thead {
  background: var(--bg-light);
  border-bottom: 2px solid var(--border);
}

.table th {
  font-weight: 600;
  color: var(--primary);
  padding: 1rem;
}

.table td {
  padding: 1rem;
  vertical-align: top;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0,0,0,0.02);
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  .intro-text { font-size: 1rem; padding: 1rem; }
}