
.flex-container {
    display: none;
}

.loader-container {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 61, 41, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.loader {
    text-align: center;
}

.loader-gif {
    width: 10rem;
    height: 10rem;
    margin: 0 auto 30px auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-gif img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.loading-text {
    color: white;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.loading-subtitle {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.8);
}

/* נצנוצים */
.sparkles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: sparkle 3s ease-in-out infinite;
}

.sparkle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 80%;
    left: 20%;
    animation-delay: 0.5s;
}

.sparkle:nth-child(3) {
    top: 40%;
    left: 80%;
    animation-delay: 1s;
}

.sparkle:nth-child(4) {
    top: 60%;
    left: 70%;
    animation-delay: 1.5s;
}

.sparkle:nth-child(5) {
    top: 30%;
    left: 50%;
    animation-delay: 2s;
}

.sparkle:nth-child(6) {
    top: 70%;
    left: 90%;
    animation-delay: 2.5s;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* @media (max-width: 480px) {
    .loading-gif {
        width: 100px;
        height: 100px;
    }

    .loading-text {
        font-size: 20px;
    }

    .loading-subtitle {
        font-size: 14px;
    }
} */

/* .dots {
    display: inline-block;
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes dots {

    0%,
    20% {
        content: '';
    }

    40% {
        content: '.';
    }

    60% {
        content: '..';
    }

    80%,
    100% {
        content: '...';
    }
}

.dots::after {
    content: '';
} */