.whatsapp-fab-wrapper {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 64px;
    height: 64px;
    z-index: 9999;
}

/* FAB */
.whatsapp-fab {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(145deg, #25d366, #128c7e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 34px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    transition: box-shadow 0.25s ease, filter 0.25s ease;
}

/* brillo diagonal animado */
.whatsapp-fab::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -75%;
    width: 45%;
    height: 180%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.18) 35%,
            rgba(255, 255, 255, 0.75) 50%,
            rgba(255, 255, 255, 0.18) 65%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    animation: whatsappShine 2.8s linear infinite;
    pointer-events: none;
}

/* leve relieve interno */
.whatsapp-fab::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 55%);
    pointer-events: none;
}

.whatsapp-fab i {
    position: relative;
    z-index: 2;
}

/* Badge IA */
.whatsapp-ai-badge {
    position: absolute;
    top: 0px;
    right: 1px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    /* background: var(--color-green-fixi);
            border: 2px solid #fff; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow:
                0 4px 10px rgba(0, 0, 0, 0.22),
                0 0 0 4px rgba(12, 184, 182, 0.14); */
    z-index: 3;
    pointer-events: none;
}

.whatsapp-ai-badge img {
    width: 17px;
    height: 17px;
    display: block;
    filter: brightness(0) invert(1);
}

/* hover: sin escalar, solo glow verde */
.whatsapp-fab:hover {
    color: #fff;
    box-shadow:
        0 0 0 4px rgba(37, 211, 102, 0.18),
        0 0 18px rgba(37, 211, 102, 0.45),
        0 0 34px rgba(37, 211, 102, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.28);
    filter: brightness(1.05);
}

@keyframes whatsappShine {
    0% {
        left: -75%;
    }

    100% {
        left: 140%;
    }
}