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

/* Адаптация к теме сайта */
.bg-light {
  background-color: var(--surface-light) !important;
  color: var(--text) !important;
}

.table {
  color: var(--text);
  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: var(--surface);
  border-bottom: 2px solid rgba(0,0,0,0.1);
}

/* Минималистичный стиль для юридической страницы */
.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--text);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
}

.legal-section h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.legal-section h4 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

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

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

.legal-section li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.highlight-box {
  background-color: var(--surface-light);
  border-left: 4px solid var(--accent);
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.update-date {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Таблица инструментов */
.table-responsive {
  margin: 1.5rem 0;
}

.table th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.table td {
  vertical-align: middle;
}