.toggle
{
    align-items: center;
    border-radius: 100px;
    display: flex;
    font-weight: 700;
    margin-bottom: 16px;
}

.toggle:last-of-type
{
    margin: 0;
}

.toggle__input
{
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.toggle__input:not([disabled]):active + .toggle-track, .toggle__input:not([disabled]):focus + .toggle-track
{
    border: 1px solid transparent;
    box-shadow: 0px 0px 0px 2px #6c757d;
}
.toggle__input:disabled + .toggle-track
{
    cursor: not-allowed;
    opacity: 0.7;
}

.toggle-track
{
    width: 60px;
    height: 30px;
    margin-right: 20px;
    position: relative;
    display: flex;
    background-color: transparent;
    border: 1px solid #6c757d;
    border-radius: 100px;
    cursor: pointer;
}

.toggle-indicator
{
    align-items: center;
    background-color: #6c757d;
    border-radius: 24px;
    bottom: 2px;
    display: flex;
    height: 24px;
    justify-content: center;
    left: 2px;
    outline: solid 2px transparent;
    position: absolute;
    transition: 0.25s;
    width: 24px;
}

.checkMark
{
    width: 20px;
    height: 20px;
    margin-top: -6px;
    fill: #fff;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

.toggle__input:checked + .toggle-track .toggle-indicator
{
    background-color: var(--company-color);
    transform: translateX(30px);
}
.toggle__input:checked + .toggle-track .toggle-indicator .checkMark
{
    opacity: 1;
    transition: opacity 0.25s ease-in-out;
}



@media screen and (-ms-high-contrast: active)
{
    .toggle-track
    {
        border-radius: 0;
    }
}