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

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

.card {
  background: var(--surface);
  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 rgba(0,0,0,0.3);
}

.card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-bottom: 2px solid var(--accent);
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

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

.table thead {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text-primary);
  border-bottom: 2px solid var(--accent);
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(212, 175, 55, 0.05);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

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

.alert-custom {
  background: rgba(212, 175, 55, 0.1);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}