/* Le conteneur qui centre le loader sur la page */
.loader-container {
    display: none; /* Caché par défaut */
    /*position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Fond blanc semi-transparent */
    z-index: 9999; /* Toujours au-dessus */
    /*justify-content: center;
    align-items: center;
    flex-direction: column;*/
}

/* Affiché quand on ajoute la classe 'is-active' */
.loader-container.is-active {
    display: flex;
}

/* Le Spinner lui-même (style "double anneau") */
.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
}
.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    /* Couleur de l'anneau : change #ff0000 par ta couleur */
    border: 6px solid #ff0000; 
    border-color: #ff0000 transparent #ff0000 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Le texte "Chargement..." */
.loader-text {
    margin-top: 15px;
    font-family: sans-serif;
    color: #333;
    font-weight: bold;
}