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

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

.card {
  border: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.table-responsive {
  border-radius: 0.5rem;
  overflow: hidden;
}

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

.table thead {
  background: var(--primary);
  color: var(--light);
}

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

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

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

.step-number {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--light);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1rem;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}