﻿.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 25px;
    width: 380px;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0,0,0,0.4);
    animation: fadeIn .3s ease;
    direction: rtl;
}

.modal-btn {
    padding: 10px 20px;
    border: none;
    background: #0084ff;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    margin: 8px;
}

    .modal-btn.cancel {
        background: #ff5050;
    }

    .modal-btn.close {
        background: #555;
    }

.spinner {
    width: 55px;
    height: 55px;
    border: 6px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* כפתור רגיל בדסקטופ */
.logout-btn {
    height: 40px;
    padding: 0 14px;
    border-radius: 6px;
}

/* מובייל – אייקון עגול בלבד */
@media (max-width: 767px) {
    .logout-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
    }

        .logout-btn i {
            font-size: 1.2rem;
        }
}
