/* Theme adaptation for light background */
.bg-dark {
  background-color: #f8f9fa !important;
  color: #212529 !important;
}

.table {
  color: #212529;
  border-color: rgba(0,0,0,0.1);
}

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

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

/* Legal document styling */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

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 {
  line-height: 1.8;
  color: var(--text-secondary);
}

ul, ol {
  line-height: 1.8;
  color: var(--text-secondary);
}

.last-updated {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.important-notice {
  padding: 1.25rem;
  background: rgba(var(--primary-rgb), 0.1);
  border-left: 4px solid var(--primary);
  margin: 1.5rem 0;
}

.text-muted {
  color: #FFFFFF !important;
}