/* The sign-in screen keeps its terminal palette independent of the wiki theme. */
.login-page {
  --accent: #85e0b0;
  --login-text: #edf3ef;
  --login-muted: #94a39a;
  color-scheme: dark;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 48px 24px;
  background: #101412;
  color: var(--login-text);
}

.login { width: min(100%, 352px); }

.login-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--accent);
  font: 400 10px/1.5 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.login-eyebrow::before { content: ''; width: 4px; height: 4px; background: currentColor; }
.login-heading h1 { margin: 0; font-size: 40px; font-weight: 500; line-height: 1.15; letter-spacing: -.055em; }
.login-cursor { margin-left: 3px; color: var(--accent); font-weight: 400; }
.login-description { margin: 14px 0 0; color: var(--login-muted); font-size: 14px; line-height: 1.7; }

.login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  margin-top: 30px;
  padding: 13px 18px;
  border: 1px solid #e2ede5;
  border-radius: 7px;
  background: #e2ede5;
  color: #14251b;
  font-size: 13px;
  font-weight: 600;
  line-height: 22px;
  transition: background 160ms ease, border-color 160ms ease;
}

.login-button svg { flex: none; }
.login-button-arrow { margin-left: auto; }
.login-button span { flex: 1; }
.login-button:hover { background: #c5efd7; border-color: #c5efd7; color: #14251b; text-decoration: none; }
.login-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.login-button:active { background: #afe5c7; }

.login-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 18px 0 0;
  color: var(--login-muted);
  font-size: 11px;
  line-height: 1.6;
}

.login-note svg { flex: none; }
.login-unavailable { margin: 30px 0 0; padding-top: 20px; border-top: 1px solid #2c3830; color: #e8bc73; font-size: 13px; line-height: 1.8; }

@media (max-width: 400px), (max-height: 680px) {
  .login-page { padding-block: 32px; }
  .login-heading h1 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .login-button { transition: none; }
}
