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

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

.bg-light {
  background-color: var(--light) !important;
  color: var(--text-dark) !important;
  border: 1px solid rgba(0,0,0,0.08);
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

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

.payment-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.table-responsive {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

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

.table thead th {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 1rem;
  border: none;
}

.table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background-color 0.2s ease;
}

.table tbody tr:hover {
  background-color: rgba(255,255,255,0.03);
}

.table tbody td {
  padding: 1rem;
  vertical-align: middle;
  border: none;
}

.badge {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.75rem;
}

.badge-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.badge-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

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

.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.8rem;
  position: relative;
}

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

.alert-info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
  border-left: 4px solid var(--primary);
  color: var(--text-primary);
  border-radius: 8px;
}

.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  margin: 3rem 0;
}