/**
 * White-label stamp + layout tokens shared by login, register, dashboard.
 * Pair with /js/white-label-branding.js
 */

/* Wordmark em caixa branca (login/registo) — ver também `.wl-powered-by-lockup`. */
.brand-logo--lockup{
	max-height:132px;
	max-width:min(100%,680px);
	width:auto;
	height:auto;
	object-fit:contain;
	object-position:center;
	background:#ffffff;
	border:1px solid rgba(148,163,184,0.34);
	border-radius:var(--app-brand-logo-radius, clamp(22px, 6.5vmin, 38px));
	padding:10px 14px;
	box-shadow:0 6px 18px rgba(15,23,42,0.12);
	box-sizing:border-box;
}

.header-logo.header-logo--lockup{
	max-height:74px;
	max-width:min(92vw,460px);
	width:auto;
	height:auto;
	object-fit:contain;
	object-position:center center;
	background:#ffffff !important;
	border:1px solid rgba(148,163,184,0.32);
	border-radius:var(--app-brand-logo-radius, clamp(22px, 6.5vmin, 38px));
	padding:6px 12px !important;
	box-shadow:0 4px 14px rgba(15,23,42,0.2);
	box-sizing:border-box;
}

.wl-powered-stamp{
	margin:4px 0 0;
	padding:10px 10px 0;
	max-width:min(100%,28rem);
	width:100%;
	box-sizing:border-box;
	font-size:clamp(8px, 2vw, 10px);
	font-weight:700;
	letter-spacing:0.14em;
	text-transform:uppercase;
	text-align:center;
	color:rgba(199,210,254,0.92);
	line-height:1.35;
	border-top:1px solid rgba(255,255,255,0.22);
	user-select:none;
	-webkit-user-select:none;
}

.header-powered-stamp{
	display:block;
	margin:8px 0 0;
	padding:8px 0 0;
	max-width:min(56vw,340px);
	width:100%;
	box-sizing:border-box;
	font-size:clamp(6px, 1.15vw, 8px);
	font-weight:700;
	letter-spacing:0.1em;
	text-transform:uppercase;
	text-align:center;
	color:rgba(207,224,255,0.9);
	line-height:1.35;
	border-top:1px solid rgba(255,255,255,0.22);
	user-select:none;
	-webkit-user-select:none;
}

.header-powered-stamp.wl-powered-by-stamp--graphic{
	width:fit-content;
	max-width:min(100%, 260px);
	text-align:left;
	margin-left:0;
	margin-right:0;
	padding-top:0;
}

.header-powered-stamp.wl-powered-by-stamp--graphic .wl-powered-by-lockup{
	width:auto;
	max-width:100%;
	margin:0;
}

/* Badge «Powered by AppContabill» (PNG) — legível, pouco padding em volta. */
.wl-powered-by-stamp--graphic.header-powered-stamp,
.wl-powered-by-stamp--graphic.wl-powered-stamp{
	border-top:none;
	padding:0;
	margin-top:4px;
	text-transform:none;
	letter-spacing:normal;
	max-width:min(92vw,260px);
	width:fit-content;
}

.wl-powered-by-lockup{
	display:block;
	width:100%;
	max-width:min(92vw,260px);
	line-height:0;
	box-sizing:border-box;
}

.wl-powered-by-lockup--compact{
	max-width:min(92vw,248px);
}

.wl-powered-by-lockup__mark{
	display:block;
	width:auto;
	height:auto;
	max-width:100%;
	max-height:24px;
	margin:0 auto;
	object-fit:contain;
	object-position:center center;
}

.wl-powered-stamp.wl-powered-by-stamp--graphic .wl-powered-by-lockup__mark,
.header-powered-stamp.wl-powered-by-stamp--graphic .wl-powered-by-lockup__mark{
	margin:0;
	object-position:left center;
}

@media (min-width:640px){
	.wl-powered-by-stamp--graphic.header-powered-stamp,
	.wl-powered-by-stamp--graphic.wl-powered-stamp{
		max-width:min(92vw,272px);
	}

	.wl-powered-by-lockup{
		max-width:min(92vw,272px);
	}

	.wl-powered-by-lockup__mark{
		max-height:28px;
	}
}

.wl-powered-stamp.wl-powered-by-stamp--graphic{
	text-align:left;
	max-width:min(100%,260px);
	width:fit-content;
	margin-left:0;
	margin-right:0;
	padding:0;
}

.wl-powered-stamp.wl-powered-by-stamp--graphic .wl-powered-by-lockup{
	margin-left:0;
	margin-right:0;
	width:fit-content;
	max-width:min(100%,248px);
}

.wl-powered-stamp.wl-powered-by-stamp--graphic .wl-powered-by-lockup__mark{
	object-position:left center;
	max-height:30px;
}

@media (min-width:640px){
	.wl-powered-stamp.wl-powered-by-stamp--graphic .wl-powered-by-lockup__mark{
		max-height:26px;
	}
}
