/* 登录页面样式 */
.glass-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-image: linear-gradient(135deg, #a5b4fc 0%, #818cf8 50%, #6366f1 100%);
  background-size: cover;
  position: relative;
  padding: 32px;
  overflow: hidden;
}

/* 背景效果 - 简化 */
.glass-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: -1;
}

/* 删除背景动态元素 */
.glass-container::after {
  display: none;
}

/* Logo 容器 */
.logo-container {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 5;
}

.logo-container h1 {
  font-size: 4.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -1px;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.logo-container h1::before,
.logo-container h1::after {
  display: none;
}

.logo-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}

.logo-description::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
}

/* 登录表单 */
.login-form {
  width: 100%;
  max-width: 380px;
  padding: 40px;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 修改表单悬停效果 - 简化 */
.login-form:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-5px);
}

.form-header {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #333;
  text-align: center;
  position: relative;
}

.form-header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #a5b4fc);
  border-radius: 3px;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

/* 输入框样式 */
#api-token {
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-radius: 16px;
  height: 54px;
  font-size: 1rem;
  padding: 0 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  color: #333;
  font-weight: 500;
}

#api-token:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(99, 102, 241, 0.8);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
  outline: none;
  transform: translateY(-2px) translateZ(0);
}

#api-token::placeholder {
  color: rgba(0, 0, 0, 0.4);
  font-weight: 400;
  transition: all 0.3s ease;
}

#api-token:focus::placeholder {
  opacity: 0.7;
  transform: translateX(5px);
}

/* 按钮图标样式 */
.btn-primary svg {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* 登录按钮样式 */
.btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
  color: white;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
  transform: translateY(-3px);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* 登录内容容器 */
.login-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  width: 100%;
}

/* 删除装饰圆圈相关样式 */
.decoration-circles {
  display: none;
}

/* 删除粒子效果相关样式 */
.particles-container {
  display: none;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .login-form {
    padding: 32px 24px;
    max-width: 90%;
  }

  .logo-container h1 {
    font-size: 2.8rem;
  }

  .logo-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .login-form {
    padding: 28px 20px;
  }

  .logo-container h1 {
    font-size: 2.4rem;
  }

  #api-token {
    height: 50px;
  }

  .btn-primary {
    padding: 12px;
  }
}
