/**
 * login.css — estilos da página de login (login.html).
 *
 * Reutiliza a paleta de scan.css informalmente (mesmos tons), mas fica
 * independente para que login.html não dependa de mais nada carregar.
 */

:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  background: #0e0f10;
  color: #e9e9ea;
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  display: flex;
  align-items: center;
  justify-content: center;
}

form {
  width: 100%;
  max-width: 320px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

h1 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

input {
  background: #17181a;
  border: 1px solid #2a2c2f;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #e9e9ea;
}

button {
  background: #4fd1a5;
  color: #06110d;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: default; }

#err {
  font-size: 12px;
  color: #e2604f;
  min-height: 16px;
}