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

/* Адаптация к теме сайта */
.privacy-policy {
  color: var(--text-primary);
  line-height: 1.8;
}

.privacy-policy h1 {
  color: var(--text-primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.privacy-policy h2 {
  color: var(--text-primary);
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color, rgba(255,255,255,0.1));
}

.privacy-policy h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.privacy-policy p {
  margin-bottom: 1rem;
}

.privacy-policy ul, 
.privacy-policy ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

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

.privacy-policy .last-updated {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.privacy-policy .section-intro {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.table-responsive {
  margin-bottom: 2rem;
  border-radius: var(--border-radius, 8px);
  overflow: hidden;
}

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

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

.table thead th {
  color: var(--text-primary);
  font-weight: 600;
  border-color: var(--border-color, rgba(255,255,255,0.1));
}

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

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255,255,255,0.02);
}

@media (max-width: 768px) {
  .privacy-policy h1 {
    font-size: 2rem;
  }
  
  .privacy-policy h2 {
    font-size: 1.5rem;
  }
}