/* ==========================================================================
   Scrini AI - Full-page Loading Overlay
   ========================================================================== */

.scrini-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.scrini-loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.scrini-loader-icon {
    width: 64px;
    height: 64px;
    animation: scriniPulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(99, 131, 234, 0.4));
}

@keyframes scriniPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
        filter: drop-shadow(0 0 30px rgba(99, 131, 234, 0.3));
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
        filter: drop-shadow(0 0 50px rgba(99, 131, 234, 0.5));
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
        filter: drop-shadow(0 0 30px rgba(99, 131, 234, 0.3));
    }
}

