
/* WhatsApp 聊天按钮基础样式 */
.whatsapp-chat-btn {
    position: fixed;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.whatsapp-chat-btn svg {
    width: 30px;
    height: 30px;
}

/* 按钮位置类 */
.position-bottom-right {
    bottom: 20px;
    right: 20px;
}

.position-bottom-left {
    bottom: 20px;
    left: 20px;
}

.position-top-right {
    top: 20px;
    right: 20px;
}

.position-top-left {
    top: 20px;
    left: 20px;
}

/* 短代码按钮样式 */
.whatsapp-shortcode-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #25D366;
    color: white !important;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-shortcode-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .whatsapp-chat-btn {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-chat-btn svg {
        width: 25px;
        height: 25px;
    }
    
    .position-bottom-left,
    .position-bottom-right {
        bottom: 15px;
    }
    
    .position-top-left,
    .position-top-right {
        top: 15px;
    }
    
    .position-bottom-left,
    .position-top-left {
        left: 15px;
    }
    
    .position-bottom-right,
    .position-top-right {
        right: 15px;
    }
}
