.two-coders-integration-mux-video-page-settings .tabs-container,
.toggle-container {

    input[type=checkbox] {
        height: 0;
        width: 0;
        visibility: hidden;
        position: absolute;
    }

    label {
        cursor: pointer;
        text-indent: -9999px;
        margin: 10px 0;
        width: 50px;
        height: 26px;
        background: $grey;
        display: block;
        border-radius: 100px;
        position: relative;
    }

    label:after {
        content: "";
        position: absolute;
        top: 3px;
        left: 4px;
        width: 20px;
        height: 20px;
        background: #fff;
        border-radius: 25px;
        transition: .4s;
    }

    input:checked+label {
        background: $blue;
    }

    input:checked+label:after {
        left: 53%;
    }

}

.toggle-container {

    label {
        display: flex;
        align-items: center;
        text-align: left;
        text-indent: -9999px;
        width: 60px;
        color: $white;
    }

    input:checked {

        +label {
            text-indent: 10px;
        }

        +label:after {
            left: 60%;
        }

    }

    .no-toggle {
        all: unset;
        font-weight: 600;

        &::after {
            all: unset;
        }
    }
}

.muxvideo-page {

    input[type=text], input[type=password] {
        border: 1px solid #e4e4e4;
        padding: 0.5rem;
        padding-right: 2.5rem;
        width: 100%;
        max-width: 500px;
        overflow: hidden;
        // text-overflow: ellipsis;
        // white-space: nowrap;
    }
}

input[type="range"] {
    appearance: none;
    width: 200px;
    -webkit-appearance: none;
    vertical-align: middle;
    outline: none;
    border: none;
    padding: 0;
    background: none;

    &[step] {
        background-color: transparent;
        background-image: repeating-linear-gradient(to right, rgba(#fff, .2), rgba(#fff, .2) calc(12.5% - 1px), #05051a 12.5%);
    }

    &::-ms-track {
        color: transparent;
        border: none;
        background: none;
        height: 4px;
    }

    &::-ms-tooltip {
        display: none;
        /* display and visibility only */
    }

    &::-moz-range-thumb {
        height: 20px;
        width: 20px;
        border: none;
        background: none;
        background-color: $blue;
    }

    &:active::-moz-range-thumb {
        outline: none;
    }

    &::-webkit-slider-thumb {
        -webkit-appearance: none !important;
        border-radius: 100%;
        background-color: $blue;
        height: 20px;
        width: 20px;
        margin-top: -8px;
    }

    &:active::-webkit-slider-thumb {
        outline: none;
    }

    &[disabled]::-webkit-slider-thumb {
        background-color: transparent;
        border: 1px solid $greyAPI;
    }

    &::-ms-thumb {
        border-radius: 100%;
        height: 20px;
        width: 20px;
        border: none;
        background-color: $blue;
    }

    &:active::-ms-thumb {
        border: none;
    }

    &::-webkit-slider-runnable-track {
        height: 4px;
        border-radius: 3px;
        border: 1px solid transparent;
        background-color: $greyAPI;
    }

    &[disabled]::-webkit-slider-runnable-track {
        opacity: 0.4;
        border: 1px solid $greyAPI;
        background-color: transparent;
    }

    &::-moz-range-track {
        height: 4px;
        border-radius: 3px;
        background-color: $greyAPI;
        border: none;
    }

    &::-ms-fill-lower {
        background-color: $greyAPI;
    }

    &::-ms-fill-upper {
        background-color: $greyAPI;
    }
}

output {
    border: 1px solid #d7dbdd;
    color: $black;
    font-size: $font-size-s;
    padding: .4em .6em;
}