.toggle{cursor:pointer;display:inline-block}.toggle.toggle-disabled{cursor:not-allowed}.toggle-switch{background:var(--bg-500);vertical-align:middle;border-radius:16px;width:52px;height:26px;transition:background .25s;display:inline-block;position:relative}.toggle-switch:disabled{background:var(--bg-300)}.toggle-switch:before,.toggle-switch:after{content:""}.toggle-switch:before{background:linear-gradient(#fff 0% 100%);border-radius:50%;width:18px;height:18px;transition:left .25s;display:block;position:absolute;top:4px;left:4px;box-shadow:0 0 0 1px #00000040}.toggle-switch.toggle-disabled:before{background:linear-gradient(#bbb 0% 100%)}.toggle:hover .toggle-switch:before{background:linear-gradient(#eee 0% 100%);box-shadow:0 0 0 1px #00000080}.toggle:hover .toggle-switch.toggle-disabled:before{background:linear-gradient(#bbb 0% 100%);box-shadow:0 0 0 1px #00000080}.toggle-checkbox:checked+.toggle-switch{background:var(--green-700)}.toggle-checkbox:checked:disabled+.toggle-switch{background:var(--green-900)}.toggle-checkbox:checked+.toggle-switch:before{left:30px}.toggle-checkbox{visibility:hidden}.toggle-label{margin-left:5px;position:relative;top:2px}
