
.ai-agent .ai-collapse {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    cursor: pointer;
}
.ai-agent .showCreatingImgClass{
    display: flex;
    align-items: center;
    justify-content: center;
}
.agent-parameter {
    height: 79px;
    color: white;
    position: relative;
    bottom: 30px;
}
.agent-model{
    width:48%;
    margin-left:3px;
    float:left;
}
.ai-media .custom-file-input {
    display: inline-block;
    position: relative;
    overflow: hidden;
    background-color: #3c4758;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    height: 100px;
    font-size: 12.5px;
}
.show-example{
    height:200px;
    width:100%;
    border: 1px solid gray;
    border-radius: 8px;
    overflow: hidden;
}
.ds-generate-agent{
    position: relative;
    margin-top: 5px;
    justify-content: center;
    color: white;
}
.generate-media-agent-text{
    position: relative;
    left:14px;
    width:106px;
    justify-content: center;
    color: white;
}
.ai-agent .showCreatingImgClass::before {
    content: "创作中";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.ai-agent  .arrow {
    transition: transform 0.3s ease;
}
.show-agent-space{
    position: relative;
    float: left;
    width: 100%;
    height: 40px;
    margin-left: 5px;
}

.show-agent-space .show-agent-type{
    float: left;
    width: 30%;
    font-size: 15px;
    font-weight: 600;
    line-height: 26px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.show-agent-space .show-agent-size{
    margin-left: 9px;
    float: left;
    width: 23%;
    height: 29px;
    padding: 4px 8px;
    text-align: center;
    font-size: 13px;
    line-height: 20px;
    border-radius: 4px;
    background: #ffffff1f;
    color: #f9fbfcff;
}

.show-agent-space .show-agent-num{
    margin-left: 9px;
    float: left;
    width: 15%;
    height: 29px;
    padding: 4px 8px;
    text-align: center;
    font-size: 13px;
    line-height: 20px;
    border-radius: 4px;
    background: #ffffff1f;
    color: #f9fbfcff;
}
.show-agent-space .show-agent-score{
    margin-left: 9px;
    float: left;
    display: flex;
    width: 14%;
    height: 29px;
    padding: 4px 8px;
    text-align: center;
    font-size: 13px;
    line-height: 20px;
    border-radius: 4px;
    background: #ffffff1f;
    color: #f9fbfcff;
}
.show-agent-space .show-agent-logo{
    float: left;
    position: relative;
    right: 6px;
    top: 3px;
}
.ai-agent  .arrow.up {
    transform: rotate(180deg);
}

.ai-agent input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #007BFF;
    cursor: pointer;
    border-radius: 50%;
}
.finished{
  height: 383px;
}
.bottom-bg{
    width: 98%;
    max-height: 56px;
    height:56px;
    margin-top:3px;
    margin-left: 6px;
    color: rgba(224, 245, 255, .6);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ai-agent input[type=range]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #007BFF;
    cursor: pointer;
    border-radius: 50%;
}
.ai-agent .check-func.checked{
    background: #e7244e  !important;
}
.ai-agent .title .generate-media-agent.checked {
    background: #e7244e !important;
}
.ai-agent .agent-preview{
    /*margin-left:5px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    float: left;
    height: 53%;
    border-radius: 8px;
    border: 1px solid gray;
    cursor: pointer;
    background-color: rgba(204, 221, 255, .06);
}
.ai-agent .agent-pick-btn{
    cursor: pointer;
}

.ai-agent .agent-container {
    max-height: 30vh;
    width:100%;
    overflow-y: auto;
}

.ai-agent .agent-wrapper {
    position: relative;
    margin-bottom: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.ai-agent .agent-wrapper img {
    height: 151px;
    width: auto;
    display: block;
    float: left;
    margin-left: 10px;
}

.ai-agent .action-buttons {
    position: absolute;
    top: 5px;
    right: 5px;
}

.ai-agent .agent-text-input {
    background: #4a4b4d;
    width: 94%;
    margin-top: 3px;
    padding: 13px 5px 9px 7px;
    color: #fff;
    border-radius: 6px;
    border: 1px solid gray;
    background: #252728;
    font-family: PingFang SC;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    outline: none;
    box-shadow: none;
}
.ai-agent .action-buttons button {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.agent-model{
    width: 48%;
    float: left;
    margin-left: 7px;
    margin-top: 7px;
}
/* 外层容器 */
.multi-select-container {
    position: relative;
    display: inline-block;
    width: 99%;
    bottom: 12px;
}

/* 下拉显示框 */
.multi-select-input {
    padding: 5px 14px;
    border: 1px solid gray;
    border-radius: 6px;
    background: black;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
}

/* 下拉面板 —— 【改为向上打开】 */
.multi-select-panel {
position: absolute;
    bottom: 42px;
    left: 0;
    width: 100%;
    background: var(--color-bg-b0);
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    box-sizing: border-box;
    z-index: 999;
    color: #b6bbc2ff;
    display: none;
}

/* 每组选项 */
.option-group {
    margin-bottom: 12px;
}
.option-group label {
    display: block;
    font-size: 14px;
    color: #b6bbc2ff;
    margin-bottom: 6px;
    font-weight: 500;
}

/* 选项按钮样式 */
.option-items {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.option-item {
    padding: 4px 10px;
    border: 1px solid #2d2f33ff;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    color: gray;
    width: 68px;
    text-align: center;
}
.option-item.active {
    background: #ffffff1f;
    color: white;
    border-color: #ffffff1f;
}

/* 显示面板 */
.multi-select-panel.show {
    display: block;
}

/* 外层容器 */
.model-select-container {
    position: relative;
    left: 29%;
    bottom: 32px;
    display: inline-block;
    width: 70%;
}

/* 下拉显示框 */
.model-select-input {
    padding: 5px 14px;
    width: 100%;
    border: 1px solid gray;
    border-radius: 6px;
    background: black;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
}

/* 下拉面板 —— 向上弹出 */
.model-select-panel {
    position: absolute;
    bottom: 46px; /* 向上打开 */
    left: 0;
    width: 100%;
    max-height: 360px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
    box-sizing: border-box;
    z-index: 999;
    display: none;
}

/* 模型选项 */
.model-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}
.model-item:hover {
    background-color: #f7fafe;
}
.model-item.active {
    background-color: #e8f3ff;
    border-left: 3px solid #409eff;
}

/* 模型名称 */
.model-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

/* 模型介绍 */
.model-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

/* 模型参数 */
.model-param {
    font-size: 12px;
    color: #999;
}

/* 显示面板 */
.model-select-panel.show {
    display: block;
}
.agent-parameter .generate-type{
    padding: 5px 14px;
    width: 27%;
    height: 32px;
}
.ai-left{
    width: 68%;
    z-index:9999;
}
.ai-right{
    z-index:55;
}