﻿.loader-container.rbloader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.rbloader {
    width: 80px;
    height: 80px;
    position: relative;
}

    .loader.rbloader:before, .loader.rbloader:after {
        content: '';
        position: absolute;
        border-radius: 50%;
        border: 5px solid transparent;
        border-top-color: #E53935;
        animation: spin 1.5s linear infinite;
    }

    .loader.rbloader:before {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .loader.rbloader:after {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        border-top-color: #fff;
        animation: spin 2s linear infinite reverse;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-text.rbloader-text {
    color: white;
    font-size: 1.5rem;
    margin-top: 20px;
    text-align: center;
}

.loader-progress.rbloader-progress {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin-top: 20px;
    overflow: hidden;
}

.loader-progress-bar.rbloader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #E53935, #fff);
    transition: width 0.3s ease;
}

.hidden.rbloader-hidden {
    opacity: 0;
    pointer-events: none;
}
