/* Center the loader */
.loader-div {
    position: absolute;
    display: flex;
    z-index: 2000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    user-select: none;
    pointer-events: none;
    cursor: default;
}

#loader-img {
    position: absolute;
    /*left: 50%;*/
    /*top: 50%;*/
    width: 30%;
    /*height: 40%;*/
    /*margin: -75px 0 0 -60px;*/
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

#loader-pbar-div {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 30%;
    height: 100%;
    padding: 10px;
    justify-content: center;
}

#loader-pbar {
    width: 100%;
    accent-color: rgb(250 150 0);
}

#loader-msg {
    display: flex;
    text-align: center;
    justify-content: center;
    background-color: rgb(250 190 0);
    border: 1px solid rgb(0 0 0 / 0%);
    color: rgb(0 0 0);
    fill: rgb(0 0 0);
    border-radius: 15px;
    width: fit-content;
    padding: 2px 20px;
    align-self: center;
    transition: opacity .75s ease !important;
    opacity: 0;

}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

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


@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

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

