html {
  scroll-behavior: smooth;
}
/* *::before,
*::after {
  box-sizing: border-box;
} */
/* .rows ::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.rows ::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  opacity: 0;
}

.rows:hover ::-webkit-scrollbar-thumb {
  opacity: 1;
} */

.rows ::-webkit-scrollbar-track {
  background: #fff;
}
.container-fluid {
  height: 100vh;
}
.container-fluid .rows {
  height: 100%;
}
.logo {
  margin: 42px 0 38px 38px;
  display: flex;
  align-items: center;
}

.logo .logos {
  width: 42px;
  height: 38px;
}

.logo span {
  margin-left: 16px;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.sidebar.collapsed {
  width: 80px;
}

.sidebar.collapsed .logo {
  margin: 42px 0 38px 20px;
}

.sidebar.collapsed .logo span,
.sidebar.collapsed .nav-link span,
.sidebar.collapsed .nav-link .expand {
  display: none;
}

.sidebar {
  height: 100%;
  background-color: #fff;
  box-shadow: 0px 0px 5px 0px #e1e1e1;
  position: relative;
}

.sidebar .toggle-button {
  position: absolute;
  right: -26px;
  top: 38%;
  transform: translateY(-50%);
  z-index: 101;
  cursor: pointer;
}

.sidebar .toggle-button img {
  width: 26px;
  height: 48px;
}

.sidebar .bg-light {
  padding: 0;
  justify-content: center;
  background-color: #fff !important;
}
.sidebar .bg-light .nav-pills .nav-link {
  margin: 0 24px;
  height: 60px;
  padding: 0;
  display: flex;
  align-items: center;
  background-color: #fff;
}

.sidebar .bg-light .nav-pills .nav-link > div {
  display: flex;
  justify-content: center;
}

.sidebar .bg-light .nav-pills .nav-link img {
  margin: 0 20px;
}

.sidebar .bg-light .nav-pills .nav-link span {
  color: #757575;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.32px;
}

.sidebar .bg-light .nav-pills .nav-link span:hover {
  color: #20c997;
}

.sidebar .bg-light .nav-pills .nav-link .imgs {
  display: flex;
  align-items: center;
  height: 16px;
}

.sidebar .bg-light .nav-pills .nav-link .imgs img {
  width: 16px;
  height: 16px;
}

.sidebar .bg-light .nav-pills .liets {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar .bg-light .nav-pills .active {
  background: #dbe3fe;
  border-radius: 10px;
}

.sidebar .bg-light .nav-pills .active span {
  color: #5483f9 !important;
}

ul {
  list-style-type: none;
  display: flex;
}

/* 由于原始LESS代码中包含大量的嵌套和复杂的结构，这里只转换了部分以展示如何进行转换。 */
/* 对于main标签和其内部的样式，以及其他未列出的部分，转换方法类似：展开嵌套规则，确保选择器正确。 */
main {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  background-image: linear-gradient(
      90deg,
      rgba(50, 0, 0, 0.05) 3%,
      rgba(0, 0, 0, 0) 3%
    ),
    linear-gradient(360deg, rgba(50, 0, 0, 0.05) 3%, rgba(0, 0, 0, 0) 3%);
  background-size: 20px 20px;
  background-position: center center;
}

main .image {
  width: 100%;
  height: 267px;
  background: url(../image/231188150231187132-6.webp) no-repeat;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}

main .image .searchs {
  width: 800px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

main .image .searchs .search_title {
  display: flex;
  align-items: flex-end;
  position: relative;
}

main .image .searchs .search_title .search_list {
  position: relative;
}

main .image .searchs .search_title .selected {
  opacity: 1 !important;
  color: aqua;
}

main .image .searchs .search_title .anchor {
  z-index: 10;
  background: #fff;
  border-radius: 100px;
  width: 10px;
  height: 4px;
  bottom: 5px;
  -webkit-transition: 0.25s;
  transition: 0.25s;
}

main .image .searchs .search_title label {
  color: #20c997;
  font-size: 16px;
  line-height: 25px;
  margin-bottom: 0;
  padding-bottom: 12px;
  position: relative;
  display: inline-block;
}

main .image .searchs .search_title label span {
  font-weight: 500;
  opacity: 0.8;
  position: static;
}

main .image .searchs .search_title label + label {
  margin-left: 30px;
}

main .image .searchs .search_title label::after {
  content: '';
  height: 4px;
  width: 4px;
  border-radius: 2px;
  position: absolute;
  left: 50%;
  bottom: 5px;
  margin-left: -2px;
  background-color: rgba(32, 201, 151, 0);
  transition: 0.3s;
}

main .image .searchs .search_title label:hover span {
  color: #fff;
  opacity: 1;
}

main .image .searchs .search_title label:hover::after {
  background-color: rgba(255, 255, 255, 1);
}

main .image .searchs .form-search {
  width: 100%;
  height: 50px;
  position: relative;
  margin: 0 20px;
}

main .image .searchs .search_txt {
  width: 100%;
  height: 50px;
  background: #ffffff;
  border-radius: 25px;
  border: none;
  padding-left: 20px;
  padding-right: 50px;
  color: #808080;
  position: relative;
}

main .image .searchs .search_txt:focus {
  border: none;
  outline: none;
}

main .image .searchs span {
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

main .image .searchs span img {
  width: 18px;
  height: 18px;
}

main .image .searchs .group_list .search-group ul {
  padding-left: 0;
}

main .image .searchs .group_list .search-group ul li label {
  position: relative;
  opacity: 1;
  line-height: 31px;
  padding-top: 10px;
}

main .image .searchs .group_list .search-group ul li label span {
  font-size: 16px;
  color: #ffffff;
  position: static;
}

main .image .searchs .group_list .search-group ul li label:hover span {
  color: #20c997;
}

main .image .searchs .group_list .search-group ul li .actives {
  opacity: 1;
}

main .image .searchs .group_list .search-group ul li + li {
  margin-left: 40px;
}

main .image .searchs .group_list .search-group ul input:checked + label:before {
  content: '';
  border-width: 8px 8px 0px 8px;
  border-style: solid;
  border-color: #ffffff transparent transparent;
  position: absolute;
  left: 50%;
  top: 5px;
  margin-left: -8px;
}

main .page_list {
  margin-left: 43px;
  width: 248px;
  height: 40px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e7e7e7;
  display: flex;
  align-items: center;
}

main .page_list span {
  flex: 1;
  text-align: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  color: #757575;
}

main .page_list span:first-child {
  margin-left: 4px;
}

main .page_list span:last-child {
  margin-right: 4px;
}

main .page_list span:hover {
  width: 72px;
  height: 32px;
  background: #4d67eb;
  border-radius: 6px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

main .page_list .active {
  width: 72px;
  height: 32px;
  background: #4d67eb;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

main .page_lists {
  margin-left: 43px;
  width: 248px;
  height: 40px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e7e7e7;
  display: flex;
  align-items: center;
}

main .page_lists span {
  flex: 1;
  text-align: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  color: #757575;
}

main .page_lists span:first-child {
  margin-left: 4px;
}

main .page_lists span:last-child {
  margin-right: 4px;
}

main .page_lists span:hover {
  width: 72px;
  height: 32px;
  background: #4d67eb;
  border-radius: 6px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

main .page_lists .actived {
  width: 72px;
  height: 32px;
  background: #4d67eb;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

main .top {
  padding-top: 12px;
  margin-bottom: 30px;
  margin-left: 50px;
  display: flex;
  align-items: center;
}

main .top img {
  width: 24px;
  height: 24px;
  margin-right: 20px;
}

main .top > span {
  font-size: 18px;
  line-height: 27px;
  color: #191919;
  font-weight: 500;
}

main .cont {
  margin: 0 43px;
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
}
main .grids {
  display: grid;
  grid-template-columns: repeat(auto-fill, 244px);
  grid-gap: 28px;
}
main .alerts {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

main .alertss {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

main .crads {
  /* width: 244px; */
  height: 72px;
  background: #fff;
  border-radius: 10px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0px 0px 20px -5px rgba(158, 158, 158, 0.4);
  /* margin-left: 16px; */
  /* margin-bottom: 28px; */
  text-decoration: none;
}

main .crads .img-left {
  width: 40px;
  height: 40px;
  margin-left: 16px;
  margin-right: 10px;
}

main .crads .img-right {
  width: 16px;
  height: 16px;
  margin-right: 10px;
}

main .crads > div {
  display: flex;
  align-items: center;
}

/* main .crads > div > div {
  display: flex;
  align-items: center;
} */

main .crads > div > div > span {
  display: block;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

main .crads > div > div span:first-child {
  font-size: 14px;
  font-weight: 600;
  color: #191919;
  line-height: 21px;
}

main .crads > div > div span:last-child {
  font-size: 12px;
  color: #757575;
  line-height: 18px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

main .crads:hover {
  transform: scale(1.05);
}

main .crads:hover > div div span:first-child {
  color: #20c997;
}

main .footer {
  position: fixed;
  right: 50px;
  bottom: 30px;
}

main .footer .topping {
  font-size: 16px;
  cursor: pointer;
}

main .footer .topping .topping_img {
  width: 33px;
  height: 33px;
}
/* style.css */
#loading {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* 确保加载层在最上面 */
}

.loader {
  border: 5px solid #f3f3f3;
  border-radius: 50%;
  border-top: 5px solid #3498db;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 1390px) {
  main .grids {
    grid-template-columns: repeat(auto-fill, 220px);
  }
}
@media (max-width: 1049px) {
  .sidebar .logo {
    margin: 42px 0 38px 15px;
  }
  .sidebar .bg-light .nav-pills .nav-link {
    margin: 0;
  }
  main .grids {
    grid-template-columns: repeat(auto-fill, 200px);
  }
}
@media (max-width: 880px) {
  main .image .searchs .group_list .search-group ul li + li {
    margin-left: 25px;
  }
}
@media (max-width: 768px) {
  main .image .searchs .group_list .search-group ul li + li {
    margin-left: 20px;
  }
  main .searchs {
    width: 100% !important;
  }
  main .image {
    height: 210px;
    align-items: end;
  }
  main .top {
    margin-bottom: 15px;
    margin-left: 28px;
  }

  .group_list .search-group ul {
    /* width: 550px;
    overflow-x: auto;
    white-space: nowrap; */
    overflow: auto;
  }
  main .cont {
    margin: 0 23px;
    margin-bottom: 18px;
    /* display: flex;
    flex-wrap: wrap; */
  }
  .group_list {
    width: 100%;
  }
  .search-group {
    margin: 0 32px;
    justify-content: center;
  }
  .search-type {
    /* padding-left: 0px; */
    overflow-x: auto; /* 当内容超出时显示滚动条 */
    overflow-y: hidden; /* 防止垂直滚动条出现 */
    white-space: nowrap; /* 防止内容换行 */
  }

  .search-group ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }
  .search-group ::-webkit-scrollbar-track {
    background: #9c9c9c;
  }

  /* 滑块样式 */
  .search-group ::-webkit-scrollbar-thumb {
    background: #6c6c6c;
  }

  /* 当鼠标悬停在滑块上时的样式 */
  .search-group ::-webkit-scrollbar-thumb:hover {
    background: #20c997;
  }
  .search-type li {
    display: inline-block;
  }

  main .page_list {
    margin-left: 23px;
  }
  main .page_lists {
    margin-left: 23px;
  }
  main .grids {
    grid-template-columns: repeat(auto-fill, 46%);
    grid-gap: 20px;
  }
  .sidebar {
    display: none;
    z-index: 102;
  }
  .sidebar .toggle-button {
    display: none;
  }
  .layer {
    z-index: 99;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
  }
  main .image .searchs .search_title label + label {
    margin-left: 18px;
  }
  main .footer {
    right: 28px;
  }
  main .big-header-banners {
    width: 100%;
    height: 56px;
    display: block !important;
    position: fixed;
    top: 0;
    color: initial;
    backdrop-filter: blur(0px);
    background: rgba(255, 255, 255, 0);
    z-index: 72;
  }
  main .big-header-banners .toggle-buttons {
    margin: 0px 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  main .big-header-banners .toggle-buttons .logoed_1 {
    width: 120px;
    height: 30px;
  }
  main .big-header-banners .toggle-buttons .logoed_2 {
    width: 24px;
    height: 24px;
  }
}
