 /* BOTÓN FLOTANTE */
#wa-button {
    position: fixed;
    bottom: 30px;
    right: 25px;
    width: 74px;
    height: 74px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
}
#wa-button img {
    width: 40px;
}

/* POPUP */
#wa-popup {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 330px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    display: none; /* IMPORTANTE */
    z-index: 99999;
}

/* HEADER */
.wa-header {
    background: #d32f2f;
    color: white;
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 10px;
    border-radius: 15px 15px 0 0;
    position: relative;
    font-weight: bold;
}

.wa-header img {
    width: 32px;
}

#wa-close {
    position: absolute;
    right: 15px;
    top: 8px;
    font-size: 26px;
    border: none;
    background: none;
    cursor: pointer;
    color: #fff;
}

/* FORM */
#wa-form {
    padding: 15px;
}

#wa-form input,
#wa-form textarea {
    width: 92%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    font-size: 14px;
}

/* Teléfono con bandera */
.wa-phone {
    position: relative;
}
.flag {
    position: absolute;
    right: 12px;
    top: 10px;
}

/* Botón Enviar */
#wa-send {
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: white;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

 
#wa-button {
    cursor: pointer;
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 1000;
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #25D366; /* Color inicial de fondo */
    animation: bgFade 2s infinite;
}

#wa-button img {
    width: 70%;
    height: 70%;
}

/* Animación del background */
@keyframes bgFade {
    0%, 100% { background-color: #25D366; }
    50% { background-color: #1ebe57; } /* un tono más oscuro */
}
 
