* {
  margin: 0;
  padding: 0;
}

[v-cloak] {
  display: none;
}

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

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

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

/* 登录表单样式 */
.login {
  font-size: 14px;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 14px;
  position: relative;
}

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

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

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

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

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

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

.login-top {
  display: flex;
  flex-direction: row;
}

.login-email,
.login-phone {
  height: 0.34rem;
  color: #666b80;
  cursor: pointer;
}

.active {
  color: #0058ff;
  border-bottom: 2px solid #0058ff;
}

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

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

.form-item {
  margin-top: 0.3rem;
}

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

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

.code-btn {
  margin-left: 0.1rem;
  background: #0058ff;
  color: #ffffff;
}

.rember-item {
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.5;
}

.rember-item a {
  color: #0058ff;
  cursor: pointer;
}

.login-btn {
  width: 100%;
  height: 46px;
  background: #0058ff;
}

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

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

.read-item a {
  color: #0058ff;
  cursor: pointer;
}

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

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

/* 第三方登录样式 */
.login-type {
  display: flex;
  align-items: center;
  column-gap: 0.15rem;
  flex-wrap: wrap;
}

.oauth-item {
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
}

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

.oauth-img {
  width: 40px;
  height: 40px;
}

/* 二维码样式 */
.login .qr-code {
  position: absolute;
  right: 1.05rem;
  top: 0.8rem;
  cursor: pointer;
  width: 0.48rem;
  height: 0.48rem;
}

.login .qr-code .login-icon {
  fill: #0058ff;
  width: 100%;
  height: 100%;
}

.login .qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.login .qr-box .qr-box-img {
  width: 200px;
  height: 200px;
  position: relative;
}

.login .qr-box .qr-box-img img {
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.login .qr-box .qr-box-img .qr-expire-time {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  cursor: pointer;
}

.login .qr-box .qr-box-img .qr-expire-time .el-icon-refresh-right {
  font-size: 30px;
}

.login .qr-box .qr-box-tips {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.login .qr-box-select-account {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  height: 100%;
  padding: 0.2rem;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
}

.login .qr-box-select-account .qr-box-back {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  font-size: 16px;
  color: #0058ff;
  cursor: pointer;
}

.login .qr-box-select-account .qr-box-select-account-title {
  font-size: 14px;
  color: #666;
}

/* 移动端适配 */
@media screen and (max-width: 750px) {
  .login-container {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .svg-layer {
    display: none;
  }
  
  .login-left {
    width: 100%;
    height: auto;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  
  .login {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 30px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }

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

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

  .login-btn {
    margin-top: 30px;
    height: 46px;
  }

  .login-text-title {
    font-size: 24px;
    line-height: 1.2;
  }

  .login-text-regist {
    margin-top: 10px;
    font-size: 14px;
  }
}
  
  .login-container {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
  }

  .background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
  }

  .background-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .svg-layer {
    position: fixed;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
  }

  .svg-layer .back-img {
    width: 70%;
    animation: float 3s ease-in-out infinite;
  }

  @keyframes float {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-20px);
    }
    100% {
      transform: translateY(0px);
    }
  }

  .login-left {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 15%;
  }

  .login {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
  }

  @media screen and (max-width: 750px) {
    .login-container {
      height: 100vh;
      width: 100vw;
      padding: 20px;
      box-sizing: border-box;
    }
    
    .svg-layer {
      display: none;
    }
    
    .login-left {
      width: 100%;
      height: 100%;
      padding: 0;
      justify-content: center;
    }
    
    .login {
      width: 100%;
      max-width: 90%;
      margin: 0 auto;
      padding: 30px 20px;
      background: rgba(255, 255, 255, 0.98);
    }

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

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

    .login-btn {
      margin-top: 30px;
    }
  }