.login-bg {
  width: 100vw;
  height: 100vh;
  opacity: 0.6;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -2;
}

.login {
  display: flex;
  height: 100vh;
}

.login-img {
  flex: 1.5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-bg-small {
  width: 960px;
  height: 720px;
}

.login-board-space {
  display: flex;
  align-items: center;
  flex: 1;
}

.login-board {
  display: flex;
  padding: 0 40px;
  flex-direction: column;
  background: #fff;
  opacity: 0.75;
  height: 650px;
  border-radius: 20px;
}

.login-board-title {
  height: 16vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  font-weight: bold;
}

.layui-form-item {
  height: 50px;
  margin-bottom: 5vh;
}

.layui-input-block {
  margin-left: 0px;
}

.layui-input {
  height: 50px;
  border: none;
  border-bottom: 2px solid #ccc;
  background: none;
}

.username,
.password,
.verify_code {
  font-size: 1.25rem;
}

.username::placeholder,
.password::placeholder,
.verify_code::placeholder {
  font-size: 1.25rem;
}

#code {
  flex: 1;
  margin-left: 3vw;
  transform: scale(1.5);
}

.layui-btn {
  width: 80%;
  height: 50px;
}
@media screen and (max-width: 1024px) {
  .layui-form-item {
    height: auto;
    margin-bottom: 5vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .layui-input-block {
    margin-left: 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  #code {
    flex: none;
    margin-left: 0;
    transform: scale(1);
    margin-top: 15px;
    order: 2;
  }

  .verify_code {
    order: 1;
    margin-bottom: 10px;
  }

  /* 确保验证码相关元素垂直排列 */
  .verify-code-row {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}