/* The sign-in and sign-up page (login.html), on top of terminal.css's colours. */
body.login {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  min-height: 100%;
  padding: 24px 16px;
  background: radial-gradient(1200px 600px at 50% -10%, #16213a, var(--bg));
}
.lbox {
  width: 100%;
  max-width: 400px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.lbrand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
  text-decoration: none !important;
}
.ltabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 18px;
}
.ltabs button {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 7px;
  border-radius: 6px;
  font-weight: 600;
}
.ltabs button.on {
  background: var(--bar-2);
  color: var(--white);
}
.lform {
  display: grid;
  gap: 12px;
}
.lform[hidden] {
  display: none;
}
.lform label {
  display: grid;
  gap: 5px;
  color: var(--amber-2);
  font-size: 12px;
  font-weight: 600;
}
.lform label small {
  color: var(--muted);
  font-weight: 400;
}
.lform input {
  background: var(--input);
  border: 1px solid var(--line-2);
  color: var(--white);
  font: 15px var(--sans);
  padding: 9px 11px;
  border-radius: 7px;
  outline: none;
}
.lform input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.lform .hp {
  position: absolute;
  left: -10000px;
}
.lgo {
  margin-top: 4px;
  background: var(--go);
  color: #fff;
  border: 0;
  padding: 10px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 14px;
}
.lgo:hover {
  background: #2f6fe0;
}
.lgo:disabled {
  opacity: 0.6;
  cursor: wait;
}
.lnote {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.lmsg {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 7px;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--amber);
  background: var(--bar);
  color: var(--white);
  font-size: 13px;
}
.lmsg.err {
  border-left-color: var(--down);
}
.lback {
  margin: 18px 0 0;
  text-align: center;
  font-size: 12px;
}
@media (max-width: 760px) {
  .lform input {
    font-size: 16px;
  }
}
/* the optional consent to news e-mails: unticked unless the visitor ticks it */
.lform .lcheck {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: start;
  font-weight: 400;
  color: var(--amber-2);
  line-height: 1.4;
}
.lform .lcheck input {
  margin: 2px 0 0;
  width: 16px;
  height: 16px;
  accent-color: var(--go);
  padding: 0;
  box-shadow: none;
}
/* "Continue with Google": white, as Google's sign-in guidelines ask, then "or with e-mail" */
.gbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  border-radius: 7px;
  background: #fff;
  color: #1f1f1f;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid #dadce0;
  text-decoration: none !important;
}
.gbtn:hover {
  background: #f2f5fb;
}
.lor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 12px;
}
.lor::before,
.lor::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-2);
}
/* /check-email */
.lsent {
  text-align: center;
  color: var(--amber-2);
}
.lsent[hidden],
#forms[hidden],
#gbox[hidden] {
  display: none;
}
.lsent-icon {
  width: 56px;
  height: 56px;
  margin: 4px auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #7c5cff);
}
.lsent h1 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 20px;
}
.lsent p {
  margin: 0 0 12px;
  line-height: 1.5;
}
.lsent b {
  color: var(--white);
  word-break: break-all;
}
.lwait {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  text-align: left;
  padding: 10px 12px;
  border-radius: 7px;
  background: var(--bar);
  border: 1px solid var(--line-2);
  font-size: 12.5px;
}
.lwait .dot {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--amber);
  animation: lpulse 1.4s ease-in-out infinite;
}
@keyframes lpulse {
  50% {
    opacity: 0.25;
    transform: scale(0.7);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lwait .dot {
    animation: none;
  }
}
/* the privacy policy and terms (privacy.html, terms.html) */
.lbox.ldoc {
  max-width: 760px;
  padding: 30px 34px 22px;
  line-height: 1.6;
  color: var(--amber-2);
}
.ldoc h1 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 24px;
}
.ldoc h2 {
  margin: 24px 0 6px;
  color: var(--white);
  font-size: 15px;
}
.ldoc p,
.ldoc li {
  font-size: 13.5px;
}
.ldoc ul {
  padding-left: 20px;
  margin: 6px 0;
}
.ldoc li {
  margin: 4px 0;
}
.ldoc b {
  color: var(--white);
}
@media (max-width: 760px) {
  .lbox.ldoc {
    padding: 22px 18px 16px;
  }
}
