.bg-light {
  background-color: var(--dark-lighter) !important;
  color: var(--text-primary) !important;
}

.card {
  border: 1px solid var(--border-color);
  background: var(--dark-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.table-dark {
  --bs-table-bg: var(--dark-card);
  --bs-table-striped-bg: var(--dark-lighter);
  --bs-table-border-color: var(--border-color);
}

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

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

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

.security-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-dark);
  border-radius: 8px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border-color);
}

.alert-custom {
  background: var(--dark-card);
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background: var(--gradient-1);
  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);
}

.login-feature-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

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

.card.bg-light.text-dark {
  max-width: 100%;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem) !important;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
}

section.container h1:first-of-type {
  margin-top: 6rem !important;
  padding-top: 0 !important;
}

@media (max-width: 768px) {
  section.container h1:first-of-type {
    margin-top: 5rem !important;
  }
}