/* 页头区域统一样式 */

/* Flex布局工具类 */
.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

/* 页头容器 */
.header-container {
  box-shadow: 0px 4px 30px 0px rgba(0, 22, 69, 0.4);
  background-color: rgba(255, 255, 255, 1);
  width: 100%;
  max-width: 1920px;
  height: 84px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 99;
}

/* 需要固定在顶部的页头（文章详情、信用生活、互认互通、新闻资讯等） */
.header-container.header-fixed {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Logo区域 */
.header-logo {
  display: block;
  min-width: 107px;
  width: 107px;
  min-height: 32px;
  height: 32px;
  background: url(../images/logo_header.png) no-repeat center;
  background-size: contain;
  margin-left: 12.5%;
  flex-shrink: 0;
}

/* 导航链接基础样式 */
.nav-link-home {
  height: 22px;
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 18px;
  font-family: PingFangSC-Semibold, "PingFang SC", sans-serif;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  line-height: 22px;
  margin-left: auto;
  cursor: pointer;
}

/* 信用生活链接样式 */
.nav-link-credit-life-link {
  height: 22px;
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 18px;
  font-family: PingFangSC-Medium, "PingFang SC", sans-serif;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  line-height: 22px;
  margin-left: 80px;
  cursor: pointer;
  text-decoration: none;
}

.nav-link-news {
  height: 22px;
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 18px;
  font-family: PingFangSC-Medium, "PingFang SC", sans-serif;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  line-height: 22px;
  margin-left: 80px;
  cursor: pointer;
}

.nav-link-exchange {
  height: 22px;
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 18px;
  font-family: PingFangSC-Medium, "PingFang SC", sans-serif;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  line-height: 22px;
  margin-left: 80px;
  cursor: pointer;
  text-decoration: none;
}


.nav-link-credit-life-active {
  background-image: linear-gradient(
    143deg,
    rgba(104, 250, 212, 1) 0,
    rgba(61, 138, 241, 1) 100%
  );
  height: 22px;
  overflow-wrap: break-word;
  font-size: 18px;
  font-family: PingFangSC-Medium, "PingFang SC", sans-serif;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  line-height: 22px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 80px;
  cursor: pointer;
}

/* 新闻资讯高亮样式 */
.nav-link-news-active {
  background-image: linear-gradient(
    143deg,
    rgba(104, 250, 212, 1) 0,
    rgba(61, 138, 241, 1) 100%
  ) !important;
  background: linear-gradient(
    143deg,
    rgba(104, 250, 212, 1) 0,
    rgba(61, 138, 241, 1) 100%
  ) !important;
  height: 22px;
  overflow-wrap: break-word;
  font-size: 18px;
  font-family: PingFangSC-Medium, "PingFang SC", sans-serif;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  line-height: 22px;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  margin-left: 80px;
  cursor: pointer;
  text-decoration: none;
}

/* 互认互通高亮样式 */
.nav-link-exchange-active {
  background-image: linear-gradient(
    143deg,
    rgba(104, 250, 212, 1) 0,
    rgba(61, 138, 241, 1) 100%
  ) !important;
  background: linear-gradient(
    143deg,
    rgba(104, 250, 212, 1) 0,
    rgba(61, 138, 241, 1) 100%
  ) !important;
  height: 22px;
  overflow-wrap: break-word;
  font-size: 18px;
  font-family: PingFangSC-Medium, "PingFang SC", sans-serif;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  line-height: 22px;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  margin-left: 80px;
  cursor: pointer;
  text-decoration: none;
}

/* 导航链接hover效果 */
.nav-link-home:hover,
.nav-link-credit-life-link:hover,
.nav-link-news:hover,
.nav-link-exchange:hover {
  color: rgba(61, 138, 241, 1);
}

/* 右侧下载区域 */
.download-section {
  height: 60px;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  background: url(../images/btn_download_bg.png) -1px -1px
  no-repeat;
  margin-left: auto;
  margin-right: 12.5%;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
}

/* 微信图标 */
.icon-wechat {
  display: block;
  min-width: 24px;
  width: 24px;
  min-height: 20px;
  height: 20px;
  background: url(../images/icon_wechat.png) no-repeat center;
  background-size: contain;
  flex-shrink: 0;
}

/* 下载链接文字 */
.download-text-wechat {
  background-image: linear-gradient(
    143deg,
    #54C5E2 100%,
    #3D8AF1 100%
  );
  overflow-wrap: break-word;
  font-size: 14px;
  font-family: "Source Han Sans CN", "PingFang SC", sans-serif;
  font-weight: 500;
  white-space: nowrap;
  line-height: 24px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 8px;
  cursor: pointer;
  position: relative;
}

/* APP图标 */
.icon-app {
  display: block;
  min-width: 23px;
  width: 23px;
  min-height: 22px;
  height: 22px;
  background: url(../images/icon_app_download.png) no-repeat center;
  background-size: contain;
  margin-left: 20px;
  flex-shrink: 0;
}

/* APP下载链接文字 */
.download-text-app {
  background-image: linear-gradient(
    143deg,
    #54C5E2 100%,
    #3D8AF1 100%
  );
  overflow-wrap: break-word;
  font-size: 14px;
  font-family: "Source Han Sans CN", "PingFang SC", sans-serif;
  font-weight: 500;
  white-space: nowrap;
  line-height: 24px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 8px;
  cursor: pointer;
  position: relative;
}

/* 二维码弹窗样式 */
.qr-trigger {
  cursor: pointer;
}

.qr-popup {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 15px;
  background-color: transparent;
  z-index: 1000;
  white-space: normal;
}

.qr-trigger:hover .qr-popup {
  display: block;
}

.qr-popup img {
  width: 200px;
  height: 200px;
  display: block;
}
