/* Wordfence Plus — glass login theme */

body.login.wfss-login-theme,
body.login.wfss-login-theme #login,
body.login.wfss-login-theme #loginform,
body.login.wfss-login-theme #registerform,
body.login.wfss-login-theme #lostpasswordform,
.wfss-preview-shell,
.wfss-overlay {
	font-family: iranyekan, Tahoma, sans-serif;
}

body.login.wfss-login-theme {
	min-height: 100vh;
	background: var(--wfss-page-bg);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

body.login.wfss-login-theme.wfss-theme-system {
	color-scheme: light dark;
}

body.login.wfss-login-theme #language-switcher,
body.login.wfss-login-theme .language-switcher {
	display: none !important;
}

body.login.wfss-login-theme #login {
	width: min(92vw, 400px);
	padding: 28px 24px 22px;
	margin: auto;
	flex: 0 0 auto;
	float: none;
	background: var(--wfss-card-bg);
	border: 1px solid var(--wfss-card-border);
	border-radius: 16px;
	box-shadow: var(--wfss-card-shadow);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-sizing: border-box;
	transition: filter 0.55s ease, opacity 0.55s ease;
	will-change: filter, opacity;
}

body.login.wfss-login-theme #nav,
body.login.wfss-login-theme #backtoblog {
	text-align: center;
	color: var(--wfss-text-muted);
}

body.login.wfss-login-theme #nav a,
body.login.wfss-login-theme #backtoblog a {
	color: var(--wfss-text-muted);
}

body.login.wfss-login-theme #nav a:hover,
body.login.wfss-login-theme #backtoblog a:hover {
	color: var(--wfss-text);
}

body.login.wfss-login-theme #login.wfss-login-locked {
	filter: blur(12px);
	opacity: 0.2;
	pointer-events: none;
}

body.login.wfss-login-theme.wfss-presentation-inline #login.wfss-login-locked {
	filter: none;
	opacity: 1;
	pointer-events: auto;
}

body.login.wfss-login-theme.wfss-login-retry #login.wfss-login-locked,
body.login.wfss-login-theme.wfss-login-retry #login {
	filter: none;
	opacity: 1;
	pointer-events: auto;
}

body.login.wfss-login-theme.wfss-login-retry #loginform {
	opacity: 1;
	visibility: visible;
}

body.login.wfss-login-theme.wfss-presentation-inline #loginform .forgetmenot {
	order: 1;
}

body.login.wfss-login-theme.wfss-presentation-inline #loginform .wfss-overlay--inline {
	order: 2;
	margin: 0 0 12px;
}

body.login.wfss-login-theme.wfss-presentation-inline #loginform p.submit {
	order: 3;
}

body.login.wfss-login-theme #login.wfss-login-unlocked {
	filter: none;
	opacity: 1;
	pointer-events: auto;
}

body.login.wfss-login-theme #login h1,
body.login.wfss-login-theme #login h1 a {
	display: none !important;
}

body.login.wfss-login-theme #loginform {
	margin-top: 0;
	padding: 0;
	box-shadow: none;
	background: transparent;
	border: none;
	display: flex;
	flex-direction: column;
}

body.login.wfss-login-theme #loginform .forgetmenot {
	float: none;
	width: 100%;
	margin: 0 0 12px;
}

body.login.wfss-login-theme #loginform .forgetmenot label {
	color: var(--wfss-text-muted);
	font-weight: 400;
}

body.login.wfss-login-theme #loginform p.submit {
	float: none;
	clear: both;
	display: block;
	width: 100%;
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	margin: 0;
}

body.login.wfss-login-theme #loginform label {
	color: var(--wfss-text);
	font-size: 12px;
	font-weight: 600;
}

body.login.wfss-login-theme #loginform .input,
body.login.wfss-login-theme #loginform input[type="text"]:not(.wfss-challenge-input),
body.login.wfss-login-theme #loginform input[type="password"] {
	background: var(--wfss-input-bg);
	border: 1px solid var(--wfss-input-border);
	border-radius: 10px;
	color: var(--wfss-text);
	box-shadow: none;
	font-size: 14px;
	padding: 10px 12px;
	margin-bottom: 14px;
}

body.login.wfss-login-theme #loginform .input:focus,
body.login.wfss-login-theme #loginform input[type="text"]:not(.wfss-challenge-input):focus,
body.login.wfss-login-theme #loginform input[type="password"]:focus {
	border-color: var(--wfss-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--wfss-primary) 25%, transparent);
	outline: none;
}

body.login.wfss-login-theme #loginform p.submit::after {
	content: '';
	position: absolute;
	top: -50px;
	left: -75px;
	width: 50px;
	height: 155px;
	background: #fff;
	opacity: 0.2;
	transform: rotate(35deg);
	transition: left 550ms cubic-bezier(0.19, 1, 0.22, 1);
	z-index: 2;
	pointer-events: none;
}

body.login.wfss-login-theme #loginform p.submit:hover:has(#wp-submit:not(:disabled))::after {
	left: 120%;
}

body.login.wfss-login-theme #loginform #wp-submit {
	display: block;
	float: none;
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: none;
	height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--wfss-primary) 0%, color-mix(in srgb, var(--wfss-primary) 70%, #000) 100%);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 44px;
	box-shadow: 0 8px 24px color-mix(in srgb, var(--wfss-primary) 35%, transparent);
	transition: box-shadow 0.35s ease;
}

body.login.wfss-login-theme #loginform #wp-submit.wfss-ui-submit-glow,
body.login.wfss-login-theme #registerform #wp-submit.wfss-ui-submit-glow,
body.login.wfss-login-theme #lostpasswordform #wp-submit.wfss-ui-submit-glow,
body.login.wfss-login-theme #resetpassform #wp-submit.wfss-ui-submit-glow {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wfss-success) 40%, transparent), 0 8px 24px color-mix(in srgb, var(--wfss-primary) 35%, transparent) !important;
}

body.login.wfss-login-theme #loginform #wp-submit.wfss-ui-submit-locked:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #registerform #wp-submit.wfss-ui-submit-locked:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #lostpasswordform #wp-submit.wfss-ui-submit-locked:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #resetpassform #wp-submit.wfss-ui-submit-locked:not(.wfss-ui-submit-loading) {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
}

@keyframes wfss-submit-spin {
	to {
		transform: rotate(360deg);
	}
}

body.login.wfss-login-theme #loginform p.submit.wfss-ui-submit-loading #wp-submit,
body.login.wfss-login-theme #registerform p.submit.wfss-ui-submit-loading #wp-submit,
body.login.wfss-login-theme #lostpasswordform p.submit.wfss-ui-submit-loading #wp-submit,
body.login.wfss-login-theme #resetpassform p.submit.wfss-ui-submit-loading #wp-submit {
	z-index: 0;
	color: transparent !important;
	text-shadow: none !important;
	opacity: 1 !important;
	cursor: wait;
	pointer-events: none;
	background: linear-gradient(135deg, var(--wfss-primary) 0%, color-mix(in srgb, var(--wfss-primary) 70%, #000) 100%) !important;
	box-shadow: 0 8px 24px color-mix(in srgb, var(--wfss-primary) 35%, transparent);
}

/* Spinner on same layer family as hover shine (::after) */
body.login.wfss-login-theme #loginform p.submit.wfss-ui-submit-loading::before,
body.login.wfss-login-theme #registerform p.submit.wfss-ui-submit-loading::before,
body.login.wfss-login-theme #lostpasswordform p.submit.wfss-ui-submit-loading::before,
body.login.wfss-login-theme #resetpassform p.submit.wfss-ui-submit-loading::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid color-mix(in srgb, #fff 35%, transparent);
	border-top-color: #fff;
	border-radius: 50%;
	animation: wfss-submit-spin 0.7s linear infinite;
	z-index: 5;
	pointer-events: none;
}

body.login.wfss-login-theme #loginform p.submit.wfss-ui-submit-loading::after,
body.login.wfss-login-theme #registerform p.submit.wfss-ui-submit-loading::after,
body.login.wfss-login-theme #lostpasswordform p.submit.wfss-ui-submit-loading::after,
body.login.wfss-login-theme #resetpassform p.submit.wfss-ui-submit-loading::after {
	display: none;
}

/* Keep submit disabled while challenge is open or validating */
body.login.wfss-login-theme #loginform:has(.wfss-overlay.is-challenge-open) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #loginform:has(.wfss-overlay.is-challenge-active) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #loginform:has(.wfss-overlay.wfss-challenge-validating) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #loginform:has(.wfss-overlay.wfss-challenge-morph) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #registerform:has(.wfss-overlay.is-challenge-open) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #registerform:has(.wfss-overlay.is-challenge-active) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #registerform:has(.wfss-overlay.wfss-challenge-validating) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #registerform:has(.wfss-overlay.wfss-challenge-morph) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #lostpasswordform:has(.wfss-overlay.is-challenge-open) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #lostpasswordform:has(.wfss-overlay.is-challenge-active) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #lostpasswordform:has(.wfss-overlay.wfss-challenge-validating) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #lostpasswordform:has(.wfss-overlay.wfss-challenge-morph) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #resetpassform:has(.wfss-overlay.is-challenge-open) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #resetpassform:has(.wfss-overlay.is-challenge-active) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #resetpassform:has(.wfss-overlay.wfss-challenge-validating) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #resetpassform:has(.wfss-overlay.wfss-challenge-morph) #wp-submit:not(.wfss-ui-submit-loading) {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
}

body.login.wfss-login-theme #loginform:has(.wfss-overlay.is-verified-persist) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #loginform:has(.wfss-overlay[data-overlay-state='ready']) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #loginform:has(.wfss-overlay[data-overlay-state='approved']) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #registerform:has(.wfss-overlay.is-verified-persist) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #registerform:has(.wfss-overlay[data-overlay-state='ready']) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #registerform:has(.wfss-overlay[data-overlay-state='approved']) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #lostpasswordform:has(.wfss-overlay.is-verified-persist) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #lostpasswordform:has(.wfss-overlay[data-overlay-state='ready']) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #lostpasswordform:has(.wfss-overlay[data-overlay-state='approved']) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #resetpassform:has(.wfss-overlay.is-verified-persist) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #resetpassform:has(.wfss-overlay[data-overlay-state='ready']) #wp-submit:not(.wfss-ui-submit-loading),
body.login.wfss-login-theme #resetpassform:has(.wfss-overlay[data-overlay-state='approved']) #wp-submit:not(.wfss-ui-submit-loading) {
	opacity: 1 !important;
	cursor: pointer;
	pointer-events: auto;
}

body.login.wfss-login-theme #loginform:has(.wfss-overlay[data-overlay-state='failed']) #wp-submit,
body.login.wfss-login-theme #registerform:has(.wfss-overlay[data-overlay-state='failed']) #wp-submit,
body.login.wfss-login-theme #lostpasswordform:has(.wfss-overlay[data-overlay-state='failed']) #wp-submit,
body.login.wfss-login-theme #resetpassform:has(.wfss-overlay[data-overlay-state='failed']) #wp-submit {
	opacity: 0.55 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

/* Register + lost-password — same glass layout as login (no WP white panel) */
body.login.wfss-login-theme #registerform,
body.login.wfss-login-theme #lostpasswordform {
	margin: 0 0 16px;
	padding: 0;
	box-shadow: none;
	background: transparent;
	border: none;
}

body.login.wfss-login-theme #registerform label,
body.login.wfss-login-theme #lostpasswordform label {
	color: var(--wfss-text);
	font-size: 12px;
	font-weight: 600;
}

body.login.wfss-login-theme #registerform .input,
body.login.wfss-login-theme #registerform input[type="text"],
body.login.wfss-login-theme #registerform input[type="email"],
body.login.wfss-login-theme #lostpasswordform .input,
body.login.wfss-login-theme #lostpasswordform input[type="text"] {
	background: var(--wfss-input-bg);
	border: 1px solid var(--wfss-input-border);
	border-radius: 10px;
	color: var(--wfss-text);
	box-shadow: none;
	font-size: 14px;
	padding: 10px 12px;
	margin-bottom: 14px;
}

body.login.wfss-login-theme #registerform .input:focus,
body.login.wfss-login-theme #registerform input:focus,
body.login.wfss-login-theme #lostpasswordform .input:focus,
body.login.wfss-login-theme #lostpasswordform input:focus {
	border-color: var(--wfss-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--wfss-primary) 25%, transparent);
	outline: none;
}

body.login.wfss-login-theme #registerform #reg_passmail,
body.login.wfss-login-theme #lostpasswordform p {
	color: var(--wfss-text-muted);
	font-size: 13px;
	line-height: 1.5;
}

body.login.wfss-login-theme #registerform p.submit,
body.login.wfss-login-theme #lostpasswordform p.submit {
	float: none;
	clear: both;
	display: block;
	width: 100%;
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	margin: 0;
}

body.login.wfss-login-theme #registerform p.submit::after,
body.login.wfss-login-theme #lostpasswordform p.submit::after {
	content: '';
	position: absolute;
	top: -50px;
	left: -75px;
	width: 50px;
	height: 155px;
	background: #fff;
	opacity: 0.2;
	transform: rotate(35deg);
	transition: left 550ms cubic-bezier(0.19, 1, 0.22, 1);
	z-index: 2;
	pointer-events: none;
}

body.login.wfss-login-theme #registerform p.submit:hover:has(#wp-submit:not(:disabled))::after,
body.login.wfss-login-theme #lostpasswordform p.submit:hover:has(#wp-submit:not(:disabled))::after,
body.login.wfss-login-theme #resetpassform p.submit:hover:has(#wp-submit:not(:disabled))::after {
	left: 120%;
}

body.login.wfss-login-theme #registerform #wp-submit,
body.login.wfss-login-theme #lostpasswordform #wp-submit,
body.login.wfss-login-theme #resetpassform #wp-submit {
	display: block;
	float: none;
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: none;
	height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--wfss-primary) 0%, color-mix(in srgb, var(--wfss-primary) 70%, #000) 100%);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 44px;
	box-shadow: 0 8px 24px color-mix(in srgb, var(--wfss-primary) 35%, transparent);
	transition: box-shadow 0.35s ease, opacity 0.25s ease;
}

body.login.wfss-login-theme #registerform #wp-submit:disabled,
body.login.wfss-login-theme #lostpasswordform #wp-submit:disabled,
body.login.wfss-login-theme #resetpassform #wp-submit:disabled,
body.login.wfss-login-theme #loginform #wp-submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* Dark + system-dark: notices without solid white panels */
body.login.wfss-login-theme.wfss-theme-dark .message,
body.login.wfss-login-theme.wfss-theme-dark .notice,
body.login.wfss-login-theme.wfss-theme-dark .success,
body.login.wfss-login-theme.wfss-theme-dark #login_error,
body.login.wfss-login-theme.wfss-theme-dark .login .notice-error {
	background: transparent;
	border: none;
	border-inline-start: 3px solid var(--wfss-primary);
	box-shadow: none;
	color: var(--wfss-text-muted);
	padding-inline-start: 12px;
	padding-block: 0;
	margin-bottom: 16px;
}

body.login.wfss-login-theme.wfss-theme-dark .success {
	border-inline-start-color: var(--wfss-success);
	color: var(--wfss-text);
}

body.login.wfss-login-theme.wfss-theme-dark .notice-error,
body.login.wfss-login-theme.wfss-theme-dark #login_error {
	border-inline-start-color: var(--wfss-error);
	color: var(--wfss-text);
}

body.login.wfss-login-theme.wfss-theme-dark .message p,
body.login.wfss-login-theme.wfss-theme-dark .notice p,
body.login.wfss-login-theme.wfss-theme-dark .success p {
	color: inherit;
}

@media (prefers-color-scheme: dark) {
	body.login.wfss-login-theme.wfss-theme-system .message,
	body.login.wfss-login-theme.wfss-theme-system .notice,
	body.login.wfss-login-theme.wfss-theme-system .success,
	body.login.wfss-login-theme.wfss-theme-system #login_error,
	body.login.wfss-login-theme.wfss-theme-system .login .notice-error {
		background: transparent;
		border: none;
		border-inline-start: 3px solid var(--wfss-primary);
		box-shadow: none;
		color: var(--wfss-text-muted);
		padding-inline-start: 12px;
		padding-block: 0;
		margin-bottom: 16px;
	}

	body.login.wfss-login-theme.wfss-theme-system .success {
		border-inline-start-color: var(--wfss-success);
		color: var(--wfss-text);
	}

	body.login.wfss-login-theme.wfss-theme-system .notice-error,
	body.login.wfss-login-theme.wfss-theme-system #login_error {
		border-inline-start-color: var(--wfss-error);
		color: var(--wfss-text);
	}

	body.login.wfss-login-theme.wfss-theme-system .message p,
	body.login.wfss-login-theme.wfss-theme-system .notice p,
	body.login.wfss-login-theme.wfss-theme-system .success p {
		color: inherit;
	}
}

.wfss-login-brand {
	text-align: center;
	margin-bottom: 20px;
}

.wfss-login-logo img,
.wfss-login-logo .wfss-logo {
	max-width: 220px;
	height: auto;
	display: inline-block;
}

.wfss-login-logo .wfss-logo--light {
	display: none;
}

body.login.wfss-login-theme.wfss-theme-light .wfss-login-logo .wfss-logo--dark,
.wfss-preview-shell.wfss-theme-light .wfss-login-logo .wfss-logo--dark {
	display: none;
}

body.login.wfss-login-theme.wfss-theme-light .wfss-login-logo .wfss-logo--light,
.wfss-preview-shell.wfss-theme-light .wfss-login-logo .wfss-logo--light {
	display: inline-block;
}

body.login.wfss-login-theme.wfss-theme-dark .wfss-login-logo .wfss-logo--dark,
.wfss-preview-shell.wfss-theme-dark .wfss-login-logo .wfss-logo--dark {
	display: inline-block;
}

body.login.wfss-login-theme.wfss-theme-dark .wfss-login-logo .wfss-logo--light,
.wfss-preview-shell.wfss-theme-dark .wfss-login-logo .wfss-logo--light {
	display: none;
}

@media (prefers-color-scheme: light) {
	body.login.wfss-login-theme.wfss-theme-system .wfss-login-logo .wfss-logo--dark,
	.wfss-preview-shell.wfss-theme-system .wfss-login-logo .wfss-logo--dark {
		display: none;
	}

	body.login.wfss-login-theme.wfss-theme-system .wfss-login-logo .wfss-logo--light,
	.wfss-preview-shell.wfss-theme-system .wfss-login-logo .wfss-logo--light {
		display: inline-block;
	}
}

@media (prefers-color-scheme: dark) {
	body.login.wfss-login-theme.wfss-theme-system .wfss-login-logo .wfss-logo--dark,
	.wfss-preview-shell.wfss-theme-system .wfss-login-logo .wfss-logo--dark {
		display: inline-block;
	}

	body.login.wfss-login-theme.wfss-theme-system .wfss-login-logo .wfss-logo--light,
	.wfss-preview-shell.wfss-theme-system .wfss-login-logo .wfss-logo--light {
		display: none;
	}
}

.wfss-login-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid var(--wfss-card-border);
}

.wfss-login-footer-icon {
	width: 16px;
	height: 18px;
	background: linear-gradient(180deg, var(--wfss-primary), var(--wfss-accent));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18'%3E%3Cpath fill='%23000' d='M8 0 L15 3.5 V8.5 C15 12.5 11.5 15.5 8 17 C4.5 15.5 1 12.5 1 8.5 V3.5 Z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18'%3E%3Cpath fill='%23000' d='M8 0 L15 3.5 V8.5 C15 12.5 11.5 15.5 8 17 C4.5 15.5 1 12.5 1 8.5 V3.5 Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.wfss-login-footer-text {
	font-size: 11px;
	color: var(--wfss-text-muted);
	letter-spacing: 0.01em;
}

/* Admin preview shell */
.wfss-preview-shell {
	position: relative;
	min-height: 520px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--wfss-page-bg);
	padding: 24px 16px;
}

.wfss-preview-shell .wfss-preview-login-card {
	max-width: 360px;
	margin: 0 auto;
	padding: 24px 20px 18px;
	background: var(--wfss-card-bg);
	border: 1px solid var(--wfss-card-border);
	border-radius: 16px;
	box-shadow: var(--wfss-card-shadow);
	backdrop-filter: blur(20px);
	transition: filter 0.55s ease, opacity 0.55s ease;
}

.wfss-preview-shell.wfss-preview-locked .wfss-preview-login-card {
	filter: blur(12px);
	opacity: 0.2;
}

.wfss-preview-fields label {
	display: block;
	font-size: 12px;
	color: var(--wfss-text);
	margin-bottom: 6px;
}

.wfss-preview-input {
	height: 38px;
	border-radius: 10px;
	background: var(--wfss-input-bg);
	border: 1px solid var(--wfss-input-border);
	margin-bottom: 12px;
}

.wfss-preview-submit {
	height: 42px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--wfss-primary), color-mix(in srgb, var(--wfss-primary) 70%, #000));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	margin-top: 8px;
	overflow: hidden;
	position: relative;
	isolation: isolate;
}

.wfss-preview-submit::after {
	content: '';
	position: absolute;
	top: -50px;
	left: -75px;
	width: 50px;
	height: 155px;
	background: #fff;
	opacity: 0.2;
	transform: rotate(35deg);
	transition: left 550ms cubic-bezier(0.19, 1, 0.22, 1);
	z-index: -1;
	pointer-events: none;
}

.wfss-preview-submit:hover::after {
	left: 120%;
}

@media (prefers-reduced-motion: reduce) {
	body.login.wfss-login-theme #login {
		transition: none;
	}

	body.login.wfss-login-theme #loginform p.submit::after,
	body.login.wfss-login-theme #registerform p.submit::after,
	body.login.wfss-login-theme #lostpasswordform p.submit::after,
	.wfss-preview-submit::after {
		display: none;
	}

	body.login.wfss-login-theme #loginform p.submit.wfss-ui-submit-loading::before {
		animation: none;
	}
}

@media (forced-colors: active) {
	body.login.wfss-login-theme #login {
		border: 1px solid CanvasText;
	}
}
