/* Login page of the monitor (Jakub 31. 10. 2026): a real form, so password managers fill it in. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/monitor-static/monitor2/fonts/montserrat-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/monitor-static/monitor2/fonts/montserrat-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0a0b;
  --bg-raise: #111113;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.64);
  --faint: rgba(255, 255, 255, 0.40);
  --pink: #ec3064;
  --pink-text: #ff5c87;
  --pink-glow: rgba(236, 48, 100, 0.45);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f5f5;
    --bg-raise: #ffffff;
    --line: rgba(0, 0, 0, 0.09);
    --line-strong: rgba(0, 0, 0, 0.20);
    --text: #111111;
    --muted: rgba(0, 0, 0, 0.62);
    --faint: rgba(0, 0, 0, 0.42);
    --pink: #ca1345;
    --pink-text: #ca1345;
    --pink-glow: rgba(202, 19, 69, 0.25);
    color-scheme: light;
  }
  .brand img { filter: invert(1); }   /* the JK mark is white */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(60% 50% at 50% 0%, var(--pink-glow), transparent 70%), var(--bg);
  color: var(--text); font-family: Montserrat, Arial, sans-serif;
}
.login {
  width: min(380px, 100%); padding: 32px 30px 28px;
  border: 1px solid var(--line-strong); border-radius: 22px; background: var(--bg-raise);
}
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.brand img { width: 40px; height: 40px; }
.brand strong { display: block; font-size: 20px; }
.brand span { color: var(--muted); font-size: 13px; }
label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
input {
  width: 100%; margin: 0 0 18px; padding: 12px 14px; font: inherit; font-size: 15px;
  color: var(--text); background: transparent; border: 1px solid var(--line-strong); border-radius: 12px;
}
input:focus { outline: none; border-color: var(--pink); }
button {
  width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 15px; font-weight: 700;
  color: #ffffff; background: var(--pink); border: 0; border-radius: 12px; cursor: pointer;
}
button:hover { filter: brightness(1.08); }
.error { margin: 0 0 18px; padding: 10px 12px; border: 1px solid var(--pink); border-radius: 10px; color: var(--pink-text); font-size: 13px; }
.hint { margin: 18px 0 0; color: var(--faint); font-size: 12px; text-align: center; }

/* Setup of the code for the public address (Jakub 6. 11. 2026). */
.setup p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.setup .button { display: block; text-align: center; text-decoration: none; margin: 18px 0; padding: 12px 16px;
  border-radius: 12px; background: var(--pink); color: #fff; font-weight: 700; }
.setup .qr { background: #fff; border-radius: 14px; padding: 14px; margin: 6px auto 12px; width: min(240px, 100%); }
.setup .qr svg { display: block; width: 100%; height: auto; }
.setup code { font-size: 13px; letter-spacing: .04em; color: var(--text); }

