.preview-container-gutenberg {
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    height: 80px;
    width: 129px;
    @media(max-width: 569px) {
        height: 76px;
        width: 105px;
    }
    mux-player {
        position: relative;
    }
    mux-player::part(play) {
        width: 20px;
        height: 20px;
    }
    mux-player::part(seek-backward) {
        position: absolute;
        top: 25px;
        left: 25px;
        width: 30px;
        height: 30px;
        display: block;
        text-shadow: 1px 1px 2px black;
        &:hover {
            background-color: transparent;
        }
    }
    mux-player::part(seek-forward) {
        position: absolute;
        top: 25px;
        right: 25px;
        width: 30px;
        height: 30px;
        display: block;
        text-shadow: 1px 1px 2px black;
        &:hover {
            background-color: transparent;
        }
    }
    mux-player::part(mute) {
        &:hover {
            background-color: transparent;
        }
    }
    mux-player::part(fullscreen) {
        &:hover {
            background-color: transparent;
        }
    }
}

.mux-player-sidebar {
    background-color: black;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    margin-bottom: 10px;
    width: 179px;
    height: 111px;
    @media(max-width: 800px) {
        width: 362px;
        height: 224px;
    }
}

.thumbnail-mux-player {
    aspect-ratio: 16 / 9;
    --controls: none;
    --media-object-fit: cover;
    --media-object-position: center;
    height: 80px;
    width: 129px;
    @media(max-width: 569px) {
        height: 76px;
        width: 105px;
    }
    &:hover {
        --controls: unset;
        --live-button: none;
        --captions-button: none;
        --airplay-button: none;
        --pip-button: none;
        --cast-button: none;
        --playback-rate-button: none;
        --volume-range: none;
        --time-range: none;
        --time-display: none;
        --duration-display: none;
        --rendition-menu-button: none;
    }
}

.mux-title-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
    font-family: 'SF Pro' !important;
    .mux-gutenberg-title {
        margin: 0px;
        font-weight: 590;
        font-size: 13px;
        margin-bottom: 0 !important;
    }
    img {
        height: 24px;
        width: 24px;
    }
}

.choose-text {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 12px;
}

.gutenberg-mux-table {
    thead, tbody tr {
        display:table;
        width:100%;
        table-layout:fixed;
    }
    thead {
        border-bottom: 1px solid #E2E4DD;
        padding-bottom: 20px;
        width: 100%;
        th {
            font-weight: 400;
            font-size: 12px;
        }
    }
    tbody {
        display: block;
        height: 330px;
        overflow-y: scroll;
        overflow-x: hidden;
        scrollbar-width: thin;
        scrollbar-color: black transparent;
        &::-webkit-scrollbar {
            -webkit-appearance: none;
        }
        tr {
            border-bottom: .5px solid #E2E4DD;
            border-top: .5px solid #E2E4DD;
            padding: 10.6px 11.3px;
            &:first-child {
                border-top: 0;
            }
        }
        .gutenberg-asset-id {
            width: 230px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 9.18px;
            font-weight: 400;
        }
        .select-video {
            text-align: center;
        }
        input[type=checkbox] {
            width: 16px;
            height: 16px;
            border-radius: 4px;
            border: 0.5px solid #828C97;
            @media(max-width: 800px) {
                width: 16px;
                height: 16px;
            }
        }
        input[type=checkbox]:checked {
            border-color: #0072E3;
            border: unset;
            position: relative;
            background-color: #0072E3;
            color: white;
            &::before {
                margin: -1px -1.7px !important;
                height: 18px !important;
                width: 18px !important;
                filter: brightness(4);
            }
        }
    }
}

#insert {
    background-color: #0072E3;
    border: 2px solid #0072E3;
    border-radius: 2px;
    color: white;
    margin-top: 32px;
    padding: 8px;
    font-size: 13px;
    width: 60px;
    height: 40px;
    &:hover {
        cursor: pointer;
    }
}

.mux-video-player iframe html.embed mux-player {
    --controls: none;
}

.mux-video-player mux-player.aspect-ratio-16-9 {
    aspect-ratio: 16 / 9;
}

.mux-video-player mux-player.aspect-ratio-1-1 {
    aspect-ratio: 1 / 1;
    --media-object-fit: contain !important;
}

.mux-video-player mux-player.aspect-ratio-9-16 {
    aspect-ratio: 4 / 5;
    --media-object-fit: contain !important;
}

.components-panel__row {
    display: block;
    width: 100%;
}

.shortcode-customizer__container__aspect-ratio__example {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E5E8EB;
    color: black;
    font-weight: 600;
    font-size: 16px;
}

.marginText .components-v-stack {
    flex-direction: row !important;
    gap: 0 !important;
    justify-content: space-around;
    @media(max-width: 800px) {
        justify-content: flex-start;
        gap: 40px !important;
    }
    @media(max-width: 569px) {
        justify-content: space-between;
        gap: unset !important;
    }
    .components-radio-control__option {
        display: flex;
        flex-direction: column-reverse;
        align-items: self-start;
        gap: 10px;
        &:nth-child(1) {
            input {
                margin: 0 38%;
                @media(max-width: 600px) {
                    width: 16px;
                    min-width: 16px;
                    height: 16px;
                }
            }
        }
        &:nth-child(2) {
            input {
                margin: 0 30%;
                @media(max-width: 600px) {
                    width: 16px;
                    min-width: 16px;
                    height: 16px;
                }
            }
        }
        &:nth-child(3) {
            input {
                margin: 0 33%;
                @media(max-width: 600px) {
                    width: 16px;
                    min-width: 16px;
                    height: 16px;
                }
            }
        }
    }
}

.mux-thumbnail-preview {
    h4 {
        font-size: 11px;
        font-weight: 500;
        line-height: 1.4;
        text-transform: uppercase;
        display: block;
        margin-bottom: calc(8px);
        padding: 0px;
    }
}

.thumbnail-range-box, .start-range-box {
    align-items: center;
    display: flex;
    flex-direction: row;
    @media(max-width: 800px) {
        width: 52%;
        input[type=range] {
            width: 100%;
        }
    }
    @media(max-width: 569px) {
        width: 100%;
    }
    .components-base-control {
        margin-bottom: 0;
        width: 100%;
       .components-input-control {
        display: none;
       }
        .components-input-control__input {
            display: none !important;
        }
    }
    input[type=text] {
        border: none;
        padding: 0;
        width: 67px;
        margin-left: 12px;
    }
}

.seek-btns-box {
    @media(max-width: 800px) {
        width: 52%;
        input[type=range] {
            width: 100%;
        }
    }
    @media(max-width: 569px) {
        width: 100%;
    }
    .components-base-control__label {
        color: #757575;
        margin-left: 40px;
        text-transform: capitalize;
        font-size: 12px;
        font-weight: 400;
    }
    .components-input-control__backdrop {
        border: none !important;
        position: relative;
        font-size: 12px;
        font-weight: 400;
        &::after {
            content: 'sec';
            position: absolute;
            top: 8px;
            right: 17px;
            font-size: 12px;
            font-weight: 400;
        }
    }
}

.full-width-box {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 20px;
    @media(max-width: 800px) {
        justify-content: unset;
    }
    @media(max-width: 569px) {
        justify-content: space-between;
    }
    .max-width-setting {
        @media(max-width: 800px) {
            flex: 0 1 90%
        }
        @media(max-width: 569px) {
            flex: 0 1 50%
        }
        input {
            @media(max-width: 800px) {
                width: 100% !important;
            }
        }
    }
    .full-width-checkbox {
        @media(max-width: 800px) {
            margin-top: 8px;
        }
        h4 {
            font-size: 11px;
            font-weight: 500;
            line-height: 1.4;
            text-transform: uppercase;
            padding: 0px;
            position: relative;
            top: -12px;
            margin-top: 0;
            margin-bottom: 0px;
            @media(max-width: 800px) {
                top: -20px;
            }
        }
    }
    input[type=text] {
        width: 100px;
    }
}

.load-more-container {
    #load-more {
        margin: 0 auto;
    }
}


@keyframes grow {
    0% {
        transform: scale(0);
    }

    25% {
        transform: scale(1);
    }

    50% {
        transform: scale(0);
    }

    75% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

.loading-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 22px;
    margin: 0;
    div {
        margin: 0 3px;
        border-radius: 0%;
        background: #828C97;
        transform: scale(0);
        height: 7px;
        width: 7px;
        float: left;
        animation: grow 4.4s infinite ease-in-out;
        -moz-animation: grow 4.4s infinite ease-in-out;
        -webkit-animation: grow 4.4s infinite ease-in-out;
    }
    .ball-2 {
        -webkit-animation-delay: 0.3s;
        animation-delay: 0.3s;
    }
    .ball-3 {
        -webkit-animation-delay: 0.6s;
        animation-delay: 0.6s;
    }
}

.mux-separator {
    border: .5px solid #DDDDDD;
    margin-bottom: 20px;
    margin-top: 20px;
    position: relative;
    width: 113%;
    left: -16px;
}

.info-sidebar {
    margin-left: 51px;
    margin-right: 10px;
    margin-top: -10px;
    font-size: 13px;
    font-weight: 400;
}

.components-panel__row {
    position: relative;
}

.mux-option-sidebar {
    font-size: 13px;
    font-weight: 500;
}

.max-width-setting {
    position: relative;
    &::after {
        content: 'px';
        color:#0072E3;
        font-size: 13px;
        position: absolute;
        right: 10px;
        top: 29px;
        @media(max-width: 800px) {
            top: 33px;
        }
    }
    .components-base-control__field {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
}

.sidebarCheckboxes {
    font-size: 13px;
    font-weight: 400;
}

.marginText {
    font-size: 11px;
    font-weight: 500;
}

.mux-assets-list.mux-video-player.has-table {
    width: 494px;
    height: 590px;
    padding: 24px 50px;
    border: 1px solid black;
    @media(max-width: 569px) {
        width: unset;
        height: unset;
        padding: unset;
        border: unset;
    }

    .search-asset-box {
        position: relative;
        width: 100%;
        &::after {
            content: '';
            background-image: url('../../assets/images/search-icon.svg');
            background-position: center;
            background-repeat: no-repeat;
            position: absolute;
            right: 12.9px;
            height: 14.6px;
            width: 14.6px;
            bottom: 30px;
        }
    }

    #search-asset {
        width: 100%;
        margin-bottom: 16px;
        font-size: 13px;
        border-radius: 2px;
        padding: 8px 12.9px;
        border: 1px solid #F0F0F0;
        position: relative;
        &::placeholder {
            color: #757575;
        }
    }
}

.td-load-more {
    #load-more {
        background-color: transparent;
        color: #0072E3;
        text-decoration: underline;
        font-size: 14px;
        font-weight: 400;
        font-family: 'Inter';
    }
}

mux-player.mux-player-signed {
    --dialog: none;
}

.mux-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: #f9f9f9;
    color: #555;
    font-family: sans-serif;
    gap: 12px;
    .loading-container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 22px;

        div {
            margin: 0 3px;
            border-radius: 0%;
            background: #828C97;
            transform: scale(0);
            height: 7px;
            width: 7px;
            float: left;
            animation: grow 4.4s infinite ease-in-out;
            -moz-animation: grow 4.4s infinite ease-in-out;
            -webkit-animation: grow 4.4s infinite ease-in-out;
        }
        .ball-2 {
            -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s;
        }
        .ball-3 {
            -webkit-animation-delay: 0.6s;
            animation-delay: 0.6s;
        }
    }
}

.gutenberg-mux-table:has(.assets-list__no-items) {
    margin: 0 auto;
}

.assets-list__no-items-row {
    border-bottom: 0 !important;
}