/* Modern QueryLoader Styles */
.QOverlay {
    background-color: #000000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease-out;
}

.QLoader {
    background: linear-gradient(90deg, #CCCCCC, #999999, #CCCCCC);
    height: 2px;
    width: 0%;
    border-radius: 1px;
    transition: width 0.5s linear;
    position: relative;
    overflow: hidden;
}

.QLoader::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .QLoader {
        height: 3px;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .QOverlay {
        background-color: #000000;
    }
    
    .QLoader {
        background: #FFFFFF;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .QLoader {
        transition: none;
    }
    
    .QLoader::before {
        animation: none;
    }
    
    .QOverlay {
        transition: none;
    }
}