/* ============================================================
   EID FITR MESSAGE FIX - إصلاح ظهور رسالة عيد الفطر
   ============================================================ */

/* التأكد من أن الرسالة فوق كل العناصر بما فيها footer و sections */
@keyframes slideInFromBottom {
    0% {
        bottom: -100px !important;
        opacity: 0 !important;
    }
    100% {
        bottom: 25px !important;
        opacity: 1 !important;
    }
}

@keyframes eidFitrMessagePulse {
    0%, 100% { 
        transform: translateX(-50%) scale(1) !important;
    }
    50% { 
        transform: translateX(-50%) scale(1.03) !important;
    }
}

.eid-fitr-message {
    position: fixed !important;
    bottom: 25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: rgba(139, 92, 246, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    color: white !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5) !important;
    z-index: 99999999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    border: 2px solid rgba(251, 191, 36, 0.6) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: slideInFromBottom 1s ease-out, eidFitrMessagePulse 3s ease-in-out 2s infinite !important;
    width: auto !important;
    max-width: 90% !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
    will-change: transform;
    /* إضافة هذه الخصائص لضمان الظهور فوق كل شيء */
    isolation: isolate !important;
}

.eid-fitr-message:hover {
    background: rgba(139, 92, 246, 0.98) !important;
    transform: translateX(-50%) scale(1.05) !important;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6) !important;
    border-color: rgba(251, 191, 36, 0.8) !important;
}

.eid-fitr-message:active {
    transform: translateX(-50%) scale(0.98) !important;
}

/* Mobile */
@media (max-width: 768px) {
    .eid-fitr-message {
        bottom: 18px !important;
        font-size: 0.82rem !important;
        padding: 10px 22px !important;
        max-width: 92% !important;
    }
}

@media (max-width: 480px) {
    .eid-fitr-message {
        bottom: 15px !important;
        font-size: 0.78rem !important;
        padding: 10px 20px !important;
    }
}
