:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --blue: #00679e;
  --blue-hover: #005a8a;
  --text: #222;
  --muted: #65717a;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; margin: 0; }

body {
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(115deg, rgba(0, 39, 66, .44), rgba(0, 79, 117, .16)),
    url('/background.webp') center / cover fixed;
}

.page-shell {
  min-height: calc(100vh - 62px);
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.login-panel {
  width: min(390px, 100%);
  padding: 30px 34px 28px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 18px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 22px 70px rgba(0, 30, 53, .35);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--blue);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.brand img { width: 66px; height: 42px; }

h1 { margin: 24px 0 4px; text-align: center; font-size: 25px; }
.intro { margin: 0 0 24px; color: var(--muted); text-align: center; }

label { display: block; margin: 14px 0; }
label span { display: block; margin: 0 0 6px; color: #46535c; font-size: 13px; font-weight: 600; }

input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #c8d0d5;
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
}

input:focus { border: 2px solid var(--blue); padding: 9px 11px; }

button {
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

button:hover { background: var(--blue-hover); }
.notice { min-height: 40px; margin: 14px 0 0; color: #7a4d00; font-size: 13px; text-align: center; }
.help { margin: 12px 0 0; color: var(--muted); font-size: 12px; text-align: center; }

footer {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: rgba(255, 255, 255, .94);
  font-size: 14px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
}

footer span { font-weight: 700; }

@media (max-width: 520px) {
  .page-shell { align-items: start; padding-top: 8vh; }
  .login-panel { padding: 26px 22px 24px; }
}
