@charset "UTF-8";
/* ============================================================
   登录 / 注册 页面专用样式（橙色企业控制台风格）
   由 userCenter 主题 logincode.css 提取移植到 default 主题
   作用域：仅 .aliyun-auth-page / .L_code / .orange-auth 前缀，
   不影响会员中心等其它页面。
   ============================================================ */


.L_code {
  display: flex;
  justify-content: space-between;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

.L_code-left-side {
  max-width: 35%;
  min-width: 30%;
  overflow-y: hidden;
  width: 520px;
  position: relative;
}

.L_code-left-side::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  background-image: var(--loginIllustration);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 1;
}

.L_code-left-side .L_code-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 0 0 40px;
  text-align: center;
  position: relative;
  z-index: 2;
  height: 100vh;
  overflow: hidden;
}

.L_code-left-side .L_code-content .L_code-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.L_code-right-side {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  background-image: var(--loginbg);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  overflow: hidden;
}

.L_code-right-side .L_code-right-form {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  background: #fff;
  padding: 40px 0;
  width: 720px;
  box-shadow: 0 6px 32px 0 rgba(15, 32, 71, 0.08);
  position: relative;
  z-index: 2;
  top: -24px;
}

.L_code-right-side .L_code-right-form .L_code-scan-login {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  width: 280px;
  min-width: 280px;
  height: auto;
  border-right: 1px solid #f0f0f0;
}

.L_code-right-side .L_code-right-form .L_code-scan-login .qrCodeContainer {
  width: 188px;
  height: 188px;
  position: relative;
}

.L_code-right-side .L_code-right-form .L_code-scan-login .qrCodeContainer .codetip-inner {
  position: absolute;
  top: -38px;
  border-radius: 2px;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
  white-space: nowrap;
}

.L_code-right-side .L_code-right-form .L_code-scan-login .qrCodeContainer .codetip-inner .codetip-arrow {
  border-color: transparent #fff #fff transparent;
  bottom: -2.8px;
  left: 5px;
  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);
  background: 0 0;
  border-style: solid;
  border-width: 4.24264069px;
  display: block;
  height: 8.48528137px;
  position: absolute;
  transform: rotate(45deg);
  width: 8.48528137px;
  z-index: 2;
}

.L_code-right-side .L_code-right-form .L_code-scan-login .qrCodeContainer .codetip-inner .codetip-title {
  display: flex;
  align-items: stretch;
  gap: 3px;
  border-bottom: 1px solid #e8e8e8;
  margin: 0;
  min-height: 32px;
  padding: 5px 16px 4px;
  position: relative;
  z-index: 3;
}

.L_code-right-side .L_code-right-form .L_code-scan-login .qrCodeContainer .codetip-inner .codetip-title .codetip-icon {
  width: 18px;
  height: 18px;
}

.L_code-right-side .L_code-right-form .L_code-scan-login .qrCodeContainer .codetip-inner .codetip-title .codetip-icon img {
  width: 100%;
  height: 100%;
}

.L_code-right-side .L_code-right-form .L_code-scan-login .qrCodeContainer .codetip-inner .codetip-title p, .L_code-right-side .L_code-right-form .L_code-scan-login .qrCodeContainer .codetip-inner .codetip-title span {
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

.L_code-right-side .L_code-right-form .L_code-scan-login .qrCodeContainer #L_qrCode {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  background: url(https://ossjm.oss-cn-hangzhou.aliyuncs.com/pub/img/user/reg_code_wrap.png) no-repeat;
  background-size: contain;
  padding: 8px;
}

.L_code-right-side .L_code-right-form .L_code-scan-login .qrCodeContainer .modality_code {
  position: absolute;
  background-color: hsla(0, 0%, 100%, 0.9);
  border-radius: 8px;
  inset: 0;
  z-index: 1;
  opacity: 1;
}

.L_code-right-side .L_code-right-form .L_code-scan-login .qrCodeContainer #regenerateQrCode {
  opacity: 1;
  position: absolute;
  bottom: 45%;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  z-index: 2;
}

.L_code-right-side .L_code-right-form .L_code-scan-login .qrCodeContainer #regenerateQrCode p {
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.L_code-right-side .L_code-right-form .L_code-scan-login .qrCodeContainer .loading-spinner {
  position: absolute;
  top: 45%;
  left: 40%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 6px solid rgba(0, 0, 0, 0.1);
  z-index: 2;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  display: none;
}

.L_code-right-side .L_code-right-form .L_code-scan-login .wechat-login {
  text-align: center;
  display: inline-flex;
}

.L_code-right-side .L_code-right-form .L_code-scan-login .wechat-login a {
  margin-left: 5px;
  color: var(--primary);
  cursor: pointer;
}

.L_code-right-side .L_code-right-form .L_code-login-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0 40px 0 28px;
  overflow: hidden;
  overflow-y: auto;
}

.L_code-right-side .L_code-right-form .L_code-login-form .L_code-form-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  white-space: nowrap;
  width: 100%;
  padding-bottom: 5px;
  margin-bottom: 12px;
  position: relative;
  border-bottom: 3px solid #f6f6f6;
}

.L_code-right-side .L_code-right-form .L_code-login-form .code_login-tab {
  padding-right: 10px;
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
}

.L_code-right-side .L_code-right-form .L_code-login-form .code_login-tab .login-tab-separate {
  background: #d9d9d9;
  height: 16px;
  margin: 0 16px;
  width: 1px;
}

.L_code-right-side .L_code-right-form .L_code-login-form .code_login-tab .login-tab-item {
  position: relative;
  font-size: 20px;
  font-weight: 900;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.3s ease;
  -webkit-font-smoothing: initial;
}

.L_code-right-side .L_code-right-form .L_code-login-form .code_login-tab .login-tab-item:last-child {
  margin-right: 0;
}

.L_code-right-side .L_code-right-form .L_code-login-form .code_login-tab .login-tab-item.active {
  color: var(--primary) !important;
}

.L_code-right-side .L_code-right-form .L_code-login-form .transitionSwitching {
  position: absolute;
  bottom: -3px;
  height: 3px;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

.L_code-right-side .L_code-right-form .L_code-login-form .ExtremeTest_captcha {
  height: 40px;
}

.L_code-right-side .L_code-right-form .L_code-login-form .tab-pane {
  display: none;
}

.L_code-right-side .L_code-right-form .L_code-login-form .tab-pane.active {
  display: block;
  animation: fadeIn 0.5s;
}

.L_code-right-side.no_wx .L_code-right-form {
  width: 476px;
  padding: 28px 0 40px;
  border-radius: 15px 0 15px 0;
}

.L_code-right-side.no_wx .L_code-right-form .L_code-scan-login {
  display: none;
}

.L_code-right-side.no_wx .L_code-right-form .L_code-login-form {
  padding: 0 30px 0 40px;
}

.L_code-right-side.no_wx .L_code-right-form .L_code-login-form .code_login-tab .login-tab-item {
  font-size: 18px;
  color: #8d94a1;
}

.L_code-right-side.no_wx .L_code-right-form .Oauth_login {
  gap: 15px;
}

.L_code-right-side.no_wx .L_code-right-form .Oauth_login .other-login {
  padding: 0;
}

.L_code-right-side.no_wx .L_code-right-form .Oauth_login .list-inline {
  padding: 0;
  gap: 10px;
  justify-content: flex-start;
}

.L_code-right-side.right .L_code-right-form {
  flex-direction: row-reverse;
}

.L_code-right-side.right .L_code-right-form .L_code-scan-login {
  border-left: 1px solid #f0f0f0;
  border-right: none;
}

.L_code-right-side.wx.right .L_code-login-form {
  padding: 0 28px 0 40px;
}

.L_code-right-side .form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.L_code-right-side .form-group label {
  color: #505363;
  font-weight: 300;
  font-size: 14px;
}

.L_code-right-side .form-group .custom-dropdown {
  position: relative;
  width: fit-content;
}

.L_code-right-side .form-group .custom-dropdown-selection {
  position: relative;
  padding: 0 21px 0 11px;
  color: #505363;
  font-weight: normal;
  font-size: 14px;
  background-color: #fff;
  border: 1px solid #d4d9e2;
  border-right: none;
  border-radius: 0;
  transition: all 0.3s;
  line-height: 38px;
  text-align: left;
  width: 108px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.L_code-right-side .form-group .custom-dropdown-selection::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #adb5bd;
}

.L_code-right-side .form-group .custom-dropdown-list {
  display: none;
  position: absolute;
  width: max-content;
  padding: 0;
  list-style: none;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  background-color: #fff;
  z-index: 1;
}

.L_code-right-side .form-group .custom-dropdown-list li {
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.2s; /* 平滑背景颜色过渡 */
}

.L_code-right-side .form-group .custom-dropdown-list li:hover {
  background-color: #f0f0f0;
}

.L_code-right-side .mt-3 .btn-primary {
  height: 48px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.L_code-right-side .mt-3 .btn-primary:hover {
  background-color: var(--primary-hover);
}

.L_code-right-side .Oauth_login {
  width: 100%;
  position: relative;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 20px;
}

.L_code-right-side .Oauth_login .other-login {
  padding: 0 20px;
  width: 100%;
  color: #8f96a3;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.L_code-right-side .Oauth_login .other-login .gray-text {
  font-size: 14px;
  font-weight: 300;
  white-space: nowrap;
  padding: 0 4px;
}

.L_code-right-side .Oauth_login .other-login .gray-line {
  width: 100%;
  color: #8f96a3;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  height: 1px;
  background-color: rgba(143, 150, 163, 0.1);
}

.L_code-right-side .Oauth_login .list-inline {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 20px;
}

.L_code-right-side .Oauth_login .list-inline .social-list-item {
  height: 32px;
  width: 32px;
  background-image: none;
  border: none;
}

.L_code-right-side .Oauth_login .list-inline .social-list-item .icon {
  width: 100%;
  height: 100%;
}

.L_code-right-side .L_code-right-footer {
  position: absolute;
  left: 40px;
  bottom: 10px;
  display: flex;
  flex: 1;
  justify-content: flex-start;
  text-align: center;
  flex-wrap: wrap;
  gap: 0 8px;
}

.L_code-right-side .L_code-right-footer a {
  color: #999;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  font-family: auto;
}

.L_code-right-side .L_code-right-footer a:hover {
  color: #666;
}

.L_code-right-side .L_code-right-footer a.L_code_clause {
  color: var(--primary);
  cursor: pointer;
}

@media (max-width: 768px) {
    .L_code {
      display: block;
      height: auto;
      overflow: hidden;
      margin: 0;
    }
  .L_code-left-side {
      max-width: 100%;
      min-width: 100%;
      position: fixed;
      top: 0;
      height: 60px;
      z-index: 99;
      background: #fff;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
  .L_code-left-side .GoBackToTheHomepage {
      color: rgb(153, 153, 153);
      font-size: 16px;
    }
  .L_code-left-side::before {
      display: none;
    }
  .L_code-left-side .L_code-content {
      height: 60px;
      padding: 0 20px;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
  .L_code-right-side {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      flex: 1;
      background-image: var(--loginbg);
      background-position: 50%;
      background-repeat: no-repeat;
      background-size: cover;
      height: auto;
      overflow: hidden;
      padding: 60px 0 0;
      min-height: 100vh;
    }
  .L_code-right-side .L_code-right-form {
      display: flex;
      flex-direction: column-reverse !important;
      justify-content: space-between;
      align-items: stretch;
      background: #fff;
      padding: 38px 22px 78px !important;
      width: 100%;
      box-shadow: 0 6px 32px 0 rgba(15, 32, 71, 0.08);
      position: unset;
      gap: 40px;
    }
  .L_code-right-side .L_code-right-form .L_code-scan-login {
      width: 100%;
      min-width: 100%;
      border-right: none !important;
      border-left: none !important;
    }
  .L_code-right-side.no_wx .L_code-right-form {
      width: 100%;
      padding: 0;
      border-radius: 0;
    }
  .L_code-right-side.no_wx .L_code-right-form .L_code-scan-login {
      display: none;
    }
  .L_code-right-content {
      width: 100%;
    }
  .text-register {
      position: relative;
      width: 100%;
      text-align: center;
      color: #505363;
      display: flex;
      justify-content: flex-end;
    }
  .L_code-right-side .L_code-right-form .L_code-login-form {
      padding: 0 !important;
    }
  .L_code-right-side .L_code-right-form .L_code-login-form .code_login-tab .login-tab-separate {
      margin: 0 12px;
    }
  .L_code-right-side .L_code-right-form .L_code-login-form .code_login-tab .login-tab-item {
      font-size: 18px;
      color: rgb(141, 148, 161);
    }
  .L_code-right-side .L_code-right-form .L_code-login-form .form-group {
      width: 100%;
      margin-bottom: 20px;
    }
  .L_code-right-side .L_code-right-form .L_code-login-form .form-group label {
      font-size: 16px;
    }
  .L_code-right-side .L_code-right-form .L_code-login-form .form-group .custom-dropdown {
      width: 100%;
      margin-bottom: 12px;
    }
  .L_code-right-side .L_code-right-form .L_code-login-form .form-group .custom-dropdown-selection {
      width: 100%;
      border-right: 1px solid rgb(212, 217, 226);
    }
  .L_code-right-side .L_code-right-form .L_code-login-form .form-group .custom-dropdown-list {
      width: 100%;
    }
  .L_code-right-side .L_code-right-form .L_code-login-form .mt-3 .btn-primary {
      width: 100%;
      font-size: 16px;
    }
  .L_code-right-side .L_code-right-form .L_code-login-form .Oauth_login {
      width: 100%;
      justify-content: center;
      align-items: center;
      gap: 10px;
    }
  .L_code-right-side .L_code-right-form .L_code-login-form .Oauth_login .Oauth_login_txt {
      margin-right: 0;
    }
  .L_code-right-side .L_code-right-footer {
      position: fixed;
      left: 0;
      bottom: 0;
      right: 0;
      z-index: 99;
      height: 40px;
      display: flex;
      background-color: rgb(240, 240, 240);
      flex: 1;
      align-items: center;
      justify-content: flex-start;
      padding: 0 20px;
    }
  .L_code-right-side .L_code-right-footer a {
      display: none;
    }
  .L_code-right-side .L_code-right-footer a.L_code_clause {
      display: block;
      color: rgb(153, 153, 153) !important;
    }
  .L_code-right-side .L_code-right-footer a.L_code_clause {
      color: var(--primary);
      cursor: pointer;
    }
}

.L_code.aliyun-auth-page {
  position: relative;
  display: block;
  width: 100%;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 45% 54%, rgba(255, 255, 255, 0.88) 0, rgba(255, 255, 255, 0.54) 18%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(105deg, #fbf1e3 0%, #f7f2e9 31%, #eaf5f9 55%, #a7ddf6 100%);
  color: #1f2d3d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

.aliyun-auth-page .L_code-background,
.aliyun-auth-page .L_code-left-side::before {
  display: none !important;
}

.aliyun-auth-page .L_code-left-side {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8;
  width: auto;
  min-width: 0;
  max-width: none;
  height: 72px;
  overflow: visible;
  background: transparent;
}

.aliyun-auth-page .L_code-left-side .L_code-content {
  height: 72px;
  padding: 16px 0 0 16px;
  overflow: visible;
}

.aliyun-auth-page .aliyun-brand-logo {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px 0 0;
  background: linear-gradient(90deg, rgba(255, 241, 224, 0.98) 0%, rgba(255, 241, 224, 0.88) 62%, rgba(255, 241, 224, 0) 100%);
}

.aliyun-auth-page .aliyun-brand-logo img {
  display: block;
  max-width: 168px;
  object-fit: contain;
}

.aliyun-auth-page .GoBackToTheHomepage {
  display: none !important;
}

.aliyun-auth-page .L_code-right-side {
  position: static;
  display: block;
  width: 100%;
  height: 100vh;
  min-height: 760px;
  overflow: visible;
  padding: 0;
  background: none !important;
}

.aliyun-auth-page .L_code-right-content {
  position: absolute;
  left: 50%;
  top: 29%;
  z-index: 5;
  width: 31.7vw;
  min-width: 720px;
  max-width: 820px;
  transform: translateX(-50%);
}

.aliyun-auth-page .L_code-right-side .L_code-right-form,
.aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form {
  position: relative;
  top: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  min-height: 444px;
  max-height: 54vh;
  overflow: hidden;
  padding: 40px 0;
  border-radius: 0;
  background: rgba(246, 252, 255, 0.94);
  box-shadow: none;
}

.aliyun-auth-page .L_code-right-side.wx.right .L_code-right-form {
  flex-direction: row-reverse;
}

.aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form::before {
  content: "登录";
  display: flex;
  width: 280px;
  min-width: 280px;
  padding: 26px 40px 0 64px;
  border-right: 1px solid rgba(145, 167, 191, 0.26);
  color: #111827;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.aliyun-auth-page.aliyun-auth-register .L_code-right-side.no_wx .L_code-right-form::before,
.aliyun-auth-page .L_code-right-side.aliyun-register-side.no_wx .L_code-right-form::before {
  content: "注册";
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-scan-login {
  width: 280px;
  min-width: 280px;
  margin-top: 0;
  padding: 26px 40px 0 64px;
  border-right: 1px solid rgba(145, 167, 191, 0.26);
  gap: 14px;
  justify-content: flex-start;
}

.aliyun-auth-page .L_code-right-side.right .L_code-right-form .L_code-scan-login {
  border-right: none;
  border-left: 1px solid rgba(145, 167, 191, 0.26);
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-scan-login::before {
  content: "登录";
  align-self: flex-start;
  margin-bottom: 16px;
  color: #111827;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-scan-login .qrCodeContainer {
  width: 150px;
  height: 150px;
  align-self: flex-start;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-scan-login .qrCodeContainer .codetip-inner {
  display: none;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-scan-login .wechat-login {
  align-self: flex-start;
  color: #5f6b7a;
  font-size: 13px;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form,
.aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form .L_code-login-form {
  flex: 1;
  min-width: 0;
  max-height: calc(54vh - 80px);
  overflow-y: auto;
  padding: 24px 52px 0 52px;
}

.aliyun-auth-page .L_code-login-form::-webkit-scrollbar {
  width: 4px;
}

.aliyun-auth-page .L_code-login-form::-webkit-scrollbar-thumb {
  background: rgba(110, 132, 160, 0.24);
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .L_code-form-content {
  align-items: center;
  padding: 0;
  margin-bottom: 24px;
  border-bottom: none;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .code_login-tab {
  gap: 34px;
  width: auto;
  padding-right: 0;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .code_login-tab .login-tab-separate {
  display: none;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .code_login-tab .login-tab-item,
.aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form .L_code-login-form .code_login-tab .login-tab-item {
  margin: 0;
  color: #1f2937;
  font-size: 15px;
  font-weight: 700;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .code_login-tab .login-tab-item.active {
  color: #1677ff !important;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .transitionSwitching {
  bottom: -8px;
  height: 2px;
  background: #1677ff;
}

.aliyun-auth-page .text-register {
  position: static;
  margin-left: auto;
  color: #1677ff;
  font-size: 13px;
}

.aliyun-auth-page .text-register p {
  margin: 0;
}

.aliyun-auth-page .text-primary {
  color: #1677ff !important;
}

.aliyun-auth-page .L_code-login-form h3 {
  margin: -8px 0 16px;
  font-size: 13px;
  line-height: 1.6;
}

.aliyun-auth-page .L_code-right-side .form-group {
  position: relative;
  width: 100%;
  margin-bottom: 18px;
}

.aliyun-auth-page .L_code-right-side .form-group > label,
.aliyun-auth-page .L_code-right-side .form-group > .d-flex label {
  position: absolute;
  left: 16px;
  top: 50%;
  z-index: 2;
  margin: 0;
  transform: translateY(-50%);
  color: #1f2937;
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
}

.aliyun-auth-page .L_code-right-side .form-group > .d-flex {
  display: block !important;
}

.aliyun-auth-page .L_code-right-side .form-control {
  width: 100%;
  height: 40px;
  padding: 8px 12px 8px 92px;
  border: 1px solid #d6dbe3;
  border-radius: 0;
  background: #fff;
  color: #1f2937;
  font-size: 14px;
  line-height: 22px;
  box-shadow: none;
}

.aliyun-auth-page .L_code-right-side select.form-control {
  padding-left: 14px;
}

.aliyun-auth-page .L_code-right-side .input-group {
  width: 100%;
}

.aliyun-auth-page .L_code-right-side .input-group .form-control {
  flex: 1;
}

.aliyun-auth-page .L_code-right-side .input-group-append {
  height: 40px;
}

.aliyun-auth-page .L_code-right-side .input-group-append .btn {
  height: 40px;
  min-width: 104px;
  background: #1677ff;
}

.aliyun-auth-page .L_code-right-side .custom-dropdown-selection {
  height: 40px;
  line-height: 38px;
}

.aliyun-auth-page .L_code-right-side .mt-3 {
  margin-top: 20px !important;
}

.aliyun-auth-page .L_code-right-side .mt-3 .btn-primary,
.aliyun-auth-page .L_code-right-side .btn-primary {
  height: 40px;
  border-radius: 0;
  background: #1677ff;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

.aliyun-auth-page .L_code-right-side .mt-3 .btn-primary:hover,
.aliyun-auth-page .L_code-right-side .btn-primary:hover {
  background: #0958d9;
}

.aliyun-auth-page .L_code-right-side .Oauth_login {
  margin-top: 18px !important;
  gap: 10px;
}

.aliyun-auth-page .L_code-right-side .Oauth_login .other-login {
  justify-content: flex-start;
  padding: 0;
}

.aliyun-auth-page .L_code-right-side .Oauth_login .other-login .gray-line {
  display: none;
}

.aliyun-auth-page .L_code-right-side .Oauth_login .list-inline {
  justify-content: flex-start;
  padding: 0;
}

.aliyun-auth-page .L_code-right-side .Oauth_login .list-inline .social-list-item {
  width: 22px;
  height: 22px;
}

.aliyun-auth-page .serviceTerms {
  align-items: flex-start;
  margin: 12px 0 4px;
  font-size: 12px;
  line-height: 1.6;
}

.aliyun-auth-page .L_code-right-side .L_code-right-footer {
  left: 50%;
  bottom: 24px;
  z-index: 6;
  width: 31.7vw;
  min-width: 720px;
  max-width: 820px;
  transform: translateX(-50%);
  justify-content: flex-start;
}

.aliyun-auth-page .L_code-right-side .L_code-right-footer a {
  color: rgba(31, 41, 55, 0.58);
  font-size: 12px;
  line-height: 20px;
}

.aliyun-auth-page .L_code-right-side .L_code-right-footer a.L_code_clause {
  color: rgba(22, 119, 255, 0.82);
}

@media (max-width: 980px) {
    .L_code.aliyun-auth-page {
      min-height: 100vh;
      overflow-y: auto;
      background-size: cover;
      background-position: center top;
    }
  .aliyun-auth-page .L_code-left-side {
      position: relative;
      width: 100%;
      height: 64px;
      background: rgba(255, 255, 255, 0.88);
      backdrop-filter: blur(10px);
    }
  .aliyun-auth-page .L_code-left-side .L_code-content {
      height: 64px;
      padding: 0 18px;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
  .aliyun-auth-page .aliyun-brand-logo {
      min-height: 40px;
      background: transparent;
    }
  .aliyun-auth-page .GoBackToTheHomepage {
      display: inline-flex !important;
      color: #5f6b7a;
      font-size: 14px;
    }
  .aliyun-auth-page .L_code-right-side {
      height: auto;
      min-height: calc(100vh - 64px);
      padding: 24px 16px 64px;
    }
  .aliyun-auth-page .L_code-right-content {
      position: static;
      width: 100%;
      min-width: 0;
      max-width: 560px;
      margin: 0 auto;
      transform: none;
    }
  .aliyun-auth-page .L_code-right-side .L_code-right-form,
  .aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form {
      flex-direction: column-reverse !important;
      width: 100%;
      min-height: 0;
      max-height: none;
      padding: 28px 22px 34px !important;
      background: rgba(255, 255, 255, 0.94);
    }
  .aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form::before {
      display: none;
    }
  .aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-scan-login {
      width: 100%;
      min-width: 0;
      padding: 26px 0 0;
      border: 0 !important;
    }
  .aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form,
  .aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form .L_code-login-form {
      max-height: none;
      padding: 0 !important;
    }
  .aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .L_code-form-content {
      flex-wrap: wrap;
      gap: 10px;
    }
  .aliyun-auth-page .text-register {
      width: 100%;
      margin-left: 0;
      text-align: left;
    }
  .aliyun-auth-page .L_code-right-side .form-group > label,
  .aliyun-auth-page .L_code-right-side .form-group > .d-flex label {
      font-size: 13px;
    }
  .aliyun-auth-page .L_code-right-side .form-control {
      padding-left: 82px;
    }
  .aliyun-auth-page .L_code-right-side .L_code-right-footer {
      position: static;
      width: 100%;
      min-width: 0;
      max-width: none;
      margin-top: 20px;
      transform: none;
    }
}

/* Aliyun auth overlap fixes */
.aliyun-auth-page .L_code-left-side::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 270px;
  height: 76px;
  background: linear-gradient(90deg, #fff1e2 0%, rgba(255, 241, 226, 0.98) 66%, rgba(255, 241, 226, 0) 100%);
  pointer-events: none;
}

.aliyun-auth-page .L_code-left-side .L_code-content {
  z-index: 2;
}

.aliyun-auth-page .aliyun-brand-logo {
  background: transparent;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form,
.aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form {
  background: #f6fcff !important;
}

.aliyun-auth-page .code_login-tab > strong {
  display: none !important;
}

.aliyun-auth-page .L_code-right-side .form-group > label,
.aliyun-auth-page .L_code-right-side .form-group > .d-flex label {
  position: static;
  display: block;
  margin: 0 0 6px;
  transform: none;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  pointer-events: auto;
}

.aliyun-auth-page .L_code-right-side .form-group > .d-flex {
  display: flex !important;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.aliyun-auth-page .L_code-right-side .form-control {
  height: 42px;
  padding: 8px 12px;
}

.aliyun-auth-page .L_code-right-side .input-group .form-control {
  min-width: 0;
}

.aliyun-auth-page .L_code-right-side .custom-dropdown-selection {
  height: 42px;
  line-height: 40px;
}

.aliyun-auth-page .L_code-right-side .input-group-append {
  height: 42px;
}

.aliyun-auth-page .L_code-right-side .input-group-append .btn {
  height: 42px;
}

.aliyun-auth-page .L_code-right-side .mt-3 .btn-primary,
.aliyun-auth-page .L_code-right-side .btn-primary {
  height: 42px;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form,
.aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form .L_code-login-form {
  max-height: calc(58vh - 80px);
}

@media (max-width: 980px) {
    .aliyun-auth-page .L_code-left-side::after {
      width: 220px;
      height: 64px;
      background: rgba(255, 255, 255, 0.9);
    }
  .aliyun-auth-page .L_code-right-side .form-control {
      padding-left: 12px;
    }
  .aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form,
  .aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form .L_code-login-form {
      max-height: none;
    }
}

/* Login bg and phone country selector compatibility */
.L_code.aliyun-auth-page {
  background:
    radial-gradient(circle at 45% 54%, rgba(255, 255, 255, 0.88) 0, rgba(255, 255, 255, 0.54) 18%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(105deg, #fbf1e3 0%, #f7f2e9 31%, #eaf5f9 55%, #a7ddf6 100%) !important;
}

.aliyun-auth-page .L_code-left-side::after {
  background: linear-gradient(90deg, #fbf1e3 0%, rgba(251, 241, 227, 0.96) 70%, rgba(251, 241, 227, 0) 100%);
}

.aliyun-auth-page .L_code-right-side .input-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
}

.aliyun-auth-page .L_code-right-side .input-group .custom-dropdown {
  flex: 0 0 116px;
  width: 116px;
  min-width: 116px;
  margin: 0;
  z-index: 8;
}

.aliyun-auth-page .L_code-right-side .input-group .custom-dropdown-selection {
  width: 116px;
  height: 42px;
  padding: 0 24px 0 10px;
  overflow: hidden;
  border: 1px solid #d6dbe3;
  border-right: 0;
  background: #fff;
  color: #334155;
  font-size: 13px;
  line-height: 40px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aliyun-auth-page .L_code-right-side .input-group .custom-dropdown-list {
  z-index: 30;
  width: 168px;
  min-width: 168px;
  border: 1px solid #d6dbe3;
  background: #fff;
}

.aliyun-auth-page .L_code-right-side .input-group .custom-dropdown + input[type="hidden"] + .form-control,
.aliyun-auth-page .L_code-right-side .input-group .custom-dropdown + .form-control {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  padding-left: 12px;
}

.aliyun-auth-page .L_code-right-side .input-group .custom-dropdown + input[type="hidden"] + .form-control {
  border-left-color: #d6dbe3;
}

@media (max-width: 980px) {
    .L_code.aliyun-auth-page {
      background:
        radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.92) 0, rgba(255, 255, 255, 0.5) 30%, rgba(255, 255, 255, 0) 58%),
        linear-gradient(145deg, #fbf1e3 0%, #eef7fb 48%, #a7ddf6 100%) !important;
    }
  .aliyun-auth-page .L_code-right-side .input-group {
      flex-wrap: wrap;
      gap: 8px 0;
    }
  .aliyun-auth-page .L_code-right-side .input-group .custom-dropdown {
      flex: 0 0 100%;
      width: 100%;
      min-width: 100%;
    }
  .aliyun-auth-page .L_code-right-side .input-group .custom-dropdown-selection {
      width: 100%;
      border-right: 1px solid #d6dbe3;
    }
  .aliyun-auth-page .L_code-right-side .input-group .custom-dropdown + input[type="hidden"] + .form-control,
  .aliyun-auth-page .L_code-right-side .input-group .custom-dropdown + .form-control {
      flex-basis: 100%;
      width: 100%;
    }
}

/* QQ group QR in the original left-column style. */
.aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form::before,
.aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form::after,
.aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form .L_code-login-form::before {
  content: none !important;
  display: none !important;
}

.aliyun-auth-page .aliyun-auth-aside {
  box-sizing: border-box;
  display: flex;
  width: 280px;
  min-width: 280px;
  padding: 26px 28px 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-right: 1px solid rgba(145, 167, 191, 0.26);
  background: transparent;
  text-align: center;
}

.aliyun-auth-page .aliyun-auth-aside-title {
  width: 100%;
  margin: 0 0 14px;
  overflow: hidden;
  color: #111827;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aliyun-auth-page .aliyun-auth-qr-card {
  display: flex;
  width: 136px;
  height: 136px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 5px;
  border: 1px solid #e3e9f0;
  border-radius: 5px;
  background: #ffffff;
  box-sizing: border-box;
}

.aliyun-auth-page .aliyun-auth-qr-card img {
  display: block;
  width: 124px;
  height: 124px;
  object-fit: contain;
}

.aliyun-auth-page .aliyun-auth-qr-tip {
  width: 100%;
  margin: 10px 0 0;
  color: #5f6b7a;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 980px) {
    .aliyun-auth-page .aliyun-auth-aside {
      display: none;
    }
}

/* Orange and white technology login */
.L_code.aliyun-auth-page {
  --auth-orange: #ff7a1a;
  --auth-orange-dark: #e85c00;
  --auth-orange-soft: #fff3e8;
  --auth-ink: #172033;
  --auth-muted: #6f7b8f;
  box-sizing: border-box;
  display: flex;
  min-height: 100vh;
  padding: 32px 24px;
  align-items: center;
  justify-content: center;
  background-color: #f6f8fc !important;
  background-image:
    linear-gradient(rgba(255, 122, 26, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 122, 26, .045) 1px, transparent 1px),
    radial-gradient(circle at 12% 12%, rgba(255, 166, 90, .2), transparent 28%),
    radial-gradient(circle at 90% 88%, rgba(255, 122, 26, .12), transparent 30%) !important;
  background-size: 42px 42px, 42px 42px, auto, auto !important;
  color: var(--auth-ink);
  overflow-y: auto;
}

.aliyun-auth-page *,
.aliyun-auth-page *::before,
.aliyun-auth-page *::after {
  box-sizing: border-box;
}

.aliyun-auth-page .L_code-left-side {
  position: absolute;
  top: max(calc(50% - 236px), 36px);
  left: max(calc(50% - 392px), 48px);
  z-index: 20;
  width: auto;
  height: 46px;
  overflow: visible;
}

.aliyun-auth-page .L_code-left-side::after {
  display: none;
}

.aliyun-auth-page .L_code-left-side .L_code-content {
  height: 46px;
  padding: 0;
}

.aliyun-auth-page .aliyun-brand-logo {
  min-height: 42px;
  padding: 0;
  background: transparent;
  filter: none;
}

.aliyun-auth-page .aliyun-brand-logo img {
  max-width: 176px;
}

.aliyun-auth-page .L_code-right-side {
  position: relative;
  display: block;
  width: min(860px, calc(100vw - 48px));
  height: auto;
  min-height: 520px;
  max-height: calc(100vh - 48px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 26, .14);
  border-radius: 26px;
  background: #fff !important;
  box-shadow: 0 28px 80px rgba(65, 45, 27, .15);
}

.aliyun-auth-page .L_code-right-content {
  position: static;
  width: 100%;
  min-width: 0;
  max-width: none;
  transform: none;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form,
.aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form {
  position: static;
  display: grid;
  grid-template-columns: 50% 50%;
  width: 100%;
  min-height: 520px;
  max-height: calc(100vh - 48px);
  max-height: none;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: #fff !important;
}

.aliyun-auth-page .orange-auth-showcase {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: #fff;
  background: #f36b0a;
}

.aliyun-auth-page .orange-auth-showcase::before,
.aliyun-auth-page .orange-auth-showcase::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
}

.aliyun-auth-page .orange-auth-showcase::before {
  right: -190px;
  bottom: -210px;
  width: 520px;
  height: 520px;
  box-shadow: 0 0 0 54px rgba(255, 255, 255, .035), 0 0 0 110px rgba(255, 255, 255, .025);
}

.aliyun-auth-page .orange-auth-showcase::after {
  top: 102px;
  right: 62px;
  width: 11px;
  height: 11px;
  background: #fff;
  box-shadow: 76px 52px 0 -3px rgba(255, 255, 255, .75), -30px 112px 0 -3px rgba(255, 255, 255, .65);
}

.aliyun-auth-page .orange-auth-grid {
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(to bottom right, #000, transparent 82%);
  mask-image: linear-gradient(to bottom right, #000, transparent 82%);
}

.aliyun-auth-page .orange-auth-showcase-content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  padding: 40px 40px 28px;
  flex-direction: column;
  justify-content: center;
}

.aliyun-auth-page .orange-auth-badge {
  position: absolute;
  top: 40px;
  display: inline-flex;
  width: max-content;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 20px;
  background: rgba(255, 255, 255, .1);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}

.aliyun-auth-page .orange-auth-shield {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 15px;
  background: rgba(255,255,255,.13);
}

.aliyun-auth-page .orange-auth-shield span {
  width: 20px;
  height: 24px;
  border: 2px solid #fff;
  clip-path: polygon(50% 0, 100% 18%, 90% 72%, 50% 100%, 10% 72%, 0 18%);
}

.aliyun-auth-page .orange-auth-showcase h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.03em;
}

.aliyun-auth-page .orange-auth-lead {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 500;
}

.aliyun-auth-page .orange-auth-subtitle {
  margin: 0 0 32px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.aliyun-auth-page .orange-auth-features {
  display: grid;
  width: 100%;
  max-width: 390px;
  gap: 12px;
}

.aliyun-auth-page .orange-auth-feature {
  display: flex;
  min-height: 64px;
  padding: 12px 14px;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 13px;
  background: rgba(255,255,255,.1);
}

.aliyun-auth-page .orange-auth-feature i {
  display: flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.aliyun-auth-page .orange-auth-feature strong,
.aliyun-auth-page .orange-auth-feature span {
  display: block;
}

.aliyun-auth-page .orange-auth-feature strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: 14px;
}

.aliyun-auth-page .orange-auth-feature span {
  color: rgba(255,255,255,.68);
  font-size: 11px;
}

.aliyun-auth-page .orange-auth-showcase-footer {
  position: absolute;
  left: 40px;
  bottom: 24px;
  margin: 0;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  letter-spacing: .06em;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form,
.aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form .L_code-login-form {
  display: flex;
  max-height: none;
  padding: 56px 32px 38px;
  justify-content: center;
  overflow: visible;
}

.aliyun-auth-page .L_code-login-form::before {
  content: "登录控制台";
  display: block;
  order: -2;
  margin-bottom: 6px;
  color: var(--auth-ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
}

.aliyun-auth-page .L_code-login-form::after {
  content: "欢迎回来，请登录您的账户";
  display: block;
  order: -1;
}

.aliyun-auth-page .L_code-login-form::after {
  margin-bottom: 28px;
  color: var(--auth-muted);
  font-size: 13px;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .L_code-form-content {
  order: 0;
  margin-bottom: 22px;
  padding: 4px;
  align-items: center;
  border: 1px solid #e8ebf1;
  border-radius: 10px;
  background: #f5f6f8;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .code_login-tab {
  width: auto;
  gap: 4px;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .code_login-tab .login-tab-item,
.aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form .L_code-login-form .code_login-tab .login-tab-item {
  padding: 8px 12px;
  border-radius: 7px;
  color: #7b8495;
  font-size: 13px;
  font-weight: 600;
}

.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .code_login-tab .login-tab-item.active {
  background: #fff;
  color: var(--auth-orange) !important;
  box-shadow: 0 2px 8px rgba(40, 48, 65, .08);
}

.aliyun-auth-page .transitionSwitching {
  display: none;
}

.aliyun-auth-page .text-register {
  font-size: 12px;
}

.aliyun-auth-page .text-primary {
  color: var(--auth-orange) !important;
}

.aliyun-auth-page .L_code-right-side .form-group {
  margin-bottom: 17px;
}

.aliyun-auth-page .L_code-right-side .form-group > label,
.aliyun-auth-page .L_code-right-side .form-group > .d-flex label {
  margin-bottom: 7px;
  color: #414b5e;
  font-size: 13px;
  font-weight: 600;
}

.aliyun-auth-page .L_code-right-side .form-control {
  height: 48px;
  padding: 10px 14px;
  border: 1px solid #dfe3ea;
  border-radius: 10px;
  color: var(--auth-ink);
  transition: border-color .2s, box-shadow .2s;
}

.aliyun-auth-page .L_code-right-side .form-control:focus {
  border-color: var(--auth-orange);
  box-shadow: 0 0 0 3px rgba(255,122,26,.11);
}

.aliyun-auth-page .L_code-right-side .input-group .custom-dropdown-selection {
  height: 48px;
  border-color: #dfe3ea;
  border-radius: 10px 0 0 10px;
  line-height: 46px;
}

.aliyun-auth-page .L_code-right-side .input-group .custom-dropdown + input[type="hidden"] + .form-control,
.aliyun-auth-page .L_code-right-side .input-group .custom-dropdown + .form-control {
  border-radius: 0 10px 10px 0;
}

.aliyun-auth-page .L_code-right-side .input-group-append,
.aliyun-auth-page .L_code-right-side .input-group-append .btn {
  height: 48px;
}

.aliyun-auth-page .L_code-right-side .input-group-append .btn {
  border-radius: 0 10px 10px 0;
}

.aliyun-auth-page .L_code-right-side .mt-3 .btn-primary,
.aliyun-auth-page .L_code-right-side .btn-primary {
  height: 48px;
  border-radius: 10px;
  background: var(--auth-orange);
  box-shadow: 0 10px 24px rgba(255, 122, 26, .22);
  font-size: 15px;
}

.aliyun-auth-page .L_code-right-side .mt-3 .btn-primary:hover,
.aliyun-auth-page .L_code-right-side .btn-primary:hover {
  background: var(--auth-orange-dark);
}

.aliyun-auth-page .L_code-right-side .Oauth_login {
  margin-top: 20px !important;
}

.aliyun-auth-page.aliyun-auth-register .L_code-login-form::before {
  content: "注册账户";
}

.aliyun-auth-page.aliyun-auth-register .L_code-login-form::after {
  content: "创建账户，开始使用云服务";
}

.aliyun-auth-page.aliyun-auth-register .L_code-login-form,
.aliyun-auth-page .aliyun-register-side .L_code-login-form {
  justify-content: flex-start !important;
  overflow-y: auto !important;
}

.aliyun-auth-page .L_code-right-side .L_code-right-footer {
  right: 30px;
  left: auto;
  bottom: 20px;
  z-index: 5;
  width: calc(50% - 48px);
  min-width: 0;
  max-width: none;
  transform: none;
  justify-content: center;
}

.aliyun-auth-page .L_code-right-side .L_code-right-footer a {
  color: #9aa2af;
  font-size: 11px;
}

.aliyun-auth-page .L_code-right-side .L_code-right-footer a.L_code_clause {
  color: var(--auth-orange);
}

@media (max-width: 980px) {
    .L_code.aliyun-auth-page {
      display: block;
      min-height: 100vh;
      padding: 0;
      background: #f7f8fb !important;
    }
  .aliyun-auth-page .L_code-left-side {
      position: absolute;
      top: 18px;
      left: 22px;
      height: 42px;
      background: transparent;
    }
  .aliyun-auth-page .aliyun-brand-logo {
      filter: none;
    }
  .aliyun-auth-page .GoBackToTheHomepage {
      display: none !important;
    }
  .aliyun-auth-page .L_code-right-side {
      width: 100%;
      max-height: none;
      min-height: 100vh;
      border: 0;
      border-radius: 0;
      box-shadow: none;
    }
  .aliyun-auth-page .L_code-right-side .L_code-right-form,
  .aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form {
      display: block;
      max-height: none;
      min-height: 100vh;
      padding: 0 !important;
    }
  .aliyun-auth-page .orange-auth-showcase {
      min-height: 230px;
    }
  .aliyun-auth-page .orange-auth-showcase-content {
      padding: 86px 26px 30px;
      justify-content: flex-start;
    }
  .aliyun-auth-page .orange-auth-badge,
  .aliyun-auth-page .orange-auth-shield,
  .aliyun-auth-page .orange-auth-features,
  .aliyun-auth-page .orange-auth-showcase-footer {
      display: none;
    }
  .aliyun-auth-page .orange-auth-showcase h1 {
      margin-bottom: 6px;
      font-size: 26px;
    }
  .aliyun-auth-page .orange-auth-subtitle {
      margin-bottom: 0;
    }
  .aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form,
  .aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form .L_code-login-form {
      width: calc(100% - 28px);
      max-width: 520px;
      margin: -34px auto 56px;
      padding: 30px 22px !important;
      border-radius: 18px;
      background: #fff;
      box-shadow: 0 18px 44px rgba(38, 40, 52, .12);
    }
  .aliyun-auth-page .L_code-login-form::before {
      font-size: 24px;
    }
  .aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .L_code-form-content {
      flex-wrap: wrap;
    }
  .aliyun-auth-page .text-register {
      width: 100%;
      margin-top: 6px;
    }
  .aliyun-auth-page .L_code-right-side .L_code-right-footer {
      position: absolute;
      right: 16px;
      bottom: 14px;
      left: 16px;
      width: auto;
    }
}

@media (max-width: 520px) {
    .aliyun-auth-page .L_code-right-side .L_code-right-form .code_login-tab .login-tab-item,
  .aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form .code_login-tab .login-tab-item {
      padding: 8px 9px;
      font-size: 12px;
    }
  .aliyun-auth-page .L_code-right-side .input-group {
      flex-wrap: wrap;
    }
  .aliyun-auth-page .L_code-right-side .input-group .custom-dropdown {
      flex: 0 0 100%;
      width: 100%;
    }
  .aliyun-auth-page .L_code-right-side .input-group .custom-dropdown-selection {
      width: 100%;
      border-right: 1px solid #dfe3ea;
      border-radius: 10px;
    }
  .aliyun-auth-page .L_code-right-side .input-group .custom-dropdown + input[type="hidden"] + .form-control,
  .aliyun-auth-page .L_code-right-side .input-group .custom-dropdown + .form-control {
      flex-basis: 100%;
      width: 100%;
      margin-top: 8px;
      border-radius: 10px;
    }
}

/* Unified auth layout and transitions */
.aliyun-auth-page .L_code-right-side,
.aliyun-auth-page .L_code-left-side {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .32s ease, transform .38s cubic-bezier(.22, 1, .36, 1);
}

.aliyun-auth-page.auth-page-ready .L_code-right-side {
  opacity: 1;
  transform: translateY(0);
}

.aliyun-auth-page.auth-page-ready .L_code-left-side {
  opacity: 1;
}

.aliyun-auth-page.auth-page-leaving .L_code-right-side {
  opacity: 0;
  transform: translateY(-10px) scale(.992);
  transition-duration: .18s;
}

.aliyun-auth-page.auth-page-leaving .L_code-left-side {
  opacity: 0;
  transition-duration: .18s;
}

.aliyun-auth-page.aliyun-auth-register .L_code-login-form > h3 {
  margin: 0 0 14px !important;
  padding: 10px 12px !important;
  border: 1px solid #ffd4b3;
  border-radius: 9px;
  background: #fff7f0;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.aliyun-auth-page.aliyun-auth-register .L_code-login-form > h3 span {
  color: #d85600 !important;
}

.aliyun-auth-page.aliyun-auth-register textarea.form-control {
  height: auto !important;
  min-height: 88px !important;
  resize: vertical;
}

@media (min-width: 769px) {
    .aliyun-auth-page .L_code-left-side {
      transform: translate(-50%, 12px) !important;
    }
  .aliyun-auth-page.auth-page-ready .L_code-left-side {
      transform: translate(-50%, 0) !important;
    }
  .aliyun-auth-page.auth-page-leaving .L_code-left-side {
      transform: translate(-50%, -8px) !important;
    }
  .aliyun-auth-page.aliyun-auth-register .L_code-right-side .L_code-login-form {
      scrollbar-width: thin;
      scrollbar-color: rgba(255, 122, 26, .42) transparent;
      scroll-behavior: smooth;
      overscroll-behavior: contain;
    }
  .aliyun-auth-page.aliyun-auth-register .L_code-right-side .L_code-login-form::-webkit-scrollbar {
      width: 6px;
    }
  .aliyun-auth-page.aliyun-auth-register .L_code-right-side .L_code-login-form::-webkit-scrollbar-thumb {
      border-radius: 999px;
      background: rgba(255, 122, 26, .42);
    }
  .aliyun-auth-page.aliyun-auth-register .L_code-login-form .serviceTerms {
      margin: 16px 0 8px !important;
      padding-bottom: 8px;
    }
}

@media (max-width: 768px) {
    html,
  body {
      min-width: 0 !important;
      min-height: 100% !important;
      overflow-x: hidden !important;
    }
  .L_code.aliyun-auth-page {
      display: flex !important;
      width: 100% !important;
      min-height: 100vh !important;
      height: auto !important;
      padding: 92px 14px 28px !important;
      align-items: flex-start !important;
      justify-content: center !important;
      overflow: visible !important;
      background-color: #f6f8fc !important;
    }
  /* 移动端：清除卡片上的 transform/animation。
     原因：祖先元素存在 transform 时，子元素的 position:fixed 会退化为
     相对该祖先定位，导致品牌区无法固定到视口顶部（会压住 Tab 栏）。 */
  .aliyun-auth-page .L_code-right-side,
  .aliyun-auth-page .L_code-right-side.no_wx,
  .aliyun-auth-page .aliyun-register-side,
  .aliyun-auth-page.auth-page-ready .L_code-right-side,
  .aliyun-auth-page.auth-page-ready .L_code-right-side.no_wx,
  .aliyun-auth-page.auth-page-ready .aliyun-register-side,
  .aliyun-auth-page.auth-page-leaving .L_code-right-side,
  .aliyun-auth-page.auth-page-leaving .L_code-right-side.no_wx,
  .aliyun-auth-page.auth-page-leaving .aliyun-register-side {
      transform: none !important;
      animation: none !important;
      will-change: auto !important;
      filter: none !important;
  }
  /* 移动端：品牌区脱离卡片、固定在视口顶部居中 */
  .aliyun-auth-page .L_code-left-side {
      position: fixed !important;
      z-index: 30 !important;
      top: 18px !important;
      left: 50% !important;
      right: auto !important;
      display: block !important;
      width: auto !important;
      height: auto !important;
      transform: translateX(-50%) !important;
    }
  .aliyun-auth-page.auth-page-ready .L_code-left-side {
      transform: translateX(-50%) !important;
    }
  .aliyun-auth-page.auth-page-leaving .L_code-left-side {
      opacity: 0 !important;
      transform: translateX(-50%) !important;
    }
  .aliyun-auth-page .L_code-left-side .L_code-background,
  .aliyun-auth-page .GoBackToTheHomepage {
      display: none !important;
    }
  .aliyun-auth-page .L_code-left-side .L_code-content {
      display: flex !important;
      width: auto !important;
      height: auto !important;
      padding: 0 !important;
      align-items: center !important;
      justify-content: center !important;
    }
  .aliyun-auth-page .aliyun-brand-logo {
      display: block !important;
      min-height: 0 !important;
      padding: 0 !important;
      border-radius: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
    }
  .aliyun-auth-page .aliyun-brand-logo img {
      display: block !important;
      width: auto !important;
      height: 34px !important;
      max-width: min(190px, 70vw) !important;
      filter: none !important;
    }
  .aliyun-auth-page .L_code-right-side,
  .aliyun-auth-page .L_code-right-side.no_wx,
  .aliyun-auth-page .aliyun-register-side {
      position: relative !important;
      display: block !important;
      width: 100% !important;
      min-width: 0 !important;
      max-width: 460px !important;
      height: auto !important;
      min-height: 0 !important;
      max-height: none !important;
      margin: 0 auto !important;
      padding: 0 !important;
      overflow: visible !important;
      border: 1px solid rgba(255, 122, 26, .13) !important;
      border-radius: 18px !important;
      background: #fff !important;
      box-shadow: 0 18px 48px rgba(31, 41, 55, .12) !important;
    }
  .aliyun-auth-page .L_code-right-content,
  .aliyun-auth-page .L_code-right-side .L_code-right-form,
  .aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form {
      display: block !important;
      width: 100% !important;
      height: auto !important;
      min-height: 0 !important;
      max-height: none !important;
      margin: 0 !important;
      padding: 0 !important;
      overflow: visible !important;
    }
  .aliyun-auth-page .orange-auth-showcase,
  .aliyun-auth-page .L_code-scan-login {
      display: none !important;
    }
  /* 移动端沿用 flex 纵向布局：
     ::before("登录控制台") / ::after("欢迎回来…") 依赖 order 排序，
     若改为 display:block 会让 order 失效、标题落到表单下方。 */
  .aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form,
  .aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form .L_code-login-form,
  .aliyun-auth-page .aliyun-register-side .L_code-login-form {
      display: flex !important;
      flex-direction: column !important;
      width: 100% !important;
      height: auto !important;
      min-height: 0 !important;
      max-height: none !important;
      margin: 0 !important;
      padding: 30px 22px 28px !important;
      overflow: visible !important;
    }
  .aliyun-auth-page .L_code-login-form::before {
      display: block !important;
      margin: 0 !important;
      font-size: 23px !important;
      line-height: 1.3 !important;
    }
  .aliyun-auth-page .L_code-login-form::after {
      display: block !important;
      margin: 6px 0 20px !important;
      font-size: 13px !important;
    }
  .aliyun-auth-page .L_code-form-content {
      display: block !important;
      width: 100% !important;
      margin: 0 0 18px !important;
    }
  .aliyun-auth-page .code_login-tab {
      display: flex !important;
      width: 100% !important;
      min-width: 0 !important;
      gap: 6px !important;
    }
  .aliyun-auth-page .code_login-tab .login-tab-item {
      flex: 1 1 0 !important;
      min-width: 0 !important;
      padding: 9px 7px !important;
      text-align: center !important;
      white-space: normal !important;
    }
  .aliyun-auth-page .code_login-tab > strong {
      display: none !important;
    }
  .aliyun-auth-page .text-register {
      position: static !important;
      width: 100% !important;
      margin: 12px 0 0 !important;
      text-align: center !important;
    }
  .aliyun-auth-page .tab-pane,
  .aliyun-auth-page .tab-pane.active,
  .aliyun-auth-page form,
  .aliyun-auth-page .input-group,
  .aliyun-auth-page .ExtremeTest_captcha {
      max-width: 100% !important;
    }
  .aliyun-auth-page .form-group {
      margin-bottom: 15px !important;
    }
  .aliyun-auth-page .form-control,
  .aliyun-auth-page select.form-control,
  .aliyun-auth-page .input-group-append,
  .aliyun-auth-page .input-group-append .btn,
  .aliyun-auth-page .custom-dropdown-selection {
      min-width: 0 !important;
      height: 44px !important;
    }
  .aliyun-auth-page .input-group {
      display: flex !important;
      flex-wrap: nowrap !important;
      width: 100% !important;
    }
  .aliyun-auth-page .input-group > .form-control {
      width: 1% !important;
      min-width: 0 !important;
      flex: 1 1 auto !important;
    }
  .aliyun-auth-page .input-group-append {
      flex: 0 0 auto !important;
    }
  .aliyun-auth-page .input-group-append .btn {
      padding-right: 12px !important;
      padding-left: 12px !important;
      white-space: nowrap !important;
    }
  .aliyun-auth-page .custom-dropdown {
      flex: 0 0 112px !important;
      width: 112px !important;
      min-width: 0 !important;
    }
  .aliyun-auth-page .custom-dropdown-selection {
      width: 112px !important;
      padding: 0 9px !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      white-space: nowrap !important;
    }
  .aliyun-auth-page textarea.form-control {
      height: auto !important;
      min-height: 88px !important;
    }
  .aliyun-auth-page .serviceTerms {
      display: flex !important;
      position: static !important;
      width: 100% !important;
      margin: 18px 0 0 !important;
      padding: 0 !important;
      align-items: flex-start !important;
      font-size: 12px !important;
      line-height: 1.6 !important;
    }
  .aliyun-auth-page .serviceTerms .custom-checkbox {
      flex: 0 0 auto !important;
      margin-top: 3px !important;
    }
  .aliyun-auth-page .L_code-right-footer {
      position: static !important;
      display: flex !important;
      width: 100% !important;
      min-width: 0 !important;
      margin: 20px auto 0 !important;
      padding: 0 12px !important;
      flex-wrap: wrap !important;
      justify-content: center !important;
      gap: 7px 12px !important;
      transform: none !important;
      font-size: 11px !important;
    }
  .aliyun-auth-page.aliyun-auth-register .L_code-login-form > h3 {
      margin-bottom: 16px !important;
    }
}

@media (max-width: 380px) {
    .L_code.aliyun-auth-page {
      padding-right: 9px !important;
      padding-left: 9px !important;
    }
  .aliyun-auth-page .L_code-right-side .L_code-login-form,
  .aliyun-auth-page .L_code-right-side.no_wx .L_code-login-form {
      padding-right: 16px !important;
      padding-left: 16px !important;
    }
  .aliyun-auth-page .custom-dropdown {
      flex-basis: 96px !important;
      width: 96px !important;
    }
  .aliyun-auth-page .custom-dropdown-selection {
      width: 96px !important;
    }
}

/* Registration terms are shown once in the form and once below the card. */
.aliyun-auth-page.aliyun-auth-register .L_code-right-side > .L_code-right-footer {
  position: absolute !important;
  top: calc(100% + 12px) !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  display: flex !important;
  width: max-content !important;
  max-width: calc(100vw - 28px) !important;
  min-width: 0 !important;
  padding: 0 !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 6px 14px !important;
  transform: translateX(-50%) !important;
  font-size: 11px !important;
  white-space: normal !important;
}

.aliyun-auth-page.aliyun-auth-register .L_code-login-form {
  padding-bottom: 34px !important;
}

.aliyun-auth-page.aliyun-auth-register .serviceTerms {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  margin: 20px 0 0 !important;
  padding: 14px 0 4px !important;
  border-top: 1px solid #edf0f5;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width: 768px) {
    .aliyun-auth-page.aliyun-auth-register .L_code-login-form {
      padding-bottom: 32px !important;
    }
  .aliyun-auth-page.aliyun-auth-register .serviceTerms {
      margin-top: 20px !important;
      padding: 14px 0 0 !important;
    }
  .aliyun-auth-page.aliyun-auth-register .L_code-right-side > .L_code-right-footer {
      position: static !important;
      display: flex !important;
      width: 100% !important;
      max-width: none !important;
      margin: 18px auto 0 !important;
      padding: 0 10px 4px !important;
      transform: none !important;
    }
}

@media (max-width: 768px) {
    .aliyun-auth-page.aliyun-auth-register .tab-pane.active > form {
      display: block !important;
    }
  .aliyun-auth-page.aliyun-auth-register .tab-pane.active > form > .form-group {
      margin-bottom: 13px !important;
    }
}

/* Keep the complete registration footer outside the card and visible. */
.aliyun-auth-page.aliyun-auth-register .L_code-right-side {
  overflow: visible !important;
}

.aliyun-auth-page.aliyun-auth-register .L_code-right-content {
  overflow: visible !important;
}

@media (min-width: 769px) {
    .L_code.aliyun-auth-page.aliyun-auth-register {
      padding-bottom: 64px !important;
    }
  .aliyun-auth-page.aliyun-auth-register .L_code-right-side > .L_code-right-footer {
      top: calc(100% + 14px) !important;
    }
}

@media (max-width: 768px) {
    .L_code.aliyun-auth-page.aliyun-auth-register {
      padding-bottom: 34px !important;
    }
  .aliyun-auth-page.aliyun-auth-register .L_code-right-side > .L_code-right-footer {
      margin-bottom: 4px !important;
    }
}

/* Blue metal primary actions for login and registration. */
.aliyun-auth-page .L_code-right-side .mt-3 .btn-primary,
.aliyun-auth-page .L_code-right-side .btn-primary {
  border: 1px solid #173f6b !important;
  background: linear-gradient(180deg, #5f94c8 0%, #245d96 44%, #123b68 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), inset 0 -2px 0 rgba(7, 26, 49, .48), 0 9px 20px rgba(16, 57, 101, .3) !important;
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(18, 53, 84, .5);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.aliyun-auth-page .L_code-right-side .mt-3 .btn-primary:hover,
.aliyun-auth-page .L_code-right-side .btn-primary:hover {
  background: linear-gradient(180deg, #78a9d8 0%, #2f70ad 44%, #194d80 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .52), inset 0 -2px 0 rgba(7, 26, 49, .4), 0 11px 24px rgba(16, 57, 101, .38) !important;
  transform: translateY(-1px);
}

.aliyun-auth-page .L_code-right-side .mt-3 .btn-primary:active,
.aliyun-auth-page .L_code-right-side .btn-primary:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 3px rgba(17, 55, 91, .28), 0 5px 12px rgba(34, 93, 145, .2) !important;
}

@media (prefers-reduced-motion: reduce) {
    .aliyun-auth-page *,
  .aliyun-auth-page *::before,
  .aliyun-auth-page *::after {
      scroll-behavior: auto !important;
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
    }
}


/* ============================================================
   登录 / 注册页专用重置（default 主题适配层）
   default 主题的全局样式（business-white.css 等）针对后台布局，
   这里把登录页自身的排版/背景收回来，避免被全局样式干扰。
   所有规则均限定在 .aliyun-auth-page 作用域内，不污染其它页面。
   ============================================================ */

.aliyun-auth-page {
  min-height: 100vh;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: #172033;
  -webkit-font-smoothing: antialiased;
}

/* default 主题为后台布局设置了 body 边距/背景，登录页需要清掉 */
body:has(> .aliyun-auth-page),
body:has(.aliyun-auth-page) {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  background: #f6f8fc !important;
}

/* 隐藏登录页上可能出现的管理后台骨架（侧边栏/顶栏） */
.aliyun-auth-page ~ .vertical-menu,
.aliyun-auth-page ~ .navbar,
.aliyun-auth-page ~ .page-content,
.vertical-menu + .main-content > .page-content > .aliyun-auth-page ~ * {
  display: none !important;
}

/* 表单元素继承字体，避免 default 主题的 btn/form 全局高度干扰布局 */
.aliyun-auth-page input,
.aliyun-auth-page button,
.aliyun-auth-page select,
.aliyun-auth-page textarea {
  font-family: inherit;
}

.aliyun-auth-page img {
  max-width: 100%;
}

/* default 主题的 .btn 有固定 line-height，登录页用 flex 居中即可 */
.aliyun-auth-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-decoration: none;
}

.aliyun-auth-page .btn-block {
  width: 100%;
}

/* 修正 default 主题 form-group 的默认间距 */
.aliyun-auth-page .form-group {
  margin-bottom: 17px;
}

.aliyun-auth-page .form-group:last-child {
  margin-bottom: 0;
}

/* 提示条（toastr / 错误提示）在登录页的定位 */
.aliyun-auth-page .alert {
  border-radius: 10px;
}

/* 验证码图片、行为验证容器适配 */
.aliyun-auth-page .verify-img,
.aliyun-auth-page .ExtremeTest_captcha {
  max-width: 100%;
}

.aliyun-auth-page .ExtremeTest_captcha {
  min-height: 44px;
}

/* ============================================================
   底部条款栏对齐（仅登录页）
   历史：早期按 55%/45% 分栏比例算宽度。
   现表单内容区已统一收窄为 480px 并居中（见文件末尾「表单收窄」段），
   按百分比取宽会与表单错位，这里改为与表单列中心对齐、宽度随表单自适应。
   注意：注册页的底部条款是「卡片下方居中」的独立设计
   （表单内已有一份勾选行，卡片下再放一份，见上方 register 段），
   故本条不作用于注册页。
   ============================================================ */
@media (min-width: 769px) {
  .aliyun-auth-page.aliyun-auth-login .L_code-right-side > .L_code-right-footer {
    /* 与表单列（卡片右半区）中心对齐，宽度随表单内容自适应 */
    left: 75% !important;
    right: auto !important;
    width: min(380px, calc(50% - 60px)) !important;
    min-width: 0 !important;
    max-width: none !important;
    justify-content: center !important;
    transform: translateX(-50%) !important;
  }
}

/* ============================================================
   服务条款勾选框（自包含实现）
   说明：userCenter 主题依赖 inherit.css 里的 --primary 变量，
   default 主题没有这个变量，这里把变量与勾选框外观一并自带，
   避免样式悬空导致勾选框不可见。
   ============================================================ */
.aliyun-auth-page {
  --primary: #ff7a1a;
}

.aliyun-auth-page .serviceTerms {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 10px;
}

.aliyun-auth-page .serviceTerms .custom-checkbox {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1.5px solid #9ea5b2;
  border-radius: 3px;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  transition: background-color .2s, border-color .2s;
}

.aliyun-auth-page .serviceTerms .custom-checkbox::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: translate(-50%, -60%) rotate(45deg);
  transition: opacity .2s;
}

.aliyun-auth-page .serviceTerms .custom-checkbox.checked {
  border-color: var(--primary);
  background-color: var(--primary);
}

.aliyun-auth-page .serviceTerms .custom-checkbox.checked::after {
  opacity: 1;
}

.aliyun-auth-page .serviceTerms .custom-checkbox:focus-visible {
  outline: 2px solid rgba(255, 122, 26, .45);
  outline-offset: 2px;
}

.aliyun-auth-page .serviceTerms > span {
  color: #9ea5b2;
  line-height: 1.6;
}

.aliyun-auth-page .serviceTerms a {
  color: var(--primary) !important;
}

/* ============================================================
   Logo 定位：品牌区（.L_code-left-side）在模板中位于
   .L_code-right-side 内部（与卡片共用定位祖先）。
   现按需求把 Logo 移到「卡片正上方居中」并放大：
   用负 top 把品牌区推到卡片上沿之外，避免依赖视口计算。
   ============================================================ */
@media (min-width: 769px) {
  /* 品牌区定位到卡片上方居中（top 取负值即落在卡片外上方） */
  .aliyun-auth-page .L_code-left-side {
    position: absolute !important;
    top: auto !important;
    bottom: calc(100% + 14px) !important;
    left: 50% !important;
    right: auto !important;
    z-index: 20 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
  }

  .aliyun-auth-page.auth-page-ready .L_code-left-side,
  .aliyun-auth-page.auth-page-leaving .L_code-left-side {
    transform: translateX(-50%) !important;
  }

  /* 注册页同样居中在卡片上方 */
  .aliyun-auth-page.aliyun-auth-register .L_code-left-side {
    top: auto !important;
    bottom: calc(100% + 14px) !important;
    left: 50% !important;
  }

  .aliyun-auth-page .L_code-left-side .L_code-content {
    height: auto !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Logo 现在位于卡片外的页面空白区（浅色底），
     去掉白色胶囊底衬、恢复原色并可适当放大。 */
  .aliyun-auth-page .aliyun-brand-logo {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .aliyun-auth-page .aliyun-brand-logo img {
    height: 46px !important;
    width: auto !important;
    filter: none !important;
  }

  /* Logo 已离开橙区，「企业控制台」徽章回到橙区左上角原位 */
  .aliyun-auth-page .orange-auth-badge {
    top: 40px !important;
    left: 40px !important;
    right: auto !important;
    transform: none !important;
  }

  /* 橙区内容偶发超出时不影响 Logo 层级 */
  .aliyun-auth-page .orange-auth-showcase-content {
    z-index: 2;
  }
}

/* ============================================================
   表单收窄：桌面端（>980px）表单列占卡片右半区 50%，
   宽度可达 870px+，输入框被过度拉伸，视觉松散。
   这里给表单列的每个直接子块统一限宽并水平居中，
   最终有效输入宽度 ≈ 480px（含 .L_code-login-form 的左右 padding 后
   视觉宽度约 480px），与 ≤980px 断点的 520px 设计意图保持一致。
   ============================================================ */
@media (min-width: 981px) {
  /* 表单列左右留白，内部块限宽居中 */
  .aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form,
  .aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form .L_code-login-form {
    padding-left: 40px !important;
    padding-right: 40px !important;
    align-items: center !important;
  }

  /* 限宽容器：标题、副标题、tab 行、表单体统一限宽并居中。
     卡片收窄到 880px 后，表单列宽 = 440px，再减去左右各 40px 内边距，
     可用宽度 360px；用 min() 兼顾 1024 等更窄视口，保证不溢出。 */
  .aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form > *,
  .aliyun-auth-page .L_code-right-side.no_wx .L_code-right-form .L_code-login-form > * {
    width: 100% !important;
    max-width: 380px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* 表单体内的字段与按钮跟随容器宽度（100% 即可，不需再限宽） */
  .aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .form-group,
  .aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .input-group,
  .aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .btn,
  .aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .btn-primary,
  .aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form .serviceTerms {
    max-width: none !important;
  }

  /* 注册页表单更长，限宽同时保留纵向滚动 */
  .aliyun-auth-page.aliyun-auth-register .L_code-right-side .L_code-login-form > * {
    max-width: 380px !important;
  }
}

/* ============================================================
   卡片整体收窄：登录 / 注册页外层橙白卡片
   问题：.L_code 是 flex 容器，.L_code-right-side 带有 flex-grow:1，
        会把 width 拉伸到占满视口（1920 下实测 1872px），
        使 L1445 声明的 min(860px, 100vw-48px) 失效。
   修复：显式 flex: 0 0 auto，让 width + max-width 生效，并在页面内居中。
   ============================================================ */
@media (min-width: 769px) {
  .aliyun-auth-page .L_code-right-side,
  .aliyun-auth-page .L_code-right-side.no_wx,
  .aliyun-auth-page .aliyun-register-side {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* 桌面端（>980px）：双栏卡片固定 880px，视觉居中 */
@media (min-width: 981px) {
  .aliyun-auth-page .L_code-right-side,
  .aliyun-auth-page .L_code-right-side.no_wx,
  .aliyun-auth-page .aliyun-register-side {
    width: min(880px, calc(100vw - 48px)) !important;
    max-width: min(880px, calc(100vw - 48px)) !important;
  }
}

/* 平板端（769~980px）：原设计为全屏流式，这里同样收口到 880px，
   避免卡片横向铺满导致表单被拉得过宽。 */
@media (min-width: 769px) and (max-width: 980px) {
  .aliyun-auth-page .L_code-right-side,
  .aliyun-auth-page .L_code-right-side.no_wx,
  .aliyun-auth-page .aliyun-register-side {
    width: min(760px, calc(100vw - 32px)) !important;
    max-width: min(760px, calc(100vw - 32px)) !important;
    min-height: 0 !important;
    border: 1px solid rgba(255, 122, 26, .14) !important;
    border-radius: 22px !important;
    box-shadow: 0 22px 60px rgba(65, 45, 27, .13) !important;
    overflow: hidden !important;
  }
}

/* ============================================================
   隐藏框架注入的「Powered by ©智简魔方」署名
   说明：该 <a> 由加密的框架层在页面渲染结束后追加输出
        （位置在 </html> 之后，不在任何主题模板内，模板改不掉），
        带内联样式 position:absolute;right:10px;bottom:20px;z-index:9999。
   处理：用属性选择器命中其 href，并限定在登录/注册页（body 含 .aliyun-auth-page）
        生效，避免影响客户区其他页面。
   ============================================================ */
body:has(.aliyun-auth-page) a[href*="idcsmart.com"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
/* 兜底：部分浏览器不支持 :has() 时，仅在 auth 页加载本样式表，
   这里再补一条不含 :has() 的规则，作用域仍受样式表自身限定。 */
.aliyun-auth-page ~ a[href*="idcsmart.com"] {
  display: none !important;
}

/* ============================================================
   Logo 移至卡片上方后，需要为它预留页面顶部空间。
   原卡片 max-height 为 calc(100vh - 48px)，卡片接近满高时
   上方仅 24px，放不下 Logo（46px）+ 间距，会被裁切。
   这里下调卡片最大高度并让页面纵向居中，保证 Logo 始终可见。
   ============================================================ */
@media (min-width: 981px) {
  .aliyun-auth-page .L_code.aliyun-auth-page,
  .L_code.aliyun-auth-page {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 96px !important;
    padding-bottom: 32px !important;
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }

  .aliyun-auth-page .L_code-right-side,
  .aliyun-auth-page .L_code-right-side.no_wx,
  .aliyun-auth-page .aliyun-register-side {
    max-height: calc(100vh - 168px) !important;
  }
}

/* 平板端（769~980px）同样为卡片上方的 Logo 预留顶部空间 */
@media (min-width: 769px) and (max-width: 980px) {
  .L_code.aliyun-auth-page {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-top: 96px !important;
    padding-bottom: 32px !important;
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }

  /* 平板端卡片为文档流中的 flex 项，Logo 用 bottom:100%+12px
     定位到卡片上沿之外（用 top 会落到卡片内部被遮挡）。 */
  .aliyun-auth-page .L_code-left-side,
  .aliyun-auth-page.aliyun-auth-register .L_code-left-side {
    top: auto !important;
    bottom: calc(100% + 12px) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }

  .aliyun-auth-page.auth-page-ready .L_code-left-side,
  .aliyun-auth-page.auth-page-leaving .L_code-left-side {
    transform: translateX(-50%) !important;
  }

  .aliyun-auth-page .aliyun-brand-logo img {
    height: 40px !important;
    width: auto !important;
  }

  .aliyun-auth-page .L_code-right-side,
  .aliyun-auth-page .L_code-right-side.no_wx,
  .aliyun-auth-page .aliyun-register-side {
    max-height: none !important;
  }
}

/* ============================================================
   Logo 改为卡片上方的独立 flex 项
   背景：上一版把 Logo 用 bottom:100%+14px 定位到卡片上沿之外，
        但卡片有 overflow:hidden，Logo 被裁掉（getBoundingClientRect
        看不到裁切，导致断言误判为可见）。
   方案：把 .L_code 改为纵向 flex —— Logo 在流内、卡片在下方，
        二者是同级兄弟节点，Logo 不再受卡片 overflow 影响。
   ============================================================ */
@media (min-width: 769px) {
  .L_code.aliyun-auth-page {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 28px 24px 32px !important;
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  /* Logo 回到文档流：卡片正上方、水平居中 */
  .aliyun-auth-page .L_code-left-side {
    position: static !important;
    order: -1 !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 5 !important;
    display: flex !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto 16px !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .aliyun-auth-page.auth-page-ready .L_code-left-side,
  .aliyun-auth-page.auth-page-leaving .L_code-left-side {
    transform: none !important;
    opacity: 1 !important;
  }

  .aliyun-auth-page .L_code-left-side .L_code-content {
    display: flex !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Logo 位于浅色页面背景上，去掉胶囊底衬、显示原色并放大 */
  .aliyun-auth-page .aliyun-brand-logo {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .aliyun-auth-page .aliyun-brand-logo img {
    height: 44px !important;
    width: auto !important;
    max-width: 220px !important;
    filter: none !important;
  }

  /* 卡片不再需要 flex-grow，且高度约束改为视口减去 Logo 与内边距 */
  .aliyun-auth-page .L_code-right-side,
  .aliyun-auth-page .L_code-right-side.no_wx,
  .aliyun-auth-page .aliyun-register-side {
    flex: 0 0 auto !important;
    max-height: calc(100vh - 140px) !important;
  }
}

/* ================= 国家代码下拉：展开态修复（第九轮补充） =================
   原 userCenter 主题的下拉由加密脚本 logid_init() 驱动，default 主题未引入该脚本，
   改由 assets_custom/js/country-dropdown.js 接管（操作 is-open 类 + 内联 display）。
   这里处理样式层面的两个阻断点：
   1) .L_code-login-form 的 overflow:auto 会裁切绝对定位的下拉列表；
   2) 展开时需要更高的层级，避免被相邻表单项盖住。 */
.aliyun-auth-page .L_code-right-form .L_code-login-form.has-open-dropdown,
.aliyun-auth-page .L_code-right-side .L_code-right-form .L_code-login-form.has-open-dropdown {
  overflow: visible !important;
}

.aliyun-auth-page .input-group .custom-dropdown.is-open {
  z-index: 60 !important;
}

.aliyun-auth-page .input-group .custom-dropdown.is-open .custom-dropdown-selection {
  border-color: #f36b0a !important;
  box-shadow: 0 0 0 3px rgba(243, 107, 10, .12) !important;
}

.aliyun-auth-page .input-group .custom-dropdown .custom-dropdown-list {
  z-index: 61 !important;
  margin: 0 !important;
  border: 1px solid #e3e7ee !important;
  border-radius: 0 0 10px 10px !important;
  box-shadow: 0 12px 28px rgba(65, 45, 27, .14) !important;
}

.aliyun-auth-page .input-group .custom-dropdown .custom-dropdown-list li {
  padding: 9px 12px !important;
  font-size: 13px !important;
  color: #505363 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}

.aliyun-auth-page .input-group .custom-dropdown .custom-dropdown-list li:hover {
  background-color: #fff4ea !important;
  color: #f36b0a !important;
}

/* 移动端：下拉列表限宽，避免横向溢出 */
@media (max-width: 768px) {
  .aliyun-auth-page .input-group .custom-dropdown .custom-dropdown-list {
    max-width: calc(100vw - 48px) !important;
  }
  .aliyun-auth-page .input-group .custom-dropdown .custom-dropdown-list li {
    white-space: normal !important;
  }
}

/* 下拉展开时，其所在的 .form-group 需要整体压制后续表单项与提交按钮，
   否则"获取验证码"按钮/提交按钮会盖在列表上（同层 auto 按 DOM 顺序取胜）。 */
.aliyun-auth-page .L_code-login-form .form-group:has(.custom-dropdown.is-open) {
  position: relative !important;
  z-index: 40 !important;
}

.aliyun-auth-page .L_code-login-form .form-group:has(.custom-dropdown.is-open) .custom-dropdown {
  z-index: 41 !important;
}

.aliyun-auth-page .L_code-login-form .form-group:has(.custom-dropdown.is-open) .custom-dropdown-list {
  z-index: 42 !important;
}

/* 兜底：部分浏览器不支持 :has()，用 JS 加的类名做后备 */
.aliyun-auth-page .L_code-login-form .form-group.dd-parent-open {
  position: relative !important;
  z-index: 40 !important;
}

.aliyun-auth-page .L_code-login-form .form-group.dd-parent-open .custom-dropdown {
  z-index: 41 !important;
}

.aliyun-auth-page .L_code-login-form .form-group.dd-parent-open .custom-dropdown-list {
  z-index: 42 !important;
}
