html,body,#LAY_app{height:100%;margin:0;}
.layui-layout-body{overflow: auto;}

.layadmin-user-display-show{display: block !important;}

/* ===== 科技动感登录页 ===== */.tech-login-page{
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #050b18;
}

.tech-bg{
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(0, 118, 254, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, #050b18 0%, #0a1628 40%, #0d1f3c 100%);
}

.tech-grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 198, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 198, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridMove 20s linear infinite;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 75%);
}

.tech-scanline{
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 198, 255, 0.02) 2px,
    rgba(0, 198, 255, 0.02) 4px
  );
  pointer-events: none;
}

.shape{
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.55;
  animation: floatShape 18s ease-in-out infinite;
}

.shape-1{
  width: 320px;
  height: 320px;
  top: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(0, 118, 254, 0.45) 0%, transparent 70%);
  animation-duration: 22s;
}

.shape-2{
  width: 240px;
  height: 240px;
  top: 60%;
  right: -40px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  animation-duration: 16s;
  animation-delay: -4s;
}

.shape-3{
  width: 180px;
  height: 180px;
  bottom: 15%;
  left: 12%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, transparent 70%);
  animation-duration: 20s;
  animation-delay: -8s;
}

.shape-ring{
  border-radius: 50%;
  border: 2px solid rgba(0, 198, 255, 0.25);
  background: transparent;
  filter: none;
  opacity: 0.7;
}

.shape-ring-1{
  width: 120px;
  height: 120px;
  top: 18%;
  right: 18%;
  animation: spinRing 24s linear infinite, floatShape 14s ease-in-out infinite;
}

.shape-ring-2{
  width: 80px;
  height: 80px;
  bottom: 28%;
  right: 32%;
  border-color: rgba(139, 92, 246, 0.3);
  animation: spinRing 18s linear infinite reverse, floatShape 12s ease-in-out infinite;
  animation-delay: -3s, -2s;
}

.shape-square{
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 118, 254, 0.2), rgba(0, 198, 255, 0.05));
  border: 1px solid rgba(0, 198, 255, 0.2);
  filter: none;
  opacity: 0.6;
  animation: spinSquare 30s linear infinite, floatShape 16s ease-in-out infinite;
}

.shape-square-1{
  width: 64px;
  height: 64px;
  top: 35%;
  left: 8%;
}

.shape-square-2{
  width: 48px;
  height: 48px;
  top: 12%;
  left: 55%;
  animation-duration: 25s, 18s;
  animation-delay: -5s, -6s;
}

.shape-line{
  width: 200px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 198, 255, 0.6), transparent);
  filter: none;
  opacity: 0.5;
  animation: lineSweep 8s ease-in-out infinite;
}

.shape-line-1{ top: 25%; left: 20%; transform: rotate(-25deg); }
.shape-line-2{ top: 70%; left: 50%; transform: rotate(15deg); animation-delay: -3s; width: 160px; }

.glow{
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: pulseGlow 6s ease-in-out infinite;
}

.glow-1{
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  margin: -200px 0 0 -200px;
  background: rgba(0, 118, 254, 0.25);
}

.glow-2{
  width: 300px;
  height: 300px;
  top: 20%;
  right: 10%;
  background: rgba(99, 102, 241, 0.2);
  animation-delay: -3s;
}

@keyframes gridMove{
  0%{ transform: translate(0, 0); }
  100%{ transform: translate(48px, 48px); }
}

@keyframes floatShape{
  0%, 100%{ transform: translate(0, 0) scale(1); }
  25%{ transform: translate(30px, -20px) scale(1.05); }
  50%{ transform: translate(-20px, 25px) scale(0.95); }
  75%{ transform: translate(15px, 15px) scale(1.02); }
}

@keyframes spinRing{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

@keyframes spinSquare{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

@keyframes lineSweep{
  0%, 100%{ opacity: 0.2; transform: translateX(-20px); }
  50%{ opacity: 0.8; transform: translateX(20px); }
}

@keyframes pulseGlow{
  0%, 100%{ opacity: 0.3; transform: scale(1); }
  50%{ opacity: 0.5; transform: scale(1.1); }
}

#LAY-user-login.layadmin-user-login{
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 20px;
  padding-bottom: 56px;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent !important;
}

.layadmin-user-login-main{
  width: 420px;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
}

.layadmin-user-login-main.glass-panel{
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 60px rgba(0, 118, 254, 0.08);
  overflow: hidden;
}

.layadmin-user-login-main.glass-panel::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  pointer-events: none;
}

.layadmin-user-login-box{padding: 20px;}
.layadmin-user-login-header{text-align: center;}

.glass-panel .dianda-title div{
  color: #fff !important;
  font-size: 26px !important;
  margin: 20px 0 8px 0 !important;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(0, 198, 255, 0.4);
}

.glass-panel .layadmin-user-login-body{
  padding: 20px 40px 30px !important;
}

.glass-panel .layui-form-item .layui-input{
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #fff;
  height: 42px;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.glass-panel .layui-form-item .layui-input::placeholder{
  color: rgba(255, 255, 255, 0.45);
}

.glass-panel .layui-form-item .layui-input:focus{
  border-color: rgba(0, 198, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(0, 118, 254, 0.15);
}

.glass-panel .layadmin-user-login-icon{
  color: rgba(255, 255, 255, 0.5);
  line-height: 42px;
}

.glass-panel .layui-btn-fluid{
  background: linear-gradient(135deg, #0076FE 0%, #00a8ff 100%) !important;
  border: none;
  border-radius: 10px !important;
  height: 44px !important;
  line-height: 44px !important;
  font-size: 15px !important;
  font-weight: 500;
  letter-spacing: 4px;
  box-shadow: 0 4px 20px rgba(0, 118, 254, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.glass-panel .layui-btn-fluid:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(0, 118, 254, 0.5);
}

.glass-panel .layadmin-link{
  color: rgba(0, 198, 255, 0.9) !important;
}

.glass-panel .layui-form-checkbox[lay-skin=primary] span{
  color: rgba(255, 255, 255, 0.75);
}

.glass-panel .layui-form-checked[lay-skin=primary] i{
  border-color: #0076FE !important;
  background-color: #0076FE !important;
}

.glass-panel .layadmin-user-login-codeimg{
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.layadmin-user-login-header h2{margin-bottom: 10px; font-weight: 300; font-size: 30px; color: #000;}
.layadmin-user-login-header p{font-weight: 300; color: #666;font-size: 16px;}

.layadmin-user-login-body .layui-form-item{position: relative;}
.layadmin-user-login-icon{position: absolute; left: 1px; top: 1px; width: 38px; line-height: 36px; text-align: center; color: #d2d2d2;}
.layadmin-user-login-body .layui-form-item .layui-input{padding-left: 38px;}
.layadmin-user-login-codeimg{max-height: 38px; width: 100%; cursor: pointer; box-sizing: border-box;}

.layadmin-user-login-other{position: relative; font-size: 0; line-height: 38px; padding-top: 20px;}
.layadmin-user-login-other>*{display: inline-block; vertical-align: middle; margin-right: 10px; font-size: 14px;}
.layadmin-user-login-other .layui-icon{position: relative; top: 2px; font-size: 26px;}
.layadmin-user-login-other a:hover{opacity: 0.8;}

.layadmin-user-jump-change{float: right;}

.layadmin-user-login-footer{
  position: fixed;
  z-index: 2;
  left: 0;
  bottom: 0;
  width: 100%;
  margin-top: 0;
  max-width: none;
  padding: 16px 20px;
  text-align: center;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  height: auto !important;
  line-height: 1.6 !important;
}

.layadmin-user-login-footer a{
  color: rgba(255, 255, 255, 0.55) !important;
}

.layadmin-user-login-footer a:hover{
  color: rgba(255, 255, 255, 0.85) !important;
}

.layadmin-user-login-footer span{padding: 0 5px;}
.layadmin-user-login-footer a{padding: 0 5px; color: rgba(0,0,0,.5);}
.layadmin-user-login-footer a:hover{color: rgba(0,0,0,1);}

/* 有背景图时 - 磨砂面板优先 */
.layadmin-user-login-main[bgimg]{background-color: transparent; box-shadow: none;}

/* 主题背景 */
.ladmin-user-login-theme{position: fixed; bottom: 0; left: 0; width: 100%; text-align: center;}
.ladmin-user-login-theme ul{display: inline-block; padding: 5px; background-color: #fff;}
.ladmin-user-login-theme ul li{display: inline-block; vertical-align: top; width: 64px; height: 43px; cursor: pointer; transition: all .3s; -webkit-transition: all .3s; background-color: #f2f2f2;}
.ladmin-user-login-theme ul li:hover{opacity: 0.9}

@media screen and (max-width: 768px) {
  #LAY-user-login.layadmin-user-login{padding: 16px 16px 64px;}
  .layadmin-user-login-main{width: 100%; max-width: 340px;}
  .glass-panel .layadmin-user-login-body{padding: 16px 24px 24px !important;}
  .shape-1{ width: 200px; height: 200px; }
  .shape-2{ width: 160px; height: 160px; }
}
