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

/* Адаптация под темную тему */
.bg-light {
  background-color: var(--dark-alt) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color, rgba(255,255,255,0.1));
}

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

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

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

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

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

.registration-step {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.registration-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.highlight-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--accent);
  margin: 1.5rem 0;
}

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

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

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

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

@media (max-width: 768px) {
  .registration-step {
    padding-left: 2.5rem;
  }
  
  .registration-step::before {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.9rem;
  }
}