* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.5rem;
  padding: 1.25rem;
  color: #102b42;
  font: 1rem system-ui, sans-serif;
  background: radial-gradient(ellipse at 50% 0, #18465a, transparent 68%), #0c1d2b;
}
.login-background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.login-brand { display: flex; justify-content: center; margin-bottom: .75rem; }
.login-logo {
  display: block;
  width: min(9rem, 45%);
  max-height: 4.5rem;
  object-fit: contain;
  border: 3px solid #285475;
  border-top-color: #91d7ff;
  border-left-color: #5799c3;
  border-bottom-color: #0b2439;
  border-radius: .65rem;
  box-shadow: 0 4px 0 #102d45, 0 8px 16px #08182560;
}
main {
  position: relative;
  text-align: center;
  width: min(27rem, calc(100vw - 2.5rem));
  padding: clamp(1.4rem, 5vw, 2.4rem);
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px #020b1666, 0 6px 16px #020b1633;
}
.login-glass main {
  background: linear-gradient(145deg, #ffffff85, #e9f5fa65);
  backdrop-filter: blur(1px);
}
h1 { margin: 0 0 1.5rem; font-size: clamp(1.6rem, 5vw, 2rem); font-weight: 400; letter-spacing: -.025em; }
label { display: block; font-weight: 650; }
.password-visibility { display: flex; justify-content: center; align-items: center; gap: .5rem; min-height: 44px; cursor: pointer; }
.password-visibility input { width: 1rem; height: 1rem; min-height: 0; padding: 0; margin: 0; box-shadow: none; }
input, select { text-align: center; }
input, select, button {
  width: 100%;
  min-height: 3rem;
  margin: .4rem 0 1rem;
  padding: .65rem .85rem;
  border: 0;
  border-radius: .6rem;
  background: #fff;
  color: inherit;
  font: inherit;
}
:is(input, select) { box-shadow: inset 0 2px 6px #102b423b; }
.login-glass :is(input, select) { background: #ffffff52; }
button {
  background: linear-gradient(#08796d, #065e55);
  box-shadow: 0 4px 0 #04463e, 0 8px 14px #102b4238;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: #065e55; }
button:active { transform: translateY(2px); box-shadow: 0 2px 0 #04463e; }
#install-app { background: #edf5f3c9; color: #086359; box-shadow: 0 3px 9px #102b4226; margin: 0; }
#install-app[hidden] { display: none; }
a { color: #086359; }
:focus-visible { outline: 3px solid #15867d; outline-offset: 3px; }
.error { color: #a32423; }
.hint { color: #496174; font-size: .82rem; margin-bottom: 0; }
