.loader-container {
    position: fixed !important;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.90) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 1s ease-in-out;
}

.loader {
    width: calc(100px - 24px);
    height: 50px;
    position: relative;
    animation: flippx 2s infinite linear;
}

.loader:before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00FF5C;
    transform-origin: -24px 50%;
    animation: spin 1s infinite linear;
}

.loader:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #00FF5C;
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

@keyframes flippx {
    0%, 49% {
        transform: scaleX(1);
    }
    50%, 100% {
        transform: scaleX(-1);
    }
}

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