/* whatsapp.css */
.floating-wpp-button {
    display: inline-block;
    position: fixed;
    z-index: 9999;
    bottom: 50px; /* Ajustado a 50px del fondo */
    left: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    background: #25d366;
    transition: background-color 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.floating-wpp-button img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.floating-wpp-button:hover {
    background: #128c7e;
}

.floating-wpp-popup {
    display: none;
    position: fixed;
    z-index: 10000;
    bottom: 100px; /* Ajustado a 110px del fondo */
    left: 15px;
    width: 300px;
    background: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.floating-wpp-popup-header {
    background: #25d366;
    color: #fff;
    padding: 10px;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.floating-wpp-popup-body {
    padding: 10px;
}

.floating-wpp-popup-body textarea {
    width: 100%;
    height: 80px; /* Altura del área de texto aumentada */
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    resize: none;
}

.floating-wpp-popup-footer {
    padding: 10px;
    text-align: right;
}

.floating-wpp-popup-footer button {
    background: #25d366;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.floating-wpp-popup-footer button:hover {
    background: #128c7e;
}

@media (max-width: 768px) {
    .floating-wpp-button {
        width: 40px;
        height: 40px;
        bottom: 40px;
        left: 10px;
    }
    
    .floating-wpp-popup {
        bottom: 90px;
        left: 10px;
        width: 260px; /* Ajustado para pantallas pequeñas */
    }

    .floating-wpp-popup-body textarea {
        height: 60px; /* Ajuste de altura para pantallas pequeñas */
    }
}

@media (max-width: 480px) {
    .floating-wpp-button {
        width: 35px;
        height: 35px;
        bottom: 40px;
        left: 5px;
    }
    
    .floating-wpp-popup {
        bottom: 70px;
        left: 5px;
        width: 230px; /* Ajustado para pantallas muy pequeñas */
    }

    .floating-wpp-popup-body textarea {
        height: 55px; /* Ajuste de altura para pantallas muy pequeñas */
    }
}
