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

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

.bg-light {
  background-color: var(--light-card) !important;
  color: var(--text-dark) !important;
  border: 1px solid rgba(0,0,0,0.08);
}

/* Карточки */
.card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

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

.card-body {
  padding: 2rem;
}

/* Этапы регистрации */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--gradient-main);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-glow);
}

/* Таблица требований */
.table-responsive {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.table {
  margin-bottom: 0;
  color: var(--text-primary);
}

.table thead {
  background: var(--gradient-main);
  color: white;
}

.table thead th {
  border: none;
  padding: 1rem;
  font-weight: 600;
}

.table tbody td {
  padding: 1rem;
  border-color: var(--border-color);
  vertical-align: middle;
}

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

/* Badges */
.badge-feature {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-accent);
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
  margin: 0.25rem;
}

/* Liste de vérification */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
}

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

/* Alerte bonus */
.bonus-alert {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem 0;
  box-shadow: var(--shadow-glow);
}

.bonus-alert h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

/* Boutons */
.btn-primary {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}