/* Portainer in Lipton's look (brand kit, owner 2026-11-27). Sign-in like YP's and Metabase's: YP's tea photo on the
   left half, the red Lipton logo, the form on white, an amber Sign in with ink text. Inside: the logo comes from
   Portainer's own "custom logo" setting, centred over the menu; the loading screen carries the logo too. */
login-view {
	display: block;
	position: relative;
	background: #FFFFFF;
}
login-view img[alt="Portainer"] {
	content: url("/lipton-brand/lipton-logo-red.png");
	width: auto !important;
	height: 72px !important;
}
/* Portainer sizes the form at 27% of the page; in the right half that cuts the fields, so a fixed width; no card
   frame, like the Metabase sign-in */
login-view div[class*="w-[27%]"] {
	width: 380px !important;
	max-width: 380px !important;
}
login-view section:has(form),
login-view div:has(form) {
	box-shadow: none !important;
	border-color: transparent !important;
}
login-view .btn-primary,
login-view button[type="submit"] {
	background-color: #F5B323 !important;
	border-color: #F5B323 !important;
	color: #3C3C3B !important;
}
@media (min-width: 900px) {
	login-view::before {
		content: "";
		position: absolute;
		inset: 0 50% 0 0;
		background: url("/lipton-brand/login-photo.jpg") center / cover no-repeat;
	}
	login-view > div {
		width: 50% !important;
		margin-inline-start: 50% !important;
	}
}

/* Inside: the Lipton logo (Portainer's custom-logo setting) and the "Powered by" line centred over the menu; the
   logo's box was only as wide as the logo, at the left of its row (owner, 2026-11-27: "need center"). */
div:has(> div > [data-cy="portainerSidebar-homeImage"]) {
	justify-content: center !important;
	text-align: center !important;
}
div:has(> [data-cy="portainerSidebar-homeImage"]) {
	width: 100% !important;
}
[data-cy="portainerSidebar-homeImage"] img {
	max-height: 56px !important;
	width: auto !important;
}

/* The loading screen while Portainer starts: the red Lipton logo over Portainer's spinner, the spinner in the kit's
   amber (owner, 2026-11-27: "also splash screen"). */
.page-wrapper .flex.flex-col.items-center::before {
	content: "";
	display: block;
	width: 220px;
	height: 110px;
	margin: 0 0 32px;
	background: url("/lipton-brand/lipton-logo-red.png") center / contain no-repeat;
}
.page-wrapper .sk-fold-cube::before {
	background-color: #F5B323 !important;
}
.page-wrapper .mt-8 {
	color: #3C3C3B !important;
}
/* Portainer's page-change progress bar (top) and its small spinner (top right): amber, not Portainer blue */
#nprogress .bar {
	background: #F5B323 !important;
}
#nprogress .peg {
	box-shadow: #F5B323 1px 0 6px 1px, #F5B323 0 0 4px 0 !important;
}
#nprogress .spinner-icon {
	border-top-color: #F5B323 !important;
	border-left-color: #F5B323 !important;
}

/* Portainer's top bar in the kit's one family (owner, 2026-11-27: "the nav bar height is not as we agreed"): 48 px,
   near-black, white text and icons, 32 px controls with 8 px corners, as Metabase's and Studio's bars. It is the page
   header that holds #loadingbar-placeholder, the same on every Portainer screen. The side menu takes the same
   near-black, so two darks do not meet. */
div.row:has(> #loadingbar-placeholder) {
	min-height: 48px !important;
	height: 48px;
	background-color: #232322 !important;
	border-bottom-color: #232322 !important;
}
div.row:has(> #loadingbar-placeholder) {
	position: relative;
}
div.row:has(> #loadingbar-placeholder) > #loadingbar-placeholder {  /* it took 15 px above the bar's content */
	position: absolute;
	inset: 0 0 auto 0;
}
div.row:has(> #loadingbar-placeholder) > .col-xs-12 {
	height: 48px;
	display: flex !important;
	align-items: center;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
div.row:has(> #loadingbar-placeholder) > .col-xs-12 > div {
	width: 100%;
}
/* the round icons (Metabot, notifications, help; links or boxes): the same glass square as the bar's buttons; a
   button wrapped round one (the bell) drops its own glass so the icon has one frame */
div.row:has(> #loadingbar-placeholder) button:has(> .icon-badge) {
	background-color: transparent !important;
	border-color: transparent !important;
}
div.row:has(> #loadingbar-placeholder) .icon-badge {
	width: 32px !important;
	height: 32px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 8px !important;
	background-color: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.25) !important;
}
div.row:has(> #loadingbar-placeholder) a,
div.row:has(> #loadingbar-placeholder) span,
div.row:has(> #loadingbar-placeholder) li,
div.row:has(> #loadingbar-placeholder) svg {
	color: #FFFFFF !important;
}
div.row:has(> #loadingbar-placeholder) button {
	height: 32px !important;
	min-height: 32px !important;
	border-radius: 8px !important;
	color: #FFFFFF !important;
	background-color: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.25) !important;
}
[class*="Sidebar-module__root"],
[class*="Sidebar-module__nav"] {
	background-color: #232322 !important;
}
