/* 全局样式，设置字体和背景 */
body {
  font-family: "Poppins", sans-serif;
  background: url("background.jpg") no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

/* 背景模糊层样式 */
.background-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  z-index: -1;
}

/* 登录容器样式 */
.login-container {
  width: 100%;
  max-width: 400px;
}

/* 登录框样式 */
.login-box {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}

/* 标题样式 */
.login-box h2 {
  color: #333;
  margin-bottom: 30px;
  font-size: 28px;
}

/* 输入框包裹层样式 */
.input-wrapper {
  margin-bottom: 25px;
  position: relative;
}

/* 标签样式 */
.input-wrapper label {
  display: block;
  text-align: left;
  color: #666;
  margin-bottom: 8px;
  font-weight: 500;
}

/* 输入框样式 */
.input-wrapper input {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background-color: rgba(230, 230, 230, 0.8);
  font-size: 16px;
  color: #333;
  transition: background-color 0.3s ease;
}

/* 输入框聚焦样式 */
.input-wrapper input:focus {
  background-color: rgba(200, 200, 200, 0.8);
  outline: none;
}

/* 提交按钮样式 */
.login-box input[type="submit"] {
  width: 100%;
  padding: 15px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* 提交按钮悬停样式 */
.login-box input[type="submit"]:hover {
  background-color: #0056b3;
}

/* 注册提示文字样式 */
.login-box p {
  margin-top: 20px;
  color: #666;
}

/* 注册链接样式 */
.login-box p a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* 注册链接悬停样式 */
.login-box p a:hover {
  color: #0056b3;
  text-decoration: underline;
}
