/* Защита от горизонтального скролла */
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: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-md);
}

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

/* Шаги регистрации */
.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

/* Иконки требований */
.requirement-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

/* Таблица */
.table-responsive {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.table thead {
  background: var(--gradient-1);
  color: white;
  border-bottom: 2px solid var(--border-color);
}

.table tbody tr {
  transition: background-color 0.2s ease;
}

.table tbody tr:hover {
  background-color: rgba(var(--primary-rgb), 0.05);
}

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

/* Подсветка важного */
.highlight-box {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), rgba(var(--primary-rgb), 0.1));
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

/* Кнопки CTA */
.btn-primary {
  background: var(--gradient-1);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

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

/* Списки с галочками */
.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.75rem;
}

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

/* Адаптив */
@media (max-width: 768px) {
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .requirement-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}