.chat-bubble  {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* 图标与文字间距 */
    padding: 12px 20px;
    background: linear-gradient(135deg, #165DFF 0%, #0A2463 100%); /* 渐变色背景 */
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px; /* 圆角 */
    border: none;
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3); /* 蓝色阴影 */
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.chat-bubble  .fa-comments {
    font-size: 20px; /* 图标大小 */
}

.chat-bubble :hover {
    transform: translateY(-2px); /* 上移效果 */
    box-shadow: 0 6px 16px rgba(22, 93, 255, 0.4);
}

.chat-bubble :active {
    transform: translateY(1px); /* 点击反馈 */
    box-shadow: 0 2px 8px rgba(22, 93, 255, 0.3);
}


/* 聊天框样式 */
.chat-box {
    position: fixed;
    bottom: 10px;
    right: 10px;
    /*width: 400px;*/
    /*height: 580px;*/
    /*width: 100%;*/
    /*height: 100%;*/
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: none;
    flex-direction: column;
    z-index: 9999;
}

.chat-box-header {
    padding: 10px;
    background-color: #007BFF;
    color: white;
    font-weight: bold;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-box-close {
    cursor: pointer;
}

.chat-box-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}

.chat-box-input {
    padding: 10px;
    border-top: 1px solid #ccc;
    display: flex;
}

.chat-box-input input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
}

.chat-box-input button {
    padding: 8px 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.chat-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}
