[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 {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}
.login-container {
  width: 15.7rem;
  height: 8.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.container-back {
  width: 15.7rem;
  height: 6.8rem;
  background: var(--color-primary);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  font-family: Source Han Sans CN;
}
.container-back .back-text {
  font-size: 0.27rem;
  z-index: 10;
  color: #ffffff;
  margin-top: 1.39rem;
  margin-left: 0.65rem;
  font-weight: 400;
}
.container-back .text-welcome {
  font-size: 0.74rem;
  font-family: Bahnschrift;
  line-height: 0.74rem;
}
.container-back .text-title {
  margin-top: 5px;
}
.container-back .text-level {
  font-size: 0.12rem;
  margin-top: 0.81rem;
}
.back-line1,
.back-line2,
.back-line3 {
  width: 0.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 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: 0;
  left: 5rem;
}
.back-line3 {
  height: 5rem;
  transform: rotate(45deg);
  top: 2.3rem;
  left: 1.5rem;
  clip-path: polygon(0px 0.3rem, 0.64rem 0px, 100% 100%, 0 100%);
}
.container-before {
  width: 7.5rem;
  height: 8rem;
  background: #ffffff;
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.1);
  position: absolute;
  right: 0.9rem;
  border: 4px;
  z-index: 10;
}
.login {
  padding-top: 0.8rem;
  padding-left: 1.24rem;
  padding-right: 1.05rem;
  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 .qr-code {
  position: absolute;
  right: 1.05rem;
  top: 0.8rem;
  cursor: pointer;
  width: 0.48rem;
  height: 0.48rem;
}
.login .qr-code .login-icon {
  fill: var(--color-primary);
  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: var(--color-primary);
  cursor: pointer;
}
.login .qr-box-select-account .qr-box-select-account-title {
  font-size: 14px;
  color: #666;
}
.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: var(--color-primary);
  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: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}
.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: 60px;
}
.code-item {
  display: flex;
  flex-direction: row;
}
.code-btn {
  margin-left: 0.1rem;
  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: var(--color-primary);
  cursor: pointer;
}
.login-btn {
  width: 100%;
  height: 46px;
}
.pass-btn {
  width: 100%;
  height: 46px;
  margin-left: 0 !important;
  margin-top: 0.15rem;
}
.read-item {
  margin-top: 0.2rem;
}
.read-item a {
  color: var(--color-primary);
  cursor: pointer;
}
.line-item {
  margin-top: 0.4rem;
}
.line-item text {
  font-size: 16px;
  color: #1e2736;
}
.type-btn {
  width: 100%;
  height: 46px;
  font-size: 0.16rem;
}
.login-type {
  display: flex;
  align-items: center;
  column-gap: 0.15rem;
  flex-wrap: wrap;
}
.a-text {
  color: var(--color-primary);
  cursor: pointer;
  margin-right: 5px;
}
.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 {
  background: url('../img/bg.png') no-repeat center center;
  background-size: cover;
  position: relative;
}
#login::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.25));
  z-index: 0;
}
.login-jump-btn {
  position: absolute;
  top: 0.24rem;
  right: 0.3rem;
  z-index: 3;
}
.login-jump-btn .btn {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
}
.container-back {
  display: none;
}
.login-container {
  position: relative;
  z-index: 1;
  justify-content: center;
}
.container-before {
  position: relative;
  right: auto;
  width: 4.6rem;
  height: auto;
  min-height: 6rem;
  border-radius: 0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  border-top: 4px solid var(--color-primary);
  background: #ffffff;
}
.login {
  padding: 0.6rem;
}
/* 过渡与悬浮 */
.login-form .el-input__inner {
  transition: border-color .2s, background .2s;
}
.login-btn, .pass-btn, .code-btn, .type-btn {
  transition: opacity .2s, background .2s;
}
.login-btn:hover, .pass-btn:hover, .code-btn:hover {
  opacity: 0.9;
}
/* 输入框直角 + 大号 */
.login-form .el-input__inner {
  border-radius: 0 !important;
  height: 48px !important;
  line-height: 48px !important;
  font-size: 15px !important;
  border: 1px solid #d9d9d9 !important;
  background: #fafafa !important;
}
.login-form .el-input__inner:focus {
  border-color: var(--color-primary) !important;
  background: #fff !important;
}
.login-form .el-input-group__prepend {
  border-radius: 0 !important;
  height: 48px !important;
  background: #fafafa !important;
  border: 1px solid #d9d9d9 !important;
}
/* 按钮直角 */
.login-btn, .pass-btn {
  border-radius: 0 !important;
  height: 48px !important;
  font-size: 16px !important;
  letter-spacing: 2px !important;
}
.type-btn {
  border-radius: 0 !important;
}
.code-btn {
  border-radius: 0 !important;
  height: 48px !important;
}
/* 标题大字 */
.login-text-title {
  font-size: 0.36rem !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
}
.login-text-regist {
  font-size: 15px !important;
  margin-top: 0.12rem !important;
}
/* 顶部标签 */
.login-top {
  border-bottom: 1px solid #eee;
  padding-bottom: 0.12rem;
}
.login-email, .login-phone {
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 8px;
}
.active {
  border-bottom-width: 3px;
}
.login-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.15rem;
}
.forget-link {
  color: var(--color-primary);
  font-size: 14px;
  cursor: pointer;
}
/* OAuth 直角 */
.oauth-item {
  border-radius: 0 !important;
}
.oauth-img {
  border-radius: 0 !important;
}
/* ===== 细节优化 ===== */
.container-before {
  width: 5.4rem;
}
/* 底部链接（输入框下方） */
.login-bottom-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.3rem;
  font-size: 14px;
}
.login-bottom-links .forget-link {
  color: var(--color-primary);
  cursor: pointer;
}
.login-bottom-links .regist-link {
  color: #666;
  cursor: pointer;
}
.login-bottom-links .regist-link span {
  color: var(--color-primary);
  margin-left: 4px;
}
/* 手机号：国家码 + 号码 无缝统一（flex 布局，避免 table-cell 错位） */
.login-form .phone-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}
.login-form .phone-group .country-select {
  width: 1.3rem;
  flex: 0 0 auto;
}
.login-form .phone-group .country-select .el-input__inner {
  border-radius: 0 !important;
  border-right: none !important;
  background: #fafafa !important;
  color: #333 !important;
  font-size: 15px !important;
  box-shadow: none !important;
}
.login-form .phone-group .phone-real-input {
  flex: 1 1 auto;
}
.login-form .phone-group .phone-real-input .el-input__inner {
  border-radius: 0 !important;
  background: #fafafa !important;
  box-shadow: none !important;
}
.login-form .phone-group:focus-within .el-input__inner {
  border-color: var(--color-primary) !important;
  background: #fff !important;
}
/* 国家下拉框加宽，避免名称截断 */
.country-select-dropdown {
  min-width: 2.8rem !important;
}
/* 复选框与文字对齐、文字可见 */
.rember-item {
  justify-content: flex-start !important;
}
.rember-item, .read-item {
  align-items: flex-start !important;
}
.rember-item .el-checkbox, .read-item .el-checkbox {
  margin-top: 1px;
}
.read-text {
  color: #666 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}
@media screen and (max-width: 750px) {
  .login-container {
    height: calc(100vh - 1.2rem);
    width: 100vw;
    background: transparent;
    padding: 0.6rem 0;
  }
  .container-back {
    display: none;
  }
  .container-before {
    width: 100%;
    height: 100%;
    margin: 0rem 0.3rem;
    position: unset;
    z-index: 0;
  }
  .login {
    padding-top: 1.17rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    font-size: 0.26rem;
    line-height: 0.3rem;
  }
  .login .qr-code {
    right: 0.3rem;
    top: 1.17rem;
    cursor: pointer;
  }
  .login-text-title {
    font-size: 0.4rem;
  }
  .login-text-regist {
    margin-top: 0.16rem;
    font-size: 0.28rem;
  }
  .login-form {
    margin-top: 1.21rem;
  }
  .form-main {
    margin-top: 0.6rem;
  }
  .login-email,
  .login-phone {
    height: 0.34rem;
    width: 100%;
    text-align: center;
    color: #666b80;
    cursor: pointer;
    padding-bottom: 0.13rem;
  }
  .el-checkbox__label {
    font-size: 0.22rem;
  }
  .read-item {
    line-height: 0.3rem;
  }
  .login-btn {
    font-size: 0.34rem;
    height: 0.8rem;
  }
  .type-btn {
    border: none;
    color: var(--color-primary);
    font-size: 0.34rem;
  }
}
