/* Darkmode Toggle – Basis (Light-Mode neutral) */
.darkmode-toggle {
  all: unset;
  cursor: pointer !important;
  display: inline-block;
  position: relative;
  width: 50px !important;
  height: 24px !important;
  background: var(--toggle-bg, #ddd) !important;
  border-radius: 999px;
  padding: 0.15rem !important;
  transition: background 0.3s ease;
}

.darkmode-toggle .toggle-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
  padding: 0 6px;
}

.darkmode-toggle .toggle-thumb {
  position: absolute;
  max-width: 100%;
  top: 50%;
  left: 3px;
  width: 20px !important;
  height: 20px !important;
  background: var(--thumb-bg, #fff) !important;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 2;
}

.darkmode-toggle .toggle-icons {
  width: 100%;
  font-size: 12px;
  align-items: center;
  display: flex;
  justify-content: space-between;
  z-index: 1;
  color: var(--text-color, #000) !important;
}