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

/* Адаптация под темную тему */
.bg-light {
  background-color: #f6f6f8 !important;
  color: var(--text) !important;
}

.bg-dark,
.bg-dark *,
.bg-dark .card-text,
.bg-dark .card-title,
.bg-dark h3,
.bg-dark h5,
.bg-dark h6,
.bg-dark p,
.bg-dark li,
.bg-dark ul {
  color: #ffffff !important;
}

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

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

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

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

.requirements-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.info-box {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.1) 100%);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0.5rem;
}

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

.table-dark {
  --bs-table-bg: var(--dark-alt);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.05);
  --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

.table thead {
  background: #fd8b0f;
  border-bottom: 2px solid #a867c3;
}

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

.verification-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-secondary);
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
}

.timeline {
  position: relative;
  padding-left: 0;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 2rem;
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #fd8b0f;
}

.timeline-item:last-child:before {
  display: none;
}

.btn-primary {
  background: #fd8b0f;
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}