.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* White background for the overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's above everything */
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Allow interaction with elements behind it */
}

.loading-overlay img {
    width: 400px; /* Enlarged GIF size for better visibility */
    height: 400px;
    object-fit: contain;
}
