.switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50px;
  background: rgba(148, 163, 184, 0.45);
  transition: background 0.2s ease;
}

.switch.on {
  background: var(--primary);
}

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

.thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease;
}

.switch.on .thumb {
  transform: translateX(20px);
}
