body.msw-blur {
    overflow: hidden;
    height: 100%;
}

#mswSidebarLoaderOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(1px);
    z-index: 500;
}

#mswSidebarLoader {
    position: fixed;
    right: -90%; /* Startet außerhalb des Bildschirms */
    top: 0;
    width: 90%; /* Breite der Sidebar */
    height: 100%;
    background: #F0F0F0;
    transition: right 0.5s;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -10px 0 10px rgba(0,0,0,0.1);
    border-left:0px solid #F0F0F0;
}

        /* --- ANPASSUNGEN FÜR MOBILE GERÄTE --- */
@media (max-width: 768px) {
        #mswSidebarLoader {
            right: -120%;
            width: 100%;
        }
}

#close-mswSidebarLoader {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    border: none;
    background: transparent;
}

#mswSidebarLoaderSpinner {
    border: 4px solid rgba(0,0,0,0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: mswSpinnerAnimation 1s infinite linear;
    display: none; /* Initial versteckt, wird durch JS gesteuert */
}

#mswSidebarLoaderIframe {
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
}

@keyframes mswSpinnerAnimation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}