body {
  position: relative;
  width: 100vw;
  height: 99vh;
}
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 99vh;
  z-index: -999;
}
.bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signin {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  width: 400px;
  height: 500px;
  border-radius: 10px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-sizing: border-box;
}
.signin::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(15px);
  border-radius: 10px;
  z-index: -1;
}
.signin .title {
  font-size: 24px;
  font-weight: bold;
  color: #efefef;
  margin-bottom: 40px;
}

.signin .form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 30px;
}

.form-username,
.form-password {
  display: flex;
  align-items: center;
  border-bottom: 1.5px solid #fff;
}

.form-username label,
.form-password label {
  display: inline-block;
  width: 60px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  font-size: 14px;
  color: #fff;
}

.form-username input,
.form-password input {
  flex: 1;
  height: 45px;
  padding: 0 10px;
  font-size: 16px;
  color: #fff;
  background-color: transparent;
  box-sizing: border-box;
}

.form-username:has(:focus).form-username label,
.form-password:has(:focus).form-password label {
  color: #007bff;
}

.form-username:has(:focus),
.form-password:has(:focus) {
  border-bottom: 1.5px solid #007bff;
}

.form-username.error,
.form-password.error {
  border-bottom: 1.5px solid #ff0000;
}

.form-username label.error,
.form-password label.error,
.form-username input.error,
.form-password input.error {
  color: #ff0000;
}
.form-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.form-submit button {
  width: 100%;
  height: 45px;
  font-size: 18px;
  letter-spacing: 10px;
  font-weight: bold;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
.remember {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.remember,
.remember a {
  color: #fff;
  cursor: pointer;
}

.agreement {
  font-size: 14px;
  color: #fff;
}
.agreement a {
  color: #007bff;
  font-weight: 600;
}
.signup {
  display: flex;
  justify-content: center;
}
.signup p {
  margin-top: 30px;
  font-size: 14px;
  color: #fff;
}
