/* 登录页整体布局 */
.login-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(120deg, #1c1c1c, #333);
  font-family: "Microsoft Yahei", sans-serif;
  color: #fff;
}

/* 登录框容器 */
.login-container {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 16px;
  width: 320px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/* 输入框与按钮 */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  outline: none;
  background: #222;
  color: #fff;
  font-size: 14px;
}

.btn {
  width: 100%;
  padding: 10px;
  background: #e50914;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #b00610;
}

/* 错误信息 */
.error-message {
  color: #ff8080;
  margin-top: 10px;
  font-size: 13px;
  height: 16px;
}

/* 保持复选框和文字在一行 */
.remember-me label {
  display: flex;
  align-items: center;  /* 垂直居中对齐 */
  gap: 8px;             /* 复选框和文字之间间距 */
  cursor: pointer;      /* 鼠标悬停变手型，更像按钮 */
}

.remember-me input[type="checkbox"] {
  width: 16px;
  height: 16px;
}


/* ------------------ 注册页面样式 ------------------ */
.login-container h2 {
  margin-bottom: 20px;
  color: #ff8080;
}

