/* Loading Screen Styles */
#global-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

#global-loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.loading-bar-container {
    width: 300px;
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #81C784);
    border-radius: 10px;
    animation: loading 1.5s ease-in-out infinite;
    width: 0%;
}

@keyframes loading {
    0% {
        width: 0%;
        margin-left: 0%;
    }
    50% {
        width: 70%;
        margin-left: 15%;
    }
    100% {
        width: 0%;
        margin-left: 100%;
    }
}

.loading-text {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
    font-family: Arial, sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    .loading-logo {
        max-width: 150px;
    }

    .loading-bar-container {
        width: 250px;
    }
}
