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

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

.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 {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
}

.requirement-item {
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--primary);
  margin-bottom: 1rem;
  border-radius: 4px;
}

.benefit-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

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

.table-dark {
  --bs-table-bg: rgba(255,255,255,0.03);
  --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);
}

.alert-info {
  background: rgba(var(--primary), 0.1);
  border-left: 4px solid var(--primary);
  color: var(--text-primary);
  padding: 1.25rem;
  border-radius: 8px;
}

.cta-box {
  background: var(--gradient-primary);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem 0;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--primary);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}