/* UGIT global brand — loaded on every page via nginx sub_filter <link>.
   Keeps structural branding (sharp corners, navbar lockup + theme variant)
   independent of which color theme is active. Color variables live in the
   theme files (theme-ugit.css for dark). */

/* Sharp corners everywhere (brand: border-radius 0). */
*, *::before, *::after { border-radius: 0 !important; }

/* Navbar logo = full U.CASH lockup (wide). Keep aspect ratio, theme-aware variant. */
#navbar-logo { display: inline-flex; align-items: center; }
#navbar-logo img {
	height: 30px !important;
	width: auto !important;
}
/* Light theme: the dark lockup (white wordmark) is invisible on a light nav -> swap to the light lockup. */
html[data-theme="forgejo-light"] #navbar-logo img { display: none !important; }
html[data-theme="forgejo-light"] #navbar-logo {
	display: inline-block !important;
	width: 150px;
	height: 32px;
	background: url("/assets/img/logo-light.svg") no-repeat left center / contain;
}

/* Navbar: no background, no bottom border (sits flush, blends with the page). */
#navbar {
	background: transparent !important;
	border-bottom: none !important;
}
