:root {
  color-scheme: dark;
}

.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 2.5rem;
  height: 1.375rem;
  border-radius: 9999px;
  border: 1px solid rgb(51 65 85);
  background-color: rgb(30 41 59);
  transition: background-color 150ms ease, border-color 150ms ease, opacity 150ms ease;
  cursor: pointer;
  flex-shrink: 0;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  left: 2px;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background-color: rgb(226 232 240);
  transition: transform 150ms ease, background-color 150ms ease;
}

.toggle-switch[aria-checked="true"] {
  background-color: rgb(16 185 129);
  border-color: rgb(52 211 153);
}

.toggle-switch[aria-checked="true"]::after {
  transform: translateX(1.125rem);
  background-color: rgb(255 255 255);
}

.toggle-switch.toggle-danger[aria-checked="true"] {
  background-color: rgb(225 29 72);
  border-color: rgb(251 113 133);
}

.toggle-switch:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 4px;
}

.projector-active header,
.projector-active footer {
  display: none !important;
}

.projector-active main {
  max-width: 100% !important;
  padding: 1.25rem 2rem !important;
}
