[type="checkbox"]:checked,
[type="checkbox"]:not(:checked),
[type="radio"]:checked,
[type="radio"]:not(:checked){
    position: absolute;
    left: -9999px;
    width: 0;
    height: 0;
    visibility: hidden;
}

.checkbox-tools:checked + label,
.checkbox-tools:not(:checked) + label{
    position: relative;
    display: inline-block;
    padding: 20px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1px;
    margin: 0 auto;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    text-transform: uppercase;
    color: #ffffff;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}

.checkbox-tools:not(:checked) + label{
    background-color: #f0eff3;
    color: #1f2029;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.05);
}

.checkbox-tools:checked + label{
    background-image: linear-gradient(298deg, #464460, #e9518a);
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.checkbox-tools:not(:checked) + label:hover{
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

/* SWITCHES */

.switches {
    margin-top: 10px;
    padding: 14px;
}

.switches label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.switches span:first-child {
    position: relative;
    width: 40px;
    height: 22px;
    border-radius: 15px;
    background-color: #aea9c3;
    transition: all 0.3s;
    margin-right: 10px;
}

.switches span:first-child::before,
.switches span:first-child::after {
    content: "";
    position: absolute;
}

.switches span:first-child::before {
    left: 2px;
    top: 2px;
    width: 18px;
    height: 18px;
    background-color: white;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.3s;
}

.switches [type="checkbox"]:checked + label span:first-child {
    background-color: #e76c90;
}

.switches [type="checkbox"]:checked + label span:first-child::before {
    transform: translateX(18px);
}