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

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

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

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

.table-dark {
  --bs-table-bg: var(--dark-card);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
  --bs-table-border-color: rgba(255, 255, 255, 0.1);
  --bs-table-color: var(--text-primary);
}

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

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

.payment-method-card {
  transition: var(--transition);
  border-radius: 12px;
  overflow: hidden;
}

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

.payment-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  color: white;
}

.feature-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent);
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.process-step {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gradient-secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.security-feature {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card-body ul {
  padding-left: 1.25rem;
}

.card-body ul li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.card-body ul li strong {
  color: var(--text-primary);
}