.wechat-service-float {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 9999;
}

.wechat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #07C160, #05A050);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.wechat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.6);
}

.wechat-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.wechat-btn .tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wechat-btn .tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.wechat-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.wechat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.wechat-modal.active {
    display: flex;
}

.wechat-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 380px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wechat-modal-header {
    background: linear-gradient(135deg, #07C160, #05A050);
    color: white;
    padding: 20px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wechat-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.wechat-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.wechat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.wechat-modal-body {
    padding: 24px;
}

.wechat-qr-section {
    text-align: center;
    margin-bottom: 20px;
}

.wechat-qr-section h4 {
    color: #333;
    margin-bottom: 16px;
    font-size: 16px;
}

.wechat-qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 10px;
    background: white;
}

.wechat-qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wechat-qr-tip {
    color: #666;
    font-size: 14px;
    margin-top: 12px;
}

.contact-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.contact-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

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

@media (max-width: 480px) {
    .wechat-service-float {
        right: 15px;
        bottom: 80px;
    }

    .wechat-btn {
        width: 50px;
        height: 50px;
    }

    .wechat-btn svg {
        width: 26px;
        height: 26px;
    }

    .wechat-modal-content {
        width: 95%;
        margin: 10px;
    }
}
