/* Codex: 认证页视觉调整集中在本样式表后段覆盖规则，保留模板与 Vue 逻辑不变。 */
[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;
}
@media screen and (max-width: 750px) {
  .login-container {
    height: calc(100vh - 1.2rem);
    width: 100vw;
    background: #f2f2fe;
    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;
  }
}

/* Xiaoyue auth visual refresh: style-only overrides, keep Vue logic untouched. */
html,
body {
  min-height: 100%;
  overflow-x: hidden;
  background: #06152f;
}

#login {
  min-height: 100vh;
  height: auto;
  width: 100%;
  padding: 40px 32px;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 102, 255, 0.28), transparent 32%),
    radial-gradient(circle at 80% 70%, rgba(0, 210, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #06152f 0%, #08245a 48%, #041226 100%);
}

#login::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(135deg, #000 0%, transparent 78%);
}

#login::after {
  content: "";
  position: absolute;
  left: 9%;
  bottom: 9%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(74, 144, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 102, 255, 0.14), rgba(0, 210, 255, 0.05)),
    radial-gradient(circle, rgba(22, 131, 255, 0.18), transparent 58%);
  filter: blur(1px);
  pointer-events: none;
}

#login .login-container {
  width: min(1180px, 100%);
  min-height: calc(100vh - 80px);
  height: auto;
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(420px, 45%);
  align-items: center;
  justify-content: center;
  gap: 42px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

#login .login-jump-btn {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
}

#login .login-jump-btn .lang-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

#login .login-jump-btn .lang-box span,
#login .login-jump-btn .btn a {
  color: rgba(255, 255, 255, 0.86);
}

#login .login-jump-btn .lang-box span {
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
}

#login .login-jump-btn .lang-box span.active {
  color: #06152f;
  background: #fff;
}

#login .login-jump-btn .btn {
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

#login .container-back {
  width: 100%;
  height: auto;
  min-height: 540px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  position: relative;
  display: flex;
  align-items: center;
}

#login .container-back::before {
  content: "啸月网络\A XIAOYUE NETWORK";
  white-space: pre;
  position: absolute;
  top: 86px;
  left: 0;
  padding-left: 48px;
  color: #fff;
  font-size: 26px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

#login .container-back::after {
  content: "高防防护    BGP 多线    7×24 技术支持";
  position: absolute;
  left: 0;
  top: 430px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

#login .container-back .back-line1,
#login .container-back .back-line2,
#login .container-back .back-line3 {
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.4), transparent);
  opacity: 0.75;
}

#login .container-back .back-line1 {
  top: 156px;
  left: 320px;
}

#login .container-back .back-line2 {
  top: 260px;
  left: 72px;
}

#login .container-back .back-line3 {
  top: 360px;
  left: 360px;
}

#login .container-back .back-text {
  width: min(560px, 100%);
  margin: 0;
  color: #fff;
  position: relative;
  z-index: 2;
}

#login .container-back .text-welcome,
#login .container-back .text-title,
#login .container-back .text-level {
  font-size: 0;
  line-height: 0;
  margin: 0;
}

#login .container-back .back-text::before {
  content: "稳定云资源，驱动业务增长";
  display: block;
  color: #fff;
  font-size: 44px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: 0;
  max-width: 520px;
}

#login .container-back .back-text::after {
  content: "专注云服务器、高防服务器、物理服务器租用与 IDC 托管服务";
  display: block;
  max-width: 540px;
  margin-top: 22px;
  color: rgba(226, 239, 255, 0.86);
  font-size: 17px;
  line-height: 1.8;
}

#login .container-before {
  width: 100%;
  height: auto;
  position: static;
  z-index: 2;
  display: flex;
  justify-content: center;
}

#login .login {
  width: min(440px, 100%);
  min-height: auto;
  padding: 38px 42px;
  box-sizing: border-box;
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  color: #1f2937;
  line-height: 1.45;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

#login .login:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.31);
}

#login .login-text-title {
  color: #10203f;
  font-size: 0;
  line-height: 0;
  font-weight: 700;
  letter-spacing: 0;
}

#login .login-text-title::before {
  content: "欢迎登录啸月网络";
  display: block;
  color: #10203f;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
}

#login .login-text-title::after {
  content: "登录后管理您的云服务器、高防服务器与 IDC 资源";
  display: block;
  margin-top: 10px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
}

#login .login-text-regist {
  margin-top: 14px;
  color: #5f6b7a;
  font-size: 14px;
}

#login .login-text-regist a,
#login .read-text a,
#login .rember-item a,
#login .read-item a {
  color: #0066ff;
  font-weight: 600;
}

#login .login-text-regist a:hover,
#login .read-text a:hover,
#login .rember-item a:hover,
#login .read-item a:hover {
  color: #0052cc;
  text-decoration: underline;
}

#login .login-form {
  margin-top: 28px;
}

#login .form-main {
  margin-top: 22px;
}

#login .login-top {
  height: auto;
  display: flex;
  gap: 10px;
  padding: 4px;
  border-radius: 8px;
  background: #f1f5ff;
}

#login .login-email,
#login .login-phone {
  flex: 1;
  width: auto;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: #667085;
  font-size: 14px;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
}

#login .active {
  color: #0066ff;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.12);
}

#login .form-item {
  margin-top: 18px;
}

#login .el-input__inner,
#login .el-input-group__prepend {
  height: 46px;
  border-color: #d9e2f3;
  background: #f8fbff;
  color: #1f2937;
  font-size: 14px;
}

#login .el-input__inner {
  border-radius: 6px;
  padding: 0 14px;
}

#login .el-input__inner::placeholder {
  color: #9aa7b8;
}

#login .el-input__inner:focus {
  border-color: #0066ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

#login .input-with-select .el-input-group__prepend {
  width: 108px;
  border-radius: 6px 0 0 6px;
}

#login .code-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

#login .code-item .el-input {
  flex: 1;
}

#login .code-btn {
  min-width: 124px;
  height: 46px;
  border-radius: 6px;
  border: 1px solid #d9e2f3;
  color: #0066ff;
  background: #eef5ff;
  font-size: 14px;
  font-weight: 600;
}

#login .rember-item {
  align-items: flex-start;
  color: #5f6b7a;
  font-size: 13px;
  line-height: 1.6;
}

#login .read-text {
  color: #5f6b7a;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
}

#login .login-btn {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #0066ff 0%, #1683ff 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#login .login-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #0059e6 0%, #0f73ed 100%);
  box-shadow: 0 14px 30px rgba(0, 102, 255, 0.32);
}

#login .pass-btn,
#login .type-btn {
  width: 100%;
  height: 44px;
  margin: 12px 0 0;
  border: 1px solid #d9e2f3;
  border-radius: 6px;
  color: #0066ff;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
}

#login .read-item .el-alert {
  border-radius: 6px;
  background: #fff1f2;
  color: #ef4444;
}

#login .line-item {
  margin-top: 24px;
}

#login .login-type {
  justify-content: center;
  gap: 14px;
}

#login .oauth-item {
  border-radius: 8px;
  background: #f8fbff;
  border: 1px solid #e5edf8;
}

#login .login .qr-code {
  top: 14px;
  right: 14px;
  color: #0066ff;
}

#login .login .qr-box {
  margin-top: 20px;
}

#login .login .qr-box .qr-box-img {
  border: 1px solid #e5edf8;
  border-radius: 10px;
  background: #f8fbff;
}

@media screen and (max-width: 980px) {
  #login {
    padding: 32px 16px;
  }

  #login .login-container {
    min-height: calc(100vh - 64px);
    display: flex;
  }

  #login .container-back {
    display: none;
  }

  #login .container-before {
    width: 100%;
    margin: 0;
  }

  #login .login-jump-btn {
    top: 8px;
    right: 16px;
  }
}

@media screen and (max-width: 768px) {
  #login {
    align-items: flex-start;
    padding: 32px 0;
  }

  #login .login-container {
    width: 100%;
    min-height: calc(100vh - 64px);
    padding: 42px 0 0;
    background: transparent;
  }

  #login .container-before {
    height: auto;
  }

  #login .login {
    width: calc(100% - 32px);
    padding: 28px 22px;
    font-size: 14px;
    line-height: 1.45;
  }

  #login .login-text-title {
    font-size: 24px;
  }

  #login .login-form,
  #login .form-main {
    margin-top: 22px;
  }

  #login .el-input__inner,
  #login .el-input-group__prepend,
  #login .code-btn,
  #login .login-btn,
  #login .pass-btn,
  #login .type-btn {
    min-height: 44px;
  }

  #login .code-item {
    gap: 8px;
  }

  #login .code-btn {
    min-width: 112px;
    padding: 0 10px;
    font-size: 13px;
  }

  #login .rember-item {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* v146 login/register consistency: align with register page and refine left hero copy. */
html,
body {
  min-height: 100%;
  overflow-x: hidden;
  background: #06152f;
}

#login {
  min-height: 100vh !important;
  height: auto !important;
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 40px 32px !important;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 102, 255, 0.28), transparent 32%),
    radial-gradient(circle at 80% 70%, rgba(0, 210, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #06152f 0%, #08245a 48%, #041226 100%) !important;
}

#login::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block !important;
  opacity: 0.1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(135deg, #000 0%, transparent 78%);
}

#login::after {
  content: "";
  position: absolute;
  left: 9%;
  bottom: 9%;
  display: block !important;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(74, 144, 255, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(0, 102, 255, 0.14), rgba(0, 210, 255, 0.05)),
    radial-gradient(circle, rgba(22, 131, 255, 0.18), transparent 58%);
  filter: blur(1px);
  pointer-events: none;
}

#login .login-container {
  width: min(1180px, 100%) !important;
  max-width: none !important;
  min-height: calc(100vh - 80px) !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 55%) minmax(420px, 45%);
  align-items: center;
  justify-content: center;
  gap: 42px;
  margin: 0 auto !important;
  padding: 0 !important;
  position: relative;
  z-index: 1;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#login .login-jump-btn {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
}

#login .container-back {
  width: 100% !important;
  min-height: 560px;
  height: auto !important;
  display: flex !important;
  align-items: center;
  position: relative;
  overflow: visible;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
}

#login .container-back::before {
  content: "啸月网络\A XIAOYUE NETWORK";
  white-space: pre;
  position: absolute;
  top: 88px;
  left: 0;
  padding-left: 0;
  color: #fff;
  font-size: 27px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

#login .container-back::after {
  content: "高防防护  BGP 多线  7×24 技术支持";
  position: absolute;
  left: 0;
  top: 408px;
  max-width: 560px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 15px;
  line-height: 46px;
  backdrop-filter: blur(14px);
}

#login .container-back .back-line1,
#login .container-back .back-line2,
#login .container-back .back-line3 {
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.4), transparent);
  opacity: 0.75;
}

#login .container-back .back-line1 {
  top: 164px;
  left: 320px;
}

#login .container-back .back-line2 {
  top: 266px;
  left: 92px;
}

#login .container-back .back-line3 {
  top: 368px;
  left: 360px;
}

#login .container-back .back-text {
  width: min(680px, 100%);
  margin: 0 !important;
  color: #fff;
  position: relative;
  z-index: 2;
  transform: translateY(-10px);
}

#login .container-back .text-welcome,
#login .container-back .text-title,
#login .container-back .text-level {
  margin: 0;
  font-size: 0 !important;
  line-height: 0;
}

#login .container-back .back-text::before {
  content: "稳定云资源，驱动业务增长";
  display: block;
  max-width: 680px;
  color: #fff;
  font-size: 42px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

#login .container-back .back-text::after {
  content: "专注云服务器、高防服务器、物理服务器租用与 IDC 托管服务";
  display: block;
  max-width: 620px;
  margin-top: 22px;
  color: rgba(226, 239, 255, 0.88);
  font-size: 17px;
  line-height: 1.8;
}

#login .container-before {
  width: 100% !important;
  height: auto !important;
  min-height: 0;
  display: flex !important;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  z-index: 2;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

#login .login {
  width: min(440px, 100%) !important;
  max-width: 100%;
  min-height: auto !important;
  margin: 0 auto !important;
  padding: 38px 42px !important;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  color: #1f2937;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 10px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28) !important;
  line-height: 1.45;
  transform: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

#login .login:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.31) !important;
}

#login .login-text {
  align-items: flex-start;
  text-align: left;
}

#login .login-text-title {
  margin: 0;
  color: #10203f;
  font-size: 0 !important;
  line-height: 0;
  font-weight: 700;
  letter-spacing: 0;
}

#login .login-text-title::before {
  content: "欢迎登录啸月网络";
  display: block;
  color: #10203f;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
}

#login .login-text-title::after {
  content: "登录后可购买、部署和管理云服务器、高防服务器与 IDC 资源";
  display: block;
  margin-top: 10px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
}

#login .login-text-regist {
  margin-top: 14px;
  color: #5f6b7a;
  font-size: 14px;
  line-height: 1.6;
}

#login .login-text-regist a,
#login .read-text a,
#login .rember-item a,
#login .read-item a {
  color: #0066ff;
  font-weight: 600;
  text-decoration: none;
}

#login .login-text-regist a:hover,
#login .read-text a:hover,
#login .rember-item a:hover,
#login .read-item a:hover {
  color: #0052cc;
  text-decoration: underline;
}

#login .login-form {
  margin-top: 28px !important;
}

#login .form-main {
  margin-top: 22px !important;
}

#login .login-top {
  height: auto !important;
  min-height: 0;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 4px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #f1f5ff !important;
  box-shadow: none !important;
}

#login .login-email,
#login .login-phone {
  flex: 1 1 0;
  width: auto !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 6px !important;
  color: #667085;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 38px !important;
  font-weight: 500;
  text-align: center !important;
  cursor: pointer;
}

#login .login-top .active,
#login .active {
  color: #0066ff !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.12) !important;
}

#login .form-item {
  margin: 18px 0 0 !important;
}

#login .el-input,
#login .el-select {
  width: 100%;
}

#login .el-input__inner,
#login .el-input-group__prepend {
  height: 46px !important;
  border-color: #d9e2f3 !important;
  background: #f8fbff !important;
  color: #1f2937;
  font-size: 14px;
  box-shadow: none !important;
}

#login .el-input__inner {
  border-radius: 6px !important;
  padding: 0 14px !important;
}

#login .el-input__inner::placeholder {
  color: #9aa7b8;
}

#login .el-input__inner:focus {
  border-color: #0066ff !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12) !important;
  outline: none;
}

#login .input-with-select.el-input,
#login .input-with-select.el-input-group,
#login .input-with-select.el-input-group--prepend {
  display: flex !important;
  align-items: center;
  width: 100%;
  height: 46px !important;
  padding: 0;
  border: 1px solid #d9e2f3 !important;
  border-radius: 6px !important;
  background: #f8fbff !important;
  box-shadow: none !important;
  overflow: hidden;
}

#login .input-with-select.el-input:focus-within,
#login .input-with-select.el-input-group:focus-within,
#login .input-with-select.el-input-group--prepend:focus-within {
  border-color: #0066ff !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12) !important;
}

#login .input-with-select .el-input-group__prepend {
  flex: 0 0 92px !important;
  width: 92px !important;
  min-width: 92px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border: 0 !important;
  border-right: 1px solid #d9e2f3 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
}

#login .input-with-select .el-input-group__prepend .el-select,
#login .input-with-select .el-input-group__prepend .el-input {
  width: 92px !important;
  height: 44px !important;
  display: block;
}

#login .input-with-select .el-input-group__prepend .el-input__inner {
  width: 92px !important;
  height: 44px !important;
  padding: 0 30px 0 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #1f2937;
  font-size: 14px;
  line-height: 44px;
  text-align: left;
  box-shadow: none !important;
}

#login .input-with-select .el-input-group__prepend .el-input__suffix {
  right: 10px;
}

#login .input-with-select > .el-input__inner {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #1f2937;
  font-size: 14px;
  line-height: 44px;
  box-shadow: none !important;
}

#login .code-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

#login .code-item .el-input {
  flex: 1 1 auto;
  min-width: 0;
}

#login .code-btn {
  flex: 0 0 auto;
  min-width: 124px;
  height: 46px !important;
  margin-left: 0 !important;
  padding: 0 14px;
  border: 1px solid #d9e2f3 !important;
  border-radius: 6px !important;
  background: #eef5ff !important;
  color: #0066ff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none !important;
  cursor: pointer;
}

#login .code-btn:hover {
  border-color: #bcd3ff !important;
  background: #eaf2ff !important;
  color: #0052cc;
}

#login .rember-item,
#login .read-item {
  align-items: flex-start;
  margin-top: 14px !important;
  color: #5f6b7a;
  font-size: 13px;
  line-height: 1.6;
}

#login .read-text {
  padding: 0 0 0 8px;
  color: #5f6b7a;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
}

#login .login-btn {
  width: 100%;
  height: 48px !important;
  margin-top: 4px;
  border: 0 !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #0066ff 0%, #1683ff 100%) !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.25) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#login .login-btn:hover {
  transform: translateY(-1px) !important;
  background: linear-gradient(135deg, #0059e6 0%, #0f73ed 100%) !important;
  box-shadow: 0 14px 30px rgba(0, 102, 255, 0.32) !important;
}

#login .pass-btn,
#login .type-btn {
  width: 100%;
  height: 44px !important;
  margin: 12px 0 0 !important;
  border: 1px solid #d9e2f3 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #0066ff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none !important;
}

#login .pass-btn:hover,
#login .type-btn:hover {
  border-color: #0066ff !important;
  background: #f8fbff !important;
  color: #0052cc;
}

#login .el-alert--error,
#login .read-item .el-alert {
  color: #ef4444;
  background: transparent;
  border: 0;
  box-shadow: none !important;
}

#login .line-item {
  margin-top: 24px !important;
}

#login .login-type {
  justify-content: center;
  gap: 14px;
}

#login .oauth-item {
  border-radius: 8px;
  background: #f8fbff;
  border: 1px solid #e5edf8;
}

#login .login .qr-code {
  top: 14px;
  right: 14px;
  color: #0066ff;
}

#login .login .qr-box {
  margin-top: 20px;
}

#login .login .qr-box .qr-box-img {
  border: 1px solid #e5edf8;
  border-radius: 10px;
  background: #f8fbff;
}

@media screen and (max-width: 980px) {
  #login {
    padding: 32px 16px !important;
  }

  #login .login-container {
    min-height: calc(100vh - 64px) !important;
    display: flex !important;
  }

  #login .container-back {
    display: none !important;
  }

  #login .container-before {
    width: 100% !important;
    margin: 0 !important;
  }

  #login .login-jump-btn {
    top: 8px;
    right: 16px;
  }
}

@media screen and (max-width: 768px) {
  #login {
    align-items: flex-start;
    padding: 32px 0 !important;
  }

  #login .login-container {
    width: 100% !important;
    min-height: calc(100vh - 64px) !important;
    padding: 42px 0 0 !important;
    background: transparent !important;
  }

  #login .login {
    width: calc(100% - 32px) !important;
    max-width: 440px;
    padding: 28px 22px !important;
    font-size: 14px;
  }

  #login .login-text-title::before {
    font-size: 24px;
  }

  #login .login-form,
  #login .form-main {
    margin-top: 22px !important;
  }

  #login .el-input__inner,
  #login .el-input-group__prepend,
  #login .code-btn,
  #login .login-btn,
  #login .pass-btn,
  #login .type-btn {
    min-height: 44px;
  }

  #login .input-with-select .el-input-group__prepend {
    flex-basis: 86px !important;
    width: 86px !important;
    min-width: 86px !important;
  }

  #login .input-with-select .el-input-group__prepend .el-select,
  #login .input-with-select .el-input-group__prepend .el-input,
  #login .input-with-select .el-input-group__prepend .el-input__inner {
    width: 86px !important;
  }

  #login .input-with-select .el-input-group__prepend .el-input__inner {
    padding: 0 28px 0 16px !important;
  }

  #login .input-with-select > .el-input__inner {
    padding: 0 14px !important;
  }

  #login .code-item {
    gap: 8px;
  }

  #login .code-btn {
    min-width: 112px;
    padding: 0 10px;
    font-size: 13px;
  }

  #login .read-item,
  #login .rember-item {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* v149: hide auth page language switcher only, keep v147 visuals unchanged. */
#login .login-jump-btn .lang-box {
  display: none !important;
}
