@font-face {
  font-family: "USMCC";
  src: url("../fonts/USMCCyuanjiantecu.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Alibaba PuHuiTi";
  src: url("../fonts/Alibaba_PuHuiTi_2.0_65_Medium_65_Medium.woff2")
    format("woff2");
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text-white: #ffffff;
  --text-green: #0e7231;
  --text-footer: rgba(0, 0, 0, 0.9);
  --bg-primary: #f0f5ef;
  --bg-secondary: #0e7231;
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-bg {
  background-image: url("../images/bg.png");
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 800px;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 256px;
  height: 34px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.link-left {
  padding: 5px 16px 7px 16px;
  background: var(--bg-secondary);
  border-radius: 4px;
  text-decoration: none;
  img {
    width: 18px;
    height: 18px;
    transform: translateY(2px);
  }
  span {
    font-family: "Alibaba PuHuiTi";
    font-weight: 400;
    font-size: 18px;
    color: var(--text-white);
    line-height: 24px;
  }
}

.link-agent {
  padding: 5px 16px 7px 16px;
  background: var(--bg-secondary);
  border-radius: 4px;
  text-decoration: none;
  img {
    width: 18px;
    height: 18px;
    transform: translateY(3px);
  }
  span {
    font-family: "Alibaba PuHuiTi";
    font-weight: 400;
    font-size: 18px;
    color: var(--text-white);
    line-height: 24px;
  }
}

.link-right {
  padding: 5px 16px 7px 16px;
  background: var(--bg-primary);
  border-radius: 4px;
  img {
    width: 22.57px;
    height: auto;
    transform: translateY(0px) translateX(2px);
  }
  span {
    font-family: "Alibaba PuHuiTi";
    font-weight: 400;
    font-size: 18px;
    color: var(--text-green);
    line-height: 24px;
  }
}

/*** 顶部大图 ***/
.banner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  h1 {
    font-family: "USMCC";
    font-weight: 400;
    font-size: 36px;
    color: var(--text-white);
    line-height: 44px;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 53px;
  }
}

/*** 搜索框样式 ***/

.key_wp {
  width: 680px;
  height: 48px;
  clear: both;
  float: none;
  margin-bottom: 20px;
}

.key_input_wp {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 10px;
  padding: 13px 16px;
}

.key_input_wp input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 18px;
}

/***验证码框样式 ***/

.yzm_wp {
  width: 300px;
  height: 48px;
  clear: both;
  float: none;
  margin-bottom: 30px;
}

.yzm_input {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 10px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.yzm_input input {
  width: 60%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 18px;
}

.yzm_search_btn {
  height: auto;
  text-align: center;
  float: right;
  border: none;
  cursor: pointer;
  img {
    width: 70px;
    height: auto;
  }
}

/***查询按钮的样式***/
.sy_search_btn {
  width: 680px;
  height: auto;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 14px 269px;
  background-color: var(--bg-secondary);
}

/***查询按钮鼠标移上去去的样式***/
.sy_search_btn:hover,
.sy_search_btn:focus,
.sy_search_btn:active,
.sy_search_btn.active {
  background-color: #9ec39a;
}

/***模板底部***/
.footer {
  flex: 1;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;

  dl {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-footer);
    img {
      width: 28px;
      height: auto;
      margin-right: 8px;
      transform: translateY(1px);
    }
    dt {
      margin: 0px;
      padding: 0px;
      margin-right: 18px;
      font-family: "Alibaba PuHuiTi";
    }
    dd {
      margin: 0px;
      padding: 0px;
      font-weight: normal;
      font-family: "Alibaba PuHuiTi";
      span {
        letter-spacing: 2px;
      }
    }
  }

  figure {
    img {
      width: 67.41px;
      height: auto;
      transform: translateY(1px);
    }
  }
}
.footer-text {
  margin-top: 18px;
  font-size: 18px;
  color: #063e1a;
  line-height: 16px;
  font-family: "Alibaba PuHuiTi";
}

/*申请成为代理商页面*/

.reg-header {
  width: 100%;
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reg-section {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 70px;
  padding-left: 620px;
  padding-right: 620px;
  h1 {
    font-family: "USMCC";
    font-weight: 400;
    font-size: 36px;
    color: var(--text-white);
    line-height: 44px;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 53px;
  }
}

.reg-title {
  font-family: "USMCC";
  font-weight: 400;
  font-size: 36px;
  color: var(--text-white);
  line-height: 44px;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 48px;
}
.reg-form {
  width: 100%;
  max-width: 100%;
}
.reg-field {
  margin-bottom: 20px;
}
.reg-field input,
.reg-field select {
  width: 100%;
  height: 60px;
  background: #fff;
  border: none;
  outline: none;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 18px;
  color: #333;
}
/* 下拉框自定义箭头 */
.reg-select {
  position: relative;
}
.reg-select select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.reg-select::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-green);
  border-bottom: 2px solid var(--text-green);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
/* 验证码行 */
.reg-yzm {
  display: flex;
  gap: 12px;
  border-radius: 8px;
  background: var(--text-white);
  display: flex;
  align-items: center;
}
.reg-yzm input {
  flex: 1;
}
.reg-yzm img {
  width: 90px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  padding-right: 20px;
}
.reg-submit {
  width: 100%;
  height: 60px;
  margin-top: 10px;
  background: var(--bg-secondary);
  color: var(--text-white);
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  cursor: pointer;
  font-family: "Alibaba PuHuiTi";
}
.reg-submit:hover,
.reg-submit:focus {
  background-color: #9ec39a;
}
/* 底部为浅色条，覆盖 pc.css 的 flex:1 */
