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

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

.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);
}

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

.terms-section h2 {
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

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

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

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

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

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

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

.important-notice strong {
  color: var(--accent);
}