.auth-page {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e6eb 0%, #d5dae1 50%, #e2e6eb 100%);
}
.auth-page .login-container {
  position: relative;
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
}
.auth-page .login-jump-btn {
  position: fixed;
  top: 26px;
  right: 32px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
}
.auth-page .login-content {
  display: flex;
  justify-content: center;
}
.auth-page .container-back {
  position: relative;
  z-index: 1;
  width: 380px;
  padding: 48px 40px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(135deg, #454a52 0%, #5b626d 100%);
  overflow: hidden;
  box-sizing: border-box;
}
.auth-page .container-back::before {
  content: "";
  position: absolute;
  top: -72px;
  right: -72px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.auth-page .container-back::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.auth-page .container-before {
  position: relative;
  z-index: 2;
  display: flex;
  width: 520px;
  max-height: calc(100vh - 64px);
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-left: 0;
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 48px rgba(31, 41, 55, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow-y: auto;
  box-sizing: border-box;
}
.auth-page .login {
  position: relative;
  width: 100%;
  min-height: 100%;
  padding: 46px 52px;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}
.auth-login-page::before,
.auth-login-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.auth-login-page::before {
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(69, 74, 82, 0.06) 0%, transparent 70%);
}
.auth-login-page::after {
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(69, 74, 82, 0.04) 0%, transparent 70%);
}
.auth-login-page .login-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.auth-login-page .login-particle-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint style;
  transform: translateZ(0);
}
.auth-login-page .login-particle {
  position: absolute;
  top: calc(100% + var(--particle-offset, 0px));
  left: var(--particle-left, 50%);
  display: block;
  width: var(--particle-size, 2px);
  height: var(--particle-size, 2px);
  border-radius: 50%;
  background: rgba(69, 74, 82, 0.72);
  box-shadow: 0 0 8px rgba(69, 74, 82, 0.22);
  opacity: var(--particle-opacity, 0.28);
  transform: translate3d(0, 0, 0);
  animation: login-particle-rise var(--particle-duration, 42s) linear infinite;
  animation-delay: var(--particle-delay, 0s);
  backface-visibility: hidden;
  will-change: transform;
}
.auth-login-page .login-particle::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 74, 82, 0.36) 0%, rgba(69, 74, 82, 0) 72%);
  transform: translateZ(0);
}
.auth-login-page .login-container {
  z-index: 1;
}
.auth-login-page .login-container::before {
  display: none;
}
@keyframes login-particle-rise {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(var(--particle-drift, 0px), calc(-100vh - 160px), 0);
  }
}
.login-jump-btn .lang-box {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}
.login-jump-btn .lang-box span {
  display: inline-flex;
  min-width: 34px;
  height: 26px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 12px;
}
.login-jump-btn .lang-box span.active {
  color: #ffffff;
  background: #454a52;
}
.login-jump-btn .btn {
  height: 32px;
  padding: 0 16px;
  border-color: #454a52;
  border-radius: 16px;
  background: #454a52;
}
.login-jump-btn .btn a {
  color: inherit;
  text-decoration: none;
}
.container-back .back-line1,
.container-back .back-line2,
.container-back .back-line3 {
  display: none;
}
.container-back .back-text {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  min-height: 464px;
  flex-direction: column;
  justify-content: center;
}
.container-back .text-welcome {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}
.container-back .text-title {
  max-width: 280px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
}
.container-back .text-level {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.7;
}
.login-text {
  margin-bottom: 24px;
}
.login-text-title {
  color: var(--text-primary);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
}
.login-text-regist {
  margin-top: 8px;
  color: var(--text-tertiary);
  font-size: 14px;
  line-height: 1.6;
}
.login-text-regist a,
.read-text a,
.rember-item a,
.read-item a {
  color: #454a52;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}
.login-form,
.form-main {
  width: 100%;
}
.login-top {
  display: flex;
  margin-bottom: 22px;
  padding: 4px;
  border-radius: 10px;
  background: var(--border-color-light);
}
.login-email,
.login-phone {
  display: inline-flex;
  flex: 1;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-tertiary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.login-email.active,
.login-phone.active {
  color: var(--text-primary);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(31, 41, 55, 0.08);
}
.auth-login-page .login-method-tabs {
  position: relative;
  display: flex;
  margin-bottom: 18px;
  padding: 3px;
  border-radius: 10px;
  background: var(--border-color-light);
}
.auth-login-page .login-method-tab.el-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 1;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}
.auth-login-page .login-method-tab.el-button + .login-method-tab.el-button {
  margin-left: 0;
}
.auth-login-page .login-method-tab.el-button:hover,
.auth-login-page .login-method-tab.el-button:focus {
  color: var(--text-secondary);
  background: transparent;
}
.auth-login-page .login-method-tab.el-button.active {
  color: var(--text-primary);
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(29, 33, 41, 0.08);
}
.auth-login-page .account-type-switch {
  display: flex;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.auth-login-page .account-type-btn.el-button {
  position: relative;
  height: auto;
  margin: 0 20px 0 0;
  padding: 0 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 500;
}
.auth-login-page .account-type-btn.el-button + .account-type-btn.el-button {
  margin-left: 0;
}
.auth-login-page .account-type-btn.el-button:hover,
.auth-login-page .account-type-btn.el-button:focus {
  color: var(--text-secondary);
  background: transparent;
}
.auth-login-page .account-type-btn.el-button.active {
  color: #454a52;
  background: transparent;
  font-weight: 600;
}
.auth-login-page .account-type-btn.el-button.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: #454a52;
}
.form-item {
  margin-bottom: 16px;
}
.form-item .el-input__inner,
.form-item .el-textarea__inner {
  height: 44px;
  border-color: var(--border-color);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-primary);
}
.form-item .el-textarea__inner {
  height: auto;
  min-height: 84px;
}
.form-item .el-input__inner:focus,
.form-item .el-textarea__inner:focus {
  border-color: #454a52;
}
.select-input .el-input-group__prepend {
  width: 112px;
  border-radius: 8px 0 0 8px;
  background: #f7f8fa;
}
.select-input .el-select {
  width: 112px;
}
.select-input .el-input-group__prepend .el-input__inner {
  border-radius: 8px 0 0 8px;
}
.select-input .el-input__inner {
  border-radius: 0 8px 8px 0;
}
.code-item {
  display: flex;
  gap: 10px;
}
.code-item .el-input {
  flex: 1;
}
.code-btn,
.code-item .el-button {
  min-width: 112px;
  height: 44px;
  border-radius: 8px;
}
.rember-item,
.read-item {
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.5;
}
.rember-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.read-text {
  flex: 1;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 20px;
}
.login-btn {
  width: 100%;
  height: 44px;
  border-color: #454a52 !important;
  border-radius: 8px;
  background: #454a52 !important;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
}
.pass-btn {
  width: 100%;
  height: 40px;
  margin-top: 10px;
  margin-left: 0 !important;
  border-radius: 8px;
}
.line-item {
  margin: 18px 0 14px;
}
.line-item .text {
  color: var(--text-tertiary);
  font-size: 12px;
}
.login-type {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.oauth-item {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: #f7f8fa;
  cursor: pointer;
  transition: all 0.2s ease;
}
.oauth-item:hover {
  border-color: #454a52;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(31, 41, 55, 0.1);
}
.oauth-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.qr-code {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 48px;
  height: 48px;
  cursor: pointer;
}
.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.qr-box-img {
  display: flex;
  width: 210px;
  height: 210px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f7f8fa;
}
.qr-box-img img {
  max-width: 184px;
  max-height: 184px;
}
.qr-box-select-account .qr-box-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 18px;
  color: var(--text-secondary);
  cursor: pointer;
}
.qr-box-select-account .qr-box-select-account-title {
  margin-bottom: 16px;
  color: var(--text-primary);
  font-weight: 600;
}
.password-rule-form-item,
.password-form-item {
  position: relative;
}
.password-rule-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(31, 41, 55, 0.12);
  line-height: 1.4;
}
.password-rule-title {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
}
.password-rule-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #909399;
  font-size: 13px;
  line-height: 20px;
}
.password-rule-item + .password-rule-item {
  margin-top: 5px;
}
.password-rule-item i {
  flex: 0 0 auto;
  margin-top: 3px;
}
.password-rule-item.is-pass {
  color: #21ba45;
}
.custom-form {
  margin-top: 0;
}
.custom-form .el-form-item {
  margin-bottom: 16px;
}
.custom-form .el-form-item__label {
  padding-bottom: 8px;
  color: var(--text-secondary);
  line-height: 1.2;
}
.custom-form .el-select {
  width: 100%;
}
@media (max-width: 900px) {
  .auth-page .login-container {
    padding: 20px;
  }
  .auth-page .container-back {
    display: none;
  }
  .auth-page .container-before {
    height: auto;
    width: min(100%, 520px);
    min-height: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 18px;
  }
  .auth-page .login {
    min-height: auto;
    padding: 34px 24px;
  }
}
