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

ul,
ol,
li {
  list-style: none;
}

a {
  text-decoration: none;
  outline: none;
  color: #F2F2F2;
}

.both:after {
  content: '';
  height: 0;
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
}


.flex--center {
  display: flex;
  justify-content: center;
  align-items: center;
}


.nav {
  background: #3E12FF;
  height: 80px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.nav-box {
  width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  /*width: 140px;
  height: 30px;
  margin-right: 90px;
  */
  width: 160px;
  margin-right: 90px;
}

.nav-logo>img {
  width: 100%;
  height: 100%;
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
}

.nav-links-item {
  margin-right: 64px;
  position: relative;
  font-size: 22px;
  font-weight: bold;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-links-item:hover .nav-hover-box {
  visibility: visible;
}

.nav-hover-box {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
  width: 102px;
  background: #fff;
  z-index: 999;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  visibility: hidden;
}

.nav-hover-box:hover .nav-hover-box {
  visibility: visible;
}

.nav-hover-box-item {
  padding: 8px 16px;
  text-align: center;
  cursor: pointer;
}

.nav-hover-box-item>a {
  font-weight: 400;
  font-size: 15px;
  color: #1D1697;
}


.nav-active {
  /* background: url(../images/Rectangle_32@2x.png) no-repeat center bottom;
  background-size: 100%; */
  background-color: #2a24d9;
  padding: 4px 16px;
  border-radius: 80px;
  height: 44px;
  /* height: 5px; */
  /* border-radius: 5px; */
}

/* .nav-active::before {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  background: url(../images/navbottom.png) no-repeat center bottom;
  background-size: 100%;
  height: 5px;
  border-radius: 5px;
} */

.navbtn {
  width: 145px;
  height: 48px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ed5e3a;
  border-radius: 30px;
  font-size: 20px;
  font-weight: bold;
  color: #FFFFFF;
  /*
  width: 115px;
  height: 32px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ed5e3a;
  border-radius: 30px;
  */
}


.footer {
  width: 100%;
  height: 392px;
  /* background: #1D1697; */
  /* background: #3E12FF; */
  background: url(../images/Group_290@2x.png) no-repeat center center;
  background-size: cover;
  /* overflow: hidden; */
  /* background: #3C12FF; */
  position: relative;
  z-index: 1;
}

.footer-navi1 {
  width: 200px;
  height: 50px;
  position: absolute;
  bottom: 122px;
  right: 30%;
}

.footer-navi2 {
  width: 200px;
  height: 50px;
  position: absolute;
  bottom: 84px;
  right: 30%;
}

.footer-box {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  /* display: flex; */
  /* justify-content: space-around; */
  background: url(../images/Group_305@2x.png?v=1) no-repeat center center;
  background-size: cover;
  position: relative;
}

.footer-l {
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  width: 242px;
  height: 52px;
  margin-bottom: 60px;
}

.footer-l-t1 {
  font-weight: 400;
  font-size: 14px;
  color: #FFFFFF;
  line-height: 16px;
}

.footer-line {
  width: 1px;
  height: 128px;
  background: #fff;
}

.footer-r {
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: left;
}

.footer-r-t1 {
  font-weight: 400;
  font-size: 16px;
  color: #FFFFFF;
  line-height: 19px;
}



dialog {
  width: 580px;
  height: 82vh;
  border: none;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);

  /* 让弹窗居中 */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

dialog[open] {
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* 弹窗的遮罩层优化 */
dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

/* 防止滚动条闪烁 */
body.no-scroll {
  overflow: hidden;
}




.m-ic {
  position: relative;
  margin-bottom: 20px;
}

.tips {
  position: absolute;
  top: 15px;
  right: -20px;
}

.tips::after {
  content: '';
  position: absolute;
  top: 0;
  left: -10px;
  width: 20px;
  height: 20px;
  background: url(../images/tips.png) no-repeat center center;
  background-size: 100%;
  cursor: pointer;
}

.tips:hover .tips-t {
  display: block;
}

.tips-t {
  display: none;
  position: absolute;
  top: 15px;
  right: 5px;
  width: 220px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.i-field {
  width: 100%;
  height: 50px;
  padding: 20px 12px 0 10px;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid #cccccc;
  font-size: 16px;
  outline: none;
  transition: all 0.25s ease;
  /* margin-bottom: 15px; */
}

.del-str {
  position: absolute;
  right: 10px;
  top: 12px;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  background-color: #f5f5f5;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 24px;
  border-radius: 50%;
}

.m-select {
  width: 100%;
  height: 50px;
  padding: 20px 12px 0 10px;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid #cccccc;
  font-size: 16px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.m-select.focus {
  border-color: #57bb60;
}

.m-select-label {
  position: absolute;
  top: 15px;
  left: 10px;
  font-size: 16px;
  color: #aaa;
  transition: all 0.25s ease;
  cursor: pointer;
}

.m-select-label.active {
  top: 4px;
  left: 12px;
  font-size: 12px;
}

.m-select-label::after {
  content: '*';
  color: red;
  position: absolute;
  top: -5px;
  right: -10px;
  font-size: 18px;
}


/* 用包裹层的伪类画箭头 */
.m-select::after {
  content: "";
  position: absolute;
  right: 16px;
  /* 调整箭头位置 */
  top: 22px;
  width: 5px;
  height: 5px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  transform: rotate(135deg);
  pointer-events: none;
}

/* 初始状态 */
.i-field+label {
  position: absolute;
  top: 15px;
  left: 10px;
  font-size: 16px;
  color: #aaa;
  transition: all 0.25s ease;
}

/* 聚焦时标签上移 */
.i-field:focus+label,
.i-field:not(:placeholder-shown)+label {
  top: 4px;
  left: 12px;
  font-size: 12px;
  /* color: #2196F3; */
}

/* 聚焦时改变边框颜色 */
.i-field:focus {
  border-color: #57bb60;
}

.selectview {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  z-index: 999;
  transition: all 0.25s ease;
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
}

.selectview.show {
  display: block;
}

.selectview-item {
  height: 52px;
  line-height: 52px;
  padding: 0 10px;
  cursor: pointer;
  font-size: 16px;
  color: #001157;
}

.selectview-item:hover {
  background: #f5f5f5;
  /* 在文字下方加下划线 */
  text-decoration: underline;
}

.m-ic-required {
  position: relative;
  font-size: 16px;
}

.m-ic-required::after {
  content: '*';
  color: red;
  position: absolute;
  top: -5px;
  right: -10px;
  font-size: 18px;
}

/* .role-t{
  margin-top: 15px;
  color: #e22d2d;
  font-size: 14px;
  font-weight: lighter;
} */
/* 提示文字 */
.role {
  display: none;
  color: #f00;
  font-size: 12px;
  margin-top: 15px;
}

/* 显示错误 */
.m-ic.error .role {
  display: block;
}

/* 输入框错误样式 */
.m-ic.error .i-field {
  border-color: #f00;
}


.check {
  display: flex;
  margin-top: 20px;
}

.check-box {
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.check-t {
  font-size: 16px;
  color: #666;
  margin-left: 10px;
  margin-top: -2px;
}

.tdesc {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
  text-align: center;
}

.tdesc a {
  color: #222;
  text-decoration: underline;
}



#submit {
  width: 100%;
  height: 56px;
  /*background: #0abf53;*/
  background-color: #ed5e3a;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}