/* Estilos para los botones flotantes */
.mi-plugin-whatsapp-buttons {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 9999;
    text-align: center; /* Agregamos esta línea para centrar los botones */
}

.mi-plugin-whatsapp-button {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #25D366;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.mi-plugin-whatsapp-button:hover {
    background-color: #128C7E;
    color: white;
}

.mi-plugin-whatsapp-button img {
    width: 20px;
}

/* Estilos para los formularios */
.mi-plugin-whatsapp-form {
    display: none;
    position: fixed;
    bottom: 95px;
    right: 20px;
    z-index: 9999;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    width: 20%;
    overflow: hidden;
}

.mi-plugin-whatsapp-form h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
}
.mi-plugin-whatsapp-form input[type="text"], 
.mi-plugin-whatsapp-form textarea, 
.mi-plugin-whatsapp-form select
 {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size:15px;
}



.mi-plugin-whatsapp-form button {
    background-color: #25D366;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
}

.mi-plugin-whatsapp-form button:hover {
    background-color: #128C7E;
}

.mi-plugin-whatsapp-form button img {
    width: 20px;
}

/* Estilos para la cruz de cerrar */
.mi-plugin-whatsapp-close,
.mi-plugin-phone-close {
    position: absolute;
    top: 10px;
    right: 23px;
    font-size: 20px;
    color: white;
    cursor: pointer;
}


.title-form {
    background: #25d366;
    width: 100%;
    padding: 15px 20px;
}

.title-form h3 {
    margin: 0;
    color: white;
}

.popup-body-wsp {
    padding: 20px;
}

.popup-body-wsp > p {
    margin-bottom: 14px;
    font-size: 14px;
}


/* Estilos para los botones flotantes en escritorio */
@media screen and (max-width: 1024px) {
    .mi-plugin-whatsapp-buttons {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999;
        text-align: right;
    }
    .mi-plugin-whatsapp-form {
        display: none;
        position: fixed;
        bottom: 90px;
        width: 40%;
        right: 20px;
        z-index: 9999;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
}

/* Estilos para los botones flotantes en dispositivos móviles */
@media screen and (max-width: 767px) {
    .mi-plugin-whatsapp-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;
        padding: 10px;
        background-color: #fff;
        z-index: 9999;
        display: flex;
        justify-content: center;
    }
    
    .mi-plugin-whatsapp-button {
        display: flex;
        background-color: #25D366;
        color: #fff;
        font-size: 14px;
        font-weight: bold;
        text-align: center;
        padding: 10px 20px;
        border-radius: 50px;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }
    
    .mi-plugin-whatsapp-button:hover {
        background-color: #128C7E;
    }
    .mi-plugin-whatsapp-form {
        bottom: 75px;
        width: 90%;
        right: 50%;
        transform: translateX(50%);
    }
}
.mi-plugin-whatsapp-button.phone{
       display: none;
    }