/* The sign-in page on stage.munichdevs.de (public/stage-login.php). A file of
   its own because that page is PHP, not Astro, and style-src 'self' drops
   anything inline. The blue is --color-brand from src/styles/global.css. */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: #0b4c8c;
  color: #111827;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  width: 100%;
  max-width: 24rem;
  padding: 2rem;
  border-radius: 0.75rem;
  background: #fff;
}

.kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b4c8c;
}

h1 { margin: 0.5rem 0 0; font-size: 1.5rem; line-height: 1.2; }
.meta { margin: 0.5rem 0 0; font-size: 0.875rem; color: #4b5563; }
.err { margin: 1rem 0 0; font-size: 0.875rem; font-weight: 600; color: #b91c1c; }

form { margin-top: 1.5rem; }
label { display: block; margin-top: 1rem; font-size: 0.875rem; font-weight: 600; }

input[type="text"],
input[type="password"] {
  width: 100%;
  margin-top: 0.375rem;
  padding: 0.75rem;
  border: 1px solid #9ca3af;
  border-radius: 0.5rem;
  font: inherit;
  color: inherit;
  background: #fff;
}

input[readonly] { background: #f3f4f6; color: #4b5563; }

button {
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.875rem;
  border: 0;
  border-radius: 9999px;
  background: #0b4c8c;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button:hover { background: #093d70; }

input:focus-visible,
button:focus-visible { outline: 3px solid #0b4c8c; outline-offset: 2px; }
