/* ============================================================
   The Villages One-Time Secret — custom UI overrides
   Injected into every page by the nginx proxy sidecar.
   ============================================================ */

/* 1) Round + enlarge the masthead logo ---------------------- */
header img {
  border-radius: 10px !important;
  overflow: hidden !important;
  height: 56px !important;   /* was ~40px; bump up a little */
  width: auto !important;
}

/* 2) Push the logo to the FAR LEFT --------------------------- */
/* The masthead is a centered flex container; force it left and
   let it span the full width. If the logo doesn't move, grab the
   exact container selector (see notes) and paste it here too.    */
header > div,
header .container,
header nav {
  justify-content: flex-start !important;
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 1.25rem !important;
}

/* 3) Hide the "Send feedback" button in the footer ----------- */
/* Feedback always points at /feedback, so this is a safe match. */
footer a[href*="feedback"],
footer button[aria-label*="feedback" i],
footer [class*="feedback" i] {
  display: none !important;
}

/* 4) Hide the version string in the footer ------------------- */
/* OTS ships no stable class for the "v0.25.8 (eddb79c)" text, so
   these candidate selectors cover the common builds. The version
   is usually a link to the GitHub release or a small text node
   in the footer's left slot.                                     */
footer a[href*="github.com"],
footer a[href*="/releases"],
footer [class*="version" i],
footer [data-testid*="version" i],
footer [aria-label*="version" i] {
  display: none !important;
}
