input[type="checkbox"]{
    width: 0px;
    height: 0px;
    visibility: hidden;
}

label.form-check-label {
    /*housing*/
    display: block;
    width: 50px;
    height: 15px;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: 0.5s;
    margin-left: auto;
    margin-right: auto;
    background-color: lightgray;
}

label::after {
    /*ball*/
    content: "";
    width: 12px;
    height: 12px;
    background-color: #ffd;
    position: absolute;
    border-radius: 70px;
    top: 2px;
    left: 2px;
    transition: 0.5s;
}

input:checked + label:after {
    left: calc(100% - 5px);
    transform: translateX(-100%);
}

input:checked + label {
    background-color: #00449F;
    box-shadow: 0 0 3px lightblue;
}

label:active:after {
    /*magnetic move effect*/
    width: 30px;
}

table td:first-child{
    /* background-color: rgb(252, 165, 3); */
    margin: 0px;
    padding-right: 10px;
    padding-top: 10px;
}

table td:nth-child(2){
    font-weight: bold;
}