/* Protection contre le défilement horizontal */
html, body { 
  overflow-x: hidden; 
  max-width: 100vw; 
}

/* Adaptation du thème */
.bg-light {
  background-color: var(--dark-lighter, #1a1a2e) !important;
  color: var(--text-light, #ffffff) !important;
}

.bg-dark {
  background-color: var(--dark-card, #16213e) !important;
  color: var(--text-light, #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-md, 0 8px 16px rgba(0,0,0,0.3));
}

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

.table-dark {
  --bs-table-bg: var(--dark-card, #16213e);
  --bs-table-striped-bg: var(--dark-lighter, #1a1a2e);
  --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

.table thead {
  background: var(--gradient-1, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
  border-bottom: 2px solid var(--accent, #764ba2);
}

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

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow, 0 8px 20px rgba(102, 126, 234, 0.4));
}

.lead {
  color: var(--text-gray, #b8b8d1);
  font-size: 1.15rem;
  line-height: 1.8;
}

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

.alert-info {
  background-color: rgba(102, 126, 234, 0.1);
  border-left: 4px solid var(--accent, #667eea);
  color: var(--text-light, #ffffff);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 15px;
}