/* Tela de login do acesso remoto. Autossuficiente: o /style.css exige sessão, então os tokens usados vêm copiados dele. */
:root {
  color-scheme: light;
  font-family: "Geist", "Inter", "Segoe UI", system-ui, sans-serif;
  color: #192538;
  background: #f3f6fc;
  font-synthesis: none;
  --surface: #fff;
  --ink: #192538;
  --muted: #526177;
  --line: #d7deea;
  --accent: #214dba;
  --accent-hover: #1b3f9c;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; font-size: 15px; line-height: 1.45; }
button, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3872e5; outline-offset: 3px; }

.login { width: min(100%, 420px); min-height: 100dvh; margin: 0 auto; padding: 32px 16px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 10px; background: #182946; color: #d9eeff; }
.brand-icon svg { width: 26px; height: 26px; }
.brand strong { font-size: 20px; letter-spacing: -.038em; }
h1 { margin: 6px 0 0; font-size: 32px; line-height: 1.1; letter-spacing: -.045em; }
.note { margin: 0; color: var(--muted); }
.note:empty { display: none; }
.card { display: grid; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 1px 2px rgb(33 55 91 / 6%); }
label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
input { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #c5d1e3; border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 16px; }
.error { margin: 0; padding: 10px 12px; border: 1px solid #e6c9bd; border-radius: 8px; background: #fbede7; color: #742f24; font-size: 14px; }
.button { min-height: 46px; padding: 8px 14px; border: 1px solid transparent; border-radius: 8px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 650; cursor: pointer; }
.button:hover { background: var(--accent-hover); }
.button:disabled { opacity: .55; cursor: wait; }
