:root {
  --img-bg: url("/images/Pic_bg@2x.png");
  --img-logo: url("/images/Pic_logo@2x.png");
  --img-banner: url("/images/pic_banner1.png");
  --img-footer: url("/images/pic_tegbg@2x.png");
  --img-01: url("/images/icon_PhysicalTestPlatform@2x.png");
  --img-02: url("/images/icon_ExaminationPlatform@2x.png");
  --img-03: url("/images/icon_CampusPlatform@2x.png");
  --img-04: url("/images/icon_CompetitionPlatform@2x.png");
  --img-08: url("/images/Pic_rabbit@2x.png");
  font-size: 14px;
  font-synthesis: none;
  background-color: #f0f2f5;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: PingFang SC-Light, PingFang SC;
}

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

html,
body {
  width: 100%;
  height: 100%;
}

body {
  background-image: var(--img-bg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.container {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.header,
.body,
.footer {
  width: 100%;
  position: relative;
}

.header .header-wrap,
.body .body-wrap,
.footer .footer-wrap {
  width: 66%;
  margin: 0 auto;
}
.header {
  display: flex;
  align-items: center;
  height: 9%;
}

.header .header-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo {
  width: 100%;
  height: 35%;
  background-image: var(--img-logo);
  background-repeat: no-repeat;
  background-size: contain;
}

.header .user-info {
  position: relative;
  display: inline-block;
  cursor: pointer;
  height: 37%;
}

.header .user-info img {
  width: 100%;
  height: 100%;
}

.header .user-info .tooltips {
  position: absolute;
  width: 240px;
  visibility: hidden;
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
  pointer-events: none;
}

.user-info:hover .tooltips,
.user-info .tooltips:hover {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.header .user-info .tooltips .tips {
  margin-top: 8px;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: repeat(1, 1fr);
  text-align: center;
}

.header .user-info .tooltips img {
  width: 58px;
  height: 58px;
  margin: 0 auto;
}

.header .user-info .tooltips .name {
  font-weight: 500;
  color: #000000;
  font-size: 14px;
  margin-top: 8px;
  border-bottom: 1px solid #dedfe1;
  padding-bottom: 20px;
}

.header .user-info .tooltips .logout {
  margin-top: 16px;
  height: 20px;
  color: #066cff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.header .custmer-button {
  width: 60px;
  height: 28px;
  font-size: 14px;
  color: #fff;
  font-style: normal;
  border-radius: 6px;
  background: #066cff;
  border: none;
  cursor: pointer;
}

.body {
  margin-top: 3%;
  height: 62%;
}

.body .body-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.body .body-wrap .title {
  width: 62%;
  height: auto;
  margin: 0 auto;
}

.body .body-wrap .title img {
  width: 100%;
  height: 100%;
}

.squwrapare-item {
  flex: 1;
  width: 100%;
  background-repeat: no-repeat;
  background-size: 100%;
  background-image: var(--img-banner);
}

.footer {
  height: 26%;
  background-image: var(--img-footer);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  bottom: 0;
}

.footer .footer-wrap {
  height: 100%;
}

.footer .footer-wrap .copy-right {
  margin-top: 27px;
  font-weight: 400;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.64);
  text-align: center;
}

.footer .footer-wrap .copy-right a {
  color: rgba(255, 255, 255, 0.64);
  text-decoration: unset;
}

.footer-wrap .box-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  justify-content: center;
  align-items: flex-end;
  width: 85%;
  height: 78%;
  margin: 0 auto;
}

.footer-wrap .box-wrap .box-item {
  position: relative;
  width: 100%;
  height: 69%;
  background: linear-gradient(90deg, #93adeb 0%, #6b8ddb 100%);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 38px 10px 23px;
  box-sizing: border-box;
}

.footer-wrap .box-wrap .box-item .box-icon {
  width: 140px;
  height: 140px;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: -75px;
}

.footer-wrap .box-wrap .box-item .box-icon.icon-1 {
  background-image: var(--img-01);
}

.footer-wrap .box-wrap .box-item .box-icon.icon-2 {
  background-image: var(--img-02);
}

.footer-wrap .box-wrap .box-item .box-icon.icon-3 {
  background-image: var(--img-03);
}

.footer-wrap .box-wrap .box-item .box-icon.icon-4 {
  background-image: var(--img-04);
}


.footer-wrap .box-wrap .box-item .box-title {
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  color: #ffffff;
  line-height: 21px;
}

.footer-wrap .box-wrap .box-item .box-desc {
  height: 20px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 16px;
  text-align: center;
}

.footer-wrap .box-wrap .box-item .has-hover {
  margin-top: 31px;
  width: auto;
  height: 25px;
  display: block;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  line-height: 21px;
  text-decoration: unset;
}

.footer-wrap .box-wrap .box-item .has-hover .item-button {
  width: 164px;
  height: 41px;
  line-height: 41px;
  font-size: 18px;
  font-weight: 600;
  background: #ffffff;
  color: #066cff;
  border-radius: 8px;
  cursor: pointer;
}

.footer-wrap .box-wrap .box-item .has-hover .dl-button {
  font-size: 18px;
  cursor: pointer;
}

.footer-wrap .box-wrap .box-item .has-hover .no-auth {
  color: rgba(6, 108, 255, 0.4);
}

.footer-wrap .box-wrap .box-item .box-icon,
.footer-wrap .box-wrap .box-item .has-hover {
  display: none;
}

.footer-wrap .box-wrap .active-box-item {
  cursor: pointer;
  width: auto;
  height: 100%;
  background: linear-gradient(90deg, #58b8f4 0%, #1a82fa 100%);
}

.footer-wrap .box-wrap .active-box-item .box-icon {
  display: inline;
}

.footer-wrap .box-wrap .active-box-item .box-title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 500;
  line-height: 26px;
}

.footer-wrap .box-wrap .active-box-item .box-desc {
  /* font-size: 18px; */
  font-weight: 400;
  line-height: 21px;
}

.footer-wrap .box-wrap .active-box-item .has-hover {
  display: inline;
}

/* 登录弹窗 */
.layui-layer {
  border-radius: 10px !important;
}

.login-form {
  margin: 60px 40px;
  height: 367px;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
}

.login-form {
  flex: 1;
}

.login-form .layui-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.login-form .layui-form .layui-form-item {
  margin-bottom: 24px !important;
}

.login-form .layui-form .layui-form-item .layui-input-prefix {
  width: 40px !important;
  line-height: 48px;
}

.login-form .layui-form .layui-form-item .layui-input {
  height: 50px;
  border-radius: 8px;
  padding: 0 40px;
}

.eyes-icon {
  cursor: pointer;
  z-index: 9999;
  line-height: 48px !important;
}

.captcha-input {
  padding-right: 100px !important;
}

.captcha-box {
  z-index: 9999;
  line-height: 48px !important;
  width: 100px !important;
  height: 100% !important;
  cursor: pointer;
}

.captcha-box img {
  z-index: 9999;
  width: 100%;
  height: 35px;
  border-radius: 4px;
}

.login-form .layui-form .footer-btns {
  display: flex;
}

.login-form .layui-form .footer-btns .submit-btn {
  margin: 0 auto;
  width: 294px;
  border-radius: 12px;
  height: 50px;
  background: #196dff;
  border: none;
  color: #fff;
  cursor: pointer;
}
