/* Esto es lo que hace que el botón flote y sea visible */
.whatsapp-widget {
    position: fixed !important; /* Forzar posición */
    bottom: 20px !important;
    right: 20px !important;
    z-index: 999999 !important; /* Ponerlo por encima de todo */
    display: block !important;
}

.whatsapp-btn {
    background-color: #25d366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 35px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}


.chat-box {
    display: none; /* Se oculta al inicio */
    width: 300px;
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    overflow: hidden;
}

.chat-header {
    background: #075e54;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    position: relative;
}

.chat-avatar { width: 60px; height: 60px; border-radius: 50%; margin-right: 10px; }

.chat-info strong { display: block; }
.chat-info span { font-size: 12px; opacity: 0.8; }

.close-chat {
    position: absolute;
    right: 10px;
    top: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chat-body { padding: 20px; background: #e5ddd5; }
.chat-body p { background: white; padding: 10px; border-radius: 10px; margin: 0; }

.chat-footer { padding: 15px; text-align: center; }
.send-btn {
    background: #25d366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
}
