/* board.nowa.dk branding (card https://trello.com/c/d3SuqY2w). Linked from our copy of
   Vikunja's index.html by installers/vikunja/live-index.sh, after Vikunja's own CSS.
   The header/login logo itself is Vikunja's custom-logo hook (window.CUSTOM_LOGO_URL,
   set in that same copy); this file covers what the hook does not reach.
   Proof: tests/test-vikunja-branding.py (headless Chrome, light + dark). */

/* "Powered by Vikunja" (component PoweredByLink: sidebar foot, login page) */
a.menu-bottom-link[href*="utm_source=powered_by"] { display: none !important; }

/* login / register / password-reset pages (component NoAuthWrapper) */
.no-auth-wrapper { background-image: none !important; }            /* the llama, bottom left */
.no-auth-wrapper .noauth-container .image {                        /* the vicuna photo */
  background: linear-gradient(135deg, #0f62fe 0%, #0043ce 100%) !important;
}
.no-auth-wrapper .noauth-container .image::before { display: none !important; }
/* "Using Vikunja installation at board.nowa.dk / change": the API address is fixed here.
   Only the info line; the form itself (.api-config with the URL field) still shows on
   the "cannot reach the API" screen. */
.api-config .api-url-info { display: none !important; }

/* the start-up loading screen draws the llama as an inline <svg class="logo">; paint the
   nowa.dk mark in its box instead */
.vikunja-loading svg.logo > * { display: none !important; }
.vikunja-loading svg.logo { background: url("/live/nowa-icon.svg") center / contain no-repeat; }
