﻿/* Loader Container */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 1); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; 
    opacity: 1;
    transition: opacity 0.8s ease, transform 0.8s ease; 
    transform: scale(1); 
}

/* Hide loader with scale-down and fade-out */
.loader-container.hidden {
    opacity: 0;
    transform: scale(2); 
    pointer-events: none; 
}

/* Fade-In Leave Effect */
.leave-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    opacity: 0; 
    z-index: 10000; 
    pointer-events: none; 
    transition: opacity 0.3s ease; 
}

    .leave-effect.active {
        opacity: 1;
    }


.wheel-img {
    width: 150px;
    height: 150px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
