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

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

.card {
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.table tbody tr {
  border-bottom: 1px solid var(--border);
}

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

.badge {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

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

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  margin: 3rem 0;
}

.cta-box h2 {
  color: white;
  margin-bottom: 1rem;
}

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

.feature-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li:before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

.card.bg-light,
.card.bg-light .card-body,
.card.bg-light .card-title,
.card.bg-light .card-text,
.card.bg-light h3,
.card.bg-light h4,
.card.bg-light p,
.card.bg-light ul,
.card.bg-light li {
  color: #000000 !important;
}