/* 智能客服悬浮窗样式 */
.float-chat-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px 0 0 15px;
    box-shadow: -4px 4px 15px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 12px;
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    min-height: 110px;
}

.float-chat-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: -6px 6px 20px rgba(102, 126, 234, 0.6);
}

.float-chat-btn img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    object-fit: contain;
}

.float-chat-btn::after {
    content: '智能客服';
    position: relative;
    color: white;
    font-size: 14px;
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(102, 126, 234, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }
}

@media (max-width: 768px) {
    .float-chat-btn {
        right: 0;
        padding: 12px 10px;
        min-height: 90px;
    }

    .float-chat-btn img {
        width: 30px;
        height: 30px;
    }

    .float-chat-btn::after {
        font-size: 12px;
        letter-spacing: 2px;
    }
}
