/* Adapting to dark theme */
.bg-light {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-light) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

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

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

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

.table thead {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.alert-warning {
  background-color: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.3);
  color: var(--text-light);
}

.list-group-item {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.badge {
  font-size: 0.85rem;
  padding: 0.5em 0.8em;
}