body {
  font-family: "Microsoft YaHei", sans-serif;
  color: #333;
  line-height: 1.6;
}

.container-custom {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 页面标题区域 */
.page-header {
  background: url("../asset/jijin.png") center center no-repeat;
  height: 400px;
  background-size: cover;
  padding: 40px 0;
  position: relative;
  color: #333;
  margin-bottom: 30px;
}

.header-box {
  position: absolute;
  top: 80px;
  left: 320px;
}

.header-content {
  font-style: italic;
  font-size: 24px;
  font-weight: 400;
  color: rgba(0, 65, 135, 0.8);
}

.header-content .title {
  font-weight: 600;
  font-size: 60px;
  /* background: linear-gradient(to right, #6886d5, #004187); */
  padding-right: 10px;
  background-image: linear-gradient(to left, #6886d5, #004187);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
}

/* 搜索区域 */
.search-section {
  margin: 30px 0;
}

.search-container {
  display: flex;
  max-width: 600px;
  /* margin: 0 auto; */
  position: relative;
}

.search-img {
  width: 28px;
  height: 28px;
  position: absolute;
  top: 12px;
  left: 16px;
}

.search-input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  color: rgba(0, 13, 27, 0.4);
  width: 560px;
  height: 48px;
  margin-right: 16px;
  padding-left: 64px;
}

.search-btn {
  background: linear-gradient(272deg, #6886d5 -0.06%, #004187 100%);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 4px;
  cursor: pointer;
  height: 48px;
}

/* 筛选区域 */
.filters {
  /* background-color: #f9f9f9; */
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 30px;
}

.filter-group {
  margin-bottom: 15px;
  display: flex;
}

.filter-group button.hide {
  display: none;
}

.filter-label {
  display: inline-block;
  width: 100px;
  font-weight: 400;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.8);
  vertical-align: top;
  margin-right: 40px;
}

.filter-options {
  display: inline-block;
  width: calc(100% - 100px);
  padding-right: 100px;
  box-sizing: border-box;
  position: relative;
}

.view_more_manager {
  width: 100px;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  line-height: 40px;
  text-align: center;
  color: #2B73ED;
}

.filter-btn {
  background-color: white;
  border: none;
  height: 40px;
  padding: 0 16px;
  margin: 0 8px 8px 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
}

.filter-btn.active {
  background-color: #f5f9ff;
  color: #2b73ed;
  border-color: #2b73ed;
}

.filter-btn:hover:not(.active) {
  border-color: #2b73ed;
  color: #2b73ed;
}

.manager-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.manager-letter {
  height: 40px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.manager-letter.active {
  background-color: #f5f9ff;
  color: #2b73ed;
  border-color: #2b73ed;
}

.manager-letter:hover:not(.active) {
  border-color: #2b73ed;
  color: #2b73ed;
}

/* 基金表格 */
.fund-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.fund-table th {
  min-width: 120px;
  background: linear-gradient(to bottom, #e7efff, #fff);
  color: rgba(0, 13, 27, 0.6);
  font-weight: 400;
  text-align: center;
  padding: 12px 15px;
  /* border-bottom: 1px solid #e6e6e6; */
  font-size: 18px;
}

.fund-table td {
  max-width: 450px;
  padding: 15px;
  text-align: center;
  /* border-bottom: 1px solid #e6e6e6; */
  font-size: 18px;
  /* color: rgba(0, 13, 27, 0.6); */
  font-weight: 400;
}

.table tr:hover,
.fund-table tr:hover {
  /* background: linear-gradient(180deg, #6886d5 0%, #004187 100%);
  color: #fff; */
  background: #e7efff;
}
.table tr:hover .fund-code
.fund-table tr:hover .fund-code {
  color: #fff;
}

.table tr:hover .positive 
.fund-table tr:hover .positive {
  color: #fff;
}

.table tr:hover .tabel-dat
.fund-table tr:hover .tabel-date {
  color: #fff;
}

.table tr:hover .risk-tag
.fund-table tr:hover .risk-tag {
  color: #fff;
  border: 1px solid #fff;
}

.table tr:hover .buy-btn
.fund-table tr:hover .buy-btn {
  background: rgba(255, 255, 255, 1);
  border-radius: 4px;
  color: rgba(0, 65, 135, 1);
}

.table tr:hover .buy-btn.buy-disabled
.fund-table tr:hover .buy-btn.buy-disabled {
  color: rgba(0, 13, 27, 0.2);
}

/* 购买按钮样式 */

.buy-btn {
  border: 0;
  outline: none;
  color: rgba(0, 65, 135, 1);
  background: none;
  padding: 15px;
}

.fund-table tr:hover .buy-btn {
  border-radius: 4px;
  background: linear-gradient(271.84deg, #6886D5 -0.06%, #004187 100%);
  color: #ffffff;
}

.buy-disabled {
  color: rgba(0, 13, 27, 0.2);
}

.fund-table tr:hover .buy-disabled {
  background: none;
  color: rgba(0, 13, 27, 0.2);
}



.fund-code {
  color: rgba(0, 13, 27, 0.8);
  font-size: 16px;
  margin-top: 4px;
}

.risk-tag {
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(104, 134, 213, 0.4);
  font-size: 14px;
  color: #6886d5;
}

.positive {
  color: #e63946;
  line-height: 64px;
}

.normal {
  line-height: 64px;
}

.low {
  line-height: 64px;
}

.status {
  line-height: 64px;
}

.buy-disabled .low,
.buy-disabled .positive {
  color: rgba(0, 13, 27, 0.2) !important;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .navbar-nav .nav-link {
    margin: 0 8px;
  }

  .filter-label {
    width: 80px;
  }

  .filter-options {
    width: calc(100% - 80px);
  }

  .fund-table th:nth-child(7),
  .fund-table td:nth-child(7) {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-right {
    display: none;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .filter-group {
    margin-bottom: 10px;
  }

  .filter-label {
    display: block;
    width: 100%;
    margin-bottom: 5px;
  }

  .filter-options {
    width: 100%;
  }

  .fund-table th:nth-child(6),
  .fund-table td:nth-child(6),
  .fund-table th:nth-child(5),
  .fund-table td:nth-child(5) {
    display: none;
  }

  .contact-info {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .page-header {
    padding: 30px 0;
  }

  .search-input {
    font-size: 0.85rem;
  }

  .fund-table th:nth-child(4),
  .fund-table td:nth-child(4) {
    display: none;
  }

  .pagination-info {
    display: none;
  }
}

.pagination-container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  font-family: Arial, sans-serif;
  color: #333;
}

.page-size-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-size-selector select {
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
}

.total-data {
  color: #666;
}

.pagination-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  color: #000d1b;

  text-align: center;
  /* 标准/400/B1-14-Base */
  font-family: "PingFang SC";
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* .page-btn:hover {
            border-color: #999;
            background-color: #f5f5f5;
        } */

.page-btn.active {
  border-radius: 4px;
  border: 1px solid #2b73ed;
  background: #f6faff;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f9f9f9;
}

.ellipsis {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.NormalCss .table-arrow {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  background: url("../asset/img/home/filter.png") no-repeat;
  background-size: cover;
  cursor: pointer;
}

.SortDescCss .table-arrow {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  background: url("../asset/img/home/filter1.png") no-repeat;
  background-size: cover;
  cursor: pointer;
}

.SortAscCss .table-arrow {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  background: url("../asset/img/home/filter2.png") no-repeat;
  background-size: cover;
  cursor: pointer;
}

.user {
  background-color: #f5f9ff;
  padding: 8px 0;
}


.user .filter-btn {
  background-color: #f5f9ff;
  margin: 0 8px;
}

.user .filter-btn.active {
  font-weight: 500;
  border: 0;
}

.buy-btn {
  border: 0;
  outline: none;
  color: rgba(0, 65, 135, 1);
  background: none;
  padding: 15px;
}

.buy-btn:hover {
  background: linear-gradient(271.84deg, #6886D5 -0.06%, #004187 100%);
  border-radius: 4px;
  color: #fff;
}

.buy-disabled {
  color: rgba(0, 13, 27, 0.2);
}

.buy-disabled .fund_data {
  color: rgb(33, 37, 41);
}

.buy-disabled .nav_date {
  color: rgba(0, 13, 27, 0.2) !important;
}

.buy-disabled:hover {
  color: rgba(0, 13, 27, 0.2);
  background: none;
}

.low {
  color: #28a677 !important;
}