/* sitewide.css, the top-right login widget and the "go to the wall" banner.
   Kept separate from wall.css/themes since these appear on the homepage too,
   independent of which wall theme is active. */

#global-auth {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  font-family: "Ubuntu Mono", monospace;
  font-size: 0.78rem;
  text-align: right;
}

.global-auth-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 7px 12px;
  color: #ddd;
}

.global-auth-bar button {
  font-family: inherit;
  font-size: 0.75rem;
  background: #262626;
  color: #eee;
  border: 1px solid #444;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.global-auth-bar button:hover { background: #333; }

.global-auth-popover {
  display: none;
  flex-direction: column;
  gap: 8px;
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 12px;
  margin-top: 8px;
  width: 200px;
  text-align: left;
}
.global-auth-popover.open { display: flex; }
.global-auth-popover input {
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  background: #111;
  border: 1px solid #333;
  border-radius: 6px;
  color: #eee;
  padding: 7px 9px;
}
.global-auth-popover button {
  font-family: "Ubuntu Mono", monospace;
  font-size: 0.78rem;
  background: #333;
  color: #fff;
  border: 1px solid #555;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.global-auth-popover button:hover { background: #444; }
.global-auth-err { color: #e69b9b; font-size: 0.72rem; }

@media (max-width: 700px) {
  #global-auth { top: 10px; right: 10px; font-size: 0.7rem; }
  .global-auth-popover { width: 170px; }
}

/* ---- wall CTA banner (homepage) ---- */
.wall-cta {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 10px auto 0;
  padding: 26px 24px;
  box-sizing: border-box;
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-family: "Ubuntu Mono", monospace;
  transition: transform 0.1s ease, background 0.1s ease;
}
.wall-cta:hover { background: #222; transform: translateY(-2px); }
.wall-cta .wall-cta-title { font-family: "VT323", monospace; font-size: 1.8rem; letter-spacing: 0.04em; margin-bottom: 6px; }
.wall-cta .wall-cta-sub { font-size: 0.85rem; color: #bbb; }
.wall-cta .wall-cta-arrow { display: inline-block; margin-top: 10px; font-size: 0.8rem; color: #4a9eff; }
