/* 管理端登录背景：对齐原易售 SUP（立方体/加号），仅视觉，不改登录逻辑 */

/* —— 管理端：原图 cover（.login / .login-container） —— */
.login,
.login-container {
  min-height: 100% !important;
  width: 100% !important;
  background-color: #0b1437 !important;
  background-image: url(/static/img/background.login.ddb81d45.png) !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
}

/* 关闭旧「青墨夜射线」伪元素，避免盖住原图 */
.login::before,
.login::after,
.login-container::before,
.login-container::after {
  content: none !important;
  display: none !important;
  animation: none !important;
  background: none !important;
  opacity: 0 !important;
}

.login .login-form,
.login .login-container,
.login-container .login-form,
.login-container .title-container {
  position: relative;
  z-index: 2;
}

.login-container .go-captcha-wrap,
.login-container .yile-login-captcha-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: 14px;
}

.login-container .wg-cap-btn {
  min-height: 48px;
}

/* 输入区保持半透明深色（与原易售一致），不改交互 */
.login-container .el-form-item {
  background: rgba(0, 0, 0, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: none;
}

.login-container .title,
.login .title {
  color: #fff !important;
  text-shadow: none;
}

/* 底部版权（对齐原易售 .el-login-footer） */
.el-login-footer,
.yile-login-footer,
#yile-login-footer {
  height: 40px;
  line-height: 40px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  z-index: 3;
  pointer-events: none;
  user-select: none;
}

/* —— 会员 yike：保留略浅科技底（非本次管理端需求，样式独立） —— */
@keyframes yile-ray-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes yile-ray-shift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-1.5%, 0.8%, 0) scale(1.03);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.loginBox,
.bindBox,
.resetPwdBox {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #0e1624 !important;
  background-image: none !important;
}

.loginBox::before,
.bindBox::before,
.resetPwdBox::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 82% 48% at 22% 28%, rgba(34, 211, 238, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 58% 52% at 80% 16%, rgba(59, 130, 246, 0.16) 0%, transparent 50%),
    radial-gradient(ellipse 44% 40% at 66% 84%, rgba(34, 211, 238, 0.1) 0%, transparent 52%),
    linear-gradient(152deg, #0e1624 0%, #111c2e 38%, #152a42 62%, #101b2c 100%);
  animation: yile-ray-shift 22s ease-in-out infinite;
}

.loginBox::after,
.bindBox::after,
.resetPwdBox::after {
  content: "";
  position: absolute;
  left: -52%;
  top: -52%;
  width: 204%;
  height: 204%;
  z-index: 0;
  pointer-events: none;
  background: repeating-conic-gradient(
    from 10deg at 50% 50%,
    transparent 0deg 8deg,
    rgba(34, 211, 238, 0.028) 8deg 8.5deg,
    transparent 8.5deg 16deg
  );
  animation: yile-ray-spin 108s linear infinite;
}

.loginBox > div,
.bindBox > div,
.resetPwdBox > div {
  position: relative;
  z-index: 2;
}

.loginBox > div > div:first-child,
.bindBox > div > div:first-child {
  color: #dbeafe !important;
  border-bottom-color: rgba(34, 211, 238, 0.55) !important;
}

.loginBox > div > div:first-child .siteName,
.bindBox > div > div:first-child .siteName {
  color: #f0f9ff !important;
}

.loginBox > div > div:last-child,
.bindBox > div > div:last-child {
  background: #fff !important;
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.1),
    0 18px 48px rgba(8, 15, 26, 0.38),
    0 0 32px rgba(59, 130, 246, 0.06) !important;
}

@media (prefers-reduced-motion: reduce) {
  .loginBox::before,
  .loginBox::after,
  .bindBox::before,
  .bindBox::after,
  .resetPwdBox::before,
  .resetPwdBox::after {
    animation: none;
  }
}
