.whatsapp-float {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 56px !important;
    height: 56px !important;
    background: #25D366 !important;
    color: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    pointer-events: auto !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    -webkit-font-smoothing: antialiased !important;
    will-change: transform !important;
    transform-style: preserve-3d !important;
    perspective: 1000px !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

.whatsapp-float:hover {
    background: #1ebe57 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25) !important;
    transform: scale(1.1) translateZ(0) !important;
}

.whatsapp-float img {
    width: 32px !important;
    height: 32px !important;
    display: block !important;
    pointer-events: none !important;
    transform: translateZ(0) !important;
}

/* RTL Support */
html[dir="rtl"] .whatsapp-float {
    right: 20px !important; /* Keep right position for Arabic */
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px !important;
        right: 15px !important; /* Changed from left to right */
        width: 50px !important;
        height: 50px !important;
        z-index: 2147483647 !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
    }
    
    .whatsapp-float img {
        width: 28px !important;
        height: 28px !important;
    }
    
    html[dir="rtl"] .whatsapp-float {
        right: 15px !important; /* Keep right position for Arabic */
    }
}

@media screen and (max-width: 480px) {
    .whatsapp-float {
        bottom: 10px !important;
        right: 10px !important; /* Changed from left to right */
        width: 44px !important;
        height: 44px !important;
        z-index: 2147483647 !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
    }
    
    .whatsapp-float img {
        width: 22px !important;
        height: 22px !important;
    }
    
    html[dir="rtl"] .whatsapp-float {
        right: 10px !important; /* Keep right position for Arabic */
    }
} 