/* Sign-in page: DilloLex design system (light base, ink text, blue for the primary action only).
   Fonts are served from /fonts/. A plain file because the portal CSP allows no inline script. */
@font-face { font-family: 'Concourse'; font-weight: 400; font-display: swap; src: url('/fonts/concourse-400.woff2') format('woff2'); }
@font-face { font-family: 'Concourse'; font-weight: 500; font-display: swap; src: url('/fonts/concourse-500.woff2') format('woff2'); }
@font-face { font-family: 'Concourse'; font-weight: 600; font-display: swap; src: url('/fonts/concourse-600.woff2') format('woff2'); }
@font-face { font-family: 'Equity'; font-weight: 400; font-display: swap; src: url('/fonts/equity-regular.woff2') format('woff2'); }

:root {
  --bg: #FBFCFD; --ink: #121826; --muted: #5A6372; --line: #D5DBE3;
  --blue: #1F4FA8; --blue-hover: #183F87; --error: #B42318;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  font-family: 'Concourse', 'Inter', system-ui, sans-serif; font-size: 16px; line-height: 1.5;
}
main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 16px 24px; }
.col { width: 100%; max-width: 380px; text-align: center; }
.brand { display: inline-block; margin-bottom: 28px; }
.brand img { display: block; height: 48px; width: auto; }
h1 { font-family: 'Equity', Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 2rem; line-height: 1.2; margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 32px; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
.field { text-align: left; margin-bottom: 16px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input[type=email] {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px;
}
input[type=email]::placeholder { color: #8A93A1; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn {
  display: block; width: 100%; font: inherit; font-weight: 600; cursor: pointer;
  border-radius: 8px; padding: 13px 20px; border: 1px solid transparent;
}
.btn:disabled { opacity: .6; cursor: default; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover:not(:disabled) { background: var(--blue-hover); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line); margin-top: 12px; }
.btn--secondary:hover:not(:disabled) { background: #F2F4F7; }
.btn--text { display: inline; width: auto; padding: 0; background: none; border: 0; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.alert { text-align: left; color: var(--error); border-left: 3px solid var(--error); padding: 4px 0 4px 12px; margin: 0 0 20px; font-size: .95rem; }
.note { margin: 28px 0 0; font-size: .9rem; color: var(--muted); }
.success p { color: var(--muted); }
.success strong { color: var(--ink); }
footer { padding: 24px 16px 32px; text-align: center; font-size: .85rem; color: var(--muted); }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }
[hidden] { display: none !important; }
