#login h1 a,
.login h1 a,
#login h1 .ppf-login-brand,
.login h1 .ppf-login-brand {
	display: block;
	padding-bottom: 30px;
}

/* Placeholder shown only for the brief moment before login.js (footer-enqueued)
   replaces this link with the real <img> or the text fallback. The SVG's own
   viewBox is 320x80 (4:1) — 25px height keeps it at the same 100px-wide scale
   used everywhere else here. */
#login h1 a,
.login h1 a {
	background-image: url('../images/ppf-login-logo.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: 100px;
	height: 25px;
	margin: 0 auto;
}

/* Business logo — capped to a max width, height scales automatically to
   preserve its natural aspect ratio. Matches the CLIENT plugin's
   .ppf-quotes-chat-logo sizing approach (chat.css), using width as the
   constraint since logos vary in aspect ratio per business. */
#login h1 img.ppf-login-brand,
.login h1 img.ppf-login-brand {
	max-width: 100px;
	height: auto;
	margin: 0 auto;
}

/* Text fallback — shown when no business logo is configured. */
.ppf-login-text-logo {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-indent: 0 !important;
	overflow: visible !important;
	text-decoration: none;
}

.ppf-login-text-logo__name {
	display: block;
	font-size: 1.55rem;
	font-weight: 700;
	color: #1d2327;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.ppf-login-text-logo__subtitle {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	color: #6b7280;
	margin-top: 5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
