:root {
  --md-dark: #121212;
  --md-surface: #1E1E1E;
  --md-primary: #BB86FC;
  --md-secondary: #03DAC6;
  --md-error: #CF6679;
}

body.bg-dark {
  background-color: var(--md-dark) !important;
  color: #ffffff;
}

.bg-secondary {
  background-color: var(--md-surface) !important;
}

.text-primary { color: var(--md-primary) !important; }
.text-info { color: var(--md-secondary) !important; }

.material-btn {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.material-btn:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transform: translateY(-1px);
}

.status-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.table-dark {
  --bs-table-bg: transparent;
}

.table-hover>tbody>tr:hover>* {
  --bs-table-bg-state: rgba(255,255,255,0.05);
}

input.bg-dark, select.bg-dark {
  background-color: #2c2c2c !important;
}

input:focus, select:focus {
  box-shadow: none !important;
  border: 1px solid var(--md-primary) !important;
}

input.bg-dark::placeholder {
  color: #c0c0c0 !important;
  opacity: 1;
}