/* Anmeldeseite: weiss, mittig ein Feld, sonst nichts. Systemschrift, mindestens 16 px, damit das iPhone nicht zoomt. */

:root {
  color-scheme: light;
  --accent: #b23a1e;
  --ink: #241713;
  --line: #c9d1e3;
  --muted: #6b5b52;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.login {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 16px max(16px, env(safe-area-inset-right)) 16px max(16px, env(safe-area-inset-left));
}

form {
  width: 100%;
  max-width: 320px;
}

input {
  display: block;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  -webkit-appearance: none;
  appearance: none;
}

input::placeholder {
  color: var(--muted);
  opacity: 1;
}

input:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

/* Hinweise nur über :target, ohne JavaScript. Sie hängen unter dem Feld und verschieben es nicht. */
.hint {
  display: none;
  position: absolute;
  top: calc(50% + 26px + 14px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.hint:target {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
