.bg-light {
  background-color: var(--dark-lighter) !important;
  color: var(--text-primary) !important;
}

.terms-section {
  margin-bottom: 3rem;
}

.terms-section h2 {
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.terms-section h3 {
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.terms-section h4 {
  color: var(--text-dim);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.terms-section p {
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.terms-section ul,
.terms-section ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: var(--text-dim);
}

.terms-section li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

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

.last-updated {
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--dark-card);
  border-left: 3px solid var(--primary);
}

.important-notice {
  background: var(--dark-card);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  margin: 2rem 0;
}

.important-notice p {
  margin-bottom: 0;
  color: var(--text-primary);
}

.table {
  color: var(--text-primary);
  border-color: var(--border-color);
  margin-bottom: 2rem;
}

.table-dark {
  --bs-table-bg: var(--dark-card);
  --bs-table-striped-bg: var(--dark-lighter);
  --bs-table-border-color: var(--border-color);
}

.table thead {
  background: var(--dark-card);
  border-bottom: 2px solid var(--border-color);
}

.subsection {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}