* {
  margin: 0;
  padding: 0;
}

[v-cloak] {
  display: none;
}

:root {
  --color-primary: #0052d9;
}

body {

  background: url(../img/bg.png) no-repeat center/cover;
  overflow-y: scroll;
  overflow-x: hidden;
}

.template-container {
  width: 100vw;
  height: 100vh;
  display: flex !important;
  flex-direction: column;
}

.auth-login-page,
.auth-regist-page,
.auth-forget-page {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
}

.login-header {
  display: flex;
  padding: 20px;
  align-items: center;
}

.login-header-logo {
  font-size: 0px;
  margin-left: 16px;
}

.login-line {
  width: 1px;
  background: linear-gradient(to bottom, transparent 20%, #00000042 10% 90%, transparent 80%);
  margin: 0px 17px;
  height: 25px;
}


.login-header h3 {
  font-size: 18px;
  font-weight: 400;
  color: rgba(0, 0, 0, .9);
}

.read-text {
  flex: 1;
  font-size: 12px;
  line-height: 19px;
  padding: 0 10px;
  color: #606266;
  font-weight: 500;
}

#login,
#regist,
#forget {
  margin-top: max(calc(calc((100vh - 100px) / 2) - calc(var(--current-login-height) / 2)), 0px);
  flex: 1;
}

.login-container {
  font-size: initial;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.login-box {
  background-color: #ffffff;
  position: relative;
}

.login-overview {
  margin-left: 120px;
}

.cart-btn {
  position: relative;
  border: 1px solid var(--color-primary) !important;
  color: var(--color-primary);
}

.cart-btn span {
  display: inline-block;
  top: 0px;
  bottom: 0px;
  left: 10px;
  margin: auto;
  margin-left: 20px;
}

.cart-btn:hover {
  background-color: #ecf2fe !important;
  color: var(--color-primary) !important;

}

.cart-btn::before {
  content: '';
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  width: 29%;
  background: linear-gradient(to right, var(--color-primary)) no-repeat left 0px top 0px / 66% 100%, linear-gradient(to top right, var(--color-primary) 50%, transparent 50%) no-repeat right 0px top 0px / 35% 100%;
}

.cart-btn svg {
  position: absolute;
  left: 10px;
  color: #ffffff;
  top: 0px;
  bottom: 0px;
  margin: auto;
  font-size: 18px;
}

@media screen and (max-width:1560px) {
  .login-overview {
    margin-left: 50px;
  }
}

@media screen and (max-width:1200px) {
  .login-overview {
    display: none;
  }
}

.login-overview h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
}

.login-overview h3 span {
  color: var(--color-primary);

}

.login-overview-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 14px;
  color: #4b5b76;
  font-weight: 400;
  margin-bottom: 30px;
}

.login-overview-list li svg {
  margin-right: 16px;
  vertical-align: middle;
  color: var(--color-primary);
}

.login-use a {
  text-decoration: none;
  background: #ffffff;
  min-width: 152px;
  line-height: 40px;
  text-align: center;
  display: inline-block;
  font-weight: 300;
  color: var(--color-primary);
  font-size: 14px;
}

.login-use a:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

.login-tag {
  position: absolute;
  z-index: 100;
  font-style: normal;
  right: 0px;
  padding: 8px 8px 8px 25px;
  font-size: 12px;
  color: #003cab;
  width: 48px;
  text-align: center;
  background: linear-gradient(to right top, transparent 50%, #D9E1FF 50%) no-repeat left top/25px 100%, linear-gradient(to right, transparent 25px, #D9E1FF 25px)
}

/* 背景板 开始 */
.container-back {
  width: 15.7rem;
  height: 6.8rem;
  background: #2f53eb;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  font-family: Source Han Sans CN;
}

.back-text {
  font-size: .27rem;
  z-index: 10;
  color: #ffffff;
  margin-top: 1.39rem;
  margin-left: .65rem;
  font-weight: 400;
}

.text-welcome {
  font-size: .74rem;
  font-family: Bahnschrift;
  line-height: .74rem;
}

.text-title {
  margin-top: 5px;
}

.text-level {
  font-size: .12rem;
  margin-top: .81rem;
}

.back-line1,
.back-line2,
.back-line3 {
  width: .6rem;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.3000) 0%,
      rgba(255, 255, 255, 0) 100%);
  z-index: 2;
  position: absolute;
}

.back-line1 {
  height: 5rem;
  opacity: 1;
  transform: rotate(45deg);
  top: -1.2rem;
  left: 4.15rem;
}

.back-line2 {
  height: 7rem;
  transform: rotate(110deg);
  top: 0px;
  left: 5rem;
}

.back-line3 {
  height: 5rem;
  transform: rotate(45deg);
  top: 2.3rem;
  left: 1.5rem;
}

/* 背景板结束 */

/* 前景 登录框 开始 */
.container-before {
  width: 432px;
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.1000);
  right: .9rem;
  border: 4px;
  z-index: 10;
}

.login {
  padding: 40px 46px 28px;
  font-size: 14px;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 14px;
  position: relative;
}

.lang-box {
  position: absolute;
  right: 0.1rem;
  top: 0.1rem;
}

.lang-option {
  display: flex;
  align-items: center;
  column-gap: 5px;
}

.lang-option .lang-img {
  width: 30px;
  height: 20px;
  display: inline-block;
  vertical-align: middle
}

.login-text {
  display: flex;
  flex-direction: column;
}

.login-text-title {
  font-size: .32rem;
  color: #1e2736;
  line-height: .32rem;
}

.login-text-regist {
  font-weight: Regular;
  margin-top: .08rem;
  color: #1e2736;
}

.login-text-regist a {
  color: #0058ff;
  cursor: pointer;
}



.login-top {
  display: flex;
  justify-content: center;
  margin-bottom: 70px;
}

.login-email,
.login-phone {
  line-height: 2.5;
  color: #000;
  cursor: pointer;
  font-size: 18px;
}

.active {
  color: var(--color-primary);
  border-bottom: 2px solid currentColor;
}



.login-email {
  margin-right: .4rem;
}

.form-main {
  margin-top: 30px;
}



.form-main input,
.form-main .el-input-group__prepend {
  border-top: transparent !important;
  border-left: transparent;
  border-right: transparent;
  border-radius: 0px !important;
  background: none !important;

}

.form-main .el-input-group__prepend {
  border-bottom: transparent;
}

.form-item {
  margin-top: 30px;
}

.phone-method {
  display: flex;
  margin: auto;
  margin-bottom: 20px;
  justify-content: center;
  line-height: 34px;
  background: #F1F2F5;
  width: fit-content;
  border-radius: 32px;
  position: relative;
  --phone-method-left: 2px
}

.phone-method::before {
  content: "";
  width: 96px;
  background: #ffffff;
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0px;
  transform: translateX(var(--phone-method-left));
  border-radius: 32px;
  transition: .3s;
}

.phone-method li {
  opacity: 0.9999999;
  width: 100px;
  text-align: center;
  font-size: 12px;
  color: #00000099;
  cursor: pointer;
}

.other-handle {
  margin-top: 70px;

}

.other-handle-divider {
  font-style: normal;
  color: rgba(0, 0, 0, .6);
  font-size: 12px;
  display: block;
  text-align: center;
  position: relative;
  opacity: 0.9999999;
}

.other-handle-divider span {
  padding: 0px 10px;
  background: #ffffff;
  position: relative;
  z-index: 100;
}

.other-handle-divider::after {
  content: "";
  position: absolute;
  height: 1px;
  left: 0px;
  right: 0px;
  top: 0;
  bottom: 0;
  margin: auto;
  background: linear-gradient(to left, rgba(0, 0, 0, .3) 50%, transparent 50% 100%) left top / 1% 100%;

}

.login-other-section {
  display: flex;
  align-items: baseline;
  line-height: 0px;
  font-size: 0px;
  justify-content: center;
  padding: 24px 48px 0px;
}

.login-other-section a {
  color: rgba(0, 0, 0, .6);
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
}

.login-other-section span+span::before {
  content: '';
  display: inline-block;
  width: 1px;
  background: currentColor;
  height: 10px;
  margin: 0px 15px;
  background: rgba(0, 0, 0, .3);
  vertical-align: -1px;
}

.input-with-select .el-input-group__prepend {
  background: #ffffff;
  width: 116px;
  padding: 0;
}

.input-with-select .auth-country-select {
  width: 116px;
  margin: -10px 0;
}

.input-with-select .auth-country-select > .el-input {
  width: 100%;
}

.auth-country-select-dropdown {
  min-width: 240px !important;
}

.code-item {
  display: flex;
  flex-direction: row;
}

.code-btn {
  margin-left: 10px;
}

.rember-item {
  margin-top: .2rem;
  display: flex;
  justify-content: space-between;
  line-height: 1.5;

}

.rember-item a {
  color: var(--color-primary);
  cursor: pointer;
}

.login-btn.login-btn {
  width: 100%;
  height: 46px;
  background: var(--color-primary);
}

.login-btn>span {
  display: flex;
  flex: 1;
  justify-content: space-between;
}

.pass-btn {
  width: 100%;
  height: 46px;
  margin-left: 0 !important;
  margin-top: .15rem;
}

.read-item {
  margin-top: .2rem;
}

.read-item a {
  color: var(--color-primary);
  cursor: pointer;
}

.line-item {
  margin-top: .4rem;
}

.line-item text {
  font-size: 16px;
  color: #1e2736;
}

.type-btn {
  width: 100%;
  height: 46px;
  font-size: .16rem;
}

.login-type {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 15px !important;
  justify-content: center;
}

.login-type+.other-handle {
  margin-top: 22px;
}

.a-text {
  color: #0058ff;
  cursor: pointer;
  margin-right: 5px;
}

.oauth-item {
  display: flex;
  align-items: center;

  cursor: pointer;
}

.oauth-img {
  width: 16px;
  aspect-ratio: 1/1;
  margin-right: 4px;
}

.oauth-item:hover .oauth-img {
  filter: brightness(0.8);
}

.oauth-item+.oauth-item {
  margin-left: 20px;
}

.oauth-name {
  font-size: 12px;
}

.feature-section {
  width: 100vw;
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: initial;

}

.auth-login-page .feature-section {
  margin-top: 48px;
}

.auth-login-page .feature-section p {
  margin-top: 12px;
}

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

.feature-section-top i {
  font-size: 0px;
}

.feature-section-top menu {
  display: flex;
  gap: 20px;
  margin-left: 20px;
  font-size: 12px;
}

.feature-section-top menu[hidden] {
  display: none;
}

.feature-section-top menu a,
.feature-section-top menu span,
.feature-section p {
  color: #4b5b76;
  font-size: 12px;
  text-decoration: none;
}

.feature-section p {
  padding-bottom: 10px;
}

.feature-section p a {
  color: inherit;
  text-decoration: none;
}

.feature-section p {
  text-align: center;
}

.feature-section-top menu a:hover {
  color: var(--color-primary);
}

.oauth-divider>span {
  font-size: 12px;
  color: rgba(0, 0, 0, .6);
  padding: 0px 10px;
  background: #ffffff;
  position: relative;
  z-index: 10;
  font-weight: 400;
}

.oauth-divider {
  display: flex;
  justify-content: center;
  position: relative;
}

.oauth-divider::before {
  content: '';
  position: absolute;
  background: linear-gradient(to right, #E3E6EB 0px 2px, transparent 2px 4px) repeat center/4px;
  left: 0px;
  right: 0px;
  height: 1px;
  top: 0px;
  bottom: 0px;
  margin: auto;
}

/* 
@media screen and (max-width: 750px) {
  .login-container {
    height: calc(100vh - 1.2rem);
    width: 100vw;
    background: #f2f2fe;
    padding: .6rem 0;
  }

  .container-back {
    display: none;
  }

  .container-before {
    width: 100%;
    height: 100%;
    margin: 0rem .3rem;
    position: unset;
    z-index: 0;
  }

  .login {
    padding-top: 1.17rem;
    padding-left: .3rem;
    padding-right: .3rem;
    font-size: .26rem;
    line-height: .3rem;
  }

  .login-text-title {
    font-size: .4rem;
  }

  .login-text-regist {
    margin-top: .1rem;
    font-size: .28rem;
  }

  .login-form {
    margin-top: 1.21rem;
  }

  .form-main {
    margin-top: .6rem;
  }

  .login-email,
  .login-phone {
    height: .34rem;
    width: 100%;
    text-align: center;
    color: #666b80;
    cursor: pointer;
    padding-bottom: .13rem;
  }

  .el-checkbox__label {
    font-size: .22rem;
  }

  .read-item {
    line-height: .3rem;
  }

  .login-btn {
    font-size: .34rem;
    height: .8rem;
  }

  .type-btn {
    border: none;
    color: var(--color-primary);
    font-size: .34rem;
  }
} */

/* 登录、注册页的小屏适配仅在独立作用域内生效，避免影响共用此样式的找回密码页。 */
@media screen and (max-width: 750px) {
  .auth-responsive-page {
    width: 100%;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
    box-sizing: border-box;
  }

  .auth-responsive-page #login,
  .auth-responsive-page #regist {
    width: 100%;
  }

  .auth-responsive-page .feature-section {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
    box-sizing: border-box;
  }

  .auth-login-page .feature-section {
    margin-top: 32px;
  }

  .auth-responsive-page .feature-section-top,
  .auth-responsive-page .feature-section-top menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .auth-responsive-page .feature-section-top menu {
    gap: 8px 16px;
  }

  .auth-responsive-page .feature-section p {
    line-height: 18px;
    overflow-wrap: anywhere;
  }

  .auth-responsive-page .el-input__inner {
    height: clamp(40px, 10.6667vw, 44px);
    font-size: clamp(13px, 4vw, 16px);
  }

  .auth-responsive-page .el-button {
    font-size: clamp(14px, 4.5333vw, 18px);
  }

  .auth-responsive-body .el-message {
    width: calc(100% - 24px);
    min-width: 0;
    max-width: 380px;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 575px) {
  .auth-responsive-page .login-container {
    width: 100%;
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
    box-sizing: border-box;
  }

  .auth-responsive-page .login-box,
  .auth-responsive-page .container-before {
    width: 100%;
    max-width: 432px;
    min-width: 0;
    box-sizing: border-box;
  }

  .auth-responsive-page .login {
    min-width: 0;
    padding-right: clamp(20px, calc((100vw - 364px) / 2), 46px);
    padding-left: clamp(20px, calc((100vw - 364px) / 2), 46px);
    box-sizing: border-box;
  }

  .auth-responsive-page .login-form,
  .auth-responsive-page .form-main,
  .auth-responsive-page .form-item,
  .auth-responsive-page .el-input,
  .auth-responsive-page .el-input__inner {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .auth-responsive-page .input-with-select .el-input-group__prepend .el-input__inner {
    padding-right: 22px;
    padding-left: 8px;
  }

  .auth-responsive-page .code-item > .el-input {
    width: auto;
    flex: 1 1 0;
  }

  .auth-responsive-page .code-item > .code-btn {
    max-width: 50%;
    margin-left: 8px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .auth-responsive-page .login-type {
    gap: 12px 18px;
  }

  .auth-responsive-page .oauth-item + .oauth-item {
    margin-left: 0;
  }

  .auth-responsive-page .login-other-section {
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
    flex-wrap: wrap;
    row-gap: 14px;
  }

  .auth-responsive-page .read-text {
    min-width: 0;
  }
}

@media screen and (max-width: 359px) {
  .auth-responsive-page .login-header {
    padding-right: 12px;
    padding-left: 12px;
  }

  .auth-responsive-page .login-header-logo {
    margin-left: 0;
  }

  .auth-responsive-page .login-line {
    margin-right: 12px;
    margin-left: 12px;
  }

  .auth-responsive-page .login-other-section span + span::before {
    margin-right: 8px;
    margin-left: 8px;
  }
}

.rp-register-code { display: block; margin: 16px 0; }
.rp-register-code label { display: block; margin-bottom: 8px; }
.rp-register-code small { display: block; margin-top: 6px; color: #697386; line-height: 1.5; }

/* Extra contact fields keep the registration card compact and fully scrollable. */
.auth-regist-page .login-top { margin-bottom: 28px; }
.auth-regist-page .form-main { margin-top: 0; }
.auth-regist-page .form-item { margin-top: 22px; }

.rp-register-code .el-input.is-disabled .el-input__inner { color: #697386; }
