#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

/* Ensures the screen is hidden when JS adds this class */
.loader-hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loading-logo {
    width: 80px; /* Adjust to match your original design */
    height: auto;
    margin-bottom: 20px;
}

.loading-bar {
    width: 200px; 
    height: 4px;
    background: #f3f3f3;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-bar::after {
    content: '';
    position: absolute;
    left: -50%;
    height: 100%;
    width: 50%;
    background-color: #2596be; /* Clearly Blue */
    animation: loading-animation 1.5s infinite ease-in-out;
}

@keyframes loading-animation {
    0% { left: -50%; }
    100% { left: 150%; }
}