/* ============================================================
   Logout Modal - مدرن و هماهنگ با تم سایت
   ============================================================ */

/* ===== Overlay ===== */
.logout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
    padding: 20px;
}

.logout-modal-overlay.active {
    display: flex;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== Modal Box ===== */
.logout-modal {
    background: rgba(26, 28, 32, 0.95);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 40px 36px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    text-align: center;
    animation: modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== آیکون ===== */
.logout-modal-icon {
    font-size: 4rem;
    margin-bottom: 12px;
    display: block;
    line-height: 1;
}

/* ===== عنوان و متن ===== */
.logout-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    font-family: 'Vazirmatn', sans-serif;
}

.logout-modal-message {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 28px;
    line-height: 1.7;
    font-family: 'Vazirmatn', sans-serif;
}

/* ===== دکمه‌ها ===== */
.logout-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.logout-modal-btn {
    padding: 12px 32px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Vazirmatn', sans-serif;
    min-width: 120px;
}

/* دکمه انصراف */
.logout-modal-btn--cancel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.logout-modal-btn--cancel:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.02);
}

.logout-modal-btn--cancel:active {
    transform: scale(0.96);
}

/* دکمه تأیید خروج */
.logout-modal-btn--confirm {
    background: #CCFF00;
    color: #0b1220;
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.15);
}

.logout-modal-btn--confirm:hover {
    background: #ffffff;
    transform: scale(1.04);
    box-shadow: 0 0 50px rgba(204, 255, 0, 0.25);
}

.logout-modal-btn--confirm:active {
    transform: scale(0.96);
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .logout-modal {
        padding: 28px 20px;
    }
    .logout-modal-title {
        font-size: 1.2rem;
    }
    .logout-modal-btn {
        min-width: 100px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    .logout-modal-icon {
        font-size: 3rem;
    }
}