/* Login page only. The page is a Minecraft-style menu: <body class="login-page mc">
   gets the dirt background, colours and pixel headings from wiki.css (loaded first);
   this file adds the layout and the login window. */
.login-page { display: grid; min-height: 100vh; place-items: center; padding: 16px; }
.login-card { width: 100%; max-width: 420px; padding: 28px 30px 26px; background: var(--bg); box-shadow: var(--panel); }
.login-logo { display: block; width: 72px; height: 72px; margin: 0 auto 12px; border: 3px solid #000; image-rendering: pixelated; }
.login-card h1 { margin: 0 0 8px; text-align: center; font-size: 1.9rem; }
.login-card .muted { margin: 0 0 20px; font-size: 14px; text-align: center; }
.login-card label { display: block; font-weight: 600; margin-bottom: 4px; }
.login-card input[type=text], .login-card input[type=password] { width: 100%; padding: 10px 12px; font: inherit; color: #fff; background: #000; border: 2px solid #a0a0a0; border-radius: 0; }
.login-card input:focus-visible { border-color: #fff; outline: none; }
.login-card button { width: 100%; margin-top: 8px; padding: 11px; font: inherit; font-weight: 700; color: #fff; text-shadow: 2px 2px 0 rgb(0 0 0 / .55); background: var(--btn); border: 0; border-radius: 0; cursor: pointer;
  box-shadow: 0 0 0 2px #000, inset 2px 2px 0 rgb(255 255 255 / .45), inset -2px -2px 0 rgb(0 0 0 / .4); }
.login-card button:hover { background: #78bd2c; }
.login-card button:active { box-shadow: 0 0 0 2px #000, inset 2px 2px 0 rgb(0 0 0 / .4), inset -2px -2px 0 rgb(255 255 255 / .3); }
.errorlist { color: var(--danger); list-style: none; padding: 0; margin: 4px 0; }
.login-back { display: block; margin-top: 18px; text-align: center; font-size: 14px; }
