﻿<!--
行业菜单导航条-- >
.menu_ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 20%;
    background-color: #f1f1f1;
    position: fixed;
    height: 100%;
    overflow: auto;
}

.text-our-font-family {
    /*font-weight: bold;*/
    /*font-family: "lucida sans unicode", STXihei;*/
}

.menu_ul li a {
    display: block;
    color: #000;
    padding: 15px 0 15px 77px;
    text-decoration: none;
    font-size: 14px;
}

.menu_ul li {
    text-align: left;
    /*border-bottom: 1px solid #555;*/
}

    .menu_ul li:last-child {
        border-bottom: none;
    }

    .menu_ul li a.active {
        background-color: #4CAF50;
        color: white;
    }

    .menu_ul li a:hover:not(.tittle) {
        background-color: #e6e3e3;
        color: #000;
    }

    .menu_ul li .tittle {
        padding: 15px 0 15px 8%;
        background-color: #fff;
        color: #000 !important;
        font-size: 16px;
    }

/*阴影效果*/
.out, .in {
    /*    width: 300px;
    height: 150px;*/
    border: 1px solid #BFBFBF;
    margin: 2px auto;
}

.out {
    box-shadow: 0px 0px 2px 2px #F6F6F6;
}

.in {
    box-shadow: 0px 0px 2px 2px #F6F6F6 inset;
}

.boxDotted {
    margin-left: 35px;
    width: 110px;
    border-bottom-style: dotted;
    border-width: 1px;
}

.layui-col-space25 {
    margin-top: 0px;
}

.layui-carousel-arrow {
    margin-left: -3%;
    top: 50%;
    right: -57%;
    width: 60px;
    height: 60px;
    font-size: 42px;
}

    .layui-carousel-arrow[lay-type=add] {
        margin-right: -3%;
    }

.layui-carousel-ind {
    position: relative;
    top: -10px !important;
    left: -10px !important;
}

    .layui-carousel-ind li {
        width: 15px;
        height: 15px;
    }

.layui-nav-tree .layui-nav-item a {
    font-size: 17px;
    color: #000 !important;
    background-color: #fff;
}

.layui-nav-tree .layui-nav-child a {
    font-size: 17px;
}

.layui-nav-itemed1 a:hover {
    background-color: #eee !important;
}

.layui-nav-child dd:hover {
    background-color: #eee !important;
}

.layui-nav-more {
    /*display: none !important;*/
}

.layui-nav-child dd.layui-this a, .layui-nav-child dd.layui-this {
    background-color: #eee !important;
}

.layui-form-checkbox[lay-skin=primary] span {
    color: #000;
    padding-left: 5px !important;
}

.layui-form-checkbox[lay-skin=primary] i {
    margin: 0 3px !important;
}
.layui-form-checkbox[lay-skin=primary] {
    padding-left: 18px;
}

.layui-col-xs12 .report-text {
    position: absolute;
    top: 77%;
    left: 17.5%;
}

.layui-carousel > [carousel-item] > * {
    background-color: #ebf0f6;
}

.layui-col-sm6 .report-text {
    position: absolute;
    top: 77%;
    left: 17.5%;
}

.report {
    float: left;
    margin-left: 3.4%;
}

    .report img {
        margin-top: 7%;
        width: 100%;
    }


.fenye {
    padding: 0 5%;
}

.fenye1 {
    color: #fff;
    font-size: 17px;
}

.layui-fluid {
    position: static;
}

.ant-checkbox {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: rgba(0,0,0,.85);
    font-size: 14px;
    font-variant: tabular-nums;
    line-height: 1.5715;
    list-style: none;
    font-feature-settings: "tnum";
    position: relative;
    top: 0.2em;
    line-height: 1;
    white-space: nowrap;
    outline: none;
    cursor: pointer;
    float: left;
}

.ant-checkbox-input {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

.ant-checkbox-inner {
    position: relative;
    top: 2px;
    left: 3px;
    display: block;
    width: 16px;
    height: 16px;
    direction: ltr;
    background-color: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    border-collapse: separate;
    transition: all .3s;
}
.ant-checkbox + span {
    /*padding-right: 8px;*/
    padding-left: 8px;
    color: #000 !important;
}


/* 新css */
/* 搜索区域样式 */
.search-container {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input-group {
    flex: 1;
    position: relative;
}

.search-input {
    padding-right: 100px !important;
}

/* 筛选按钮样式 */
.filter-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0 15px;
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
    background: #f2f2f2;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
    border: none;
}

    .filter-btn:hover {
        background: #e6e6e6;
        color: #009688;
    }

    .filter-btn.active {
        background: #009688;
        color: #fff;
    }


/* 标签样式 */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
}

.filter-tag {
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #1890ff;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .filter-tag i {
        cursor: pointer;
        font-size: 12px;
    }

        .filter-tag i:hover {
            color: #ff4d4f;
        }

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 美化表单样式 */
.layui-form-item {
    margin-bottom: 15px;
}

.layui-form-label {
    width: 100px;
}

.layui-input-block {
    margin-left: 130px;
}

.filter-footer {
    border-top: 1px solid #eee;
    margin-top: 15px;
    padding-top: 15px;
    text-align: right;
}

/* 添加或修改以下 CSS */
.ai-response {
    transition: all 0.3s ease-out;
    opacity: 1;
    max-height: 500px;
}

    .ai-response.collapsed {
        opacity: 0;
        max-height: 0;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }

#AIsearch_Content {
    transition: all 0.3s ease-out;
}

/* 确保加载指示器在折叠状态下不可见 */
.ai-response.collapsed #AISearch_detail_loading,
.ai-response.collapsed #AIsearch_Content_wait {
    display: none !important;
}

.ai-answer,
.ai-references {
    flex: 1;
}

.report-list {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.report-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

    .report-item:last-child {
        border-bottom: none;
    }

/* 添加到你的 style 标签中 */
.ai-answer ul {
    position: relative;
    padding: 10px 0;
    overflow-y: auto;
    /* 确保滚动条功能正常 */
    max-height: 294px;
    height: 100%;
    scrollbar-width: thin;
    /* Firefox: 使用细滚动条 */
    scrollbar-color: #ccc transparent;
    /* Firefox: 设置滚动条颜色 */
}

    /* 设置 Webkit 浏览器的滚动条样式 */
    .ai-answer ul::-webkit-scrollbar {
        width: 8px;
        /* 设置滚动条宽度 */
    }

    .ai-answer ul::-webkit-scrollbar-thumb {
        background-color: #ccc;
        /* 设置滚动条颜色 */
        border-radius: 4px;
        /* 设置滚动条圆角 */
    }

    .ai-answer ul::-webkit-scrollbar-track {
        background: transparent;
        /* 设置滚动条轨道背景 */
    }

.ai-answer {
    position: relative;
}

    /* 顶部渐变遮罩 */
    .ai-answer::before {
        content: '';
        position: absolute;
        top: 20px;
        /* 调整位置以避免遮住标题 */
        left: 0;
        right: 0;
        height: 30px;
        background: linear-gradient(to bottom, #fff, transparent);
        pointer-events: none;
        z-index: 1;
        opacity: 0;
        transition: opacity 0.3s;
    }

    /* 底部渐变遮罩 */
    .ai-answer::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 30px;
        background: linear-gradient(to top, #fff, transparent);
        pointer-events: none;
        z-index: 1;
        opacity: 0;
        transition: opacity 0.3s;
    }

    /* 当内容可滚动时显示渐变 */
    .ai-answer.can-scroll::before,
    .ai-answer.can-scroll::after {
        opacity: 1;
    }

    /* 当滚动到顶部时隐藏顶部渐变 */
    .ai-answer.at-top::before {
        opacity: 0;
    }

    /* 当滚动到底部时隐藏底部渐变 */
    .ai-answer.at-bottom::after {
        opacity: 0;
    }


/* 添加到你的 style 标签中 */
/* 添加到你的 style 标签中 */
.ai-toggle-container {
    text-align: right;
    margin-bottom: 10px;
}

.ai-toggle-btn {
    padding: 5px 15px;
    border-radius: 4px;
    background-image: linear-gradient(to right, #667db6, #0082c8, #667db6);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

    .ai-toggle-btn:hover {
        background: #00877a;
    }

    .ai-toggle-btn i {
        transition: transform 0.3s;
    }

    .ai-toggle-btn.collapsed i {
        transform: rotate(-180deg);
    }


.layui-btn {
    background-image: linear-gradient(to right, #667db6, #0082c8, #667db6);
}

/* 搜索区域样式 */
.search-container {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input-group {
    flex: 1;
    position: relative;
}

.search-input {
    padding-right: 100px !important;
}

/* 筛选按钮样式 */
.filter-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0 15px;
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
    background: #f2f2f2;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
    border: none;
}

    .filter-btn:hover {
        background: #e6e6e6;
        color: #009688;
    }

    .filter-btn.active {
        background: #009688;
        color: #fff;
    }

/* 筛选面板样式 */
.filter-panel {
    display: none;
    position: absolute;
    /*top: calc(100% + 10px);*/
    top: 120px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 0 20px;
    z-index: 1000;
}

    .filter-panel.show {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

/* 标签样式 */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
}

.filter-tag {
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #1890ff;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .filter-tag i {
        cursor: pointer;
        font-size: 12px;
    }

        .filter-tag i:hover {
            color: #ff4d4f;
        }

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 美化表单样式 */
.layui-form-item {
    margin-bottom: 15px;
}

.layui-form-label {
    width: 100px;
}

.layui-input-block {
    margin-left: 130px;
}

.filter-footer {
    border-top: 1px solid #eee;
    margin-top: 15px;
    padding-top: 15px;
    text-align: right;
}

/* AI回答框和报告列表样式 */
/*.ai-response {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
}*/

.ai-answer,
.ai-references {
    flex: 1;
}

.report-list {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.report-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

    .report-item:last-child {
        border-bottom: none;
    }

/* 添加到你的 style 标签中 */
.ai-answer ul {
    position: relative;
    padding: 10px 0;
    overflow-y: auto;
    /* 确保滚动条功能正常 */
    max-height: 294px;
    height: 100%;
    scrollbar-width: thin;
    /* Firefox: 使用细滚动条 */
    scrollbar-color: #ccc transparent;
    /* Firefox: 设置滚动条颜色 */
}

    /* 设置 Webkit 浏览器的滚动条样式 */
    .ai-answer ul::-webkit-scrollbar {
        width: 8px;
        /* 设置滚动条宽度 */
    }

    .ai-answer ul::-webkit-scrollbar-thumb {
        background-color: #ccc;
        /* 设置滚动条颜色 */
        border-radius: 4px;
        /* 设置滚动条圆角 */
    }

    .ai-answer ul::-webkit-scrollbar-track {
        background: transparent;
        /* 设置滚动条轨道背景 */
    }

.ai-answer {
    position: relative;
}

    /* 顶部渐变遮罩 */
    .ai-answer::before {
        content: '';
        position: absolute;
        top: 20px;
        /* 调整位置以避免遮住标题 */
        left: 0;
        right: 0;
        height: 30px;
        background: linear-gradient(to bottom, #fff, transparent);
        pointer-events: none;
        z-index: 1;
        opacity: 0;
        transition: opacity 0.3s;
    }

    /* 底部渐变遮罩 */
    .ai-answer::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 30px;
        background: linear-gradient(to top, #fff, transparent);
        pointer-events: none;
        z-index: 1;
        opacity: 0;
        transition: opacity 0.3s;
    }

    /* 当内容可滚动时显示渐变 */
    .ai-answer.can-scroll::before,
    .ai-answer.can-scroll::after {
        opacity: 1;
    }

    /* 当滚动到顶部时隐藏顶部渐变 */
    .ai-answer.at-top::before {
        opacity: 0;
    }

    /* 当滚动到底部时隐藏底部渐变 */
    .ai-answer.at-bottom::after {
        opacity: 0;
    }


/* 添加到你的 style 标签中 */
/* 添加到你的 style 标签中 */
.ai-toggle-container {
    text-align: right;
    margin-bottom: 10px;
}

.ai-toggle-btn {
    padding: 5px 15px;
    border-radius: 4px;
    background-image: linear-gradient(to right, #667db6, #0082c8, #667db6);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

    .ai-toggle-btn:hover {
        background: #00877a;
    }

    .ai-toggle-btn i {
        transition: transform 0.3s;
    }

    .ai-toggle-btn.collapsed i {
        transform: rotate(-180deg);
    }

/* 控制 AI 回答框的显示/隐藏 */
.ai-response {
    max-height: 500px;
    /* 根据实际需求调整 */
    overflow: hidden;
    transition: all 0.3s ease-out;
    
}

    .ai-response.collapsed {
        max-height: 0;
        margin: 0;
        padding: 0;
    }

.layui-btn {
    background-image: linear-gradient(to right, #667db6, #0082c8, #667db6);
}

/* 方案1：柔和的灰色阴影（最常用） */
.MIR-Class-Scrollbar {
    position: relative;
    overflow: auto;
    max-height: 380px;
    background:
    /* 顶部白色渐变遮罩 */
    linear-gradient(white 30%, rgba(255, 255, 255, 0)) center top,
    /* 底部白色渐变遮罩 */
    linear-gradient(rgba(255, 255, 255, 0), white 70%) center bottom,
    /* 顶部阴影效果 - 使用rgba(0,0,0,0.1)实现柔和的灰色阴影 */
    radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) center top,
    /* 底部阴影效果 - 使用rgba(0,0,0,0.1)实现柔和的灰色阴影 */
    radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) center bottom;
    background-repeat: no-repeat;
    background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
    background-attachment: local, local, scroll, scroll;
}

    .MIR-Class-Scrollbar.no-scroll {
        background: none;
    }

    .MIR-Class-Scrollbar.at-top {
        background: linear-gradient(rgba(255, 255, 255, 0), white 70%) center bottom, radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) center bottom;
        background-repeat: no-repeat;
        background-size: 100% 40px, 100% 14px;
        background-attachment: local, scroll;
    }

    .MIR-Class-Scrollbar.at-bottom {
        background: linear-gradient(white 30%, rgba(255, 255, 255, 0)) center top, radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) center top;
        background-repeat: no-repeat;
        background-size: 100% 40px, 100% 14px;
        background-attachment: local, scroll;
    }

/* 调整样式以适应你的界面 */
.smart-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    width: 100%;
}

.loading-animation {
    margin-bottom: 5px;
}

/* loading 动画 */
.typing-indicator {
    display: flex;
    gap: 5px;
    justify-content: center;
}

    .typing-indicator span {
        width: 8px;
        height: 8px;
        background-color: #1E9FFF; /* 使用layui的主题蓝色 */
        border-radius: 50%;
        animation: bounce 1.4s infinite ease-in-out;
    }

        .typing-indicator span:nth-child(1) {
            animation-delay: -0.32s;
        }

        .typing-indicator span:nth-child(2) {
            animation-delay: -0.16s;
        }
/* loading 动画 end */

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.loading-message {
    color: #666;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* 搜索区域的样式合集 */
/* 搜索区域的基础样式 */
#id_search_div_classCro1 {
    max-height: 520px; /* 初始状态为展开 */
    opacity: 1; /* 初始状态完全显示 */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out, margin 0.3s ease-in-out, padding 0.3s ease-in-out; /* 添加平滑过渡效果 */
    display: flex; /* 初始状态为flex布局 */
    
}

    /* 隐藏状态的样式 */
    #id_search_div_classCro1.hide {
        max-height: 0;
        opacity: 0;
        margin: 0;
        padding: 0;
    }

/* 按钮样式 */
#collapseSearchBtn {
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* 按钮图标样式和动画 */
    #collapseSearchBtn img {
        transition: transform 0.3s ease;
        width: 24px;
        padding: 0 2px;
    }

    /* 收起状态时图标旋转 */
    #collapseSearchBtn.collapsed img {
        transform: rotate(180deg);
    }

    /* 按钮悬停效果 */
    #collapseSearchBtn:hover {
        opacity: 0.8;
        transform: scale(1.05); /* 添加轻微放大效果 */
    }

    /* 按钮点击效果 */
    #collapseSearchBtn:active {
        transform: scale(0.95); /* 添加轻微按压效果 */
    }
/* end搜索区域的样式合集 */


/* 按钮样式 */
#filterApplyBtn .layui-btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

    #filterApplyBtn .layui-btn:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    }

/* 图标样式 */
#filterApplyBtn .layui-icon {
    margin-right: 5px;
}