.switch {
    position: relative;
    display: inline-block;
    width: calc(2em + 12px);
    height: calc(1em + 8px);
    outline: 1px solid white !important;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .1s;
}

.slider:after {
    position: absolute;
    content: "";
    height: 1em;
    width: 1em;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .1s;
}

.slider:before {
    font-weight: bold;
    position: absolute;
    content: "✓ ✕";
    white-space: pre;
    height: 1em;
    width: 2em;
    left: 4px;
    bottom: 4px;
    transform-origin: bottom left;
    transform: scale(1.15) translate(1px, -1px);
}

input:checked + .slider:after {
    transform: translateX(calc(1em + 4px));
}
