/**
 * Loading Screen Styles
 * 
 * @package CORE_ESW
 * @since 1.0.0
 */

/* Loading Overlay */
#core-esw-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
    pointer-events: all;
}

#core-esw-loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    max-width: 90%;
    max-height: 90%;
}

/* Logo Animation */
.loading-logo {
    max-width: 300px;
    max-height: 200px;
    width: auto;
    height: auto;
    animation: logoFade 1.5s ease-in-out infinite;
}

/* Custom Image Animation */
.loading-custom-image {
    max-width: 400px;
    max-height: 300px;
    width: auto;
    height: auto;
    animation: logoFade 1.5s ease-in-out infinite;
}

/* Fade Animation */
@keyframes logoFade {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .loading-logo {
        max-width: 200px;
        max-height: 150px;
    }
    
    .loading-custom-image {
        max-width: 250px;
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .loading-logo {
        max-width: 150px;
        max-height: 100px;
    }
    
    .loading-custom-image {
        max-width: 180px;
        max-height: 150px;
    }
}
