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

/* Адаптация под тему сайта */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
}

.privacy-content {
  background-color: var(--dark-lighter);
  color: var(--text-primary);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.privacy-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

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

.privacy-section h2 {
  color: #ffffff !important;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: 600;
}

.privacy-section h3 {
  color: #ffffff !important;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  font-weight: 500;
}

.privacy-section h4 {
  color: #ffffff !important;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 500;
}

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

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

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

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

.last-updated {
  background: var(--dark-card);
  padding: 1rem 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent);
}

.last-updated p {
  margin: 0;
  color: var(--text-primary);
  font-weight: 500;
}

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

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

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

.table tbody tr {
  border-color: var(--border-color);
}

.table tbody tr:hover {
  background-color: var(--dark-card);
}

.contact-info {
  background: var(--dark-card);
  padding: 1.5rem;
  border-radius: 6px;
  margin-top: 2rem;
}

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

@media (max-width: 768px) {
  .privacy-content {
    padding: 1.5rem;
  }
  
  .privacy-section h2 {
    font-size: 1.5rem;
  }
  
  .privacy-section h3 {
    font-size: 1.25rem;
  }
}