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

/* Адаптация под светлую тему */
.bg-dark {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-alt) 100%) !important;
  color: var(--light) !important;
  border: 1px solid rgba(255,255,255,0.1);
}

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

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

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

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
}

.security-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: white;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.table-responsive {
  margin-bottom: 2rem;
}

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

.table thead {
  background: var(--dark);
  color: var(--light);
  border-bottom: 2px solid var(--accent);
}

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

.table tbody tr:hover {
  background-color: rgba(0,0,0,0.02);
}

.alert-info {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1) 0%, rgba(var(--accent-rgb), 0.05) 100%);
  border-left: 4px solid var(--accent);
  color: var(--text);
  padding: 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

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

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.highlight-box {
  background: var(--gradient-3);
  padding: 2rem;
  border-radius: 12px;
  color: white;
  margin-bottom: 2rem;
}

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