/* AG-Tokio / Two.Zero — web-vault branding overrides.
   Served same-origin so it satisfies the web-vault CSP (style-src 'self'). */

/* Pre-boot loading splash logo (the .new-logo-themed <img> in the app shell). */
.new-logo-themed { content: url("/branding/two-zero-logo.png") !important; }

/* Login / anonymous pages: the landing header logo is an INLINE <svg> baked
   into the JS bundle (title "Vaultwarden"), so it can't be overridden as a
   file. Hide it and paint the Two.Zero wordmark on its link instead. */
bit-landing-header bit-svg,
bit-landing-header a svg { display: none !important; }
bit-landing-header a {
  display: inline-block !important;
  width: 190px !important;
  height: 44px !important;
  padding: 0 !important;
  margin: 18px 0 !important;
  background: url("/branding/two-zero-logo.png") left center / contain no-repeat !important;
}

/* Logged-in left-nav product logo: also an inline <svg> ("Vaultwarden Password
   Manager", viewBox 0 0 800 200). Hide it and paint the Two.Zero wordmark on
   the dark nav (the white wordmark suits the dark sidebar). */
bit-nav-logo a svg { display: none !important; }
bit-nav-logo bit-svg {
  display: block !important;
  width: 100% !important;
  height: 46px !important;
  background: url("/branding/two-zero-logo.png") center / contain no-repeat !important;
}
