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

/* Адаптация к темной теме */
.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 {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

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

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

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.03);
}

.table td, .table th {
  border-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
}

.alert-info {
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  border: none;
  color: var(--text-primary);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  margin-right: 0.75rem;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.security-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-1);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}