/* Адаптация под темную тему сайта */
.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);
}

.card.bg-dark {
  background: var(--card-bg) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary) !important;
}

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

.table-dark {
  --bs-table-bg: var(--card-bg);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
  --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

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

.table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-divider {
  border-top: 2px solid var(--primary-color);
  margin: 3rem 0;
  opacity: 0.3;
}

.highlight-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.info-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.agb-section {
  margin-bottom: 3rem;
}

.agb-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.agb-section h3 {
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

ul.agb-list {
  list-style: none;
  padding-left: 0;
}

ul.agb-list li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
}

ul.agb-list li:before {
  content: "▸";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

section.container,
.container:not(.header-content):not(.footer-content) {
  max-width: 1400px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}