/* 登录页面样式 */
#login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 20px;
  background-attachment: fixed;
}

.login-container {
  background: linear-gradient(135deg, rgba(30, 30, 46, 0.9) 0%, rgba(45, 45, 68, 0.9) 100%);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 400px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  color: #e6e6e6;
}

.login-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(67, 97, 238, 0.1) 0%, transparent 70%);
  z-index: -1;
}

.login-container h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #e6e6e6;
  font-size: 24px;
  font-weight: 600;
  position: relative;
}

.login-container h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #4cc9f0, #4361ee);
  margin: 10px auto 0;
  border-radius: 2px;
}

.input-group {
  margin-bottom: 20px;
  position: relative;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  color: #ccc;
  font-weight: 500;
  font-size: 14px;
}

.input-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s;
  background: rgba(40, 40, 60, 0.8);
  backdrop-filter: blur(5px);
  color: #e6e6e6;
}

.input-group input:focus {
  outline: none;
  border-color: #4cc9f0;
  box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.2);
  transform: translateY(-2px);
}

.input-group input::placeholder {
  color: #888;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: row;
  justify-content: space-between;
  border: 1px solid #4361ee;
  border-radius: 8px;
  padding: 2px;
  background: #1a1a2e;
}

.captcha-container input {
  flex: 1;
}

#captcha-canvas {
  border: 1px solid #444;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  background: #2d2d44;
}

#captcha-canvas:hover {
  border-color: #4cc9f0;
  box-shadow: 0 0 10px rgba(76, 201, 240, 0.3);
  transform: scale(1.02);
}

.btn-login {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #4cc9f0 0%, #4361ee 100%);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(76, 201, 240, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.btn-login:hover::before {
  left: 100%;
}

.btn-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(76, 201, 240, 0.6);
}

.btn-login:active {
  transform: translateY(-1px);
}

.login-error {
  color: #ff006e;
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  padding: 8px;
  background: rgba(255, 0, 110, 0.1);
  border-radius: 5px;
  border: 1px solid rgba(255, 0, 110, 0.2);
}