/* Адаптация для темной темы */
.bg-light {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-primary) !important;
}

.terms-container h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.terms-container h2 {
  color: var(--secondary-color);
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

.terms-container h3 {
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.terms-container h4 {
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.terms-container p {
  color: var(--text-muted, rgba(255, 255, 255, 0.7));
  line-height: 1.8;
  margin-bottom: 1rem;
}

.terms-container ul,
.terms-container ol {
  color: var(--text-muted, rgba(255, 255, 255, 0.7));
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.terms-container li {
  margin-bottom: 0.5rem;
}

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

.last-updated {
  color: var(--text-muted, rgba(255, 255, 255, 0.5));
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

.important-notice {
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid var(--accent-color, #ffc107);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.important-notice p {
  margin-bottom: 0;
  color: var(--text-primary);
}

@media screen and (max-width: 768px) {
  table {
    display: block !important;
    overflow: scroll !important;
  }
}