/* AI Chatbot Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    animation: whatsapp-pulse 2s ease-in-out infinite;
}
.whatsapp-float .wa-icon {
    width: 60px;
    height: 60px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover .wa-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}
.whatsapp-float .wa-icon svg {
    width: 34px;
    height: 34px;
    fill: white;
}
.whatsapp-float .wa-label {
    background: white;
    color: #333;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s, transform 0.3s;
}
.whatsapp-float:hover .wa-label {
    opacity: 1;
    transform: translateX(0);
}
/* RTL: flip to left side */
[dir="rtl"] .whatsapp-float,
html[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 24px;
}
[dir="rtl"] .whatsapp-float .wa-label,
html[dir="rtl"] .whatsapp-float .wa-label {
    transform: translateX(-10px);
}
[dir="rtl"] .whatsapp-float:hover .wa-label,
html[dir="rtl"] .whatsapp-float:hover .wa-label {
    transform: translateX(0);
}
@keyframes whatsapp-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}
/* Mobile: smaller, no label */
@media (max-width: 600px) {
    .whatsapp-float { bottom: 16px; right: 16px; }
    .whatsapp-float .wa-icon { width: 52px; height: 52px; }
    .whatsapp-float .wa-icon svg { width: 28px; height: 28px; }
    .whatsapp-float .wa-label { display: none; }
    [dir="rtl"] .whatsapp-float,
    html[dir="rtl"] .whatsapp-float { left: 16px; }
}
