/* 可拖动客服按钮组件样式 */
.draggable-customer-service {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 99999;
    cursor: move;
    user-select: none;
}

.draggable-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 6px;
    padding: 12px 18px;
    width: 90px;
    height: 44px;
    background: #4285f4;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.3);
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: nowrap;
    text-align: center;
}

.draggable-contact-btn:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

.draggable-contact-btn i {
    font-size: 16px;
}

.draggable-contact-qr {
    position: absolute;
    right: 0;
    bottom: 58px;
    width: 140px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    display: none;
    z-index: 100000;
}

.draggable-contact-qr img {
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.draggable-contact-qr .qr-tip {
    margin-top: 6px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

/* 拖动时的样式 */
.draggable-customer-service.dragging {
    opacity: 0.8;
}

/* 防止选中文本的样式 */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .draggable-customer-service {
        right: 15px;
        bottom: 70px;
    }
    
    .draggable-contact-btn {
        padding: 10px 15px;
        width: 85px;
        height: 40px;
        font-size: 13px;
        gap: 4px;
    }
    
    .draggable-contact-qr {
        width: 120px;
        right: -10px;
    }
    
    .draggable-contact-qr img {
        width: 100px;
        height: 100px;
    }
}
