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

/* Адаптация к светлой теме */
.bg-dark {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--purple) 100%) !important;
  color: var(--text-primary) !important;
  border: none !important;
}

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

.card {
  transition: var(--transition);
  border-radius: 12px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

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

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

.lead {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.7;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 12px 32px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.security-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.5);
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.alert-info {
  background: rgba(33, 150, 243, 0.1);
  border-left: 4px solid var(--primary);
  color: var(--text-primary);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-weight: bold;
  margin-right: 12px;
}

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

.feature-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  margin-right: 12px;
}