﻿#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.4);  
    backdrop-filter: blur(2px);  
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.3s ease-in-out;
}

    #loader-overlay.show {
        display: flex;
        opacity: 1;
    }

.global-progress-loader {
    width: 300px;
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.global-progress-bar {
    height: 100%;
    background: linear-gradient(45deg, #007bff, #28a745, #007bff);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: global-loading-progress 2s ease-in-out infinite;
}

@keyframes global-loading-progress {
    0% {
        width: 0%;
        transform: translateX(-100%);
        background-position: 0% 50%;
    }

    50% {
        width: 100%;
        transform: translateX(0%);
        background-position: 100% 50%;
    }

    100% {
        width: 100%;
        transform: translateX(100%);
        background-position: 200% 50%;
    }
}

.loading-text {
    margin-top: 25px;
    color: #495057;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}
