.sg-switch{--sg-switch-on-color:var(--sg-color-primary);--sg-switch-off-color:var(--sg-border-color-base);--sg-switch-core-border-radius:12px}.sg-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:var(--sg-switch-height);height:32px;vertical-align:middle}.sg-switch.is-disabled .sg-switch__core,.sg-switch.is-disabled .sg-switch__label{cursor:not-allowed}.sg-switch__label{transition:var(--sg-transition-duration-fast);height:var(--sg-switch-height);display:inline-block;font-size:14px;font-weight:500;cursor:pointer;vertical-align:middle;color:var(--sg-text-color-primary)}.sg-switch__label.is-active{color:var(--sg-color-primary)}.sg-switch__label--left{margin-right:10px}.sg-switch__label--right{margin-left:10px}.sg-switch__label *{line-height:1;font-size:14px;display:inline-block}.sg-switch__label .sg-icon{height:inherit}.sg-switch__label .sg-icon svg{vertical-align:middle}.sg-switch__input{position:absolute;width:0;height:0;opacity:0;margin:0}.sg-switch__core{margin:0;display:inline-block;position:relative;width:44px;height:24px;border:1px solid var(--sg-switch-off-color);outline:0;border-radius:var(--sg-switch-core-border-radius);box-sizing:border-box;background:var(--sg-switch-off-color);cursor:pointer;transition:border-color var(--sg-transition-duration),background-color var(--sg-transition-duration);vertical-align:middle}.sg-switch__core .sg-switch__inner{position:absolute;top:1px;left:1px;transition:all var(--sg-transition-duration);width:20px;height:20px;display:flex;justify-content:center;align-items:center;left:50%}.sg-switch__core .sg-switch__inner .is-icon,.sg-switch__core .sg-switch__inner .is-text{color:var(--sg-color-white);transition:opacity var(--sg-transition-duration);position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sg-switch__core .sg-switch__action{position:absolute;top:1px;left:1px;border-radius:var(--sg-border-radius-circle);transition:all var(--sg-transition-duration);width:20px;height:20px;background-color:var(--sg-color-white);display:flex;justify-content:center;align-items:center;color:var(--sg-switch-off-color)}.sg-switch__core .sg-switch__action .is-icon,.sg-switch__core .sg-switch__action .is-text{transition:opacity var(--sg-transition-duration);position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sg-switch__core .is-text{font-size:12px}.sg-switch__core .is-show{opacity:1}.sg-switch__core .is-hide{opacity:0}.sg-switch__core>*{position:absolute;right:6px;font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#fff;height:100%;display:flex;align-items:center}.sg-switch.is-checked .sg-switch__core{border-color:var(--sg-switch-on-color);background-color:var(--sg-switch-on-color)}.sg-switch.is-checked .sg-switch__core>*{left:6px;right:auto}.sg-switch.is-checked .sg-switch__core .sg-switch__action{left:100%;margin-left:-21px;color:var(--sg-switch-on-color)}.sg-switch.is-checked .sg-switch__core .sg-switch__inner{left:50%;margin-left:-21px}.sg-switch.is-disabled{opacity:.6}.sg-switch--wide .sg-switch__label.sg-switch__label--left span{left:10px}.sg-switch--wide .sg-switch__label.sg-switch__label--right span{right:10px}.sg-switch .label-fade-enter-from,.sg-switch .label-fade-leave-active{opacity:0}.sg-switch--large{font-size:14px;height:40px}.sg-switch--large .sg-switch__core{width:56px;height:24px}.sg-switch--large .sg-switch__core .sg-switch__inner{width:20px;height:20px}.sg-switch--large .sg-switch__core .sg-switch__action{width:20px;height:20px}.sg-switch--large.is-checked .sg-switch__action{margin-left:-21px!important}.sg-switch--large.is-checked .sg-switch__inner{margin-left:-21px!important}.sg-switch--large .sg-switch__label{font-size:14px}.sg-switch--large .sg-switch__label *{font-size:14px}.sg-switch--small{font-size:12px;height:24px}.sg-switch--small .sg-switch__core{width:38px;height:20px}.sg-switch--small .sg-switch__core .sg-switch__inner{width:16px;height:16px}.sg-switch--small .sg-switch__core .sg-switch__action{width:16px;height:16px}.sg-switch--small.is-checked .sg-switch__action{margin-left:-17px!important}.sg-switch--small.is-checked .sg-switch__inner{margin-left:-17px!important}.sg-switch--small .sg-switch__label{font-size:12px}.sg-switch--small .sg-switch__label *{font-size:12px}