/* Адаптация к теме сайта */
.bg-light {
  background-color: rgba(255, 255, 255, 0.05) !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.02);
  --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;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-bright);
}

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

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

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

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

li {
  margin-bottom: 0.5rem;
}

.intro-text {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.9;
}

.warning-box {
  background: rgba(255, 107, 107, 0.1);
  border-left: 4px solid var(--accent-coral);
  padding: 1.25rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

.info-box {
  background: rgba(78, 205, 196, 0.1);
  border-left: 4px solid var(--accent-mint);
  padding: 1.25rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

.contact-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  margin-top: 3rem;
  border-radius: 8px;
}

.last-updated {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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