/* sign-in, two-factor and password pages (allauth templates) */
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px;
}
.auth { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 20px; height: 24px; border-radius: 4px; background: var(--text);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5px;
}
.brand-mark::after { content: ""; width: 10px; height: 2px; border-radius: 1px; background: var(--sidebar); }
.brand span { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: 25px; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.lede { color: var(--text-2); margin: -12px 0 0; }
form { display: flex; flex-direction: column; gap: 12px; }
label { font-size: 12px; font-weight: 600; color: var(--text-3); display: flex; flex-direction: column; gap: 6px; }
input[type=text], input[type=password], input[type=email], input[type=code], input:not([type]) {
  height: 44px; padding: 0 14px; border-radius: 10px; border: 0;
  background: var(--surface-2); color: var(--text); font: 15px var(--font);
  box-shadow: inset 0 0 0 1px var(--line-strong); outline: none;
}
input:focus { box-shadow: inset 0 0 0 1px oklch(0.94 0.003 265 / 0.3); }
input[name=code] { font-family: var(--mono); font-size: 20px; letter-spacing: 0.2em; text-align: center; }
button, .button {
  height: 44px; border: 0; border-radius: 10px; font: 600 14.5px var(--font); cursor: pointer;
  background: var(--text); color: var(--on-text); text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
}
button.secondary, .button.secondary { background: var(--secondary); color: var(--text); font-weight: 500; }
.error {
  border-radius: 10px; padding: 10px 12px; font-size: 13.5px;
  background: var(--over-bg); box-shadow: inset 0 0 0 1px var(--over-ring); color: var(--over);
}
.note { color: var(--text-3); font-size: 13px; }
a { color: var(--text-2); }
ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
