/*********** chatbot ***********/
.chat-popup {
    display: none;
    /* 初始状态为隐藏 */
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
    opacity: 0;
    /* 初始透明度 */
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* 添加过渡效果 */
    transform: translateY(100%);
    /* 初始位置在视图外 */
    width: 350px;
}
.chat-popup .chat-body {
    overflow: hidden; /* 防止内容溢出 */
}
.chat-popup.show {
    display: block;
    /* 显示时设置为块级元素 */
    opacity: 1;
    /* 完全不透明 */
    transform: translateY(0);
    /* 移动到正常位置 */
}

.chat-popup #close-btn {
    background-color: var(--desktop-header-bg);
    padding: 5px;
    display: inline-block;
    position: absolute;
    cursor: pointer;
}

.chat-popup #close-btn img {
    width: 18px;
    height: 18px;
}

#open-chat {
    position: fixed;
    bottom: 50px;
    right: 40px;
    cursor: pointer;
    transition: transform 0.3s; /* 添加过渡效果 */
}

#open-chat:hover {
    transform: translateY(-10px); /* 向上移动10px */
}

#open-chat img {
    width: 90px;
}