/* Container for loader */
.loader-container {
    position: fixed;
    /* Fixed position */
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    top: 0;
    left: 0;
    background-color: white;
    /* Black background with opacity */
    z-index: 9999;
    /* Highest z-index so it appears on top */
    display: flex;
    /* Use flexbox for centering */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    flex-direction: column;
    gap: var(--sp-m);
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid lightgrey;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader::after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: #4279bc;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader_text {
    color: #4279bc;
    text-align: center;
    font-size: 20px;
}

.tests_loader_pad {
    background-color: #80808073;
    color: white;
    padding: var(--sp-xs);
    border-radius: 0.25em;
    font-size: var(--text-size-100);
}


