/* 悬浮客服助手样式 */
.floating-assistant {
    position: fixed;
    right: 20px;
    bottom: 160px;
    z-index: 999;
}

.assistant-icon {
    width: 40px;
    height: 40px;
    background-color: #8B0000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.assistant-icon:hover {
    transform: scale(1.1);
}

.assistant-chat-box {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 500px;
    height: 340px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background-color: #8B0000;
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-chat {
    cursor: pointer;
    font-size: 20px;
}

.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f5f5f5;
}

/* 快捷回复区域样式 */
.quick-replies {
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.quick-replies p {
    margin: 0 0 2px 0;
    font-size: 10px;
    color: #000000;
}

.quick-reply-btn {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 5px 10px;
    font-size: 10px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-reply-btn:hover {
    background-color: #e0e0e0;
    border-color: #ccc;
}

.chat-message {
    margin-bottom: 15px;
    max-width: 60%;
    border-radius: 8px;
    padding-left: 10px;
}

.assistant-message {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    align-self: flex-start;
    
}

.user-message {
    background-color: #ffffff;
    color: #333;
    align-self: flex-end;
    margin-left: auto;
}

.chat-footer {
    padding: 10px;
    display: flex;
    border-top: 1px solid #eee;
}

.chat-footer input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
}

.send-btn {
    background-color: #8B0000;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}