.shortcode-customizer {
    &__container {
        opacity: 0;
    }
}

#shortcode-customizer {
    .shortcode-customizer {
        &__container {
            overflow: scroll;
            width: 70%;
            max-width: 800px;
            height: fit-content;
            min-height: 450px;
            max-height: 75vh;
            padding: 2rem;
            margin: auto;
            opacity: 0;
            position: fixed;
            top: 100px;
            left: 160px;
            right: 0;

            /* Hide scrollbar for IE, Edge and Firefox */
            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
        
            &::-webkit-scrollbar {
                display: none;
            }
            

            @media (max-height: 768px){
                height: 0;
                min-height: 65vh;
            }
            
            > div{
                height: min-content;
            }

            .tabs-nav{
                border: 1px solid #c1c1c1;
                border-bottom: 0;

                a{
                    font-size: $font-size-s;
                    font-weight: 400;
                }
            }

            .tabs-container{
                padding: 0;

                .inner-container{
                    margin: 0 0 1rem 0;
                    min-height: 400px;
                }

                #shortcode-customizer-form .sc-buttons-container{
                    display: flex;
                    gap: 1rem;
                    justify-content: end;

                    a,  button{
                        font-size: 13px;
                    }
                    
                    .btn-tertiary{
                        background-color: $white;
                        
                        &:hover{
                            border-color: $black;
                        }
                    }
                }
            }

            &__row {
                margin: 1rem 0;
                display: flex;
                flex-direction: column;
                gap: 1rem;

                *{
                    font-size: $font-size-m;
                }
                
                label{
                    font-size: $font-size-s;
                    font-weight: 600;
                    color: black;
                }

                .image-preview{
                    max-width: 180px;
                }
            }

            .toggle-container{
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                width: 100%;

                &__column{
                    display: flex;
                    flex-direction: column;
                    flex: 1;
                    gap: 1rem;
                }

                &__row{
                    display: flex;
                    gap: 1rem;

                    *{
                        display: flex;
                        align-items: center;
                    }

                    &.seek-buttons-container{
                        display: block;
                    }

                    label.no-toggle{
                        margin-bottom: 0.5rem;
                    }
                }

            }

            #related-controls-container{
                display: flex;
                flex-direction: column;
                gap: 1rem;

                output{
                    border: 0;
                }
            }

            &__player-size{
                display: flex;
                gap: 2rem;
                
                div{
                    display: flex;
                    align-items: center;
                    gap: 1rem;
                }
                
                input[type='number']{
                    border-color: $greyAPI;
                    width: 60px;
                    text-align: center;
                    padding: 0;
                }

            }

            &__aspect-ratio{
                display: flex;
                gap: 3rem;
                align-items: end;
                
                &__wrapper{
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    gap: 1rem;
                }

                &__example{
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    background-color: $greyAPI;
                    color: black;
                    font-weight: 600;
                    font-size: $font-size-m;
                }
            }

            &__max-resolution{
                border-radius: 0;
                border-color: $greyAPI;
                width: 250px;
                padding: 8px 10px;
            }
        }


    }

    .loader-customizer-container {
        position: fixed;
        top: 200px;
        right: 0;
        left: 160px;
        display: flex;
        align-items: center;
        z-index: 11;

        .loading-container {
            justify-content: center;

            div {
                background: $white;
                height: 15px;
                width: 15px;
            }
        }
    }

    .is-disabled{
        pointer-events: none;
        filter: grayscale(1);
        opacity: 0.4;
    }
}