.woosub-toggle-switch {
    position: relative;
    display: flex;
    align-items: center;
}

.woosub-toggle-switch input,
.woosub-toggle-switch a {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 50px;
    height: 25px;
    display: inline-flex;
    position: relative;
    margin: 0 0.4rem 0 0;
    border-radius: 16px;
    outline: none;
    border: none;
    cursor: pointer;
    background-color: #c0c0c0;
    transition: all ease 0.3s;
    z-index: 0;
    overflow: hidden;
    text-indent: -5000px;
}

.woosub-toggle-switch input.woosub-show-text,
.woosub-toggle-switch a.woosub-show-text {
    overflow: visible;
    text-indent: calc(55px + 0.4rem);
    text-decoration: none;
    white-space: nowrap;
}

.woosub-toggle-switch .woosub-toggle-handle {
    pointer-events: none;
    display: flex;
    position: absolute;
    z-index: 2;
    width: calc(25px * 0.75);
    height: calc(25px * 0.75);
    background: #fff;
    border-radius: 50%;
    left: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all ease 0.3s;
}

.woosub-toggle-switch input:checked,
.woosub-toggle-switch a.enabled {
    background-color: #0d830d;
}

.woosub-toggle-switch input:checked+.woosub-toggle-handle,
.woosub-toggle-switch a.enabled+.woosub-toggle-handle {
    left: calc(50px - calc(25px * 0.75) - 2px);
}

.woosub-toggle-switch label {
    cursor: pointer;
}

i {
    font-weight: 300;
}

.woosub-toggle-switch {
    margin-bottom: 0.5rem;
}