﻿/* Loading Animation Styles */
#lottie-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
}

#lottie-loader.show {
    display: flex;
}

#lottie-animation {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.1));
}

/* Optional: Add a text below the animation */
#lottie-loader::after {
    content: 'מחפש צימרים זמינים...';
    position: absolute;
    bottom: 40%;
    font-size: 18px;
    color: #3CA958;
    font-weight: 600;
    text-align: center;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* RTL Support */
[dir="rtl"] #lottie-loader::after {
    font-family: 'Rubik', Arial, sans-serif;
}

/* מניעת גלילה כשהלודר מוצג */
body.loading-active {
    overflow: hidden;
}
