/* 登录页 — 青墨夜科技射线（管理端深 / 会员端略浅） */

@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);
  }
}

/* —— 管理端：青墨夜（方案 1）—— */
.login-container {
  background: #0a0f1a !important;
  background-image: none !important;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.login-container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 88% 52% at 18% 32%, rgba(34, 211, 238, 0.28) 0%, transparent 56%),
    radial-gradient(ellipse 62% 58% at 84% 14%, rgba(59, 130, 246, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 48% 42% at 70% 86%, rgba(34, 211, 238, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse 36% 30% at 50% 48%, rgba(78, 135, 255, 0.08) 0%, transparent 68%),
    linear-gradient(148deg, #0a0f1a 0%, #0f1c2e 32%, #132a45 58%, #0f2238 78%, #0a0f1a 100%);
  animation: yile-ray-shift 20s ease-in-out infinite;
}

.login-container::after {
  content: "";
  position: absolute;
  left: -58%;
  top: -58%;
  width: 216%;
  height: 216%;
  z-index: 0;
  pointer-events: none;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg 7.5deg,
    rgba(34, 211, 238, 0.035) 7.5deg 8.2deg,
    transparent 8.2deg 15deg
  );
  animation: yile-ray-spin 96s linear infinite;
  opacity: 0.88;
}

.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(10, 15, 26, 0.62) !important;
  border-color: rgba(34, 211, 238, 0.18) !important;
  backdrop-filter: blur(8px);
}

.login-container .title {
  color: #e8f4ff !important;
  text-shadow: 0 0 28px rgba(34, 211, 238, 0.28);
}

/* —— 会员 yike：同系略浅 #0e1624，白卡片保留 —— */
.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) {
  .login-container::before,
  .login-container::after,
  .loginBox::before,
  .loginBox::after,
  .bindBox::before,
  .bindBox::after,
  .resetPwdBox::before,
  .resetPwdBox::after {
    animation: none;
  }
}
