/* Widget de WhatsApp - Contact Metrics Tracker */
#cmt-wa-widget {
    position: fixed;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.cmt-wa__widget_container {
    position: relative;
}

.cmt-wa__btn_popup {
    position: fixed;
    right: 30px;
    bottom: 30px;
    cursor: pointer;
    z-index: 999999;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.cmt-wa__btn_popup:hover {
    transform: scale(1.05);
}

.cmt-wa__btn_popup_txt {
    display: block;
    right: 100%;
    margin-right: 7px;
    margin-left: 0px;
    width: 156px;
    background: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    text-align: right;
}

.cmt-wa__btn_popup_txt strong {
    display: block;
    color: #25D366;
    font-weight: 600;
}

.cmt-wa__btn_popup_icon {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    position: relative;
}

.cmt-wa__btn_popup_icon svg {
    width: 32px;
    height: 32px;
    display: block;
}

.cmt-wa__popup_chat_box {
    position: fixed;
    right: 30px;
    bottom: 102px;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    z-index: 999998;
    display: none;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.cmt-wa__popup_chat_box.cmt-wa__active {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cmt-wa__popup_heading {
    background: #25D366;
    padding: 20px;
    color: #fff;
}

.cmt-wa__popup_title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.cmt-wa__popup_intro {
    font-size: 12px;
    color: #d9ebc6;
    line-height: 1.5;
}

.cmt-wa__popup_intro strong {
    font-weight: 600;
}

.cmt-wa__popup_content {
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.cmt-wa__popup_notice {
    font-size: 11px;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
}

.cmt-wa__popup_content_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cmt-wa__popup_content_item {
    margin-bottom: 12px;
}

.cmt-wa__popup_content_item:last-child {
    margin-bottom: 0;
}

.cmt-wa__popup_content_item a {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s ease;
    border: 1px solid #e0e0e0;
}

.cmt-wa__popup_content_item a:hover {
    background: #f5f5f5;
    border-color: #25D366;
}

.cmt-wa__popup_avatar {
    width: 48px;
    height: 48px;
    margin-right: 12px;
    flex-shrink: 0;
}

.cmt-wa__popup_avatar svg {
    width: 100%;
    height: 100%;
}

.cmt-wa__popup_txt {
    flex: 1;
}

.cmt-wa__member_name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.cmt-wa__member_duty {
    font-size: 11px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .cmt-wa__btn_popup {
        right: 20px;
        bottom: 20px;
    }
    
    .cmt-wa__btn_popup_txt {
        display: none;
    }
    
    .cmt-wa__popup_chat_box {
        right: 20px;
        bottom: 90px;
        width: calc(100% - 40px);
        max-width: 320px;
    }
}
