/* Anmeldung im Brezzels Design wie die Swipe-App: heller Grund, Mint für die Aktion. */
@font-face { font-family: "Inter"; font-weight: 400 600; font-display: swap; src: url("fonts/inter.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }

:root {
  --mint: #3df3a9;
  --mint-soft: #eafdf4;
  --mint-deep: #0e9b6c;
  --denim: #181d27;
  --muted: #414651;
  --bg: #ffffff;
  --bg-soft: #f6f8f8;
  --line: #e7eaea;
  --red: #f04438;
  --red-soft: #fdecea;
  --head: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }

body {
  background: var(--bg-soft);
  color: var(--denim);
  font: 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  padding: env(safe-area-inset-top) 16px env(safe-area-inset-bottom);
}

.wrap { max-width: 400px; margin: 0 auto; padding: 56px 0 32px; display: grid; gap: 28px; justify-items: center; }
.logo { height: 28px; width: auto; }

.card {
  width: 100%; display: grid; gap: 6px; padding: 28px 22px 22px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 26px;
  box-shadow: 0 18px 48px rgba(24, 29, 39, 0.1);
}
h1 { margin: 0; font: 600 24px/1.2 var(--head); letter-spacing: -0.02em; }
.sub { margin: 4px 0 14px; color: var(--muted); font-size: 14px; }

label { font-size: 13px; font-weight: 600; margin-top: 8px; }
input {
  width: 100%; font: inherit; font-size: 16px; color: var(--denim);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg);
}
input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }

.err { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--red-soft); color: var(--red); font-size: 13px; }

button {
  margin-top: 16px; min-height: 50px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--mint); color: var(--denim); font: 600 16px var(--head);
  box-shadow: 0 4px 14px rgba(61, 243, 169, 0.35);
}
button:disabled { opacity: 0.6; cursor: default; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--mint-deep); outline-offset: 3px; }

.hint { margin: 12px 0 0; text-align: center; font-size: 12px; color: var(--muted); }

/* Zweitrangige Aktionen wie "Passwort vergessen?": Text statt Knopf. */
button.link {
  margin-top: 6px; min-height: 36px; background: none; box-shadow: none; color: var(--mint-deep);
  font: 600 14px var(--sans); text-decoration: underline; text-underline-offset: 3px;
}
.ok { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--mint-soft); color: var(--denim); font-size: 13px; }
.who { margin: 0 0 6px; font-size: 14px; }
