﻿.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 99999;
    transition: background-color .2s, backdrop-filter .5s;
    backdrop-filter: blur(5px);
}

[theme-style="light"] .loading-container {
    background-color: rgba(255,255,255,1);
}

[theme-style="dark"] .loading-container {
    background-color: rgba(0,0,0,1);
}

.loading-container.show {
    display: block;
}

.loading-container .loading-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
}


    .loading-container .loading-wrap .loading-content {
        margin-top: 10px;
        display: flex;
        align-items: center;
    }

        .loading-container .loading-wrap .loading-content img {
            width: 32px;
            height: 32px;
            margin-right: 5px;
        }

        .loading-container .loading-wrap .loading-content span {
            font-size: 24px;
            font-weight: 500;
        }

[theme-style="light"] .loading-container .loading-wrap .loading-content span {
    color: #212529;
}

[theme-style="dark"] .loading-container .loading-wrap .loading-content span {
    color: rgba(255,255,255,0.5);
}

.adminweb-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .adminweb-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 64px;
        height: 64px;
        margin: 8px;
        border: 8px solid #fff;
        border-radius: 50%;
        animation: adminweb-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: var(--theme-color-02) var(--theme-color-05) transparent var(--theme-color-01);
    }

        .adminweb-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .adminweb-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .adminweb-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes adminweb-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-roller div {
        animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        transform-origin: 40px 40px;
    }

        .lds-roller div:after {
            content: " ";
            display: block;
            position: absolute;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background-color: var(--theme-color);
            margin: -4px 0 0 -4px;
        }

        .lds-roller div:nth-child(1) {
            animation-delay: -0.036s;
        }

            .lds-roller div:nth-child(1):after {
                top: 63px;
                left: 63px;
            }

        .lds-roller div:nth-child(2) {
            animation-delay: -0.072s;
        }

            .lds-roller div:nth-child(2):after {
                top: 68px;
                left: 56px;
            }

        .lds-roller div:nth-child(3) {
            animation-delay: -0.108s;
        }

            .lds-roller div:nth-child(3):after {
                top: 71px;
                left: 48px;
            }

        .lds-roller div:nth-child(4) {
            animation-delay: -0.144s;
        }

            .lds-roller div:nth-child(4):after {
                top: 72px;
                left: 40px;
            }

        .lds-roller div:nth-child(5) {
            animation-delay: -0.18s;
        }

            .lds-roller div:nth-child(5):after {
                top: 71px;
                left: 32px;
            }

        .lds-roller div:nth-child(6) {
            animation-delay: -0.216s;
        }

            .lds-roller div:nth-child(6):after {
                top: 68px;
                left: 24px;
            }

        .lds-roller div:nth-child(7) {
            animation-delay: -0.252s;
        }

            .lds-roller div:nth-child(7):after {
                top: 63px;
                left: 17px;
            }

        .lds-roller div:nth-child(8) {
            animation-delay: -0.288s;
        }

            .lds-roller div:nth-child(8):after {
                top: 56px;
                left: 12px;
            }

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@-webkit-keyframes loadingIn {
    0% {
        background-color: rgba(255,255,255,0);
    }

    to {
        background-color: rgba(255,255,255,1);
    }
}

@keyframes loadingIn {
    0% {
        background-color: rgba(255,255,255,0);
    }

    to {
        background-color: rgba(255,255,255,1);
    }
}

@-webkit-keyframes loadingInDrak {
    0% {
        background-color: rgba(0,0,0,0);
    }

    to {
        background-color: rgba(0,0,0,1);
    }
}

@keyframes loadingInDrak {
    0% {
        background-color: rgba(0,0,0,0);
    }

    to {
        background-color: rgba(0,0,0,1);
    }
}

[theme-style="light"] .loading-In {
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation-name: loadingIn;
    animation-name: loadingIn;
    display: block;
}

[theme-style="dark"] .loading-In {
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation-name: loadingInDrak;
    animation-name: loadingInDrak;
    display: block;
}

@-webkit-keyframes loadingOut {
    0% {
        background-color: rgba(255,255,255,1);
    }

    to {
        background-color: rgba(255,255,255,0);
        display: none;
    }
}

@keyframes loadingOut {
    0% {
        background-color: rgba(255,255,255,1);
    }

    to {
        background-color: rgba(255,255,255,0);
        display: none;
    }
}


@-webkit-keyframes loadingOutDrak {
    0% {
        background-color: rgba(0,0,0,1);
    }

    to {
        background-color: rgba(0,0,0,0);
        display: none;
    }
}

@keyframes loadingOutDrak {
    0% {
        background-color: rgba(0,0,0,1);
    }

    to {
        background-color: rgba(0,0,0,0);
        display: none;
    }
}

[theme-style="light"] .loading-Out {
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation-name: loadingOut;
    animation-name: loadingOut
}

[theme-style="dark"] .loading-Out {
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation-name: loadingOutDrak;
    animation-name: loadingOutDrak;
}
