body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
    margin: 0;
}

think {
    color: #48a89c;
    margin-bottom: 20px;
}

.chat-container {
    width: 95%;
    max-width: 100%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.chat-header {
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    text-align: center;
}
.chat-messages {
    height: 72vh;
    overflow-y: auto;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.chat-input {
    display: flex;
    padding: 10px;
}

/* 新增单选按钮样式 */
.radio-group {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    margin-right: 10px;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 5px;
}

/* 新增空心按钮样式 */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    display: none;
}

.checkbox-group .button-style {
    padding: 8px 16px;
    border: 2px solid #007bff;
    background-color: transparent;
    color: #007bff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-style {
    padding: 8px 16px;
    border: 2px solid #007bff;
    background-color: transparent;
    color: #007bff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-style-selected {
    padding: 8px 16px;
    border: 2px solid #007bff;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-style:hover {
    padding: 8px 16px;
    border: 2px solid #50a4fe;
    background-color: #50a4fe;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* .checkbox-group input[type="checkbox"]:checked + .button-style {
    background-color: #007bff;
    color: #fff;
} */

.search-group {
    display: flex;
    justify-content: flex-start;
    padding-left: 10px;
    padding-top: 10px;
}

.search-group button {
    /* margin: 0 5px; */
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* 新增按钮样式 */
.button-group {
    display: flex;
    justify-content: flex-start;
    padding: 10px 10px 10px 0px;
    /* padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px; */
}

.button-group button {
    /* margin: 0 5px; */
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button-group button:hover {
    background-color: #0056b3;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
}
.chat-input button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.chat-input button:hover {
    background-color: #0056b3;
}
.message {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}
.message.user {
    justify-content: flex-end;
}
.message.bot {
    justify-content: flex-start;
}
.message .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
}
.message .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    background-color: #d4caca;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
}
.message.user .user-avatar {
    background-color: #d130e3;
}
.message.bot .avatar {
    background-color: #45e365;
}
.message .text {
    max-width: 70%;
    padding: 10px;
    border-radius: 8px;
    background-color: #a8eaaf;
    word-wrap: break-word; /* 添加此行 */
    overflow-wrap: break-word; /* 添加此行 */
}
.message.user .text {
    background-color: #dcfcdd;
}
.message.bot .text {
    background-color: #f2f1f1; /* 修改为淡灰色 */
}

.user-input {
    height: 88px;
    font-size: 18px;
}

.btn-chat {
    width: 80px;
}

.user-input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.user-input-field {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
}

.submit-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-button:hover {
    background-color: #0056b3;
}

.chat-input-container {
    display: flex;
    align-items: flex-start;
}

.chat-input-group {
    width: 100%;
}

.upload-group {

}

.el-upload-dragger  {
    width: 300px;
}