.safi-modal-window {
    position: absolute;
    z-index: 9999;
    top: 10%;
    left: 50%;
    // bottom: 0;
    // right: calc(100% + 1px);
    width: 80%;
    max-width: 800px;
    height: 80%;
    max-height: 600px;
    transform: translateX(-50%);
    box-sizing: border-box;
    box-shadow: -20px 0px 30px 0px #1e1d1e80;
    background-color: $col-dark-sidebar;
    border-radius: 8px;

    // &.panel-image-gallery {
    //     position: fixed;
    //     inset: 5px;
    //     top: calc(5px + var(--safi-header-height));
    //     // width: calc(100% - 10px);
    //     width: calc(100% - var(--safi-sidebar-width) - 11px);
    //     height: calc(100% - 10px - var(--safi-header-height));
    // }

    h2{
        color: white;
        margin: 0 0 20px;
    }

    &.panel-image-gallery {
        position: fixed;
        inset: 5px;
        width: calc(100% - 10px - var(--safi-sidebar-width));
        height: calc(100% - 10px);
    }

}
.safi-magic-image-settings--header{
    min-height: 60px;
    border-bottom: 1px solid #ffffff20;
}
.safi-magic-image-container{
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    // padding: 20px;
}

.safi-desc {    
    font-size: 12px;
    color: #b9b9b9;
    font-style: italic;
    margin-bottom: 10px;
}