* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page {
    width: 100%; 
    height:100%;
    background-color: #fff;
    display: flex;
    justify-content: flex-start; /* 确保左导航固定在左侧 */
}
.pagexws {
    width: 100%; /* 改为100%而非100vw */
    height:100%;
    background-color: #f8f8f8;
    display: flex;
    justify-content: flex-start; /* 确保左导航固定在左侧 */
}
a {
    text-decoration: none;
}

.left-nav {
    position: absolute;
    width: 15%;
    height: 100%;
    background: #F7F8FC;
    border-radius: 0px 0px 6px 6px;
    border-right: 1px solid #D9D9D9;
    z-index: 1000; /* 确保导航在最上层 */
}

.back-text {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    text-align: left;
    font-style: normal;
    text-transform: none;
    cursor: pointer;
    margin-left: 8px;
}

.back-text:hover {
    color: #183F99
}

.back-box {
    width: 100%;
    display: flex;
    align-items: center;
    padding-top: 10px;
}

.nav-text {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 14px;
    color: #333333;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-left: 8px;
}

.nav-list {
    width: 100%;
    padding-top: 30px;
}

.nav-item {
    margin: 12px auto;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-item:hover {
    width:50%;
    background: #EDEFF5;
    border-radius: 6px 6px 6px 6px;
}


.law-tool h3.active {
            color: #165DFF; /* 蓝色 */
        }

.law-tool h3 {
            color: #333;
        }

.history-box {
    display: none;
    /* 默认隐藏 */
    width: 12.6vw;
    background: #FFFFFF;
    box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, 0.15);
    border-radius: 0px 0px 0px 0px;
}

.history-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    width: 100%;
    border-bottom: 1px solid #eee;
}

.tab {
    display: inline-block;
    margin-right: 15px;
    color: #999;
    cursor: pointer;
    position: relative;
    padding-bottom: 8px;
}

.tab.active {
    color: #183F99;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #183F99;
}

.cancel-icon {
    cursor: pointer;
    transition: opacity 0.2s;
}

.cancel-icon:hover {
    opacity: 0.8;
}

.his-serach {
    padding: 8px 10px; /* 增加内边距代替固定高度 */
    background: #F0F4FF;
    margin: 20px auto;
    display: flex;
    white-space: nowrap;
    align-items: center;
    border-radius: 6px 6px 6px 6px;
}

.search-input {
    border: none;
    margin-left: 5px;
    background-color: transparent;
    border: none !important;
    outline: none !important;
}

.history-list {
    width: 100%;
    position: relative;
}

.no-data {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 12px;
    color: #999999;
    width: 100%;
    text-align: center;
    font-style: normal;
    text-transform: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.open-btn {
    width: 112px;
    padding: 8px 0; /* 增加内边距代替固定高度 */
    background: #FFFFFF;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
    border-radius: 12px 12px 12px 12px;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 14px;
    color: #333333;
    text-align: center; /* 改为居中对齐 */
    font-style: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: none;
    margin: 20px;
}
.twtb{display: flex; align-items: center; gap: 8px;padding-left: 20px;}
.open-btn:hover {
    color: #183F99;
}

.open-text {
    margin-left: 5px;
}

.right-ai-content {
    width: 100%;
    height: auto;
    overflow-y: visible;
    position: relative;
    z-index: 1;
    margin-left: auto; /* 关键：使.right-ai-content自身在.page中水平居中 */
    margin-right: 0; /* 与左侧导航对齐 */
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center; /* 使内部内容水平居中 */
}
.right-ai-content > * {
    max-width: 1200px;
    width: 100%; /* 确保内容宽度适当 */
    margin-left: auto;
    margin-right: auto;
}
.ai-title {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: bold;
    font-size: 36px;
    color: #333333;
    text-align: center;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    font-style: normal;
    text-transform: none;
}

.ai-content {
    background-color: #fff;
    width: 90%; /* 改为百分比宽度 */
    max-width: 900px; /* 添加最大宽度限制 */
    margin: 10px auto; /* 保持居中 */
    border-radius: 10px 10px 10px 10px;
}

.ai-sub-title {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 700;
    font-size: 16px;
    color: #F44336;
    padding: 15px 15px 15px 15px;
    font-style: normal;
    width: 100%;
    text-transform: none;
}

.anli-type {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}

.anli-item {
    width: 84px;
    padding: 6px 0; /* 增加内边距代替固定高度 */
    background: #EBEBEB;
    border-radius: 6px 6px 6px 6px;
    text-align: center;
    line-height: normal; /* 重置行高 */
    margin-right: 20px;
    cursor: pointer;
}

.anli-item.active {
    background: #E4EDFF;
    color: #4077F7;
}

.anli-text {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 16px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-area.dragover {
    border-color: #E93F3F;
    background-color: rgba(233, 63, 63, 0.1);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-tips {
    color: #999;
    font-size: 12px;
}

.ai-textarea {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    height: 126px;
    background: #FFFFFF;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.15);
    margin-top: 60px;
    position: relative;
    border-radius:10px;
}

.ai-textareaxwssy {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    height: 126px;
    background: #FFFFFF;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.15);
    margin-top: 60px;
    position: relative;
    border-radius:10px;
}

.ai-textareaxws {
    width: 90%;
    max-width: 900px;
    height: 200px;
    background: #FFFFFF;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.15);
    margin-top: 58px;
    position: relative;
    border-radius:10px;
}

.ai-type {
    position: absolute;
    bottom: 4px;
    left: 22px;
}

.ai-type-img {
    cursor: pointer;
}

.ai-type-img:hover {
    background-color: #f8f8f8;
}

.ai-start-img:hover {
    background-color: #f8f8f8;
}


.ai-start {
    position: absolute;
    right: 16px;
    bottom: 16px;
}

.ai-start-img {
   position: absolute;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 100%;
    object-fit: cover;
}

.ai-input {
    border: none !important;
    outline: none !important;
    resize: none;
    overflow-y: auto;
    width: 100%;
    padding: 20px 10px 20px 20px;
    font-size: 16px;
    height: 100% !important;
    /* 初始高度 */
}

.ai-ques {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 16px;
    color: #666666;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-top: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-ques-change {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding-right: 20px;
}

.ai-ques-change:hover {
    color: #183F99;
}

.question-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.question-item {
    height: 42px;
    background: #F2F3F7;
    border-radius: 6px 6px 6px 6px;
    width: 45%;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 700;
    font-size: 16px;
    color: #666666;
    margin-left: 20px;
    padding-left: 16px;
    margin-right: 20px;
    padding-right: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 34px;
    line-height: 42px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    cursor: pointer;
}

.question-item:hover {
    color:blue;
}

.ai-search-results {
    width: 51vw;
    height: 70%;
    overflow: auto;
    margin: 20px auto;
}

.ai-search-results-close {
    width: 51vw;
    height: 20%;
    margin: 20px auto;
}

.jsz-box {
    width: 75vw;
    margin-left: 22px;
    justify-content: space-between;
}
.jswc-box {
        width: 62vw;
    justify-content: space-between;
}

.loading-left {
    background-color: #fff;
    width: 51vw;
}
.wc-left {
        background-color: #fff;
    width: 51vw;
}

.loading-right {
    width: 25vw;
    padding: 20px;
}
.loading-right-text {
    width: 90%;
    margin: 20px auto;
    background-color: #fff;
    padding: 10px;
}

.law-tool {
  display: flex;
  align-items: center;
  width: 270px;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: transform 0.2s ease;padding: 10px;
  background-color: #f5f7fa; 
}
.icocss{font-size: 28px; color: #165DFF; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px;}
/* 图标容器样式 */
.icon {
  margin-right: 10px;
}

/* 模拟图标的形状样式，实际可替换为图片或字体图标 */
.icon-shape {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: #007bff; /* 蓝色，可按需修改 */
  position: relative;
}

/* 给图标加简单的立体效果（可选），比如模拟立方体的面，可根据需求细化或删除 */
.icon-shape::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

/* 标题样式 */
.title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #333;
}

/* 描述文字样式 */
.desc {
  font-size: 14px;
  color: #666;
  margin: 0;
}    
.container{padding:10px;}    
    
/* 光标闪烁动画 */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.loading-right-text::after {
    content: "|";
    animation: blink 1s infinite;
    color: #183F99;
    margin-left: 2px;
}

.loading-box {
    display: flex;
    align-items: center;
    background-color: #fff;
}

.loading-title {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    text-align: left;
    font-style: normal;
    text-transform: none;
    width: 100%;
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2c9c9;
}

.loading-right-title {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    text-align: left;
    font-style: normal;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tzsc-img {
    cursor: pointer;
}
.tzsc-img:hover {
    background-color: #f8f8f8; 
}

.loading-div {
    width: 100%;
    /* height: 90vh; */
    padding: 20px;
}
.wc-div {
    width: 100%;
    /* height: 90vh; */
    padding: 20px;
}
.gjc-box {
    height: 32px;
background: #F2F3F7;
padding-left: 20px;
border-radius: 6px 6px 6px 6px;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 14px;
color: #333333;
text-align: left;
line-height: 32px;
font-style: normal;
text-transform: none;
}
.wc-anli {
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 16px;
    padding-left: 20px;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2c9c9;
}
.anli-content {
    width: 90%;
    margin: 20px auto;
    background-color: #F2F3F7;
    border-radius: 6px 6px 6px 6px;
    padding: 10px;
}
.anli-content-nav {
    display: flex;
    font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: bold;
font-size: 14px;
color: #666666;
text-align: left;
font-style: normal;
text-transform: none;
}
.anli-content-text {
    margin-top: 12px;
    font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 14px;
height: 145px;
overflow-y: auto;
color: #333333;
text-align: left;
font-style: normal;
text-transform: none;
}
.anli-content-item {
    cursor: pointer;
    margin-right: 20px;
}
.anli-content-item.active {
    color: #183F99;
}
.content-tab {
    display: none;
    padding: 15px;
    line-height: 1.6;
}

.content-tab.active {
    display: block;
}
.anli-item-title {
    font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 20px;
color: #183F99;
text-align: left;
font-style: normal;
text-transform: none;
}
.anli-detial-list {
    width: 100%;
    padding: 20px;
    /* height: 85vh; */
    overflow-y: auto;
    scrollbar-width: none;
}
.anli-info {
    font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 12px;
color: #666666;
text-align: left;
font-style: normal;
text-transform: none;
margin-top: 6px;
}
.sort-item {
    display: flex;
    align-items: center;
    margin-left: 20px;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.sort-item:hover {
    background-color: #f5f5f5;
}

.sort-item.active {
    background-color: #e4edff;
}

.xgd {
    margin-left: 5px;
    font-size: 14px;
    color: #666;
}

.sort-item.active .xgd {
    color: #183F99;
}
.anli-info-item {
    margin-right: 10px;
}
.anli-left {
    display: flex;
    align-items: center;
}
.anli-right {
    display: flex;
    align-items: center;
    font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 14px;
color: #333333;
text-align: left;
font-style: normal;
text-transform: none;
}
.xgd {
    cursor: pointer;
    white-space: nowrap;
}
.sort-dropdown {
    position: relative;
    display: inline-block;
}

.sort-menu {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    width: 140px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 4px;
    z-index: 1000;
}

.menu-item {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item:hover {
    background: #f5f7fa;
}

.check {
    display: none;
    width: 14px;
    height: 14px;
}

.menu-item.active .check {
    display: block;
}

.anli-item2 {
    width: 134px;
    height: 32px;
    background: #EBEBEB;
    border-radius: 6px 6px 6px 6px;
    text-align: center;
    line-height: 32px;
    margin-right: 20px;
    border-right: 1px solid #EBEBEB;
    cursor: pointer;
}

.anli-item2.active {
    background: #E4EDFF;
    color: #4077F7;
}

.loading-jindutiao {
    height: 10px;
    background: #ADC9FF;
    border-radius: 6px 6px 6px 6px;
    width: 30%;
}

.jindutiao-box {
    margin-top: 16px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.jindutiao-3 {
    width: 30%;
    height: 10px;
    background: linear-gradient(90deg,
            #5592F5 0%,
            #88B2FB 33.33%,
            #D9D9D9 33.33%);
    border-radius: 6px;
}

.loading-text {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.text-type {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.text-item {
    width: 30%;
    text-align: left;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 12px;
    color: #333333;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.gj-box {
    width: 100%;
}

.gj-line {
    height: 12px;
    background: #EAEBF1;
    border-radius: 6px;
    margin-bottom: 8px;
    position: relative;
    margin-top: 16px;
    overflow: hidden;
}

.gj-line::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(234, 235, 241, 1) 25%,
            /* 原始背景色 */
            rgba(245, 246, 250, 1) 50%,
            /* 高亮色 */
            rgba(234, 235, 241, 1) 75%
            /* 恢复原色 */
        );
    animation: flow 1.5s infinite linear;
}

@keyframes flow {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.w-30 {
    width: 30%;
}

.w-50 {
    width: 50%;
}

.w-60 {
    width: 60%;
}

.w-70 {
    width: 70%;
}

.w-80 {
    width: 80%;
}

.w-90 {
    width: 90%;
}

.w-100 {
    width: 100%;
}

.xjs-img {
    cursor: pointer;
}


.his-item {
    height: 32px;
    background: #F2F3F7;
    border-radius: 6px 6px 6px 6px;
    width: 100%;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 12px;
    color: #333333;
    padding-left: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 10px;
    line-height: 32px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    cursor: pointer;
}

.his-item:hover {
    color: #183F99;
    background-color: #E9F1FA;
}

.sm-text {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 12px;
    color: #999999;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-top: 20px;
}

.continue-review {
    text-align: center;
    color: #183F99;
    cursor: pointer;
    margin-top: 20px;
    border: 1px solid #183F99;
    width: 150px;
    padding: 4px 8px;
    border-radius: 3px;
}

.down-btn {
    width: 86px;
height: 32px;
border-radius: 20px 20px 20px 20px;
border: 1px solid #183F99;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 16px;
line-height: 32px;
color: #183F99;
text-align: center;
font-style: normal;
text-transform: none;
cursor: pointer;
}
.other-btn {
    width: 86px;
height: 32px;
border-radius: 20px 20px 20px 20px;
border: 1px solid #183F99;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 16px;
line-height: 32px;
color: #183F99;
text-align: center;
font-style: normal;
text-transform: none;
cursor: pointer;
}
.down-box {
    width: 100%;
    height: 50px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: right;
    padding-right: 20px;
}
.ml-20 {
    margin-left: 20px;
}

/* From Uiverse.io by timlmit */
.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    transform: scale(0.4);
}

.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #352b2b;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}