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

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

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

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0.75rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

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

.alert-custom {
  background: rgba(var(--accent), 0.1);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

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

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

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

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

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

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

.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: 0 5px 20px rgba(var(--primary), 0.4);
}

.security-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(var(--success), 0.2);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--success);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

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