/* ===================================================
   Version 3 Shared Floating WhatsApp Button
   =================================================== */

.v3-floating-whatsapp {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 99;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.2s ease;
    cursor: pointer;
}

.v3-floating-whatsapp:hover {
    background-color: #20ba5a;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.v3-floating-whatsapp:focus-visible {
    outline: 3px solid #128c7e;
    outline-offset: 3px;
}

.v3-floating-whatsapp:active {
    transform: translateY(0) scale(0.98);
}

.v3-floating-whatsapp svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
    display: block;
}

/* Mobile Responsive - Avoid overlap with mobile fixed bottom toolbar */
@media only screen and (max-width: 768px) {
    .v3-floating-whatsapp {
        bottom: calc(75px + env(safe-area-inset-bottom, 0px));
        left: 16px;
        width: 48px;
        height: 48px;
    }

    .v3-floating-whatsapp svg {
        width: 26px;
        height: 26px;
    }
}
