body{
  background-color: #fffaee;
}
.banner {
  background: url(./images/shebeitaotai.jpg) no-repeat center center;
  background-size: cover;
  height: 400px;
  position: relative;
}
.banner img{
  width: 100px;
  position: absolute;
  right: 18%;
  bottom: 8%;
}

.content {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
}

#gyhy-group{
  display: none;
}
#gyhy-group.visible {
  display: block;
}

.filter-section {
  position: relative;
  background: white;
  margin-bottom: 30px;
}

.filter-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background: #f7f7f7;
  height: 60px;
  padding-right: 15px;
}

.filter-title h2{
  width: 220px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  border-top: 2px solid #bd1a2d;
  background-color: #fff;
}

.search-box {
  display: flex;
}

.search-box input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
}

.search-box button {
  background-color: #bd1a2d;
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
  padding: 20px;
}

.filter-group span{
  width: 70px;
  float: left;
  color: #8e8e8e;
}

.condition-group{
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.condition-group input[type="checkbox"] {
  transform: scale(1.2);
}

.tooltip-container {
  display: inline-block;
  position: absolute;
  right: 20px;
  bottom: 10px;
}

.btn-tooltip {
  background: #bd1a2d;
  color: white;
  border: none;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
}

.tooltip-text {
  visibility: hidden;
  width: 300px;
  background-color: #333;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 12px;
  position: absolute;
  right: 0;
  top: 40px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.tooltip-text::after {
  content: "";
  position: absolute;
  top: -9px;
  right: 20px;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #333 transparent;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.table-container {
  background: white;
  overflow: hidden;
  margin-bottom: 30px;
}

.table-header {
  background-color: #bd1a2d;
  color: white;
  font-weight: bold;
  height: 40px;
}

.table-header th{
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  font-weight: bold;
}

.td-center{
  text-align: center;
}

#tableBody tr td{
  padding:10px 25px;
  border: 1px solid #e6e6e6;
  box-sizing: border-box;
  line-height: 25px;
}

#tableBody td:nth-child(1){
  white-space: nowrap;
}

#dataTable tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

.pagination-class {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.pagination-class button {
  background-color: white;
  border: 1px solid #ccc;
  padding: 6px 12px;
  cursor: pointer;
}

.pagination-class button.active {
  background-color: #bd1a2d;
  color: white;
}

.pagination-class input {
  width: 50px;
  padding: 6px;
  border: 1px solid #ccc;
}

@media only screen and (max-width: 765px) {
  body {
    font-size: 14px;
  }

  .banner {
    height: 310px;
  }

  .content {
    padding: 0 15px;
    margin: 20px auto;
  }

  .filter-title {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 15px;
    gap: 12px;
  }

  .filter-title h2 {
    width: auto;
    height: auto;
    line-height: normal;
    text-align: left;
    border-top: none;
    background: transparent;
    padding-left: 0;
  }

  .search-box {
    width: 100%;
  }

  .search-box input {
    padding: 10px;
    font-size: 14px;
  }

  .search-box button {
    padding: 10px 12px;
    font-size: 14px;
  }

  .filter-options {
    padding: 15px;
  }

  .filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .filter-group span {
    float: none;
    width: auto;
  }

  .condition-group label {
    width: auto;
    white-space: nowrap;
  }

  .tooltip-container {
    position: static;
    display: block;
    margin-right: 18px;
    text-align: right;
  }

  .btn-tooltip {
    padding: 8px 12px;
    font-size: 14px;
  }

  .tooltip-text {
    display: none;
    position: static !important;
    width: calc(100% - 30px);
    margin-top: 8px;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    font-size: 13px;
    padding: 12px;
    border-radius: 6px;
    box-shadow: none;
  }

  .tooltip-text.mobile-show {
    display: block !important;
  }

  .tooltip-text::after {
    display: none;
  }

  .table-container {
    overflow: hidden;
    width: 100%;
  }

  table {
    table-layout: fixed;
  }

  th, td {
    padding: 10px;
    font-size: 13px;
    box-sizing: border-box;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  #dataTable thead th:nth-child(1),
  #dataTable tbody td:nth-child(1),
  #dataTable thead th:nth-child(2),
  #dataTable tbody td:nth-child(2) {
    width: 80px;
    min-width: 80px;
    padding: 8px 6px;
    font-size: 12px;
    white-space: normal;
  }

  #dataTable thead th:nth-child(3),
  #dataTable tbody td:nth-child(3) {
    width: auto;
    min-width: 120px;
    padding: 8px 10px;
    font-size: 13px;
    word-break: break-word;
    white-space: normal;
  }

  .pagination-class {
    flex-wrap: wrap;
    gap: 6px;
  }

  .pagination-class input,
  .pagination-class button {
    padding: 4px 8px;
    font-size: 13px;
  }

  .banner img{
    width: 50px;
    right: 15%;
    bottom:10px;
  }
}
@media only screen and (max-width: 435px) {
  .banner{
    height: 100px;
  }

  .banner img{
    width: 30px;
    right: 50px;
    bottom: 10px;
  }

  .tooltip-text {
    display: none;
    position: static !important;
    width: calc(100% - 30px);
    margin-top: 8px;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    font-size: 13px;
    padding: 12px;
    border-radius: 6px;
    box-shadow: none;
  }

  .tooltip-text.mobile-show {
    display: block !important;
  }

  .tooltip-text::after {
    display: none;
  }
}