/* Защита от горизонтального скролла */
html, body { 
  overflow-x: hidden; 
  max-width: 100vw; 
}

.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: 2.5rem;
}

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

.terms-section h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.terms-section p,
.terms-section li {
  line-height: 1.8;
  margin-bottom: 1rem;
}

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

.effective-date {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.important-notice {
  padding: 1rem;
  background: var(--dark-lighter);
  border-left: 3px solid var(--primary);
  margin: 1.5rem 0;
}