﻿.loading-overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Effet Glassmorphism */
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Animation d'entrée */
    animation: fadeInOverlay 0.3s ease-out forwards;
}

.loading-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Spinner moderne et minimaliste */
.spinner-custom {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(59, 130, 246, 0.1); /* Couleur de base très claire */
    border-top: 3px solid #3b82f6; /* Couleur principale (Bleu) */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.main-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.01em;
}

.sub-text {
    font-size: 0.85rem;
    color: #64748b;
}

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Optionnel : animation de pulsation sur le texte */
.loading-text {
    animation: pulseText 1.5s ease-in-out infinite;
}

@keyframes pulseText {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

