.react-custom-components-ui-switch-container {
    display: flex;
    align-items: center;
}

.react-custom-components-ui-switch-checkbox {
    height: 0;
    width: 0;
    visibility: hidden;
}

.react-custom-components-ui-switch-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    /*background: grey;*/
    /*border-radius: 100px;*/
    position: relative;
    transition: background-color 0.2s;
}

.react-custom-components-ui-switch-label .react-custom-components-ui-switch-button {
    content: '';
    position: absolute;
    /*top: 2px;
    left: 2px;*/
    /*width: 20px;
    height: 20px;*/
    /*border-radius: 45px;*/
    transition: 0.2s;
    /*background: #fff;*/
    box-shadow: 0 0 2px 0 rgba(10, 10, 10, 0.29);
}

.react-custom-components-ui-switch-checkbox:checked+.react-custom-components-ui-switch-label .react-custom-components-ui-switch-button {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

.react-custom-components-ui-switch-label:active .react-custom-components-ui-switch-button {
    width: 25px;
}