/* The log-in box: one small card in the middle of the screen, on the same
   black the header wears, so the first thing anyone sees is the site. */
.login-body { display: flex; align-items: center; justify-content: center;
  background: #1e1d1c; height: 100vh; overflow: hidden; }
/* The photo, black over it, at a tenth of its strength. Its own layer
   rather than a background on the body, so the opacity reaches the
   picture and leaves the card and its shadow alone. */
.login-bg { position: fixed; inset: 0; z-index: 0; background: #1e1d1c; }
.login-bg::before { content: ''; position: absolute; inset: 0;
  background: url('/photos/login-background-photo.webp') center / cover no-repeat;
  opacity: 0.10; }
.login-card { position: relative; z-index: 1;
  width: 340px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,0.5); }
.login-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  background: var(--black); border-bottom: 3px solid var(--red); }
.login-mark { height: 30px; width: auto; }
.login-name { font-family: var(--f-display); font-weight: 900; font-size: 19px; color: #fff;
  letter-spacing: 0.02em; white-space: nowrap; }
.login-form { display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 18px; }
.login-title { font-family: var(--f-black); font-weight: 700; font-size: 10px;
  letter-spacing: 0.14em; color: var(--black); }
.login-note { font-family: var(--f-cond); font-size: 13px; color: #6f6a63; line-height: 1.35; }
.login-field { display: flex; flex-direction: column; gap: 4px; }
.login-field label { font-family: var(--f-black); font-weight: 700; font-size: 8px;
  letter-spacing: 0.12em; color: #8d8880; }
.login-field input { height: 34px; padding: 0 10px; border: 1px solid #c9c5bd;
  font-family: var(--f-cond); font-size: 15px; color: var(--black); }
.login-field input:focus { outline: 2px solid var(--black); outline-offset: -1px; }
.login-field input.code { font-family: var(--f-xblack); font-weight: 900; font-size: 22px;
  letter-spacing: 0.4em; text-align: center; }
.login-btn { height: 36px; border: none; background: var(--red); color: #fff;
  font-family: var(--f-black); font-weight: 900; font-size: 11px; letter-spacing: 0.14em; }
.login-btn:disabled { opacity: 0.6; }
.login-link { align-self: flex-start; border: none; background: none; padding: 0;
  font-family: var(--f-black); font-weight: 700; font-size: 8.5px; letter-spacing: 0.1em;
  color: #8d8880; cursor: pointer; }
.login-link:hover { color: var(--red); }
.login-error { margin: 0 20px 18px; padding: 8px 10px; background: #fbeaec; color: var(--red);
  font-family: var(--f-cond); font-size: 13px; }

/* The version, bottom right, quiet until it is looked for. Clicking it
   opens what changed, which is the only place anyone would go looking. */
.login-version { position: fixed; right: 14px; bottom: 12px; z-index: 2;
  border: none; background: none; padding: 4px 6px; cursor: pointer;
  font-family: var(--f-black); font-weight: 700; font-size: 9px;
  letter-spacing: 0.12em; color: #6f6a63; }
.login-version:hover { color: #c9c5bd; }
.login-notes { position: fixed; right: 14px; bottom: 36px; z-index: 2;
  width: 330px; max-height: 60vh; overflow-y: auto; padding: 14px 16px;
  background: #2c2a29; border: 1px solid #57534d;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55); }
.login-notes h4 { margin: 0 0 2px; font-family: var(--f-black); font-weight: 900;
  font-size: 10px; letter-spacing: 0.12em; color: #fff; }
.login-notes .when { display: block; margin-bottom: 6px; font-family: var(--f-black);
  font-weight: 700; font-size: 8px; letter-spacing: 0.12em; color: #8d8880; }
.login-notes ul { margin: 0 0 14px; padding-left: 15px; }
.login-notes li { font-family: var(--f-cond); font-size: 12.5px; line-height: 1.45;
  color: #ded9d0; margin-bottom: 2px; }
.login-notes > div:last-child ul { margin-bottom: 0; }
