/* Anmeldung und Einladung. Eigene Datei, weil beide Seiten ohne Anmeldung
   erreichbar sein muessen und deshalb nichts aus dem geschuetzten Bereich
   nachladen duerfen. */

:root {
  --bg: #0d0d0d;
  --panel: #1a1a1a;
  --line: #2a2a2a;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --amber: #f2c200;
  --bad: #ff5c5c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.karte {
  width: 100%;
  max-width: 380px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  flex: none;
  background: repeating-linear-gradient(45deg, var(--amber), var(--amber) 4px, #111 4px, #111 7px);
}
.brand strong { display: block; font-size: 15px; }
.brand small { color: var(--muted); font-size: 12px; }

h1 { margin: 0 0 4px; font-size: 20px; }
.unterzeile { margin: 0 0 20px; color: var(--muted); font-size: 13px; }

label {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

input {
  display: block;
  width: 100%;
  margin-top: 6px;
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
}
input:focus { outline: 2px solid var(--amber); outline-offset: 1px; }

button {
  width: 100%;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  padding: 12px;
  margin-top: 6px;
  background: var(--amber);
  color: #111;
}
button:hover { filter: brightness(1.08); }
button:disabled { opacity: .6; cursor: default; filter: none; }

.meldung {
  margin-top: 16px;
  border-radius: 6px;
  padding: 11px 12px;
  font-size: 13px;
  background: #2a1414;
  border: 1px solid var(--bad);
  color: #ffc9c9;
}
.meldung[hidden] { display: none; }

.hinweis {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
