/**
 * Easy WhatsApp Public Styles
 */

.easy-whatsapp-button {
    position: fixed;
    bottom: 24px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    animation: easy-whatsapp-pulse 1.5s ease-out;
}

.easy-whatsapp-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.easy-whatsapp-button:active {
    transform: scale(0.95);
}

.easy-whatsapp-button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.3), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.easy-whatsapp-left {
    left: 24px;
}

.easy-whatsapp-right {
    right: 24px;
}

.easy-whatsapp-button svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

@keyframes easy-whatsapp-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .easy-whatsapp-button {
        width: 52px;
        height: 52px;
        bottom: 16px;
    }
    
    .easy-whatsapp-left {
        left: 16px;
    }
    
    .easy-whatsapp-right {
        right: 16px;
    }
    
    .easy-whatsapp-button svg {
        width: 26px;
        height: 26px;
    }
}

/* RTL Support */
[dir="rtl"] .easy-whatsapp-left {
    left: auto;
    right: 24px;
}

[dir="rtl"] .easy-whatsapp-right {
    right: auto;
    left: 24px;
}

@media (max-width: 768px) {
    [dir="rtl"] .easy-whatsapp-left {
        right: 16px;
    }
    
    [dir="rtl"] .easy-whatsapp-right {
        left: 16px;
    }
}

/* Accessibility - reduced motion */
@media (prefers-reduced-motion: reduce) {
    .easy-whatsapp-button {
        animation: none;
    }
    
    .easy-whatsapp-button:hover {
        transform: none;
    }
}
