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

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

.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.3);
}

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

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(40, 167, 69, 0.2);
  border: 1px solid rgba(40, 167, 69, 0.4);
  border-radius: 8px;
  color: #28a745;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

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

.feature-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.feature-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

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

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

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

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

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

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

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

.alert-info {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.05) 100%);
  border: 1px solid rgba(13, 110, 253, 0.3);
  border-radius: 12px;
  color: var(--text);
  padding: 1.5rem;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

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

.highlight-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark-alt) 100%);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .card {
    margin-bottom: 1.5rem;
  }
  
  .icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}