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

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

.table {
  color: var(--text-primary);
  border-color: var(--border-color, rgba(255,255,255,0.1));
}

.table-dark {
  --bs-table-bg: var(--bg-card);
  --bs-table-striped-bg: var(--bg-card-hover);
  --bs-table-border-color: var(--border-color, rgba(255,255,255,0.1));
}

.table thead {
  background: var(--bg-card);
  border-bottom: 2px solid var(--border-color, rgba(255,255,255,0.1));
}

/* Стилизация контента */
.privacy-section {
  margin-bottom: 2.5rem;
}

.privacy-section h2 {
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}

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

.privacy-section h4 {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

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

.privacy-section ul,
.privacy-section ol {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.privacy-section li {
  margin-bottom: 0.5rem;
}

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

.last-update {
  background: var(--bg-card);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary);
  margin-bottom: 2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-info {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 2rem;
  border: 1px solid var(--border-color, rgba(255,255,255,0.1));
}

.table-responsive {
  margin-bottom: 1.5rem;
}

.table th {
  font-weight: 600;
  padding: 1rem;
  vertical-align: middle;
}

.table td {
  padding: 0.875rem 1rem;
  vertical-align: top;
}