﻿/* רקע חצי שקוף */
.modal-backdrop.show {
    opacity: 0.6;
}

/* עיצוב המודאל */
#loadingModal .modal-content {
    background: linear-gradient(135deg, #2b5187, #4a6fa5);
    border-radius: 20px;
    border: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 40px;
}

#loadingModal h5 {
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
    color: #ffffff;
    animation: pulse 1.5s infinite;
}

/* אנימציית Loader מותאמת לצבע השולט */
body.popup-open .popup-wrap .popup.loading .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 15px solid rgba(255, 255, 255, 0.2);
    border-top-color: #2b5187;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

body.popup-open .popup-wrap .popup.loading *:not(.loader) {
    opacity: .5;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}
