/* Адаптация к темной теме */
.bg-light {
  background-color: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.table-dark {
  --bs-table-bg: rgba(255, 255, 255, 0.03);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.05);
  --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

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

/* Юридический документ - минималистичный стиль */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent-color);
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

ul, ol {
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

.intro-text {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
}

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

.section-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

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

.contact-info {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-color);
  padding: 1.5rem;
  margin: 2rem 0;
}