/*
 * floating-button.css
 *
 * @package WpWhatsAppConnect
 * @subpackage Assets/CSS
 * @author Andre Silva
 * @copyright (c) 2026 Andre Silva. All rights reserved.
 * @license GPL-2.0-or-later
 */

#wp-whatsapp-connect-floating-button-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.wp-whatsapp-connect-floating-button {
    background-color: #25D366; /* WhatsApp green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.wp-whatsapp-connect-floating-button:hover {
    background-color: #128C7E; /* Darker green on hover */
    box-shadow: 3px 3px 6px #777;
}

.wp-whatsapp-connect-floating-button img {
    width: 35px; /* Adjust size of WhatsApp icon */
    height: 35px;
    vertical-align: middle;
    border: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #wp-whatsapp-connect-floating-button-container {
        bottom: 15px;
        right: 15px;
    }

    .wp-whatsapp-connect-floating-button {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .wp-whatsapp-connect-floating-button img {
        width: 30px;
        height: 30px;
    }
}
