* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  color: #1b2a6b;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

body {
  background: #fff;
}

.login-layout {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
}

.campus {
  flex: 0 0 67%;
  min-height: 100vh;
  background: url("campus.jpg") center / cover no-repeat;
}

.campus-heading {
  margin: 5vw 15vw 0 5vw;
  padding: 3vw;
  color: #fff;
  background: rgb(31 29 78 / 65%);
}

.campus-heading h1 {
  margin: 0 0 20px;
  font-size: clamp(30px, 3.3vw, 55px);
  font-weight: 500;
  line-height: 1.2;
}

.campus-heading p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}

.login-side {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 48px 36px;
}

.login-content {
  width: 100%;
  max-width: 390px;
}

.logo {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin: 0 0 70px;
}

.login-content h2 {
  margin: 0 0 48px;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.4;
}

.login-content h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 400;
}

.primary {
  display: block;
  width: 100%;
  padding: 15px 14px;
  color: #fff;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
  background: #1b2a6b;
  border: 1px solid #1b2a6b;
  border-radius: 3px;
}

.primary:hover {
  background: #293d86;
}

.primary:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.hint {
  color: #69728a;
  font-size: 13px;
  line-height: 1.7;
}

.notice {
  padding: 12px 14px;
  color: #74582d;
  font-size: 14px;
  line-height: 1.6;
  background: #f5f1e7;
  border-left: 3px solid #b58a46;
}

footer {
  margin-top: 55px;
  color: #69728a;
  font-size: 13px;
  line-height: 1.5;
}

.result {
  max-width: 760px;
  margin: 60px auto;
  padding: 0 24px 50px;
}

.result-logo {
  width: 230px;
  height: auto;
  margin-bottom: 25px;
}

.result h1 {
  font-size: 30px;
}

.result h2 {
  font-size: 20px;
}

.result dl {
  padding: 16px;
  background: #f4f5f9;
  border-radius: 4px;
}

.result dt {
  overflow-wrap: anywhere;
  color: #626c85;
  font-size: 12px;
}

.result dd {
  margin: 9px 0 0;
  overflow-wrap: anywhere;
  color: #182651;
  line-height: 1.6;
}

.result form {
  max-width: 230px;
  margin-top: 28px;
}

a {
  color: #1b2a6b;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #b58a46;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .campus {
    flex-basis: 52%;
  }

  .campus-heading {
    margin: 35px 25px;
    padding: 25px;
  }

  .login-side {
    padding: 36px 26px;
  }

  .logo {
    margin-bottom: 40px;
  }

  .login-content h2 {
    margin-bottom: 35px;
    font-size: 23px;
  }
}

@media (max-width: 600px) {
  .login-layout {
    display: block;
  }

  .campus {
    min-height: 230px;
    padding: 24px;
    background-position: center 45%;
  }

  .campus-heading {
    max-width: 400px;
    margin: 0;
    padding: 22px;
  }

  .campus-heading h1 {
    margin-bottom: 10px;
    font-size: 28px;
  }

  .campus-heading p {
    font-size: 13px;
  }

  .login-side {
    padding: 35px 28px 45px;
  }

  .logo {
    width: 220px;
    margin-bottom: 30px;
  }

  .login-content h2 {
    margin-bottom: 30px;
    font-size: 24px;
  }

  footer {
    margin-top: 30px;
  }

  .result {
    margin-top: 30px;
  }
}
