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

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

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

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

.table thead {
  background: linear-gradient(135deg, var(--primary-flame), var(--primary-deep));
  border-bottom: 2px solid var(--accent-gold);
  color: var(--text-primary);
}

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

.registration-hero {
  background: var(--gradient-dark);
  border-radius: 1rem;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

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

.step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  opacity: 0.2;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.5rem;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 159, 10, 0.1));
  border-left: 4px solid var(--accent-gold);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

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

.requirement-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  padding-left: 2rem;
}

.requirement-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: bold;
  font-size: 1.2rem;
}

.cta-section {
  background: var(--gradient-primary);
  padding: 3rem 2rem;
  border-radius: 1rem;
  text-align: center;
  margin-top: 3rem;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  font-size: 0.9rem;
  margin: 0.25rem;
}

@media (max-width: 768px) {
  .registration-hero {
    padding: 2rem 1.5rem;
  }
  
  .step-card {
    margin-bottom: 1.5rem;
  }
}