.pfl-login-screen {
	background: linear-gradient(135deg, var(--pfl-page-bg-color, #f2f6fb) 0%, #dfeaf5 100%);
	font-family: var(--pfl-body-font, "Roboto", sans-serif);
	color: var(--pfl-text-color, #1e293b);
}

.pfl-login-screen h1,
.pfl-login-screen h2,
.pfl-login-screen h3,
.pfl-login-screen h4 {
	font-family: var(--pfl-heading-font, "Roboto", sans-serif);
}

.pfl-login-screen .site,
.pfl-login-screen .site-main,
.pfl-login-screen .entry-content,
.pfl-login-screen .post-edit-link,
.pfl-login-screen .entry-header,
.pfl-login-screen .page-header,
.pfl-login-screen .widget-area,
.pfl-login-screen footer:not(.pfl-auth-wrapper footer) {
	max-width: none;
}

.pfl-login-screen .entry-content > .pfl-auth-wrapper:first-child {
	margin-top: 0;
}

.pfl-auth-wrapper {
	min-height: 100vh;
	display: flex;
	align-items: stretch;
	padding: 0;
}

.pfl-login-layout {
	min-height: 100vh;
	margin: 0;
}

.pfl-visual-pane {
	position: relative;
	min-height: 100vh;
	overflow: hidden;
	background: var(--pfl-sidebar-color, #0f172a);
}

.pfl-visual-poster {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: saturate(0.9) contrast(1.02);
}

.pfl-visual-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, rgba(28, 58, 104, 0.86), rgba(28, 188, 191, 0.24)),
		linear-gradient(90deg, rgba(15, 23, 42, 0.2), transparent);
	z-index: 1;
}

.pfl-visual-copy {
	position: relative;
	z-index: 2;
	align-self: end;
	max-width: 580px;
	padding: 56px;
	color: #fff;
}

.pfl-visual-kicker {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	opacity: 0.82;
}

.pfl-visual-copy h2 {
	font-family: var(--pfl-heading-font, "Roboto", sans-serif);
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1.02;
	margin-bottom: 18px;
	color: #fff;
}

.pfl-visual-copy p {
	max-width: 470px;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.78);
}

.pfl-form-pane {
	background: var(--pfl-surface-color, #fff);
	display: flex;
	align-items: center;
}

.pfl-form-wrap {
	width: 100%;
	padding: 48px 44px;
}

.pfl-logo {
	max-width: 132px;
	display: block;
}

.pfl-auth-eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
}

.pfl-auth-wrapper .form-control {
	min-height: 46px;
	border-radius: 10px;
	padding-left: 16px;
	padding-right: 16px;
	font-family: var(--pfl-body-font, "Roboto", sans-serif);
	font-size: 14px;
	font-weight: 400;
}

.pfl-login-form .form__label {
	font-size: 14px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 8px;
}

.pfl-password-field {
	position: relative;
}

.pfl-password-field .form-control {
	padding-right: 52px;
}

.pfl-password-toggle {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	color: #6b7280;
	padding: 0;
	line-height: 1;
}

.pfl-password-toggle:hover,
.pfl-password-toggle:focus {
	color: #111827;
}

.pfl-alert {
	border-radius: 10px;
}

.pfl-login-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: nowrap;
	margin: 4px 0 24px;
}

.pfl-login-form .form__item--actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
	margin-top: 12px;
}

.pfl-remember-wrap,
.pfl-forgot-link {
	display: flex;
	align-items: center;
}

.pfl-remember-wrap {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
}

.pfl-remember-wrap label,
.pfl-forgot-link {
	font-family: var(--pfl-body-font, "Roboto", sans-serif);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
}

.pfl-remember-wrap label {
	color: #64748b;
}

.pfl-forgot-link {
	color: #475569;
	text-decoration: none;
	flex: 0 0 auto;
	text-align: right;
	padding-left: 12px;
	margin: 0;
}

.pfl-remember-wrap .checkbox {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.pfl-remember-wrap .checkbox input[type="checkbox"] {
	margin: 0;
}

.pfl-disclaimer-copy {
	display: block;
	max-width: none;
	font-family: var(--pfl-body-font, "Roboto", sans-serif);
	font-size: 13px;
	line-height: 1.45;
	margin: 0;
}

.pfl-legal-block {
	display: grid;
	gap: 8px;
}

.pfl-disclaimer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	padding-top: 2px;
}

.pfl-disclaimer-links a {
	font-family: var(--pfl-body-font, "Roboto", sans-serif);
	font-size: 12px;
	font-weight: 400;
	color: var(--pfl-primary-color, #2356a8);
	text-decoration: none;
}

.pfl-disclaimer-links a:hover,
.pfl-disclaimer-copy a:hover {
	text-decoration: underline;
}

.pfl-disclaimer-copy a {
	color: var(--pfl-primary-color, #2356a8);
	text-decoration: none;
}

.pfl-submit,
.pfl-login-form .form__button {
	min-height: 44px;
	border-radius: 10px;
	font-weight: 600;
	padding: 0 24px;
	background: linear-gradient(180deg, var(--pfl-primary-color, #2356a8), #1c4c93);
	border: 1px solid rgba(18, 52, 102, 0.2);
	box-shadow: 0 10px 24px rgba(28, 76, 147, 0.18);
	width: 100%;
}

.pfl-submit-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}

.pfl-submit:hover,
.pfl-submit:focus,
.pfl-login-form .form__button:hover,
.pfl-login-form .form__button:focus {
	background: linear-gradient(180deg, #1f539f, #184481);
	border-color: rgba(18, 52, 102, 0.26);
	box-shadow: 0 12px 26px rgba(24, 68, 129, 0.2);
}

.pfl-submit-link:hover,
.pfl-submit-link:focus,
.pfl-submit-link:active,
.pfl-submit-link:visited {
	color: #fff !important;
	-webkit-text-fill-color: #fff;
	text-decoration: none;
}

.pfl-auth-secondary-button {
	margin-top: 10px;
	background: linear-gradient(180deg, #2b4f89, #203d6c);
	border-color: rgba(18, 52, 102, 0.24);
	box-shadow: 0 8px 18px rgba(24, 68, 129, 0.14);
}

.pfl-auth-secondary-button:hover,
.pfl-auth-secondary-button:focus,
.pfl-auth-secondary-button:active,
.pfl-auth-secondary-button:visited {
	color: #fff;
	background: linear-gradient(180deg, #27497e, #1b355d);
	border-color: rgba(18, 52, 102, 0.28);
	text-decoration: none;
}

.pfl-auth-secondary-link {
	font-family: var(--pfl-body-font, "Roboto", sans-serif);
	font-size: 14px;
	font-weight: 500;
	color: #475569;
	text-decoration: none;
	text-align: left;
}

.pfl-auth-secondary-link:hover {
	text-decoration: underline;
}

.pfl-login-form .text-muted {
	font-size: 13px;
}

.pfl-auth-wrapper a {
	text-decoration: none;
}

.pfl-auth-wrapper a:hover {
	text-decoration: underline;
}

@media (max-width: 991.98px) {
	.pfl-form-wrap {
		padding: 36px 28px;
	}
}

@media (max-width: 767.98px) {
	.pfl-auth-wrapper {
		padding: 0;
	}

	.pfl-form-wrap {
		padding: 28px 18px;
	}

	.pfl-login-form .form__item--actions {
		flex-direction: column;
		align-items: stretch;
	}

	.pfl-login-meta {
		flex-wrap: wrap;
	}

	.pfl-forgot-link {
		text-align: left;
	}
}
