.uiSwitch{position:relative;display:inline-block;width:50px;min-width:50px;height:24px}.uiSwitch input{opacity:0;width:0;height:0}.uiSlider{position:absolute;cursor:pointer;inset:0;background-color:#ccc;transition:background-color .2s ease;border-radius:12px}.uiSlider:before{content:"";position:absolute;height:20px;width:20px;left:2px;top:2px;background-color:#fff;transition:transform .2s ease;border-radius:50%}.uiSwitch input:checked+.uiSlider{background-color:var(--v3-primary-color)}.uiSwitch input:checked+.uiSlider:before{transform:translateX(26px)}