/* Estilos para el botón flotante de WhatsApp Multicanal */

.whatsapp-chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Exo', sans-serif;
}

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

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

.whatsapp-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.whatsapp-chat-window.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.whatsapp-chat-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

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

.whatsapp-chat-body {
    padding: 10px 0;
    max-height: 460px;
    overflow-y: auto;
}

.whatsapp-contact-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.whatsapp-contact-item:last-child {
    border-bottom: none;
}

.whatsapp-contact-item:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #075e54;
}

.whatsapp-contact-item i {
    color: #25d366;
    font-size: 20px;
    margin-right: 15px;
}

.whatsapp-contact-info {
    display: flex;
    flex-direction: column;
}

.whatsapp-contact-name {
    font-weight: 600;
    font-size: 14px;
}

.whatsapp-contact-number {
    font-size: 12px;
    color: #777;
}

/* Responsividad para móviles */
@media screen and (max-width: 480px) {
    .whatsapp-chat-window {
        width: 260px;
        bottom: 70px;
        right: 30px;
    }

    .whatsapp-chat-container {
        position: fixed;
        bottom: 100px;
        right: 50px;
        z-index: 1000;
        font-family: 'Exo', sans-serif;
    }
}