/* Shared sign-in page (login.bikt.at) in the look of the homepage www.bikt.at:
   dark background, cyan as the one accent (clickable), condensed headline. */

/* League Gothic (The League of Moveable Type, SIL Open Font License 1.1 – fonts/OFL.md), same file
   as on the homepage, served from here (no font service). */
@font-face {
  font-family: 'League Gothic';
  src: url('fonts/league-gothic.woff') format('woff');
  font-display: swap;
}

:root {
  --bg: #0b0d10;
  --surface: #232323;
  --field: #16181c;
  --line: #3a3a3c;
  --text: #f5f5f7;
  --muted: #a1a1a6; /* 6.6:1 on --surface */
  --accent: #77dff1; /* 11:1 on --bg */
  --accent-text: #0b0d10;
  --danger: #ff6b6b;
  --headline: 'League Gothic', 'Oswald', 'Bebas Neue', 'Arial Narrow', 'Roboto Condensed', Impact, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background: radial-gradient(1200px 600px at 50% -10%, #1b2128 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 420px;
  margin: 0 auto;
  padding: max(48px, env(safe-area-inset-top)) 16px 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100vh;
}

.logo { align-self: center; margin-bottom: 32px; border-radius: 8px; }
.logo img { display: block; width: 220px; height: auto; }

.card {
  background: var(--surface);
  border-radius: 12px;
  padding: 28px 24px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

h1 {
  margin: 0 0 8px;
  font-family: var(--headline);
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lead { margin: 0 0 20px; color: var(--muted); font-size: 15px; }

label { display: block; margin: 16px 0 6px; font-size: 14px; font-weight: 600; }

input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--field);
  color: var(--text);
  font: inherit;
}
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(119, 223, 241, 0.25); }

button {
  width: 100%;
  min-height: 48px;
  margin-top: 24px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}
button:hover:not(:disabled) { filter: brightness(1.08); }
button:disabled { opacity: 0.7; cursor: progress; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.error {
  margin: 0 0 4px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 107, 107, 0.12);
  color: var(--danger);
  font-size: 15px;
}

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

.more, .foot { margin: 20px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.foot { margin-top: auto; padding-top: 32px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.more a, .foot a { display: inline-block; padding: 10px 2px; }
