/* 全局样式 */
body {
  font-family: "Microsoft YaHei", sans-serif;
  color: #333;
  line-height: 1.6;

  /*  */
  background-color: #f5f5f6;
}

/* 面包屑 */
.nav.bread a,
.nav.bread .active {
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.4);
  text-decoration: none;
}

.nav.bread .active {
  color: rgba(0, 0, 0, 0.6);
  margin-top: 4px;
}

.nav.bread .breadcrumb-item::before {
  /* width: 12px; */
  font-size: 12px;
  color: rgba(0, 0, 0, 0.4);
  margin: 0 4px;
}

.nav.bread .breadcrumb-item.sec::before {
  margin-top: 4px;
}

.page-header {
  background-image: url("../asset/banner_productindex.jpg");
  height: 647px;
}

/* 主要内容区域 */
.container-custom {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 15px;
  margin-top: -597px;
  position: relative;
}

/* 基础信息 */
.basic-container {
  width: 100%;
  height: 650px;
  background-color: #fff;
  border-radius: 4px;
  padding: 40px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}

.basic-info {
  width: 620px;
  padding: 20px 0;
}

.jijin-name {
  width: 100%;
  font-weight: 500;
  font-size: 32px;
  color: #000d1b;
}

.code {
  font-weight: 500;
  font-size: 24px;
  color: rgba(0, 13, 27, 0.6);
}

.risk {
  width: 80px;
  height: 30px;
  color: #e49c48;
  border-radius: 4px;
  border: 1.5px solid #e49c48;
  padding: 4px 8px;
}

.basic-info-tips {
  display: inline-block;
  margin-top: 15px;
  color: rgba(0, 13, 27, 0.4);
  font-family: "PingFang SC";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.nav-box {
  margin-top: 50px;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  gap: 20px;
}

.nav-box .left,
.nav-box .center,
.nav-box .right {
  text-align: center;
}

.nav-box p {
  margin: 0;
}

.ave-nav,
.acc-nav {
  font-size: 24px;
  font-weight: 500;
  color: #f04848;
}

.ave-nav span {
  font-size: 60px;
}

.acc-nav span {
  font-size: 36px;
}

.decline-rise {
  font-size: 24px;
  font-weight: 500;
  color: #28a677;
}

.decline-rise span {
  font-size: 40px;
}

.nav-desc {
  font-size: 16px;
  font-weight: 400;
  color: rgba(0, 13, 27, 0.6);
}

hr {
  width: 100%;
  height: 1px;
  background-color: rgba(0, 13, 27, 0.08);
  margin: 40px 0;
}

.other-box .label {
  display: inline-block;
  margin-right: 10px;
  color: rgba(0, 13, 27, 0.4);
  width: 64px;
}

.charts {
  width: 860px;
  text-align: center;
}

.charts #fundChart {
  width: 100%;
  height: 440px;
  margin: 20px 0;
}

.charts .btn-group {
  width: 76%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  position: relative;
  top: -40px;
}

.charts .btn-group button {
  margin: 0 8px;
  border-radius: 4px !important;
  font-size: 16px;
  color: #000d1b;
  border-color: rgba(0, 13, 27, 0.1);
}

.charts .btn-group button.btn-primary {
  color: rgba(150, 17, 32, 1);
  border-color: rgba(150, 17, 32, 1);
  background: #fef7f7;
}

.charts .btn-group button:hover {
  background: #fef7f7;
}

/* tab页 */
.tabs-container {
  height: 80px;
  line-height: 60px;
  font-size: 24px;
  font-weight: 400;
}

.nav-tabs {
  display: flex;
  justify-content: space-between;
}

.nav-tabs .nav-item {
  flex: 1;
  text-align: center;
}

.nav-tabs .nav-link {
  border: none;
  color: #000d1b;
}

.nav-tabs .nav-link:hover {
  border-color: #f5f5f6;
}

.nav-item .active {
  background: linear-gradient(to bottom, rgba(153, 16, 32, 0.1), #ffffff);
  /* border-top: 4px solid;
        border-image: linear-gradient(to right, #6886d5, #004187) 1; */
  border-radius: 8px 8px 0 0;
  position: relative;
}

.nav-item .active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  /* 边框厚度 */
  background: linear-gradient(
    to left,
    rgba(150, 17, 32, 1),
    rgba(112, 11, 23, 1)
  );
  /* 上边框圆角与容器保持一致 */
  border-radius: 8px 8px 0 0;
}

/* tab页内容 */
.tab-content-container {
  border-radius: 4px;
  padding: 40px;
  background-color: #ffffff;
  margin-bottom: 60px;
  position: relative;
  top: -6px;
}

/* 基金概况 */
.overview-item {
  margin: 40px 0 60px 0;
  font-size: 20px;
  font-weight: 400;
  color: rgba(0, 13, 27, 0.6);
}

.overview-item .name {
  font-size: 24px;
  font-weight: 500;
  color: #000d1b;
  margin-bottom: 20px;
}

.overview-item .container {
  margin: 0;
  padding: 0;
}

.overview-item li::marker {
  color: #3d5eb2;
}

.overview-item .label {
  color: #000d1b;
  width: 140px;
  display: inline-block;
}

.overview-item.foot {
  color: rgba(0, 13, 27, 0.3);
}

.overview-item.foot i {
  font-weight: 500;
}

/* 基金经理 */
.manager-item {
  display: flex;
  justify-content: space-between;
  margin: 40px 0 80px 0;
}

.manager-item:nth-child(2n) {
  flex-direction: row-reverse;
}

.manager-item .character-info {
  width: 940px;
  font-weight: 400;
  font-size: 20px;
  color: rgba(0, 13, 27, 0.6);
}

.manager-item .character-info .name {
  font-size: 24px;
  color: #000d1b;
  margin-bottom: 40px;
}

.manager-item .character-info .underline,
.manager-item .character-info .underline img {
  width: 167px;
  height: 4px;
  position: relative;
  bottom: 22px;
}

.manager-item .img-box {
  width: 480px;
  height: 460px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.manager-item .border {
  width: 395px;
  height: 377px;
  border-radius: 4px;
  border: 4px rgba(153, 16, 32, 0.1) solid !important;
  position: absolute;
  top: 0;
  right: 0;
}

.manager-item .img {
  width: 400px;
  height: 400px;
  border-radius: 4px;
  overflow: hidden;
  position: absolute;
  left: 0;
  bottom: 0;
}

.manager-item img {
  display: block;
  /* width: 400px; */
  height: 100%;
  margin: 0 auto;
}

/* 历史净值 */
.nav-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0px;
}

.nav-table th {
  background: linear-gradient(to bottom, #fef7f7, #fff);
  color: #000d1b;
  font-weight: 400;
  text-align: center;
  padding: 12px 15px;
  /* border-bottom: 1px solid #e6e6e6; */
  font-size: 20px;
}

.nav-table td {
  padding: 15px;
  text-align: center;
  /* border-bottom: 1px solid #e6e6e6; */
  font-size: 20px;
  color: rgba(0, 13, 27, 0.6);
  font-weight: 400;
}

.nav-table tr:hover {
  background: linear-gradient(to bottom, #fff, #f6faff);
}

.fund-code {
  color: #999;
  font-size: 0.85rem;
  margin-top: 3px;
}

.positive {
  color: #e63946;
}

/* 费率 */
.fee-item .name,
.agency-item .name,
.dividend-item .name,
#fee .name,
.announcement-item .name {
  font-size: 24px;
  color: #000d1b;
  margin-bottom: 40px;
}

.underline,
.underline img {
  width: 167px;
  height: 4px;
  position: relative;
  bottom: 22px;
}

.nav-content table {
  text-align: center;
  margin-bottom: 40px;
}
.nav-content td {
  text-align: center;
  padding: 10px 20px;
  box-sizing: border-box;
}
.nav-content .tips-title {
  font-size: 24px;
  font-weight: 500;
  color: #000d1b;
  margin-bottom: 20px;
  margin-top: 30px;
}

.nav-content table td,
.nav-content table th {
  text-align: center;
  border: 1px solid #000;
}

.feilv-table1 tr td:nth-child(2) {
  text-align: left;
}

/* 搜索 */
.search-container {
  position: absolute;
  top: 40px;
  right: 40px;
  display: flex;
  margin: 0 auto;
}

.search-container img {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 16px;
  left: 20px;
}

.search-input {
  flex: 1;
  padding: 10px 15px;
  padding-left: 60px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 20px;
  width: 400px;
  margin-right: 20px;
}

.search-btn {
  background: linear-gradient(
    to left,
    rgba(150, 17, 32, 1),
    rgba(112, 11, 23, 1)
  );
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 4px;
  cursor: pointer;
  width: 112px;
}

/* 公告 */
.announcement-list {
  list-style-type: none;
  padding-left: 0;
}

.announcement-list li {
  font-size: 20px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.announcement-list li a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.8);
}

.announcement-list li .sslm-text {
  min-width: 300px;
  flex-shrink: 0;
  margin: 0 50px;
  text-align: right;
}

.announcement-list li .disclosure-date {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.6);
}

.announcement-list li:hover,
.announcement-list li:hover a {
  background-color: #fef7f7;
  color: rgba(0, 0, 0, 1);
}

/* 分页 */
.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 rgba(150, 17, 32, 1);
  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;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .navbar-nav .nav-link {
    margin: 0 8px;
  }

  .filter-label {
    width: 80px;
  }

  .filter-options {
    width: calc(100% - 80px);
  }

  .nav-table th:nth-child(7),
  .nav-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%;
  }

  .nav-table th:nth-child(6),
  .nav-table td:nth-child(6),
  .nav-table th:nth-child(5),
  .nav-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;
  }

  .nav-table th:nth-child(4),
  .nav-table td:nth-child(4) {
    display: none;
  }

  .pagination-info {
    display: none;
  }
}

.commonTable {
  border-radius: 8px;
  border: 1px solid #e5e7e8;
}

.tableHeader {
  line-height: 60px;
  background: linear-gradient(180deg, #fef7f7 0%, #ffffff 100%);
  display: flex;
  justify-content: space-between;
  gap: 0px;
}

.tableHeader div {
  flex: 1;
  text-align: center;
  color: #000d1b;
  font-weight: 400;
  text-align: center;
  /* border-bottom: 1px solid #e6e6e6; */
  font-size: 20px;
  border-right: 0.5px solid #000d1b1a;
}

.tableHeader div:nth-child(2) {
  flex: 3;
}

.tableHeader div:nth-child(3),
.tableHeader div:nth-child(4) {
  flex: 2;
}



.tableHeader div:last-child {
  border-right: 0px;
}

.tableItem {
  line-height: 60px;
  display: flex;
  justify-content: space-between;
  gap: 0px;
  cursor: pointer;
}

.tableItem:hover {
  background: #fef7f7;
}

.tableItem div {
  flex: 1;
  text-align: center;
  color: rgba(0, 13, 27, 0.6);
  font-weight: 400;
  text-align: center;
  font-size: 20px;
  border-right: 0.5px solid #000d1b1a;
}

.tableItem div:nth-child(2) {
  flex: 3;
}

.tableItem div:nth-child(3),
.tableItem div:nth-child(4) {
  flex: 2;
}


.tableItem div:last-child {
  border-right: 0px;
}

.emptyTips {
  border-top: 0.5px solid #000d1b1a;
}

.btn-line {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dt-btn {
  background: linear-gradient(
    to right,
    rgba(150, 17, 32, 1),
    rgba(240, 125, 138, 1)
  );
  height: 64px;
  text-align: center;
  line-height: 64px;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  margin: 40px 0;
  flex: 1;
}

.buy-btn {
  background: linear-gradient(
    to right,
    rgba(150, 17, 32, 1),
    rgba(240, 125, 138, 1)
  );
  height: 64px;
  text-align: center;
  line-height: 64px;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  margin: 40px 0;
  flex: 1;
  margin-left: 20px;
}
