/* WhatsApp Floating Button Styles */
:root {
    --wa-green: #25D366;
    --wa-green-dark: #128C7E;
    --wa-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

.wa-float-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    left: auto;
    z-index: 2147483647;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.wa-float-container.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.wa-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--wa-green), var(--wa-green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: var(--wa-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: wa-pulse 2s infinite;
}

.wa-button i {
    font-size: 32px;
    position: relative;
    z-index: 2;
}

.wa-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.wa-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

.wa-button:hover::before {
    transform: translateX(100%);
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* RTL Support - Move to far left side */
[dir="rtl"] .wa-float-container,
html[dir="rtl"] .wa-float-container,
body[dir="rtl"] .wa-float-container {
    right: auto !important;
    left: 24px !important;
    /*align-items: flex-start !important;*/
}
