/* =========================================================
   FastMos 风格登录页样式（2026-10-08 改版）
   原文件已备份至 /www/backup/kimi_20261008/
   ========================================================= */
[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;
}

/* ---------- 整页：紫色渐变背景 ---------- */
.content-total {
  display: flex;
  min-height: 100vh;
  position: relative;
  align-items: center;
  justify-content: center;
  background: linear-gradient(-60deg, #786fff 0%, #3eb1fc 100%);
}

/* ---------- 左上 Logo（悬浮在紫底上） ---------- */
.container-left {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  min-height: 0;
  background: none;
  overflow: visible;
  z-index: 5;
}
.container-left:before,
.container-left:after {
  display: none;
}
.nav-left {
  display: flex;
  justify-content: flex-start;
}
.ali-logo {
  height: 46px;
  /* 紫底上强制显示为白色，与 fastmos 一致 */
  filter: brightness(0) invert(1);
}
.left-box {
  position: relative;
  z-index: 2;
  padding: 42px 56px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* 隐藏原营销文案区 */
.box-text,
.text-footer {
  display: none;
}

/* ---------- 关闭按钮（右上角圆圈 X，同 fastmos） ---------- */
.ly-closebtn {
  position: absolute;
  top: 34px;
  right: 48px;
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.ly-closebtn:hover {
  border-color: #fff;
  transform: rotate(90deg);
}
.ly-closebtn svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 2;
  stroke-linecap: round;
}

/* ---------- 居中卡片：白底 + 蓝色斜角 ---------- */
.container-before {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 20px 90px;
}
.login {
  box-sizing: border-box;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(120deg, #ffffff 70%, #a3d133 0%) !important;
  border-radius: 15px;
  box-shadow: none;
  padding: 80px;
  border: none;
  font-size: 14px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  line-height: 14px;
  position: relative;
}
@media (min-width: 992px) {
  .login {
    max-width: 930px;
  }
}
@media (min-width: 1200px) {
  .login {
    max-width: 1100px;
  }
}
.login .lang-box {
  position: absolute;
  right: 0.1rem;
  top: 0.1rem;
}
.login .qr-code {
  position: absolute;
  right: 28px;
  top: 26px;
  cursor: pointer;
  width: 0.48rem;
  height: 0.48rem;
}
.login .qr-code .login-icon {
  fill: #a3d133;
  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: #a3d133;
  cursor: pointer;
}
.login .qr-box-select-account .qr-box-select-account-title {
  font-size: 14px;
  color: #666;
}

/* ---------- 标题 ---------- */
.login-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 与表单同一限宽列（70%），居中标题才能和表单对齐 */
  width: 70%;
}
.login-text-title {
  font-size: 32px;
  color: #1a1a2e;
  line-height: 1.3;
  font-weight: 800;
}
.login-text-regist {
  font-weight: Regular;
  margin-top: 0.18rem;
  color: #8a8a9e;
  font-size: 15px;
  text-align: center;
}
.login-text-regist a {
  color: #a3d133;
  cursor: pointer;
}
.login-form {
  margin-top: 0.55rem;
  /* PC 端与 fastmos 一致：表单限宽 70%（.register.contact-us .comments-form） */
  width: 70%;
}

/* ---------- 登录方式切换 tab（fastmos nav-tabs 标签风格） ---------- */
.login-top {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #e5e5e5;
}
.login-email,
.login-phone {
  font-size: 16px;
  color: #9a9aad;
  cursor: pointer;
  padding: 12px 26px;
  margin-bottom: -1px;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: transparent;
  transition: all 0.2s;
}
.login-email.active,
.login-phone.active,
.active {
  color: #a3d133;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-bottom: 1px solid #fff;
  border-radius: 8px 8px 0 0;
}
.login-email {
  margin-right: 6px;
}
.form-main {
  margin-top: 0.3rem;
}
.form-item {
  margin-top: 0.28rem;
}

/* ---------- 输入框：大圆角（fastmos 风格） ---------- */
.login .el-input__inner {
  height: 44px;
  line-height: 44px;
  border-radius: 12px;
  border: 1px solid #efefef;
  background: #fff;
  padding: 0 33px;
  font-size: 16px;
  color: #121e25;
  transition: border-color 0.3s;
}
.login .el-input__inner::placeholder {
  color: #b9b9c7;
}
.login .el-input__inner:focus {
  border-color: #a3d133;
}
.login .el-textarea__inner {
  border-radius: 15px;
  border: 1px solid #efefef;
  padding: 14px 24px;
  font-size: 15px;
}
.login .el-textarea__inner:focus {
  border-color: #a3d133;
}
.input-with-select .el-input-group__prepend {
  background: #ffffff;
  width: 60px;
  border-radius: 15px 0 0 15px;
  border: 1px solid #efefef;
  border-right: none;
}
.input-with-select .el-input__inner {
  border-radius: 0 15px 15px 0;
}
.code-item {
  display: flex;
  flex-direction: row;
}
.code-btn {
  margin-left: 0.12rem;
  color: #a3d133 !important;
  border-radius: 50px !important;
  background: #fff !important;
  border: 2px solid #a3d133 !important;
  white-space: nowrap;
  height: 44px;
}
.code-btn:hover {
  background: rgba(163, 209, 51, 0.1) !important;
}

/* ---------- 协议行 ---------- */
.rember-item {
  margin-top: 0.24rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.5;
}
.rember-item a {
  color: #a3d133;
  cursor: pointer;
}
/* 忘记密码：独立居中行，灰色下划线（fastmos 风格） */
.ly-forget {
  text-align: center;
  margin-top: 0.3rem;
}
.ly-forget a {
  color: #999;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}
.ly-forget a:hover {
  color: #a3d133;
}
.login .read-text a {
  color: #0f5aa8;
  font-weight: 600;
}
.login .el-checkbox__inner {
  border-radius: 4px;
}
.login .el-checkbox__input.is-checked .el-checkbox__inner {
  background: #a3d133;
  border-color: #a3d133;
}

/* ---------- 主按钮：绿色胶囊 ---------- */
.login-btn {
  width: auto;
  min-width: 220px;
  display: block;
  margin: 0 auto;
  height: 62px;
  border-radius: 50px !important;
  background: #a3d133 !important;
  border: none !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  box-shadow: 0 10px 24px rgba(163, 209, 51, 0.35);
}
.login-btn:hover,
.login-btn:focus {
  background: #93c124 !important;
  color: #fff !important;
}
.pass-btn {
  width: auto;
  min-width: 220px;
  display: block;
  margin: 0.16rem auto 0 !important;
  height: 62px;
  border-radius: 50px !important;
  background: #fff !important;
  border: 1px solid #a3d133 !important;
  color: #a3d133 !important;
  font-size: 16px;
}
.pass-btn:hover {
  background: rgba(163, 209, 51, 0.08) !important;
}
.read-item {
  margin-top: 0.2rem;
}
.read-item a {
  color: #a3d133;
  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;
  justify-content: center;
}
.a-text {
  color: #a3d133;
  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;
}

/* ---------- 返回顶部（fastmos 同款 progress-wrap） ---------- */
.progress-wrap {
  position: fixed;
  right: 30px;
  bottom: 30px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  z-index: 999;
  opacity: 0 !important;
  visibility: hidden;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.3s cubic-bezier(0.7, 0, 0.3, 1);
}
.progress-wrap.active-progress {
  opacity: 1 !important;
  visibility: visible;
  transform: translateY(0);
}
.progress-wrap::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  z-index: 1;
  box-sizing: border-box;
  border: 2px solid #0774ff;
  border-radius: 50% !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230774ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='M5 12l7-7 7 7'/%3E%3C/svg%3E") center/18px 18px no-repeat;
}
.progress-wrap svg path {
  fill: none;
}
.progress-wrap svg {
  color: #0774ff;
  border-radius: 50%;
  background: #fff;
}
.progress-wrap svg.progress-circle path {
  stroke: #0774ff;
  stroke-width: 34px;
  box-sizing: border-box;
  transition: stroke-dashoffset 10ms linear;
}

/* ---------- 移动端 ---------- */
@media screen and (max-width: 750px) {
  .content-total {
    display: flex;
    flex-direction: column;
  }
  .container-left {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    min-height: 0;
  }
  .left-box {
    padding: 26px 24px;
    gap: 0;
  }
  .ali-logo {
    height: 34px;
  }
  .ly-closebtn {
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
  }
  .ly-closebtn svg {
    width: 16px;
    height: 16px;
  }
  .container-before {
    width: 100%;
    padding: 90px 14px 40px;
  }
  .login-container {
    min-height: 100vh;
    width: 100vw;
    padding: 0;
  }
  .container-back {
    display: none;
  }
  .login {
    width: 100%;
    padding: 50px 15px;
    border-radius: 15px;
    font-size: 0.26rem;
    line-height: 0.3rem;
  }
  .login .qr-code {
    right: 20px;
    top: 20px;
    cursor: pointer;
  }
  .login-text-title {
    font-size: 26px;
  }
  .login-text {
    /* 移动端标题恢复全宽居中 */
    width: 100%;
  }
  .login-text-regist {
    margin-top: 10px;
    font-size: 14px;
  }
  .login-form {
    margin-top: 0.5rem;
    /* 移动端表单恢复全宽 */
    width: 100%;
  }
  .form-main {
    margin-top: 0.4rem;
  }
  .login-email,
  .login-phone {
    height: 0.4rem;
    width: auto;
    text-align: center;
    cursor: pointer;
    padding-bottom: 0.13rem;
  }
  .el-checkbox__label {
    font-size: 0.22rem;
  }
  .read-item {
    line-height: 0.3rem;
  }
  .login-btn {
    font-size: 14px;
    height: 62px;
    min-width: 200px;
  }
  .type-btn {
    border: none;
    color: #a3d133;
    font-size: 16px;
  }
  .el-input__inner {
    font-size: 14px;
  }
  .el-button {
    font-size: 15px;
  }
  .read-text {
    font-size: 13px;
  }
  .rember-item a {
    font-size: 13px;
  }
  .progress-wrap {
    right: 18px;
    bottom: 18px;
  }
}
