/* Barre de progression ultra-légère - CSS minimaliste pour performance maximale */
.preloader-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 8px;
    background-color: #DAA520;
    z-index: 9999999;
    opacity: 0;
    pointer-events: none;
}

.preloader-progress.is-visible {
    opacity: 1;
}

/* Barre oscillante (effet Google) - CSS minimaliste */
.preloader-oscillating-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: #DAA520;
    z-index: 9999999;
    opacity: 0;
    display: none;
    pointer-events: none;
}

/* Message de chargement - CSS minimaliste */
.preloader-loading-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #DAA520;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 1000002;
    opacity: 0;
    display: none;
    pointer-events: none;
    white-space: nowrap;
}

/* Support RTL - Barres positionnées à droite */
html[dir="rtl"] .preloader-progress {
    left: auto;
    right: 0;
}

html[dir="rtl"] .preloader-oscillating-bar {
    left: auto;
    right: 0;
}

@media (max-width: 768px) {
    .preloader-progress {
        height: 6px;
    }
    
    .preloader-oscillating-bar {
        height: 6px;
        width: 100%;
    }
    
    .preloader-loading-message {
        font-size: 0.85rem;
        top: 15px;
    }
}