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

/* Адаптация к теме */
.privacy-section {
  background-color: var(--dark-lighter);
  color: var(--text-primary);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 3px solid var(--primary);
}

.privacy-section h2 {
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

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

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

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

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

.privacy-section ul li,
.privacy-section ol li {
  margin-bottom: 0.75rem;
}

.table-responsive {
  background-color: var(--dark-card);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 2rem;
}

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

.table thead {
  background: var(--dark-lighter);
  border-bottom: 2px solid var(--border-color);
}

.table thead th {
  color: var(--primary);
  font-weight: 600;
  padding: 1rem;
  border-color: var(--border-color);
}

.table tbody td {
  padding: 0.875rem 1rem;
  border-color: var(--border-color);
  color: var(--text-secondary);
}

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

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

.highlight-box strong {
  color: var(--primary);
}

.last-updated {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: var(--dark-card);
  border-radius: 6px;
  text-align: center;
}

/* Якорные ссылки */
a[href^="#"] {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a[href^="#"]:hover {
  color: var(--accent);
  text-decoration: underline;
}