body.auth-theme-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #eef7ff;
  color: #173a60;
}

body.auth-theme-page::before,
body.auth-theme-page::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(12px);
}

body.auth-theme-page::before {
  width: 360px;
  height: 360px;
  top: -120px;
  left: -120px;
  background: rgba(167, 214, 248, 0.42);
}

body.auth-theme-page::after {
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: -140px;
  background: rgba(211, 236, 255, 0.7);
}

body.auth-theme-page .template {
  position: relative;
  min-height: 100vh;
  z-index: 1;
}

body.auth-theme-page #login,
body.auth-theme-page #regist,
body.auth-theme-page #forget {
  width: 100%;
  min-height: 100vh;
  padding: 32px 24px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

body.auth-theme-page .auth-theme-root {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  filter: blur(10px);
  transition: opacity 0.38s ease, transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.38s ease;
}

body.auth-theme-page .auth-theme-root.is-ready {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

body.auth-theme-page .auth-theme-root.is-leaving {
  opacity: 0;
  transform: translateY(18px) scale(0.978);
  filter: blur(8px);
  pointer-events: none;
}

body.auth-theme-page .login-container {
  width: min(1220px, 100%);
  min-height: 760px;
  height: auto;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

body.auth-theme-page .login-container::before {
  content: "";
  position: absolute;
  inset: -16px -12px;
  border-radius: 42px;
  border: 1px solid rgba(186, 221, 245, 0.9);
  background: rgba(226, 241, 252, 0.9);
  box-shadow: 0 26px 64px rgba(105, 158, 204, 0.14);
  pointer-events: none;
  z-index: -1;
}

body.auth-theme-page .container-back {
  width: auto;
  height: auto;
  min-height: 760px;
  padding: 42px 44px;
  position: relative;
  z-index: 1;
  border-radius: 34px;
  border: 1px solid rgba(180, 220, 246, 0.95);
  background: rgba(205, 232, 251, 0.95);
  box-shadow: 0 30px 70px rgba(103, 157, 205, 0.18);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

body.auth-theme-page .container-back::before,
body.auth-theme-page .container-back::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

body.auth-theme-page .container-back::before {
  width: 220px;
  height: 220px;
  top: 36px;
  right: 44px;
}

body.auth-theme-page .container-back::after {
  width: 160px;
  height: 160px;
  bottom: 84px;
  left: 58px;
}

body.auth-theme-page .back-line1,
body.auth-theme-page .back-line2,
body.auth-theme-page .back-line3 {
  width: 68px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

body.auth-theme-page .back-text {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 0;
  color: #1d456d;
}

body.auth-theme-page .text-welcome {
  font-size: 72px;
  line-height: 0.92;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow: 0 12px 30px rgba(110, 154, 194, 0.26);
}

body.auth-theme-page .text-title {
  margin-top: 18px;
  font-size: 28px;
  line-height: 1.45;
  font-weight: 700;
}

body.auth-theme-page .text-level {
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.8;
  color: #567b9f;
}

body.auth-theme-page .container-before {
  width: auto;
  height: auto;
  min-height: 760px;
  max-height: calc(100vh - 64px);
  padding-bottom: 24px;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  right: auto;
  border-radius: 34px;
  border: 1px solid rgba(182, 219, 246, 0.92);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 72px rgba(95, 150, 201, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.auth-theme-page .container-before::-webkit-scrollbar {
  width: 8px;
}

body.auth-theme-page .container-before::-webkit-scrollbar-track {
  background: rgba(232, 243, 252, 0.72);
  border-radius: 999px;
}

body.auth-theme-page .container-before::-webkit-scrollbar-thumb {
  background: rgba(138, 190, 226, 0.8);
  border-radius: 999px;
}

body.auth-theme-page .login {
  min-height: 100%;
  padding: 42px 44px 32px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
}

body.auth-theme-page .lang-box {
  position: absolute;
  right: 0;
  top: 12px;
  width: 156px;
  max-width: 100%;
}

body.auth-theme-page .lang-box .el-select,
body.auth-theme-page .lang-box .el-input {
  width: 156px !important;
  max-width: 100%;
}

body.auth-theme-page .lang-box .el-input__inner {
  height: 42px !important;
  padding-left: 16px !important;
  padding-right: 38px !important;
  border-radius: 14px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.auth-theme-page .auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-right: 176px;
}

body.auth-theme-page .auth-brand__logo-shell {
  flex: 0 0 auto;
}

body.auth-theme-page .auth-brand__logo {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(180, 216, 241, 0.92);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(106, 156, 202, 0.14);
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  color: #4f7ca6;
  font-size: 24px;
  font-weight: 700;
}

body.auth-theme-page .auth-brand__logo--fallback {
  padding: 0;
}

body.auth-theme-page .auth-brand__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.auth-theme-page .auth-brand__eyebrow {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8aa8c3;
}

body.auth-theme-page .auth-brand__name {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #183b61;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.auth-theme-page .login-text-title {
  font-size: 38px;
  line-height: 1.08;
  font-weight: 700;
  color: #183b61;
}

body.auth-theme-page .login-text-regist {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: #6e88a1;
}

body.auth-theme-page .login-text-regist a,
body.auth-theme-page .read-item a,
body.auth-theme-page .read-text a,
body.auth-theme-page .rember-item a {
  color: #5fa8dd;
  font-weight: 600;
}

body.auth-theme-page .login-form {
  margin-top: 26px;
}

body.auth-theme-page .login-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 18px;
  border: 1px solid rgba(192, 224, 246, 0.95);
  background: rgba(236, 246, 253, 0.98);
}

body.auth-theme-page .login-email,
body.auth-theme-page .login-phone {
  min-width: 116px;
  height: auto;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #67839f;
  font-weight: 600;
  transition: background-color 0.24s ease, color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

body.auth-theme-page .login-email {
  margin-right: 0;
}

body.auth-theme-page .login-phone {
  margin-left: 0;
}

body.auth-theme-page .active {
  color: #2d709d;
  border-bottom: none;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 24px rgba(103, 157, 205, 0.14);
}

body.auth-theme-page .form-main {
  margin-top: 24px;
}

body.auth-theme-page .form-item {
  margin-top: 16px;
}

body.auth-theme-page .code-item {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

body.auth-theme-page .code-item .el-input {
  flex: 1 1 auto;
}

body.auth-theme-page .input-with-select .el-input-group__prepend,
body.auth-theme-page .el-input__inner,
body.auth-theme-page .el-textarea__inner,
body.auth-theme-page .el-select .el-input__inner {
  border-color: rgba(183, 217, 241, 0.98) !important;
  background: rgba(246, 251, 255, 0.98) !important;
  color: #23486d !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

body.auth-theme-page .el-input__inner,
body.auth-theme-page .input-with-select .el-input-group__prepend {
  height: 52px !important;
}

body.auth-theme-page .el-input__inner,
body.auth-theme-page .input-with-select .el-input-group__prepend,
body.auth-theme-page .el-textarea__inner {
  border-radius: 16px !important;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, transform 0.24s ease;
}

body.auth-theme-page .input-with-select .el-input-group__prepend {
  width: 118px;
  min-width: 118px;
  vertical-align: middle;
  overflow: hidden;
  padding-left: 10px;
  padding-right: 8px;
}

body.auth-theme-page .input-with-select .el-input-group__prepend .el-select,
body.auth-theme-page .input-with-select .el-input-group__prepend .el-input {
  width: 100% !important;
}

body.auth-theme-page .input-with-select .el-input-group__prepend .el-input__inner {
  height: 100% !important;
  padding-left: 12px !important;
  padding-right: 24px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px;
  line-height: 52px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  letter-spacing: 0;
  text-align: center;
}

body.auth-theme-page .input-with-select .el-input-group__prepend .el-input__suffix {
  right: 4px;
}

body.auth-theme-page .input-with-select .el-input-group__prepend .el-input.is-focus .el-input__inner {
  background: transparent !important;
  box-shadow: none !important;
}

body.auth-theme-page .el-input__inner:focus,
body.auth-theme-page .el-textarea__inner:focus,
body.auth-theme-page .el-select .el-input.is-focus .el-input__inner {
  border-color: #8fc4eb !important;
  box-shadow: 0 0 0 4px rgba(173, 217, 246, 0.24);
  background: #ffffff !important;
}

body.auth-theme-page .login-btn,
body.auth-theme-page .pass-btn,
body.auth-theme-page .type-btn,
body.auth-theme-page .code-btn {
  min-height: 52px;
  border: none !important;
  border-radius: 16px !important;
  font-weight: 600;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease;
}

body.auth-theme-page .login-btn {
  width: 100%;
  background: #79beef !important;
  color: #ffffff !important;
  box-shadow: 0 18px 36px rgba(121, 190, 239, 0.28);
}

body.auth-theme-page .login-btn:hover,
body.auth-theme-page .pass-btn:hover,
body.auth-theme-page .type-btn:hover,
body.auth-theme-page .code-btn:hover {
  transform: translateY(-1px);
}

body.auth-theme-page .login-btn:hover {
  background: #6db5e8 !important;
}

body.auth-theme-page .pass-btn,
body.auth-theme-page .type-btn {
  width: 100%;
  margin-left: 0 !important;
  background: #e9f4fc !important;
  color: #3878a7 !important;
  box-shadow: none;
}

body.auth-theme-page .code-btn {
  min-width: 136px;
  margin-left: 0;
  border: 1px solid rgba(173, 211, 238, 0.98) !important;
  background: #e6f2fb !important;
  color: #3878a7 !important;
  box-shadow: none;
}

body.auth-theme-page .rember-item,
body.auth-theme-page .read-item {
  margin-top: 18px;
}

body.auth-theme-page .rember-item {
  gap: 12px;
  align-items: flex-start;
}

body.auth-theme-page .rember-item > span:last-child {
  margin-left: 12px;
  white-space: nowrap;
}

body.auth-theme-page .read-text {
  padding: 0 0 0 10px;
  font-size: 13px;
  line-height: 1.75;
  color: #7189a0;
}

body.auth-theme-page .el-checkbox {
  display: flex;
  align-items: flex-start;
}

body.auth-theme-page .el-checkbox__inner {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-color: rgba(167, 204, 232, 0.96) !important;
  border-radius: 5px;
  background: #f5fbff;
}

body.auth-theme-page .el-checkbox__input.is-checked .el-checkbox__inner,
body.auth-theme-page .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  border-color: #79beef !important;
  background: #79beef !important;
}

body.auth-theme-page .el-checkbox__label {
  color: #6c88a3;
  line-height: 1.8;
  white-space: normal;
}

body.auth-theme-page .read-item .el-alert {
  border-radius: 16px;
  border: 1px solid rgba(246, 188, 188, 0.88);
  background: rgba(255, 246, 246, 0.96);
}

body.auth-theme-page .line-item {
  margin-top: 24px;
}

body.auth-theme-page .line-item .el-divider__text,
body.auth-theme-page .line-item .text {
  color: #86a3be;
  background: transparent;
}

body.auth-theme-page .login-type {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

body.auth-theme-page .oauth-item {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(183, 217, 241, 0.95);
  background: rgba(246, 251, 255, 0.98);
  box-shadow: 0 12px 28px rgba(104, 157, 205, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

body.auth-theme-page .oauth-item:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(104, 157, 205, 0.15);
}

body.auth-theme-page .oauth-img {
  width: 24px;
  height: 24px;
}

body.auth-theme-page .custom-form {
  margin-top: 20px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(190, 222, 244, 0.94);
  background: rgba(247, 251, 255, 0.96);
}

body.auth-theme-page .custom-form .el-form-item:last-child {
  margin-bottom: 0;
}

body.auth-theme-page .custom-form .el-form-item__label {
  font-weight: 600;
  color: #5d7b99;
}

body.auth-theme-page .custom-form .el-textarea__inner {
  min-height: 120px !important;
}

body.auth-theme-page .check-div {
  margin-right: 6px;
}

@media screen and (max-width: 750px) {
  body.auth-theme-page #login,
  body.auth-theme-page #regist,
  body.auth-theme-page #forget {
    padding: 18px;
  }

  body.auth-theme-page .login-container {
    width: 100%;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.auth-theme-page .login-container::before {
    inset: -10px -6px;
    border-radius: 32px;
  }

  body.auth-theme-page .container-back {
    min-height: 220px;
    padding: 28px 24px;
  }

  body.auth-theme-page .container-back::before {
    width: 160px;
    height: 160px;
    top: 26px;
    right: 20px;
  }

  body.auth-theme-page .container-back::after {
    width: 108px;
    height: 108px;
    bottom: 28px;
    left: 20px;
  }

  body.auth-theme-page .text-welcome {
    font-size: 46px;
  }

  body.auth-theme-page .text-title {
    font-size: 24px;
  }

  body.auth-theme-page .container-before {
    min-height: auto;
    max-height: none;
  }

  body.auth-theme-page .login {
    padding: 30px 22px 24px;
  }

  body.auth-theme-page .lang-box {
    position: static;
    margin: 0 0 14px auto;
    width: 148px;
  }

  body.auth-theme-page .lang-box .el-select,
  body.auth-theme-page .lang-box .el-input {
    width: 148px !important;
  }

  body.auth-theme-page .auth-brand {
    margin-bottom: 22px;
    padding-right: 0;
  }

  body.auth-theme-page .auth-brand__name {
    white-space: normal;
    font-size: 22px;
  }

  body.auth-theme-page .login-text-title {
    font-size: 30px;
  }

  body.auth-theme-page .login-text-regist {
    font-size: 14px;
  }

  body.auth-theme-page .login-top {
    width: 100%;
  }

  body.auth-theme-page .login-email,
  body.auth-theme-page .login-phone {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 10px;
  }

  body.auth-theme-page .code-item,
  body.auth-theme-page .rember-item {
    flex-direction: column;
  }

  body.auth-theme-page .input-with-select .el-input-group__prepend {
    width: 110px;
    min-width: 110px;
  }

  body.auth-theme-page .rember-item > span:last-child {
    margin-left: 0;
  }

  body.auth-theme-page .code-btn {
    width: 100%;
    min-width: 0;
  }

  body.auth-theme-page .custom-form {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.auth-theme-page .auth-theme-root,
  body.auth-theme-page .login-btn,
  body.auth-theme-page .pass-btn,
  body.auth-theme-page .type-btn,
  body.auth-theme-page .code-btn,
  body.auth-theme-page .login-email,
  body.auth-theme-page .login-phone,
  body.auth-theme-page .oauth-item,
  body.auth-theme-page .el-input__inner,
  body.auth-theme-page .el-textarea__inner {
    transition: none !important;
  }
}
