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

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

/* Типографика для юридических документов */
.privacy-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-section:last-child {
  border-bottom: none;
}

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

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

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

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

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

.privacy-section li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.privacy-section ul li::marker {
  color: var(--primary);
}

.privacy-section ol li::marker {
  color: var(--primary);
  font-weight: 600;
}

.privacy-intro {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: 0.5rem;
  margin-bottom: 3rem;
  border-left: 4px solid var(--primary);
}

.privacy-intro p {
  margin-bottom: 0.5rem;
}

.privacy-intro p:last-child {
  margin-bottom: 0;
}

.table-responsive {
  margin: 2rem 0;
  border-radius: 0.5rem;
  overflow: hidden;
}

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

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

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

.table tbody td {
  padding: 1rem;
  border-color: rgba(255, 255, 255, 0.05);
  vertical-align: top;
}

.table tbody tr {
  transition: background-color 0.2s ease;
}

.table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.contact-info {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 2rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info strong {
  color: var(--primary);
}

@media (max-width: 768px) {
  .privacy-section h2 {
    font-size: 1.5rem;
  }
  
  .privacy-section h3 {
    font-size: 1.25rem;
  }
  
  .privacy-intro,
  .contact-info {
    padding: 1.25rem;
  }
  
  .privacy-section ul,
  .privacy-section ol {
    padding-left: 1.5rem;
  }
}