@charset "UTF-8";
html,
body,
#app {
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.login-container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #2d1b4e;
  position: relative;
}
/* 背景图层 - 缓慢缩放动画 */
.login-container::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("/public/dydqtshoppc/images/hero-team-login.jpg");
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  animation: bgBreath 20s ease-in-out infinite alternate;
  z-index: 0;
}
/* 浮动光晕层 */
.login-container::after {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: 
    radial-gradient(ellipse 600px 600px at 20% 50%, rgba(139,95,191,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 70% 30%, rgba(100,200,255,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 300px 300px at 50% 80%, rgba(180,100,255,0.1) 0%, transparent 70%);
  animation: glowFloat 12s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}
@keyframes bgBreath {
  0%   { transform: scale(1);     }
  100% { transform: scale(1.06);  }
}
@keyframes glowFloat {
  0%   { transform: translate(0, 0) rotate(0deg);       }
  50%  { transform: translate(20px, -15px) rotate(1deg); }
  100% { transform: translate(-10px, 10px) rotate(-1deg); }
}
.login-container .login-weaper {
  position: fixed;
  top: 50%;
  right: 20px;
  width: 440px;
  max-width: calc(100vw - 40px);
  transform: translateY(-50%);
  z-index: 10;
}
.login-container .login-left {
  color: #fff;
  flex: 1;
  display: none;
  align-items: center;
  flex-direction: column;
  position: absolute;
  left: 365px;
  z-index: 0;
}
.login-container .login-left .login-title{
  font-size: 48px;
  margin-bottom: 12px;
}
.login-container .login-left .login-subtitle{
  font-size: 32px;
  margin-bottom: 21px;
}
.left-img{
  display: flex;
  justify-content: center;
  padding:0 122px 0 49px;
}
.login-container .login-left img {
  width: 424px;
  height: 488px;
}
.login-container .login-weaper .login-border{
  background-color: rgba(20, 10, 50, 0.65);
  width: 100%;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
  padding: 44px 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  z-index: 1;
  backdrop-filter: blur(12px);
  animation: cardFadeIn 1s ease-out;
}
@keyframes cardFadeIn {
  0%   { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0);    }
}
.login-container .login-weaper .login-border .login-title{
  color: #ffffff;
  font-size: 30px;
  font-weight: 600;
  text-align: left;
  width: 100%;
  margin-bottom: 36px;
}
.login-container .login-weaper .login-border .login-main,
.login-container .login-weaper .login-border .login-form{
  width: 100%;
  min-width: 0;
}
.login-container .login-weaper .login-border .login-form .el-form-item{
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 6px 17px;
  border-radius: 25px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.login-container .login-weaper .login-border .login-form .el-form-item .el-form-item__content{
  flex: 1;
  display: flex;
  align-items: center;
  margin-left: 19px;
  min-width: 0;
}
.login-container .login-weaper .login-border .login-form .el-form-item .el-form-item__content .el-input{
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}
.login-container .login-weaper .login-border .login-form .el-form-item .el-form-item__content .el-input input{
  -webkit-appearance: none;
  background-color: transparent !important;
  background-image: none;
  border-radius: 4px;
  border: 0px solid transparent;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #ffffff;
  display: inline-block;
  height: 40px;
  line-height: 40px;
  outline: 0;
  padding: 0 15px;
  -webkit-transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
  transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
  width: 100%;
  min-width: 0;
}
/* 覆盖浏览器自动填充的白色背景 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: transparent !important;
  background: transparent !important;
  transition: background-color 99999s ease-in-out 0s, box-shadow 99999s ease-in-out 0s;
  caret-color: #ffffff;
}
.login-form input,
.login-form input:focus,
.login-form input:active,
.login-form input:hover {
  background-color: transparent !important;
  background: transparent !important;
}

.login-form div[class*=el-input] input {
  height: 44px;
  line-height: 44px;
  border-radius: 4px !important;
  font-size: 16px;
  background-color: transparent !important;
}
.login-form .el-input,
.login-form .el-input__inner {
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.login-form .el-input__suffix {
  flex: 0 0 72px;
  width: 72px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.login-form .login-code {
  width: 72px;
  display: flex;
  justify-content: flex-end;
}
.login-form .login-code img {
  display: block;
  width: 72px;
  height: 28px;
  object-fit: cover;
  border-radius: 4px;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.login-container .login-weaper .login-border .login-form .el-form-item  .input-icon{
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.login-container .login-weaper .login-border .login-form .el-form-item .el-form-item__content::before{
  content: "";
  display: block;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.2);
  width: 1px;
}
.el-form-item-button{
  margin: 35px 0;
}
.el-form-item-button button{
  background: linear-gradient(90deg, #6B3FA0, #C850C0, #FF6B9D);
  width: 100%;
  border: 0;
  color: #fff;
  border-radius: 25px;
  padding: 14px;
  box-sizing: border-box;
  font-size: 18px;
  letter-spacing: 6px;
  cursor: pointer;
  transition: opacity 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(200, 80, 192, 0.4);
}
.el-form-item-button button:hover{
  opacity: 0.9;
  box-shadow: 0 6px 28px rgba(200, 80, 192, 0.6);
}
.login-bot{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 1024px) {
  .login-container .login-weaper {
    right: 16px;
    width: 400px;
    max-width: calc(100vw - 32px);
  }
  .login-container .login-weaper .login-border{
    padding: 40px 22px;
  }
  .login-container .login-left{
    display: none;
  }
}

@media (max-width: 768px) {
  .login-container::before {
    background-image: url("/public/dydqtshoppc/images/hero-team-login-mobile.jpg");
    background-position: center center;
    animation: none;
  }
  .login-container::after {
    animation: none;
  }
  .particles {
    display: none;
  }
}

@media (max-width: 480px) {
  .login-container .login-weaper {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    transform: translateY(-50%);
  }
  .login-container .login-weaper .login-border{
    background-color: rgba(20, 10, 50, 0.75);
    border-radius: 16px;
    padding: 36px 16px;
  }
  .login-form .el-input__suffix,
  .login-form .login-code {
    flex-basis: 64px;
    width: 64px;
  }
  .login-form .login-code img {
    width: 64px;
  }
  .login-container .login-left{
    display: none;
  }
}

/* ========== 浮动粒子 ========== */
.particles {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
}
/* 上升粒子 */
.p1 {
  width: 3px; height: 3px;
  background: rgba(180,140,255,0.9);
  box-shadow: 0 0 6px rgba(180,140,255,0.6);
  left: 8%; bottom: -5%;
  animation: particleFloat 12s linear infinite 0s;
}
.p2 {
  width: 5px; height: 5px;
  background: rgba(100,200,255,0.8);
  box-shadow: 0 0 10px rgba(100,200,255,0.5);
  left: 18%; bottom: -5%;
  animation: particleFloat 16s linear infinite 1s;
}
.p3 {
  width: 2px; height: 2px;
  background: rgba(255,180,255,0.9);
  box-shadow: 0 0 4px rgba(255,180,255,0.6);
  left: 28%; bottom: -5%;
  animation: particleFloat 10s linear infinite 0.5s;
}
.p4 {
  width: 4px; height: 4px;
  background: rgba(150,220,255,0.8);
  box-shadow: 0 0 8px rgba(150,220,255,0.5);
  left: 40%; bottom: -5%;
  animation: particleFloat 18s linear infinite 3s;
}
.p5 {
  width: 6px; height: 6px;
  background: rgba(200,160,255,0.7);
  box-shadow: 0 0 12px rgba(200,160,255,0.4);
  left: 52%; bottom: -5%;
  animation: particleFloat 14s linear infinite 2s;
}
.p6 {
  width: 3px; height: 3px;
  background: rgba(130,200,255,0.9);
  box-shadow: 0 0 6px rgba(130,200,255,0.6);
  left: 65%; bottom: -5%;
  animation: particleFloat 20s linear infinite 4s;
}
.p7 {
  width: 4px; height: 4px;
  background: rgba(220,140,255,0.8);
  box-shadow: 0 0 8px rgba(220,140,255,0.5);
  left: 75%; bottom: -5%;
  animation: particleFloatR 13s linear infinite 1.5s;
}
.p8 {
  width: 2px; height: 2px;
  background: rgba(100,255,220,0.9);
  box-shadow: 0 0 4px rgba(100,255,220,0.6);
  left: 85%; bottom: -5%;
  animation: particleFloat 11s linear infinite 0.8s;
}
.p9 {
  width: 5px; height: 5px;
  background: rgba(180,100,255,0.7);
  box-shadow: 0 0 10px rgba(180,100,255,0.4);
  left: 92%; bottom: -5%;
  animation: particleFloatR 17s linear infinite 5s;
}
.p10 {
  width: 3px; height: 3px;
  background: rgba(80,180,255,0.8);
  box-shadow: 0 0 6px rgba(80,180,255,0.5);
  left: 5%; bottom: -5%;
  animation: particleFloat 15s linear infinite 7s;
}
.p11 {
  width: 7px; height: 7px;
  background: rgba(200,120,255,0.5);
  box-shadow: 0 0 14px rgba(200,120,255,0.3);
  left: 45%; bottom: -5%;
  animation: particleFloatR 22s linear infinite 2.5s;
}
.p12 {
  width: 2px; height: 2px;
  background: rgba(140,255,200,0.8);
  box-shadow: 0 0 4px rgba(140,255,200,0.5);
  left: 33%; bottom: -5%;
  animation: particleFloat 9s linear infinite 6s;
}
/* 横向漂浮粒子 */
.p13 {
  width: 3px; height: 3px;
  background: rgba(180,180,255,0.6);
  box-shadow: 0 0 8px rgba(180,180,255,0.4);
  left: -5%; top: 20%;
  animation: particleDrift 25s linear infinite 0s;
}
.p14 {
  width: 4px; height: 4px;
  background: rgba(100,220,255,0.5);
  box-shadow: 0 0 10px rgba(100,220,255,0.3);
  left: -5%; top: 50%;
  animation: particleDrift 30s linear infinite 4s;
}
.p15 {
  width: 2px; height: 2px;
  background: rgba(255,160,220,0.7);
  box-shadow: 0 0 6px rgba(255,160,220,0.4);
  left: -5%; top: 75%;
  animation: particleDrift 20s linear infinite 8s;
}
/* 闪烁星点 */
.p16 {
  width: 3px; height: 3px;
  background: #fff;
  box-shadow: 0 0 6px rgba(255,255,255,0.8);
  left: 20%; top: 15%;
  animation: twinkle 3s ease-in-out infinite 0s;
}
.p17 {
  width: 2px; height: 2px;
  background: #fff;
  box-shadow: 0 0 4px rgba(255,255,255,0.6);
  left: 50%; top: 10%;
  animation: twinkle 4s ease-in-out infinite 1s;
}
.p18 {
  width: 3px; height: 3px;
  background: #fff;
  box-shadow: 0 0 6px rgba(255,255,255,0.7);
  left: 70%; top: 25%;
  animation: twinkle 2.5s ease-in-out infinite 2s;
}
.p19 {
  width: 2px; height: 2px;
  background: #fff;
  box-shadow: 0 0 4px rgba(255,255,255,0.5);
  left: 35%; top: 35%;
  animation: twinkle 3.5s ease-in-out infinite 0.5s;
}
.p20 {
  width: 2px; height: 2px;
  background: #fff;
  box-shadow: 0 0 4px rgba(255,255,255,0.6);
  left: 80%; top: 60%;
  animation: twinkle 4.5s ease-in-out infinite 3s;
}

@keyframes particleFloat {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  5%   { opacity: 1; }
  50%  { transform: translateY(-55vh) translateX(30px); opacity: 0.8; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-110vh) translateX(-20px); opacity: 0; }
}
@keyframes particleFloatR {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  5%   { opacity: 1; }
  50%  { transform: translateY(-55vh) translateX(-40px); opacity: 0.8; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-110vh) translateX(30px); opacity: 0; }
}
@keyframes particleDrift {
  0%   { transform: translateX(0) translateY(0); opacity: 0; }
  5%   { opacity: 0.7; }
  50%  { transform: translateX(55vw) translateY(-20px); opacity: 0.5; }
  90%  { opacity: 0.3; }
  100% { transform: translateX(110vw) translateY(15px); opacity: 0; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.5); }
}