/* tiny tweak for the toggle switch (same as your inline styles) */
.toggle-switch {
  width: 40px;
  height: 20px;
  background-color: #ccc;
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s;
}
.toggle-switch::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background-color: white;
  border-radius: 9999px;
  transition: transform 0.3s;
}
.toggle-switch.dark::before { transform: translateX(20px); }
.toggle-switch.dark { background-color: #4b5563; }
