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

/* Адаптация к теме сайта */
.bg-light {
  background: linear-gradient(135deg, var(--dark-lighter), var(--dark-card)) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
}

.bg-dark {
  background: var(--dark-card) !important;
  color: var(--text-primary) !important;
}

.card {
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--dark-card);
}

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

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

.table-dark {
  --bs-table-bg: var(--dark-card);
  --bs-table-striped-bg: var(--dark-lighter);
  --bs-table-border-color: var(--border-color);
  --bs-table-color: var(--text-primary);
}

.table thead {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-bottom: 2px solid var(--border-color);
}

.table tbody tr {
  border-bottom: 1px solid var(--border-color);
}

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

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

.highlight-box {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.1));
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.requirements-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

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

@media (max-width: 768px) {
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}