* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: #fff; font-family: sans-serif; }
.login-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
main { position: relative; height: 100vh; width: 100%; }
#loginStatus, .version { position: absolute; bottom: 10px; margin: 0; font-size: 18px; }
#loginStatus { left: 10px; }
.version { right: 10px; pointer-events: none; }
#loginRetry { position: absolute; bottom: 40px; left: 10px; }
#loginForm { position: absolute; top: 0; right: 8vw; width: 300px; height: 100%; display: flex; align-items: center; }
.login-panel {
  width: 100%; min-height: 60%; max-height: 100%; overflow: auto;
  padding: 10px 20px 50px; border: 1px solid #eee; border-radius: 10px;
  background-color: rgba(53, 120, 210, 0.1);
}
h1 { margin: 0; padding: 24% 0; font-size: 20px; font-weight: normal; text-align: center; }
label { display: block; padding: 10px 0; }
input { display: block; width: 100%; padding: 10px; border: none; border-radius: 4px; background: #fff; font-size: 18px; }
#loginMessage { margin: 0; color: red; }
#loginSubmit { width: 100%; margin-top: 40px; padding: 10px; border: 0; border-radius: 4px; background: #8320a1; color: #fff; font: inherit; cursor: pointer; }
#loginSubmit:disabled { cursor: default; }
.qq-row { margin-top: 24px; padding: 10px; }
.qq { display: block; padding: 10px 24px; border-radius: 6px; background: #20b9ff; color: #fff; text-align: center; text-decoration: none; font-size: 13.3333px; }
.qq img { height: 20px; margin-right: 8px; vertical-align: middle; }
.help { margin-top: 30px; padding: 10px; border-radius: 6px; background: rgba(0, 0, 0, 0.35); }
@media (max-width: 768px) { #loginForm { left: 0; right: auto; width: 100%; padding: 0 15%; } }
