.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.whatsapp-tooltip {
    background-color: white;
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin-right: 10px;
    display: none;
    white-space: nowrap;
    color: black;
    align-items: center;
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.whatsapp-tooltip i {
    margin-right: 8px;
}

.whatsapp-tooltip span {
    font-size: 14px;
}

.whatsapp-button {
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-chat-box {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background-color: #fff;
    overflow: hidden;
    display: none; /* Oculto por defecto */
    z-index: 999;
    flex-direction: column;
}

.whatsapp-chat-header {
    background-color: #075E54;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-chat-header .close-chat {
    cursor: pointer;
    font-size: 20px;
}

.whatsapp-chat-body {
    padding: 20px;
    background-color: #ECE5DD;
}

.whatsapp-chat-message {
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    max-width: 80%;
}

.whatsapp-chat-footer {
    padding: 15px;
    background-color: #f0f0f0;
}

.whatsapp-chat-footer a {
    display: block;
    background-color: #25D366;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}
