* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: url('../img/loginbg.jpg') no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* logo 设置 */
.logo {
  width: 255px;
  height: 255px;
  margin-top: 100px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 登录框 */
.form-box {
  background: url('../img/form-box.png');
  width: 495px;
  height: 207px;
  position: absolute;
  top: 382px;
  text-align: center;
  color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}

.input-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 17px;
}

.input-group label {
  width: 172px;
  height: 30px;
  font-size: 18px;
  color: white;
  text-align: center;
  /* 让文字水平居中 */
  display: flex;
  align-items: center;
  /* 让文字垂直居中 */
  justify-content: center;
  /* 可选，让文字更完美居中 */
  margin-left: 40px;
  margin-right: 15px;
}

.input-field {
  width: 230px;
  height: 30px;
  padding-left: 15px;
  border-radius: 0;
  /* 去掉圆角 */
  border: 1px solid #444;
  background-color: #2B2721;
  color: #f6f2f2;
  font-size: 16px;
}

/* 登录按钮 */
.login-btn {
  width: 209px;
  height: 30px;
  background: url('../img/bt.png');
  color: rgb(7, 7, 7);
  font-size: 20px;
  cursor: pointer;
  margin-top: 0px;
  font-weight: bold;
  margin-top: 12px;
}

.login-btn:hover {
  background-color: #e65c00;
}

/* 记住密码和语言选择 */
.checkbox-group {
  margin-top: 20px;
  color: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  position: absolute;
  top: 620px;
}

.checkbox-group input {
  margin-right: 8px;
}

.language-select {
  font-weight: bold;
  position: absolute;
  top: 600px;
  text-align: center;
}
.language-select select {
  font-weight: bold;
  background-color: #f5f5f5;
  width: 170px;
  height: 30px;  /* 保持原始高度 */
  font-size: 14px;  /* 与 label 相同的字体大小 */
  line-height: 30px;  /* 保证文字垂直居中 */
  padding-left: 10px;  /* 左右适当的内边距 */
  padding-right: 10px;
  border: 1px solid #ccc;
  background-color: #fff;
  -webkit-appearance: none; /* 去除浏览器默认样式 */
  -moz-appearance: none;
  appearance: none;
}

.language-select label {
  font-size: 14px;  /* 与 select 中的字体大小相同 */
  color: white;
}



.language-select label,
.checkbox-group label {
  color: white;
}

.label-username,
.label-password,
.label-number {
  background-size: cover;
  /* 确保背景图片完整显示 */
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  color: white;
  text-align: center;
  font-weight: bold;
}

/* 为每个label设置不同的背景图片 */
.label-username {
  background-image: url('../img/1.png');
}

.label-password {
  background-image: url('../img/2.png');
}

.label-number {
  background-image: url('../img/1.png');
}

.label-username,
.label-password,
.label-number {
  width: 172px;
  height: 30px;
  background-size: 100% 100%;
  /* 强制填充整个区域 */
  background-repeat: no-repeat;
  background-position: center;
}