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

/* Адаптация под тему сайта */
.bg-light {
  background-color: var(--dark-lighter) !important;
  color: var(--text-primary) !important;
}

.card {
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.row {
  display: flex;
  flex-wrap: wrap;
}

.row > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

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

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

.info-box {
  background: var(--dark-card);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

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

.table-dark {
  --bs-table-bg: var(--dark-card);
  --bs-table-striped-bg: var(--dark-lighter);
  --bs-table-border-color: var(--border-color);
}

.table-dark td,
.table-dark th {
  color: #000000 !important;
}

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

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

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

@media (max-width: 768px) {
  .feature-icon,
  .step-number {
    margin-left: auto;
    margin-right: auto;
  }
}