/**
 * DigiImmo — premier paint : loader accueil (Vue), overlay paint-guard (Tailwind CDN),
 * z-index alignés pour éviter tout flash de contenu non stylé.
 */
#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e40af 0%, #059669 100%);
    transition: opacity 0.5s ease-out;
}
#loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}
.loader-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
    animation: digimmo-loader-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes digimmo-loader-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}
.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: digimmo-loader-spin 1s linear infinite;
}
@keyframes digimmo-loader-spin {
    to {
        transform: rotate(360deg);
    }
}
.loader-text {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    animation: digimmo-loader-fade 2s ease-in-out infinite;
}
@keyframes digimmo-loader-fade {
    0%,
    100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}
body.digimmo-booting #app {
    display: none !important;
}
[v-cloak] {
    display: none !important;
}
#digimmo-paint-guard {
    z-index: 2147483000 !important;
}
