* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "SimHei", Arial, sans-serif;
  height: 100vh;
  background: url("../img/bg.png") center / cover no-repeat;
}

.login-container {
  border-radius: 1.1905vw;
  padding: 2.9762vw;
  width: 30.8vw;
  height: 29.7619vw;
  position: relative;
  top: 7vw;
  left: 9vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.login-title {
  margin: 0;
}

.form-group {
  margin-bottom: 0.45vw;
  width: 100%;
}

.form-group label {
  font-size: 18px;
  display: block;
  margin-bottom: 0.45vw;
  text-align: center;
  color: white;
  text-shadow: 0px 0px 30px rgba(0,0,0,0.95);
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 2px;
  background-color: white;
  z-index: 2;
}

.input-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 2px;
  background-color: white;
  z-index: 2;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper:before {
  box-shadow: 0 calc(4vw - 2px) 0 0 white;
}

.input-wrapper:after {
  box-shadow: 0 calc(4vw - 2px) 0 0 white;
}

.form-group input {
  width: 100%;
  height: 4vw;
  padding: 1.1905vw;
  font-size: 18px;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  outline: none;
  text-align: center;
}

.form-group input::placeholder {
  color: gray;
}

.login-btn {
  padding: 0.8929vw;
  font-size: 1.0714vw;
  color: white;
  background: linear-gradient(135deg, #42a5f5, #1e88e5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0.2381vw 0.8929vw rgba(66, 165, 245, 0.4);
  margin-top: 1.55vw;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  font-size: 18px;
}

@media (max-width: 600px) {
  .login-container {
    width: 80%;
    height: auto;
    padding: 5%;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .login-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-group label {
    font-size: 16px;
    margin-bottom: 5px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  }

  .input-wrapper:before {
    box-shadow: 0 48px 0 0 white;
  }

  .input-wrapper:after {
    box-shadow: 0 48px 0 0 white;
  }

  .form-group input {
    height: 50px;
    padding: 10px;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .form-group input::placeholder {
    color: gray;
  }

  .login-btn {
    padding: 10px;
    font-size: 16px;
    width: 40%;
  }
}
