.slider-container {
    position: relative;
    display: inline-flex;
    background-color: #f3f4f6;
    border-radius: 8px;
    padding: 4px;
}
.slider-option {
    position: relative;
    z-index: 2;
    padding: 6px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 14px;
}
.slider-active {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    border-radius: 6px;
    background-color: #007aff;
    z-index: 1;
    transition: transform 0.3s ease;
}
.box.auto_content{
    /*position: relative;*/
    /*top: 0px;*/
    /*border: 0px;*/
    /*left: 0px;*/
    /*right: 0px;*/
    /*!* margin: 0px 20px; *!*/
    /*display: block;*/
    border-radius: 0 0 10px 10px;
    /*flex-grow: 1;*/
    /*overflow: auto;*/
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}


/*body {*/
/*    font-family: 'Microsoft YaHei', sans-serif;*/
/*    background-color: #f5f5f5;*/
/*    padding: 20px;*/
/*}*/
.box-content{
    position: relative;
    display: flex;
    flex-direction: column;
    height: calc(100% - 100px);
}
.container1 {
    min-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    transition: box-shadow 0.3s ease; /* 平滑过渡效果 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 默认阴影 */
    width: 98%;
    flex-grow: 1;
    margin-bottom: 10px;
    min-height: 400px;
    max-width: 900px;
}

.chat-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 auto;
    background-color: #f2f2f2;
    padding: 20px;
    min-height: 100%;
    height: 100%;
    overflow-y: scroll;
}
.auto_content{
    flex-grow: 1;
    overflow: auto;
    border-radius: 0;
}
.auto_content .btn{
    padding: 8px !important;
    font-size: 14px;
    height: 28px;
    line-height: 10px;
    gap: 5px;
    display: inline-flex;
}
.message {
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-message {
    background-color: #fff;
    border: 1px solid #d1e7ff;
    align-self: flex-end;
    max-width: 100%;
    word-wrap: break-word;
    padding: 6px 14px;
    /*width: 90%;*/
}

.system-message {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    align-self: flex-start;
    max-width: 100%;
    word-wrap: break-word;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    /*width: 90%;*/
}
.feedback-btn{
    /*border: 1px solid #0d62c9 !important;*/
    /*background: none !important;*/
    /*color: #0d62c9 !important;*/
}
.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

.message-content p{
    /*margin-bottom: 15px;*/
    white-space: pre-line;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    /*flex-wrap: wrap;*/
}
.action-buttons .btn{
    margin-bottom: 4px;
}
.btn-primary {
    background-color: #1a73e8;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    height: 33px;
    line-height: 17px;
}

.btn-primary:hover {
    background-color: #0d62c9;
}

.input-area {
    display: flex;
    gap: 10px;
    margin: 30px auto;
    /*width: 70%;*/
    align-items: start;
}

.form-control {
    flex-grow: 1;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    height: 120px;
}

.btn-submit {
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: #0d62c9;
}
