@font-face {
  font-family: Inter;
  font-style: oblique 0deg 12deg;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/inter.woff2') format('woff2');
}

* { box-sizing: border-box; }
html { height: 100%; font-feature-settings: 'cv11'; }
body {
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: Inter, Helvetica, Arial, sans-serif;
  background: #1b223d url('/assets/background.jpg') center / cover fixed no-repeat;
}
.login-wrapper {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 155px 24px 40px;
}
.login-content {
  position: relative;
  width: 300px;
  max-width: 100%;
  /* Offset the extra top padding so the form remains vertically centered. */
  transform: translateY(-57.5px);
}
.logo {
  position: absolute;
  top: -130px;
  left: 50%;
  height: 80px;
  max-width: 100%;
  transform: translateX(-50%);
}
.field + .field { margin-top: 15px; }
label { display: inline-block; margin-bottom: 5px; }
input {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 16px;
  border: 1px solid #fff;
  border-radius: 3px;
  background: #fff;
  color: #222;
  font: inherit;
  font-size: 1rem;
}
input:focus-visible { outline: 2px solid #80a7d7; outline-offset: 2px; }
input[aria-invalid='true'] { border-color: #fe4600; }
#login-error {
  margin: 12px 0 0;
  color: #fe4600;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}
button {
  width: 100%;
  min-height: 38px;
  margin-top: 24px;
  padding: 7px 16px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #fff;
  background: linear-gradient(90deg, #2c588e, #4e85c8);
  box-shadow: 0 2px 4px #0003;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}
button:hover { filter: brightness(1.08); }
button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
button:disabled { opacity: 0.65; cursor: wait; }
footer { padding: 10px; text-align: center; font-size: 0.8rem; }
strong { font-weight: 600; }
.noscript { font-size: 0.875rem; line-height: 1.5; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] { display: none !important; }
@media (max-width: 768px) {
  .logo { height: 60px; top: -90px; }
  .login-wrapper { padding-top: 115px; }
  .login-content { transform: translateY(-37.5px); }
}
@media (max-height: 480px) {
  .login-content { transform: none; }
  .login-wrapper { padding-top: 145px; padding-bottom: 24px; }
}
