
.input-div{
    width: 100px;
    height: 25px;
    border:1px solid #DDD;
    margin: 0px 5px;
}

.close-upload-div{
    float: right;
    border: none;
    display: flex;
    justify-content: center;
}


.ai-upload-wrap {
    background: #4E71F2;
    border-radius: 6px;
    width: 80px;
    height: 30px;
    line-height: 31px;
    text-align: center;
    color: #fff;
    font-size: 13px;
    border: 0;
    position: relative;
    margin: 0 auto;
    /*margin-left: 420px;*/
}
.upload-pic {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    font-size: 0;
    outline: 0;
    opacity: 0;
    filter: alpha(opacity = 0);
    margin-left: -18px;
    z-index: 1;
    cursor: pointer;
    margin-left: 0;
    left: 0;
    top: 0;
}

.ai-upload-wrap input{
    padding-top: 0;
    padding-bottom: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 0;
    -webkit-appearance: none;
}



.ai-upload-div{
    margin-top: 12px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .1);
    border-radius: 10px;
    font-size: 13px;
    color: #9195A3;
    width: 900px;
    height: 170px;
    margin: auto;
}

.close-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    background: url('../../../images/closeBut.png') no-repeat center center;
    background-size: cover;
    cursor: pointer;
    border: none;
}

.soutu-drop {
    border: 1px dashed #D7D9E0;
    border-radius: 2px;
    background: #fff;
    height: 70px;
    padding: 0;
    line-height: 69px;
    line-height: 69px;
    text-align: center;
    margin-bottom: 16px;
}

.thumbnail-div{
    position: relative;
    z-index: 1;
    display: none;
}

.show-thumbnail{
    max-width: 480px;
    max-height: 200px;
    border: none;
}

.ai-label-div{
    border-radius: 6px;
    width: 900px; margin-left: auto;
    margin-right: auto;
    overflow: visible;
    align-self: start;
    background: #f8f8f8;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    padding: 15px 0px;
}

.grid-item {
    padding: 0px;text-align: left;
    box-sizing: border-box;
}
.grid-item.checkbox {
    flex: 0 0 calc(25% - 0px);
}

.grid-item.date {
    flex: 0 0 calc(50% - 0px);
}
.grid-item.input {
}

@media (max-width: 992px) {
    .grid-item.checkbox {
        flex: 0 0 calc(25% - 0px);
    }
    .grid-item.date{
        flex: 0 0 calc(50% - 0px); /* 每行 2 个 */
    }
    .grid-item.input {
    }
}
.ai-search-div{
    overflow-y: auto;
    box-shadow: 0 3px 6px -6px #000;
    padding: 10px 10px 20px 10px;
    margin-bottom: 60px;
    text-align: center;
    border-radius: 0px 0px 10px 10px;
    width: 1260px;
    margin-left: -50px;
    display: none;
}


.chat-container {
    border: 1px solid #ccc;
    border-radius: 28px;
    max-width: 900px;
    background: #fff;
    display: flex;
    flex-direction: column;  /* 垂直排列 */
    margin: auto;
    margin-bottom: 20px;
}

.chat-container .input-area {

    flex: 1;  /* 占据剩余空间 */
    min-height: 40px;
    max-height: 300px;
    line-height: 1.5;
    padding: 12px;
    border: none;
    outline: none;
    resize: none;
    overflow-y: auto;
    font-family: inherit;
    font-size: 16px;
    box-sizing: border-box;
    text-align: left;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.chat-container .button-area {
    /* border-top: 1px solid rgba(246, 246, 246, 0.87);  视觉分割线 */
    justify-content: space-between; /* 使内容两端对齐 */
    align-items: flex-end; /* 垂直居中对齐 */
    padding: 10px;
    display: flex;
}
.chat-container .button-area button img {
    border: none;
}

/* 智能提示语实现 */
.chat-container .input-area[data-placeholder]:empty::before {
    content: attr(data-placeholder);
    color: #999;
    position: absolute;
    pointer-events: none; /* 允许穿透点击 */
}

/* 当获得焦点时隐藏提示语 */
.chat-container .input-area[data-placeholder]:empty:focus::before {
    opacity: 0.4;
}
/* 滚动条样式 */
.chat-container .input-area::-webkit-scrollbar {
    width: 8px;
}
.chat-container .input-area::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

/* 增强提示语可见性 */
.chat-container .input-area[data-placeholder]:empty::before {
    content: attr(data-placeholder);
    color: #999;
    position: absolute;
    pointer-events: none;
    user-select: none; /* 防止误选提示文本 */
    font-style: italic;
}

/* 处理Firefox的<br>残留问题 */
.chat-container .input-area br[data-cke-filler] {
    display: none !important;
}

/* 清除Chrome自动插入的段落间距 */
.chat-container .input-area div {
    margin: 0;
    padding: 0;
}
.chat-container .chat-counter {
    color: #666;
    font-size: 13px;
    padding: 0px 15px 0px 0px;
    width: 150px;
    text-align: right;
}
.chat-container .upload-btn {
    background: url(../../../images/fu.png) center no-repeat;
    width: 52px;
    height: 23px;
    background-size: 45% 100%;
}
.chat-container .search-btn{
    background: url(../../../images/icon-search-ai.png) center no-repeat;
    width: 52px;
    height: 23px;
    background-size: 45% 100%;
}
.chat-container .right-buttons {
    display: flex;
    align-items: center;
}
.ai-search-img {
    margin-bottom: -6px;
    border: none;
    cursor: pointer;
}

/* similarity-slider */
.similarity-slider {
    display: flex;
    /*font-size: 13px;*/
    padding: 0px 15px;
    /*color: #666;*/
    /*flex: 0 0 calc(50% - 5px);*/
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.similarity-slider .slider-container.no-background {
    background-image: none;
}
.similarity-slider .slider-container.unsort {
    background-image: url('../../images/unsort.png');
}
.similarity-slider .slider-container.sort-down {
    background-image: url('../../images/sort-down.png');
}

.similarity-slider .slider-label{
    align-items: center;
    font-size: 14px;
    display: flex;
}
.similarity-slider .slider-background:hover {
    background-color: rgba(208, 208, 208, 0.85);
}
.ai-search-results {
    display: flex;
    width:  100%;
    justify-content: space-between;
    padding: 0px 0px 10px 10px;
}
#ai_slider { width: 200px; }
#ai_slider.ui-slider-horizontal{
    height: .3em;
    border:none;
    background-color: #efefef;
}
#ai_slider .ui-slider-handle {
    transition: background 0.2s;
    background: #2196F3;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    border:  none;
    outline: none ;
    box-shadow: none ;
}
#ai_slider .ui-slider-range { background: #1296db; }
#ai_slider .ui-slider-handle:hover { background: #1976D2; }
#ai_slider .ui-slider-handle:active { background: #0D47A1; }

