.know_dh {
    position: fixed;
    display: flex;
    justify-content: space-between; /* 或使用 space-around */
    width: 94%;
    left:3%;
    padding-top:1rem;
    padding-bottom:1rem;
    border-bottom: 2px solid #B1B1B1;
    background: white;
    z-index: 10;
}
.know_dhi {
    width: 23%; /* 留出一点间隙 */
    height: 2rem;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}
.know_dhi.active {
    color: #AD9760;
    font-weight: bold;
    font-size:1.4rem;
}
.content{
    display: none;
    padding: 0;
    /*border: 1px solid #ddd;*/
    border-radius: 0.5rem;
    top:3.5rem;
    position: relative;
    width: 96%;
    margin: 0 auto;
    padding-top:0.2rem;
    overflow-y: auto;
     /*margin-left:4%;*/
    }
.content.active {
display: block;
}
.search-box {
  display: flex;
  max-width: 70%;
  margin: 1rem auto;
}

.search-input {
  flex: 1;
  padding: 0.5rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 2.5rem 0 0 2.5rem;
  font-size: 1.1rem;
  outline: none;
  transition: border-color 0.3s;
}

.search-input:focus {
  border-color: #4a90e2;
}

.search-button {
  padding: 0.8rem 1.6rem;
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 0 2rem 2rem 0;
  cursor: pointer;
  font-size: 1.3rem;
  transition: background-color 0.3s;
}

.search-button:hover {
  background-color: #3a7bc8;
}
.sort_title{
    display: flex;
    background-color: white;
     width: 100%;
     margin: 0 auto;
}
.sort_title_i{
    flex:1;
    text-align: center;
    font-size: 1.2rem;
    padding:0.3rem ;
    cursor: pointer;
}
.sort-icon::after {
    content: "↕";
    margin-left: 5px;
    color: #999;
}
.asc::after { content: "↑"; color: #000; }
.desc::after { content: "↓"; color: #000; }


.cases_div{
    width: 100%;
    font-size:1rem;
    margin: 0 auto;
}
.casei_div{
    background-color: white;
    margin-top:1rem;
    width: 100%;
    max-height:6rem;
    display: flex;
    cursor: pointer;
}
.casei_div_id{
     flex:1;
     display: flex;
      align-items: center; /* 垂直居中 */
      max-height:6rem;    /* 必须设置高度 */
    justify-content: center;
}
.casei_div_top{
    flex:3;
}
.casei_div_top_name{
     flex: 3;
    padding:0.3rem ;
    font-size: 1rem;
    line-height:1.5;
}
.casei_div_middle_bz{
    flex: 2;
    line-height:1.5;
    padding:0.3rem ;
    font-size:1.2rem ;
    display: flex;
    align-items: center; /* 垂直居中 */
    max-height:6rem;    /* 必须设置高度 */
    justify-content: center;
}
.casei_div_bot{
    flex:3;
    line-height:1.5;
    font-size: 1rem;
    overflow-y: auto;
    padding: 0.2rem;
    text-indent: 2rem;
}
.casei_div_edit{
    flex:2;
    line-height:1.5;
    display: flex;
    flex-direction: column; /* 主轴变为垂直方向 */
    justify-content: center; /* 垂直居中（因为主轴变了） */
    align-items: center;     /* 水平居中 */
}

.pagination {
    margin-top:4rem;
    margin-bottom:2rem;
    position: relative;
}
.page_span{
    display: inline-block;
    margin: 0 0.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
        }
.page_span.active { background-color: #007bff; color: white; }
table { border-collapse: collapse; margin-top: 2rem; }
td, th { border: 1px solid #ddd; padding: 8px; }

.edit_span{
   /*cursor: pointer;*/
   /* background: #4CAF50;*/
   /* color: white;*/
    font-size:1rem;
     /*display: inline-block;*/
      padding: 0.4rem 1rem;
      background: linear-gradient(135deg, #6e8efb, #a777e3);
      color: white;
      border-radius: 1rem;
      /*font-size: 16px;*/
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 0.3rem 0.8rem rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
      text-align: center;
      /*margin: 0.2rem;*/
      position: relative;
      overflow: hidden;
    }

.casei_div_no_cursor{
    width: 100%;
    display: flex;
    padding-top:0.5rem;
padding-bottom:0.5rem;
    /*justify-content: center; */
}
.casei_no_cursor1 {
    flex:2;
    font-size:1.5rem;
}
.casei_no_cursor2 {
    flex:3;
    font-size: 1.5rem;
    margin-left: auto;
  margin-right: auto;
}

.hidden{
    display: none;
}
.show{
    display: block;
}



  /*删除模块*/
.modal_div {
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}

.modal_content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 2rem;
  border: 1px solid #888;
  width: 80%;
  max-width: 40rem;
  border-radius: 5px;
  text-align: center;
}

.modal_buttons {
  margin-top: 2rem;
}

.modal_buttons button {
  padding: 1rem 2rem;
  margin: 0 1rem;
  cursor: pointer;
  border: none;
  border-radius: 4px;
}

.confirm_btn {
  background-color: #f44336;
  color: white;
}

.cancel_btn {
  background-color: #ccc;
}