/* 登录页面样式 */
.login-body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.login-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* 背景装饰 */
.login-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
  animation-delay: 5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  left: 10%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* 登录表单容器 */
.login-form-wrapper {
  width: 100%;
  max-width: 420px;
  padding: 40px;
  position: relative;
  z-index: 2;
}

/* Logo区域 */
.login-logo {
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
}

.login-logo-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.login-logo-content svg {
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.login-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.login-title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  line-height: 1.2;
}

.login-subtitle {
  margin: 4px 0 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1px;
  line-height: 1.2;
}

/* 登录表单卡片 */
.login-form-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
}

.login-form-card .layui-form-item {
  margin-bottom: 25px;
  position: relative;
}

.login-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 18px;
  z-index: 2;
}

.login-input {
  padding-left: 45px !important;
  height: 48px;
  line-height: 48px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s;
}

.login-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.login-remember {
  margin-bottom: 20px;
}

.login-btn {
  height: 48px;
  line-height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.login-btn:active {
  transform: translateY(0);
}

.login-btn i {
  margin-right: 8px;
}

/* 底部信息 */
.login-footer {
  text-align: center;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.login-footer p {
  margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .login-form-wrapper {
    padding: 20px;
    max-width: 100%;
  }
  
  .login-form-card {
    padding: 30px 20px;
  }
  
  .login-logo-content {
    flex-direction: column;
    gap: 10px;
  }
  
  .login-logo-content svg {
    width: 40px;
    height: 40px;
  }
  
  .login-title {
    font-size: 22px;
    text-align: center;
  }
  
  .login-subtitle {
    font-size: 12px;
    text-align: center;
  }
  
  .login-title-wrapper {
    align-items: center;
  }
  
  .shape-1, .shape-2, .shape-3 {
    display: none;
  }
}

