html,
body {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: 100%;
  /* font-family: Avenir Next, Avenir, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Helvetica, Roboto, Arial, PingFang SC, Source Han Sans CN, Hiragino Sans GB, Microsoft Yahei, Dengxian, Microsoft JhengHei, sans-serif; */
  /*font-feature-settings: "smcp";*/
  /*font-variant: small-caps;*/
  /*text-transform: lowercase;*/
  /* font-family: calibri; */
  font-family: "BeVietnamPro-Light";
  background: #ffffff;
  margin: 0;
}

@font-face {
  font-family: "BeVietnamPro-Light";
  src: url("/assets/fonts/Poppins/BeVietnamPro-Light.ttf");
}

@font-face {
  font-family: "BeVietnamPro-Medium";
  src: url("/assets/fonts/Poppins/BeVietnamPro-Medium.ttf");
}

@font-face {
  font-family: "Poppins-Black";
  src: url("/assets/fonts/Poppins/Poppins-Black.ttf");
}

@font-face {
  font-family: "Poppins-BlackItalic";
  src: url("/assets/fonts/Poppins/Poppins-BlackItalic.ttf");
}

@font-face {
  font-family: "Poppins-Bold";
  src: url("/assets/fonts/Poppins/Poppins-Bold.ttf");
}

@font-face {
  font-family: "Poppins-BoldItalic";
  src: url("/assets/fonts/Poppins/Poppins-BoldItalic.ttf");
}

@font-face {
  font-family: "Poppins-ExtraBold";
  src: url("/assets/fonts/Poppins/Poppins-ExtraBold.ttf");
}

@font-face {
  font-family: "Poppins-ExtraBoldItalic";
  src: url("/assets/fonts/Poppins/Poppins-ExtraBoldItalic.ttf");
}

@font-face {
  font-family: "Poppins-ExtraLight";
  src: url("/assets/fonts/Poppins/Poppins-ExtraLight.ttf");
}

@font-face {
  font-family: "Poppins-ExtraLightItalic";
  src: url("/assets/fonts/Poppins/Poppins-ExtraLightItalic.ttf");
}

@font-face {
  font-family: "Poppins-Italic";
  src: url("/assets/fonts/Poppins/Poppins-Italic.ttf");
}

@font-face {
  font-family: "Poppins-Light";
  src: url("/assets/fonts/Poppins/Poppins-Light.ttf");
}

@font-face {
  font-family: "Poppins-LightItalic";
  src: url("/assets/fonts/Poppins/Poppins-LightItalic.ttf");
}

@font-face {
  font-family: "Poppins-Medium";
  src: url("/assets/fonts/Poppins/Poppins-Medium.ttf");
}

@font-face {
  font-family: "Poppins-MediumItalic";
  src: url("/assets/fonts/Poppins/Poppins-MediumItalic.ttf");
}

@font-face {
  font-family: "Poppins-Regular";
  src: url("/assets/fonts/Poppins/Poppins-Regular.ttf");
}

@font-face {
  font-family: "Poppins-SemiBold";
  src: url("/assets/fonts/Poppins/Poppins-SemiBold.ttf");
}

@font-face {
  font-family: "Poppins-SemiBoldItalic";
  src: url("/assets/fonts/Poppins/Poppins-SemiBoldItalic.ttf");
}

@font-face {
  font-family: "Poppins-Thin";
  src: url("/assets/fonts/Poppins/Poppins-Thin.ttf");
}

@font-face {
  font-family: "Poppins-ThinItalic";
  src: url("/assets/fonts/Poppins/Poppins-ThinItalic.ttf");
}

.noShow {
  display: none;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
}

.flex-column {
  flex-direction: column;
}

.align-center {
  align-items: center;
}

.align-end {
  align-items: flex-end;
}

.jus-end {
  justify-content: flex-end;
}

.jus-center {
  justify-content: center;
}

.jus-ar {
  justify-content: space-around;
}

.jus-bt {
  justify-content: space-between;
}

a {
  text-decoration: none;
  color: black;
}

a:hover {
  text-decoration: none;
  cursor: pointer;
}

/*a标签鼠标经过mouseover时的样式*/
a:link {
  text-decoration: none;
  cursor: pointer;
}

/*a标签未访问时的样式*/
a:visited {
  text-decoration: overline;
  cursor: pointer;
}

/*a标签访问过之后样式*/
a:active {
  text-decoration: overline;
  cursor: pointer;
}

.over-hd1 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.over-hd2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/*a标签鼠标按下mousedown时的样式*/

@media (max-width: 1200px) {
  legend {
    font-size: calc(1.275rem + 0.3vw);
  }

  h1,
  .h1 {
    font-size: calc(1.375rem + 1.5vw);
  }

  h2,
  .h2 {
    font-size: calc(1.325rem + 0.9vw);
  }

  h3,
  .h3 {
    font-size: calc(1.3rem + 0.6vw);
  }

  h4,
  .h4 {
    font-size: calc(1.275rem + 0.3vw);
  }

  .display-1 {
    font-size: calc(1.725rem + 5.7vw);
  }

  .display-2 {
    font-size: calc(1.675rem + 5.1vw);
  }

  .display-3 {
    font-size: calc(1.575rem + 3.9vw);
  }

  .display-4 {
    font-size: calc(1.475rem + 2.7vw);
  }

  .close {
    font-size: calc(1.275rem + 0.3vw);
  }
}

.common-title {
  position: relative;
  display: inline-block;
  margin-bottom: 4px;
  font-size: 52px;
  line-height: 100%;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #333;
  z-index: 0;
}

.common-title:after {
  position: absolute;
  display: block;
  content: "";
  height: 26px;
  width: 100%;
  padding: 0 12px;
  left: -12px;
  bottom: -4px;
  background-color: rgba(250, 240, 255, 1);
  pointer-events: none;
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .xs-common-title {
    text-align: center;
  }
  .common-title {
    font-size: 32px;
    white-space: pre-line;
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: #333;
    z-index: 0;
    margin: 0 auto 6% !important;
  }

  .common-title:after {
    position: absolute;
    display: block;
    content: "";
    height: 26px;
    width: 100%;
    padding: 0 12px;
    left: -12px;
    bottom: -4px;
    background-color: rgba(250, 240, 255, 1);
    pointer-events: none;
    z-index: -1;
  }
}

.unshow {
  display: none !important;
}

.form-control:focus {
  border-color: #7723B6;
  box-shadow: 0 0 0 0.25rem rgba(119, 34, 182, 0.2);
}

.form-select:focus {
  border-color: #7723B6;
  box-shadow: 0 0 0 0.25rem rgba(119, 34, 182, 0.2);
}

/* CSS样式用于演示用途，你可以根据自己的需求进行修改 */
.loadMask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 998;
}

.loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
}

.loader {
  border: 8px solid #f3f3f3; /* Light grey */
  border-top: 8px solid #7723B6; /* Blue */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
  margin: 0 auto;
  margin-top: 50px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  text-align: center;
  color: #7723B6;
  font-size: 20px;
  margin-top: 20px;
}

/* ----------------------------------- */
.loginMask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.loginMask .content {
  display: flex;
  width: 736px;
  height: 563px;
  border-radius: 12px;
  background: #fff;
}

.loginMask .content .leftPart {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 320px;
  background: url(../assets/images/webp/bgp13.webp) no-repeat, url(../assets/images/webp/bgp14.webp) no-repeat;
  background-size: 100% 100%;
}

.loginMask .content .leftPart img {
  width: 200px;
  height: auto;
}

.loginMask .content .rightPart {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  width: 416px;
  padding: 30px 40px;
}

.loginMask .content .rightPart .colse {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.loginMask .content .rightPart h2 {
  color: #222;
  font-size: 32px;
  font-weight: 700;
  font-family: "BeVietnamPro-Medium";
}

.loginMask .content .rightPart p {
  color: #999;
  font-size: 14px;
}

.loginMask .content .rightPart .item {
  display: flex;
  flex-direction: column;
}

.loginMask .content .rightPart .item label {
  margin-bottom: 5px;
  color: #666;
  font-size: 14px;
}

.loginMask .content .rightPart .item .form-control {
  height: 50px;
  font-size: 14px;
  border-radius: 25px;
}

.loginMask .content .rightPart .item .red {
  color: #F75232 !important;
}

.loginMask .content .rightPart .item .input_group {
  position: relative;
  height: 50px;
  border-radius: 25px;
}

.loginMask .content .rightPart .item .input_group .sendBtn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 100px;
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 20px;
  border: none;
  background: #131313;
}

.loginMask .content .rightPart .item .input_group .sended {
  background: rgba(19, 19, 19, 0.2);
}

.loginMask .content .rightPart .item button {
  width: 100%;
  height: 50px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  background: #131313;
}

.loginMask .content .rightPart .item button img {
  cursor: pointer;
}

.loginMask .content .rightPart .item .form-check {
  display: flex;
  align-items: start;
}

.loginMask .content .rightPart .item .form-check-input {
  margin-right: 5px;
}

.loginMask .content .rightPart .item .form-check-label {
  display: inline;
  line-height: 22px;
  font-size: 12px;
}

/* 隐藏默认的复选框 */
.loginMask .content .rightPart .item .form-check .form-check-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* 自定义复选框容器样式 */
.loginMask .content .rightPart .item .form-check  {
  position: relative;
  line-height: 1.5;
  user-select: none;
}

/* 自定义复选框样式 */
.loginMask .content .rightPart .item .form-check .form-check-label {
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  line-height: 20px;
}

/* 自定义复选框外观 */
.loginMask .content .rightPart .item .form-check .form-check-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  background-color: #fff;
  border-radius: 3px;
  transition: background-color 0.3s, border-color 0.3s;
}

/* 当复选框选中时 */
.loginMask .content .rightPart .item .form-check .form-check-input:checked + .form-check-label::before {
  background-color: #7723B6; /* 自定义背景色 */
  border-color: #7723B6; /* 自定义边框色 */
  box-shadow: 0 0 0 0.25rem rgba(119, 34, 182, 0.2);
}

/* 显示选中的勾选标记 */
.loginMask .content .rightPart .item .form-check .form-check-input:checked + .form-check-label::after {
  content: '\2713'; /* Unicode勾选符号 */
  position: absolute;
  left: 4px;
  top: 0;
  color: #fff; /* 勾选标记的颜色 */
  font-size: 12px;
}

.loginMask .content .rightPart .item a {
  color: #7722B6;
  text-decoration: underline;
  cursor: pointer;
}

.loginMask .content .rightPart .item p {
  margin: 10px auto;
  text-align: center;
}

@media screen and (max-width: 820px) {
  .loginMask {
    place-items: end;
  }

  .loginMask .content {
    width: 100%;
    border-radius: 12px 12px 0 0;
    transform: translateY(100%); /* 初始位置在视口下方 */
    animation: slideUp 0.5s ease-out forwards; /* 应用动画 */
  }

  @keyframes slideUp {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }

  .loginMask .content .leftPart {
    display: none;
  }

  .loginMask .content .rightPart {
    width: 100%;
    padding: 30px;
  }

  .loginMask .content .rightPart .policy {
    flex-direction: column-reverse;
  }
}