:root {
    --switches-bg-color: #FF5100;
    --switches-label-color: white ;
    --switch-bg-color: white;
    --switch-text-color: #FF5100 ;
}
.switches-container {
    width: 72px;
    position: relative;
    display: flex;
    padding: 0;
    position: relative;
    background: var(--switches-bg-color);
    line-height: 36px;
    border-radius: 3rem;
    margin-left: auto;
    margin-right: auto;
    height: 36px;
    font-weight: 500;
    font-size: 11px;
}

/* input (radio) for toggling. hidden - use labels for clicking on */
.switches-container input {
    visibility: hidden;
    position: absolute;
    top: 0;
}

/* labels for the input (radio) boxes - something to click on */
.switches-container label {
    width: 50%;
    padding: 0;
    margin: 0;
    text-align: center;
    cursor: pointer;
    color: var(--switches-label-color);
}


/* switch highlighters wrapper (sliding left / right) 
    - need wrapper to enable the even margins around the highlight box
*/
.switch-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 36px;
    height: 36px;
    /* padding: 0.15rem; */
    padding: 3px;
    z-index: 3;
    transition: transform .5s cubic-bezier(.77, 0, .175, 1);
    /* transition: transform 1s; */
    overflow: hidden;
}

/* switch box highlighter */
.switch {
    border-radius: 3rem;
    background: var(--switch-bg-color);
    height: 100%;
    box-shadow: 1px 2px 3px 0px #00000029;
    border-radius: 50%;
    /* border: 3px solid #ff5100; */
}

/* switch box labels
    - default setup
    - toggle afterwards based on radio:checked status 
*/
.switch div {
    width: 100%;
    text-align: center;
    opacity: 0;
    display: block;
    color: var(--switch-text-color);
    transition: opacity .2s cubic-bezier(.77, 0, .175, 1) .125s;
    will-change: opacity;
    position: absolute;
    top: 0;
    border-radius: 100%;
    left: 0;
    /* box-shadow: 1px 1px 5px -1px #000; */
}

/* slide the switch box from right to left */
.switches-container input:nth-child(1):checked~.switch-wrapper {
    transform: translateX(0%);
}

/* slide the switch box from left to right */
.switches-container input:nth-child(2):checked~.switch-wrapper {
    transform: translateX(100%);
}

/* toggle the switch box labels - first checkbox:checked - show first switch div */
.switches-container input:nth-child(1):checked~.switch-wrapper .switch div:nth-child(1) 
{
    opacity: 1;
}

/* toggle the switch box labels - second checkbox:checked - show second switch div */
.switches-container input:nth-child(2):checked~.switch-wrapper .switch div:nth-child(2) 
{
    opacity: 1;
}