/* HDEV Login — the login page's own minimal stylesheet (Fix Pass 1, 1.1).
   Only what /HDEV/login needs: the two fonts it actually renders with
   (IBM Plex Sans body text, JetBrains Mono for the small labels/subtitle)
   and the same design tokens/base element rules hdev.css defines, so the
   login page still looks like the rest of HDEV without pulling in the
   full shared stylesheet (or fonts login never displays) unauthenticated. */

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/HDEV/fonts/ibm-plex-sans/IBMPlexSans-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/HDEV/fonts/ibm-plex-sans/IBMPlexSans-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/HDEV/fonts/jetbrains-mono/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --ground: #0a0e14;
  --panel: #0f151d;
  --border: #1b2531;
  --text: #d3dbe5;
  --label: #7a8ba3;
  --heading: #f2f5f9;
  --accent: #f0a53a;
  --critical: #ff8b82;

  --body: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.5;
}

h1 { color: var(--heading); font-weight: 600; margin: 0; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

button {
  font: inherit; cursor: pointer; border-radius: 6px; border: 1px solid var(--border);
  background: var(--panel); color: var(--text); padding: .5rem .9rem; min-height: 36px;
}
button:hover { border-color: var(--accent); }
button:disabled { opacity: .5; cursor: default; }
button.primary { background: var(--accent); color: #1a1408; border-color: var(--accent); font-weight: 600; }

label { display: block; font-size: .8rem; color: var(--label); margin-bottom: .3rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .03em; }
input {
  width: 100%; font: inherit; color: var(--text); background: var(--ground);
  border: 1px solid var(--border); border-radius: 6px; padding: .5rem .6rem; min-height: 36px;
}
