* {
  box-sizing: border-box;
  font-family: 'Segoe UI', 'PingFang SC', sans-serif;
  margin: 0;
  padding: 0;
}

body, html {
  height: 100%;
  overflow: hidden;
}

/* 背景图 */
.background {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('bg.jpg') no-repeat center center/cover;
  z-index: -1;
  filter: brightness(0.8);
}

/* 登录卡片 */
.login-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  padding: 40px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  color: white;
}

.logo-box {
  text-align: center;
  margin-bottom: 30px;
}

.logo {
  width: 64px;
  margin-bottom: 10px;
}

.logo-box h2 {
  font-weight: normal;
  font-size: 20px;
}

form input {
  width: 100%;
  margin-bottom: 16px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  outline: none;
}

form input::placeholder {
  color: #e0e0e0;
}

.captcha {
  display: flex;
  gap: 10px;
  align-items: center;
}

.captcha img {
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  background-color: rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 16px;
  border-radius: 8px;
  margin-top: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: rgba(255, 255, 255, 0.35);
}

.message {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
}

.forgot {
  margin-top: 12px;
  text-align: center;
}

.forgot a {
  font-size: 13px;
  color: #e0e0e0;
  text-decoration: none;
}

.forgot a:hover {
  text-decoration: underline;
}
