/** ====== Sidebar layout Start ====== **/
.uc-sidebar {
    padding: 16px;
    overflow: auto;
    padding-right: 11px;
    scrollbar-gutter: stable;
    max-height: calc(100vh - 69px);
    &_templates,
    &_media,
    &_elements{
        padding-top: 12px;
        max-height: calc(100vh - 157px) !important;
    }
    &::-webkit-scrollbar {
        opacity: 0;
        visibility: hidden;
    }
    &::-webkit-scrollbar {
        width: 5px;
    }
    &::-webkit-scrollbar-thumb {
        width: 5px;
    }
    &:hover {
        &::-webkit-scrollbar {
            opacity: 1;
            visibility: visible;
            background-color: transparent;
        }
        &::-webkit-scrollbar-thumb {
            border-radius: 30px;
            background: rgba($color: $text-light, $alpha: 0.3);
        }
    }
    .uc-elements{
        display: flex;
        flex-direction: column;
        & + .uc-elements{
            margin-top: 14px;
        }
        h3{
            color: $clr-white;
            margin-bottom: 14px;
            font: 500 rem(14)/em(21,14) $heading-font-family;
        }
        .uc-elements-items{
            gap: 10px;
            display: grid;
            list-style: none;
            grid-template-columns: repeat(3, 1fr);            
            li{
                width: 100%;
                height: 86px;
                display: flex;
                cursor: pointer;
                border-radius: 14px;
                align-items: center;
                list-style-type: none;
                justify-content: center;
                background: rgba(255, 255, 255, 0.10);
                &:has(.uc-colorpicker){
                    padding: 0;
                }
                svg{
                    width: 44px;
                    height: 44px;
                }
            }
        }
        &.uc-colors{
            .uc-elements-items{
                li{
                    cursor: default;
                }
            }
        }
    }
    &-downarrow{
        &_icon{
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            svg{display: block;}
        }
    }
    &_wrap {
        flex: none;
        z-index: 9;
        width: 310px;
        @extend %transition;
        background: #2D2D2D;
        @media (min-width: 1681px) {
            position: relative;
        }
        &.us-togglesidebar{
            transform: translate(-310px, 0);
            .uc-sidebar_inner{
                opacity: 0;
            }
            .uc-sidebar_toggler{
                background: #121212;
                span{
                    &::before{background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDEyIDE0IiBmaWxsPSJub25lIj48cGF0aCBkPSJNMTIuMDEgMTRDNS40MTU4NiAxMy42Mzg2IDAuMjA4MDIzIDguMjY3NzUgMC4wNDk5MDEgMS42NjU2TDAuMDEwMDE5IDBWMTRIMTIuMDFaIiBmaWxsPSIjMTIxMjEyIi8+PC9zdmc+');}
                    svg{transform: scaleX(-1);}
                    &::after{background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDEyIDE1IiBmaWxsPSJub25lIj48cGF0aCBkPSJNMTIuMDEgMC45NzQ2MDlDNS40MTU4NiAxLjMzNjA0IDAuMjA4MDIzIDYuNzA2ODYgMC4wNDk5MDEgMTMuMzA5TDAuMDEwMDE5IDE0Ljk3NDZWMC45NzQ2MDlIMTIuMDFaIiBmaWxsPSIjMTIxMjEyIi8+PC9zdmc+');}
                }
            }
        }
    }
    &_inner{
        height: 100%;
        position: relative;
    }
    &_toggler{
        top: 50%;
        width: 34px;
        right: -34px;
        height: 86px;
        display: flex;
        cursor: pointer;
        position: absolute;
        align-items: center;
        background: #2D2D2D;
        justify-content: center;
        transform: translateY(-50%);
        border-radius: 0px 14px 14px 0px;
        span{
            position: relative;
            display: inline-flex;
            &::before{
                content: '';
                top: -43px;
                right: 17px;
                width: 12px;
                height: 14px;
                position: absolute;
                @extend %transition;
                background-repeat: no-repeat;
                background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2214%22%20viewBox%3D%220%200%2012%2014%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%2014C5.40586%2013.6386%200.198013%208.26775%200.0398912%201.6656L0%200V14H12Z%22%20fill%3D%22%232D2D2D%22%2F%3E%3C%2Fsvg%3E');
             }
             &::after{
                z-index: 9;
                width: 12px;
                content: '';
                right: 17px;
                height: 14px;
                bottom: -43px;
                position: absolute;
                @extend %transition;
                background-repeat: no-repeat;
                background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2215%22%20viewBox%3D%220%200%2012%2015%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%200.974609C5.40586%201.33604%200.198013%206.70686%200.0398912%2013.309L0%2014.9746V0.974609H12Z%22%20fill%3D%22%232D2D2D%22%2F%3E%3C%2Fsvg%3E');
             }
        }
    }
    &_wrapholder{
        width: 100%;
        border-radius: 10px 10px 0 0;
    }
    &-hidebtn {
        width: 24px;
        height: 24px;
        display: flex;
        margin-left: auto; 
        align-items: center;
        justify-content: center; 
        svg path{
            stroke: #fff;
        }
        @media (min-width: 1681px) {
            display: none;
        }
    }
    &_title {
        display: flex;
        padding: 20px;
        align-items: center;
        border-bottom: 1px solid #121212;
        h2 {
            margin: 0;
            color: rgba($color: $clr-white, $alpha: 0.9);
            font: 500 rem(16) / em(24, 16) $heading-font-family;
        }
    }
    &_form {
        .form-group-btn {
            .uc-btn {
                width: 100%;
                background: $btnhover-color;
            }
        }
    }
}
.uc-sidebar_form .form-group .form-control{
    color: $clr-white;
    background: rgba(255, 255, 255, 0.10);
}
.uc-sidebar_form .form-group .form-group-btn{
    margin: 10px 0 0;
}
// body:has(.uc-sidebar_wrap){
//     background: #142034;
// }
// modal style start


body[class*='modal-open'] {
    overflow: hidden;
}

.modal {
    top: 0px;
    left: 0px;
    opacity: 1;
    width: 100%;
    height: 100%;
    z-index: 1060;
    padding: 10px;
    display: none;
    position: fixed;
    overflow-y: auto;
    overflow-x: hidden;
    align-items: center;
    justify-content: center;
    background-color: rgba(5, 18, 55, 0.6);
}
.uc-modal-content {
    top: 10rem;
    width: 100%;
    margin: 0 auto;
    max-width: 440px;
    position: relative;
    pointer-events: auto;
    .uc-sidebar-popup {
        display: flex;
        padding: 10px 20px;
        align-items: center;
        background: $clr-white;
        border-radius: 12px 12px 0 0;
        justify-content: space-between;
        h2 {
            color: $heading-color;
            font: 500 16px/24px $body-font-family;
        }
        .uc-close-btn {
            display: flex;
            width: 36px;
            height: 36px;
            padding: 8px;
            font-size: 16px;
            cursor: pointer;
            font-weight: 900;
            align-items: center;
            justify-content: center;
        }
    }
    .uc-sidebar-popup-content {
        padding: 20px;
        background: $clr-white;
        border-radius: 0 0 12px 12px;
        .form-group {
            padding: 0;
        }
        .uc-popup-buttons {
            gap: 10px;
            display: flex;
            margin-top: 30px;
            justify-content: flex-end;
            .uc-save-btn,
            .uc-cancel-btn {
                border-radius: 8px;
                padding: 9px 16px;
                color: $heading-color;
                border: 1px solid $border-color;
                font: 600 14px/20px $body-font-family;
            }
            .uc-save-btn {
                color: $clr-white;
                padding: 9px 30px;
                border-radius: 10px;
                background: #754ffe;
            }
        }
    }
}
.uc-addmedia-icon{
    svg{
        pointer-events: none;
    }
}
.uc-active-media {
    &.uc-sidebar-content {
        background: rgba(106, 0, 252, 0.06);
    }
    .uc-sidebar-downarrow_icon svg{
        path{
            stroke: #6a00fc;
        }
    }
    .uc-addmedia-icon{
        svg g{
            opacity: 1;
        }
    }
    .uc-sidebar-downarrow {
        i {
            transform: rotate(90deg);
        }
    }
    &.uc-sidebar-content {
        & > i,
        & span {
            color: #6a00fc;
            svg path{
                fill: #6a00fc;
            }
        }
    }
}
.uc-sidebar-attachment {
    width: 95%;
    margin: 0 10px;
    background: $formbg;
    span {
        color: rgba($color: $body-font-color, $alpha: 0.7);
    }
    i {
        color: rgba($color: $body-font-color, $alpha: 0.7);
    }
}
.uc-sidebar-content {
    width: 100%;
    display: flex;
    align-items: center;
    @extend %transition;
    padding: 13px 16px;
    background: $secondary-color;
    justify-content: space-between;
    .uc-sidebar-downarrow {
        gap: 4px;
        display: flex;
        align-items: center;
    }
    span {
        @extend %transition;
        font: 500 12px/18px $body-font-family;
        color: rgba($color: $body-font-color, $alpha: 0.7);
    }
    & > i {
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        svg{
            pointer-events: none;
        }
    }
    i {
        cursor: pointer;
        font-size: 12px;
        font-weight: 700;
        @extend %transition;
        color: rgba($color: $body-font-color, $alpha: 0.7);
        svg{
            display: block;
        }
    }
}
.uc-accordion-header {
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.uc-accordion-content {
    display: none;
}
.uc-accordion-content.active {
    display: block;
}
.uc-radio-section {
    gap: 10px;
    height: 100%;
    display: grid;
    position: relative;
    grid-template-columns: 1fr 1fr;
    li {
        width: 100%;
        border-radius: 8px;
        list-style-type: none;
        input[type='radio'] {
            position: absolute;
            visibility: hidden;
            &:checked ~ label:not(.uc-media-img) {
                // border: 1px solid #17b26a;
                // box-shadow: 0px 0px 0 1px #17b26a;
                &.uc-geomatric .uc-media-title{
                    padding-right: 10px;
                }
                &::before {
                    width: 5px;
                    right: 20px;
                    height: 9px;
                    content: '';
                    bottom: 12px;
                    z-index: 999;
                    display: none;
                    position: absolute;
                    transform: rotate(45deg);
                    border: solid $clr-white;
                    border-width: 0 2px 2px 0;
                }
                &::after {
                    content: '';
                    width: 15px;
                    height: 15px;
                    margin: auto;
                    display: none;
                    right: 14.83px;
                    bottom: 7.83px;
                    position: absolute;
                    border-radius: 100%;
                    background: #17b26a;
                }
            }
        }
        &.uc-upload-media{
            &.uc-emptycard{
                padding: 10px;
                min-height: 102px;
            }
        }
    }
    .uc-geomatric {
        margin: 0;
        padding: 6px;
        display: flex;
        cursor: pointer;
        min-height: 95px;
        position: relative;
        align-items: center;
        border-radius: 16px;
        justify-content: center;
        background: rgba($color: $clr-white, $alpha: 0.10);
        // .uc-media-title {
        //     gap: 8px;
        //     width: 140px;
        //     display: flex;
        //     align-items: center;
        //     padding: 0 6px 0 6px;
        //     span {
        //         display: block;
        //         overflow: hidden;
        //         align-items: center;
        //         white-space: nowrap;
        //         text-overflow: ellipsis;
        //         justify-content: space-between;
        //         font: 400 12px/18px $body-font-family;
        //         color: rgba($color: $clr-white, $alpha: 0.8);
        //     }
        //     i {
        //         color: $body-font-color;
        //         &.uc-icon-grip-dots-vartical {
        //             opacity: 0.5;
        //             svg{display: block;}
        //         }
        //     }
        //     .uc-trash {
        //         opacity: 0;
        //         visibility: hidden;
        //         @extend %transition;
        //         svg{
        //             width: 16px;
        //             height: 16px;
        //             display: block;
        //             path{
        //                 fill: #D92D20;
        //             }
        //         }
        //     }
        // }
        // &:hover .uc-trash {
        //     opacity: 1;
        //     visibility: visible;
        // }
    }
}
.uc-sidebar .uc-frames {
    flex-direction: column;
    display: flex !important;
    .uc-geomatric{
        padding: 16px 6px;
    }
}
.uc-sidebar .uc-elements.uc-colors .uc-elements-items,
.uc-sidebar .uc-elements.uc-patterns .uc-elements-items{
    grid-template-columns: repeat(4, 1fr);
    li{
        height: 65px;
    }
}
.uc-frames svg{
    width: 122px;
    height: 90px;
    display: block;
}
.uc-empty-bg{
    .uc-geomatric-img{
        margin: 0;
        width: 100%;
        height: 95px;
        border-radius: 8px;
        border: 1px solid $border-color;
    }
}
.uc-geomatric-img {
    img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        border-radius: 4px;
    }
}
.uc-modal-content {
    .uc-uploadoption {
        flex: auto;
        max-width: 650px;
        margin-top: 16px;
        input[type='file'] {
            display: none;
        }
    }
}
.uc-uploadfile {
    gap: 20px;
    margin: 0;
    padding: 9px;
    display: flex;
    width: 100%;
    cursor: pointer;
    position: relative;
    align-items: center;
    border-radius: 12px;
    background: $formbg;
    @extend %transition;
    z-index: 1;
    & > em {
        flex: none;
        width: 48px;
        height: 48px;
        display: flex;
        border-radius: 8px;
        align-items: center;
        justify-content: center;
        background: $border-color;
        border: 1px solid $border-color;
        svg{
            display: block;
        }
    }
    span {
        display: block;
        font: 400 rem(14) / em(20, 14) $body-font-family;
        i {
            font-style: normal;
            text-decoration: underline;
        }
        em {
            display: block;
            margin-top: 6px;
            color: rgba($color: $body-font-color, $alpha: 0.7);
            font: 400 rem(12) / em(18, 12) $body-font-family;
        }
    }
}
.uc-uploadedfile {
    gap: 10px;
    width: 100%;
    padding: 9px;
    display: flex;
    margin-top: 10px;
    align-items: center;
    background: $clr-white;
    border-radius: $radius;
    border: 1px solid $border-color;
    &_icon {
        flex: none;
    }
    .tu-themegallery,
    .tu-thumbnails_content {
        flex: none;
    }
    .tu-themegallery {
        position: relative;
        &::after {
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            font-size: 26px;
            position: absolute;
            align-items: center;
            justify-content: center;
            content: url('../images/play-two.svg');
        }
    }
    figure {
        margin: 0;
    }
    img {
        width: 48px;
        height: 48px;
        object-fit: cover;
        border-radius: 8px;
    }
    i {
        flex: none;
    }
    span {
        overflow: hidden;
        word-break: break-word;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        color: $text-light;
        -webkit-box-orient: vertical;
        font: 500 rem(14) / em(20, 14) $body-font-family;
        svg{
            display: block;
        }
        em {
            display: block;
            font: 400 rem(12) / em(18, 12) $body-font-family;
        }
    }
    .uc-delitem {
        flex: none;
        width: 36px;
        height: 36px;
        display: flex;
        margin-left: auto;
        align-items: center;
        justify-content: center;
        svg{
            display: block;
            path{
                fill: #D92D20;
            }
        }
        i {
            font-size: 20px;
        }
        &:hover {
            i::before {
                color: #f04438;
            }
        }
    }
}
.uc-draganddrop {
    & > input[type='file'] {
        display: none;
    }
}
.uc-dragfile {
    z-index: 101;
    position: relative;
    pointer-events: all;
    .uc-uploadfile {
        & > svg {
            display: none;
        }
        .uc-dropfileshadow {
            transform: scale(1);
        }
        .uc-border-svg {
            z-index: 1;
            stroke: #754ffe;
            & rect {
                stroke-width: 1px;
            }
        }
        .uc-uploadiconanimation {
            z-index: 1;
        }
    }
}

.uc-dropfileshadow {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    align-items: center;
    border-radius: 12px;
    background: $clr-white;
    justify-content: center;
    transform: scale(0);
    @extend %transition;
    display: flex !important;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    & svg:not(.uc-border-svg) {
        margin-right: 10px;
        path {
            fill: $text-light;
        }
    }
}

.uc-border-svg {
    top: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    margin: auto;
    height: 100%;
    overflow: visible;
    fill: transparent;
    position: absolute;
    stroke: $theme-color;
    padding: 0px 1px;
    & rect {
        rx: 12px;
        stroke-width: 2px;
        stroke-dasharray: 10, 10;
    }
}

.uc-uploadiconanimation {
    width: 50px;
    height: 50px;
    bottom: -45px;
    position: absolute;
    border-radius: 10px;
    align-items: center;
    background: $clr-white;
    justify-content: center;
    display: flex !important;
    border: 1px solid $border-color;
    animation: am-floatanimation 3s ease-in-out infinite;
    box-shadow: 10px -6px 30px 10px rgba($dark_black, 0.06);
    svg {
        margin: 0 !important;
        width: 30px;
        height: 30px;
    }
}
@keyframes am-floatanimation {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-20px);
    }
    100% {
        transform: translatey(0px);
    }
}
body:has(.uc-dragfile) {
    position: relative;
    &:before {
        top: 0;
        left: 0;
        z-index: 100;
        content: '';
        width: 100vw;
        opacity: 0.7;
        height: 100vh;
        overflow: hidden;
        position: absolute;
        pointer-events: none;
        background-color: #eee;
    }
}

// modal style end

// side bar elemnt style start
.uc-sidebar-element {
    position: relative;
    padding: 16px 16px 12px 16px;
    .form-group-wrap {
        position: relative;
        display: flex;
        align-items: center;
        .uc-search-wildcard {
            padding-right: 40px;
            &::-webkit-search-cancel-button {
                right: -10px;
                top: 2px;
                position: relative;
                height: 20px;
                width: 20px;
                border-radius: 10px;
                background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><g opacity="0.7"><path d="M4 12L12 4M4 4L12 12" stroke="%23585858" stroke-linecap="round" stroke-linejoin="round"/></g></svg>');
                cursor: pointer;
                -webkit-appearance: none;
            }
            &::placeholder{
                color: rgba($clr-white, 0.6);
            }
            &~.uc-search-icon svg path{fill: rgba($clr-white, 0.6);}
        }
    }
    .uc-search-icon {
        right: 12px;
        bottom: 12px;
        font-size: 16px;
        padding-left: 0;
        position: absolute;
        transition: all 0.3s ease-in-out;
        svg{
            width: 16px;
            height: 16px;
            display: block;
        }
    }
}
.uc-element {
    &-instructor {
        display: grid;
        gap: 10px 14px;
        overflow: auto;
        grid-template-columns: 1fr 1fr;
        .uc-element-drag {
            gap: 10px;
            width: 100%;
            display: flex;
            height: 110px;
            padding: 14px;
            cursor: pointer;
            position: relative;
            border-radius: 14px;
            align-items: center;
            text-align: center;
            @extend %transition;
            flex-direction: column;
            justify-content: center;
            transition: all 0.3s ease-in;
            border: 2px solid transparent;
            background: rgba($color: $clr-white, $alpha: 0.10);
            &:hover {
                background: $clr-white;
                border-color: $theme-color;
                .uc-element-drag_icon{
                    svg{
                        opacity: 1;
                        & > path {
                            fill: rgba($color: $text-light, $alpha: 0.7);
                        }
                    }
                }
                span{color: rgba($color: $body-font-color, $alpha: 0.8);}
            }
            span {
                opacity: 0.7;
                color: #D9D9D9;
                @extend %transition;
                font: 400 14px/20px $body-font-family;
            }
            &_icon {
                top: 14px;
                right: 14px;
                cursor: pointer;
                position: absolute;
                color: rgba($color: $clr-white, $alpha: 0.10);
            }
        }
    }
    &-drag {
        &_icon {
            flex: none;
            svg{
                display: block;
                opacity: 0.5;
                path{
                    @extend %transition;
                }
            }
        }
    }
}
.uc-radio-section .uc-geomatric.uc-border-box{
    min-height: 80px;
    border-radius: 10px !important;
    padding: 17.11px 10px !important;
    svg{
        width: 172.5px;
    }
}
// side bar elemnt style end
.uc-emptycard {
    display: flex;
    padding: 30px;
    text-align: center;
    align-items: center;
    border-radius: 14px;
    flex-direction: column;
    justify-content: center;
    background: rgba($color: $clr-white, $alpha: 0.1);
    img {
        display: block;
        margin: 0 0 20px;
    }
    h3 {
        margin: 0 0 4px;
        color: $clr-white;
        font: 500 em(16) / em(24, 16) $body-font-family;
    }
    p {
        margin: 0;
        color: rgba($color: #D9D9D9, $alpha: 0.7);
        font: 400 rem(12) / em(18, 12) $body-font-family;
    }
}
// Templates style start
.uc-template {
    &_header {
        margin: 0 0 16px;
        h3 {
            margin: 0;
            color: $clr-white;
            font: 400 em(14) / em(20, 14) $body-font-family;
        }
    }
    &_list {
        gap: 12px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        li {
            width: 100%;
            list-style-type: none;
        }
    }
    &_item {
        margin: 0;
        padding: 6px;
        height: 100%;    
        overflow: hidden;
        position: relative;
        border-radius: 14px;
        background: rgba($clr-white, 0.10);
        &:hover {
            figcaption {
                transform: scale(1);
            }
        }
        img {
            width: 100%;
            height: 90px;
            display: block;
            object-fit: cover;
            border-radius: 6px;
        }
        figcaption {
            gap: 8px;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            @extend %flex;
            padding: 10px;
            transform: scale(0);
            @extend %transition;
            border-radius: 6px;
            align-items: center;
            flex-direction: column;
            justify-content: center;
            position: absolute;
            background: rgba($dark_black, 0.3);
            a {
                gap: 6px;
                width: 100%;
                display: flex;
                max-width: 125px;
                padding: 7px 11px;
                border-radius: 6px;
                text-align: center;
                align-items: center;
                flex-direction: column;
                justify-content: center;
                font: 600 12px/18px $body-font-family;
            }
            & .uc-delbtn {
                color: $clr-white;
                background: #f04438;
                svg{
                    width: 14px;
                    height: 14px;
                    display: block;
                    path{
                        fill: $clr-white;
                    }
                }
            }
            & .uc-usebtn {
                color: $clr-white;
                i{
                    width: 24px;
                    height: 24px;
                    display: flex;
                    border-radius: 6px;
                    align-items: center;
                    background: $clr-white;
                    justify-content: center;
                }
                svg{
                    width: 16px;
                    height: 16px;
                    display: block;
                    path{fill: $text-light;}
                }
            }
        }
    }
}
// Templates style end
/** ====== Sidebar layout End ====== **/

.uc-main-wrap:has(.uc-navigation nav ul li a.uc-btn_disable) .uc-sidebar_wrap{
    &:before{
        content: '';
        left: 0;
        top: 0;
        width: 100%;
        z-index: 9;
        height: 100%;
        position: absolute;
        background: #2D2D2D;
    }
    &:after{
        content: '';
        top: 50%;
        left: 50%;
        z-index: 9;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        position: absolute;
        margin: -13px 0 0 -13px;
        animation: .5s btnloader infinite linear;
        border: 2px solid rgba($text-light, 0.5);
        border-top-color: transparent;
    }
}
.uc-sidenav_wrap{
    @extend %flex;
    flex-wrap: nowrap;
    flex: none;
    &:has(.us-togglesidebar){width: 90px;}
}
.uc-separation{
    height: 86px;
    width: 100%;
    padding-bottom: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid $border-color;
    &_horizontal{
        width: 100%;
        height: 2px;
        display: block;
        background: $btnhover-color;
    }
    &_vertical{
        width: 2px;
        height: 100%;
        display: block;
        background: $btnhover-color;
    }
    &_card:has(.uc-separation_horizontal){
        min-width: 200px;
    }
    &_card:has(.uc-separation_vertical){
        min-height: 200px;
    }
}
.uc-upload-media{
    display: flex;
    cursor: pointer;
    align-items: center;
    @extend %transition;
    flex-direction: column;
    justify-content: center;
    background: $dark_black;
    border: 2px solid $dark_black;
    border-radius: 10px !important;
    &:hover{
        background: $clr-white;
        border-color: #6A00FC;
        label > span{
            background: #6A00FC;
        }
        .uc-upload-media_title{color: $heading-color;}
    }
    label{
        margin: 0;
        pointer-events: none;
        & > span{@extend %transition;}
    }
    input{
        display: none;
    }
    &_title{
        margin: 8px 0 0 0;
        color: $clr-white;
        @extend %transition;
        font: 600 em(14) / em(21, 14) $body-font-family;
    }
    &_icon{
        width: 40px;
        height: 40px;
        display: grid;
        margin: 0 auto;
        place-items: center;
        border-radius: 10px;
        background: rgba($clr-white, 0.16);
    }
}
.uc-main-content:has(.uc-pinned) .uc-sidebar_wrap{
    width: 0;
    height: 100%;
    position: absolute;
    @extend %transition;
    transform: translateX(-200px);
}
.uc-addmediapopup .uc-themeform .uc-important{
    color:  rgba(#000, 0.7) !important;
}
// .uc-radio-section{
//     input{
//         &:checked ~ label.uc-media-img {
//             border: 1px solid rgba($clr-white, 0.20);
//             box-shadow: 0px 0px 0 1px #fff3;;
//         }
//     }
// }
.uc-geomatric.uc-media-img{
    display: block;
    padding: 6px;
    place-items: center;
    border-radius: 10px;
    figure{
        margin: 0;
        width: 122px;
        height: 95px;
        border-radius: 8px;
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }
    }
    .uc-media-title{
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 10px;
        transform: scale(0);
        position: absolute;
        @extend %transition;
        border-radius: 14px;
        will-change: transform;
        border: 2px solid $clr-white;
        background: rgba(0, 0, 0, 0.3);
        i{
            width: 24px;
            height: 24px;
            display: grid;
            margin-left: auto;
            border-radius: 6px;
            place-items: center;
            background: $clr-white;
            &:hover{
                svg path {fill: #F04438;}
            }
        }
        & > span{
            color: $clr-white;
            font: 600 em(14) / em(20, 14) $body-font-family;
        }
    }
    &:hover{
        .uc-media-title{
            transform: scale(1);   
        }
    }
}
.uc-border-grid{
    .uc-radio-section{
        & + .uc-radio-section{
            margin-top: 14px;
        }
    }
}
.uc-wrap-single{
    grid-template-columns: 1fr;
}
.uc-sidebar_inner{
    height: 100%;
}
.uc-colorbox{
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 13px;
}
.uc-colorpicker{
    gap: 6px;
    margin: 0;
    padding: 6px;
    display: flex;
    cursor: pointer;
    position: relative;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    input{
        width: 0;
        height: 0;
        opacity: 0;
        padding: 0;
        position: absolute;
        visibility: hidden;
    }
    img{
        width: 24px;
        height: 24px;
    }
    span{
        color: rgba(255, 255, 255, 0.7);
        font: 500 rem(14)/em(21,14) $body-font-family;
    }
}
.uc-patterns{
    .uc-elements-items{
        li{
            img{
                width: 40px;
                height: 40px;
                display: block;
            }
        }
    }
}