.etags-whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.whatsapp-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.whatsapp-fab:hover {
    background: #1ebc5c;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.whatsapp-fab.active {
    background: #128c7e;
}

.whatsapp-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.16);
    width: 300px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
}

.whatsapp-menu.active {
    max-height: 500px;
    opacity: 1;
}

.whatsapp-header {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #333;
}

.whatsapp-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 400px;
    overflow-y: auto;
}

.whatsapp-contacts li {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #f5f5f5;
}

.whatsapp-contacts li:last-child {
    border-bottom: none;
}

.whatsapp-contact {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}

.whatsapp-contact:hover {
    background-color: #f5f5f5;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

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

.contact-info strong {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.contact-info small {
    display: block;
    font-size: 12px;
    color: #999;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 480px) {
    .etags-whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-fab {
        width: 55px;
        height: 55px;
        font-size: 26px;
    }

    .whatsapp-menu {
        width: 280px;
        bottom: 65px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .whatsapp-menu {
        background: #222;
    }

    .whatsapp-header h3 {
        color: #fff;
    }

    .whatsapp-header {
        border-bottom-color: #333;
    }

    .whatsapp-contacts li {
        border-bottom-color: #333;
    }

    .whatsapp-contact:hover {
        background-color: #333;
    }

    .contact-info strong {
        color: #fff;
    }

    .contact-info small {
        color: #aaa;
    }

    .close-btn {
        color: #666;
    }

    .close-btn:hover {
        color: #999;
    }
}
