/* 在线客服浮动窗口样式 */
.kefu-container {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    font-family: Arial, sans-serif;
}

/* 客服按钮容器 */
.kefu-buttons {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #2DB7A4;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* 单个客服按钮 */
.kefu-btn {
    width: 60px;
    height: 60px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    background: #2DB7A4;
    transition: all 0.2s ease;
    border: none;
}

/* 客服按钮悬停效果 */
.kefu-btn:hover {
    background: #259B8A;
    transform: none;
}

/* 客服按钮图标 */
.kefu-btn img {
    width: 29px;
    height: 29px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.2s ease;
}

/* 统一按钮样式 - 所有按钮使用相同的青绿色 */
.kefu-whatsapp,
.kefu-email,
.kefu-tiktok,
.kefu-youtube {
    background: #2DB7A4;
}

.kefu-whatsapp:hover,
.kefu-email:hover,
.kefu-tiktok:hover,
.kefu-youtube:hover {
    background: #259B8A;
}

/* 工具提示 */
.kefu-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #1f2937;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 工具提示箭头 */
.kefu-tooltip:after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #1f2937;
}

/* 显示工具提示 */
.kefu-btn:hover .kefu-tooltip {
    opacity: 1;
    visibility: visible;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .kefu-container {
        right: 10px;
        top: auto;
        bottom: 80px;
        transform: none;
    }
    
    .kefu-btn {
        width: 50px;
        height: 50px;
    }
    
    .kefu-btn img {
        width: 25px;
        height: 25px;
    }
    
    .kefu-tooltip {
        display: none;
    }
}

/* 简洁的滚动效果 */
.kefu-container.scrolling .kefu-buttons {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
} 