html.vex-vpf-auth-open,
body.vex-vpf-auth-open {
	overflow: hidden !important;
}

.vex-vpf-auth-shell[hidden] { display: none !important; }
.vex-vpf-auth-shell {
	position: fixed;
	inset: 0;
	z-index: 2147483646;
	font-family: inherit;
}
.vex-vpf-auth-backdrop {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: rgba(0, 0, 0, .72) !important;
}
.vex-vpf-auth-dialog {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(94vw, 540px);
	max-height: min(88vh, 760px);
	transform: translate(-50%, -50%);
	overflow: auto;
	background: #202020;
	color: #fff;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 28px;
	box-shadow: 0 32px 90px rgba(0,0,0,.55);
	padding: 56px 56px 32px;
}
.vex-vpf-auth-close {
	position: absolute !important;
	top: 18px !important;
	right: 18px !important;
	display: grid !important;
	place-items: center !important;
	width: 42px !important;
	height: 42px !important;
	min-width: 42px !important;
	min-height: 42px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #333 !important;
	color: #fff !important;
}
.vex-vpf-auth-close svg { width: 22px; height: 22px; fill: currentColor; }
.vex-vpf-auth-view header { text-align: center; margin: 0 0 26px; }
.vex-vpf-auth-view h2 { margin: 0 0 10px; color: inherit; font-size: clamp(28px, 5vw, 40px); line-height: 1.1; }
.vex-vpf-auth-view header p,
.vex-vpf-auth-view > p { color: #c9c9c9; font-size: 16px; line-height: 1.5; text-align: center; }
.vex-vpf-auth-profile-icon {
	width: 112px;
	height: 112px;
	margin: 48px auto 28px;
	color: #aaa;
}
.vex-vpf-auth-profile-icon svg { width: 100%; height: 100%; fill: currentColor; }
.vex-vpf-auth-view form { display: grid; gap: 16px; }
.vex-vpf-auth-view label { display: grid; gap: 7px; color: #eee; font-weight: 650; font-size: 14px; }
.vex-vpf-auth-view input:not([type="checkbox"]) {
	box-sizing: border-box !important;
	width: 100% !important;
	height: 52px !important;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 1px solid #505050 !important;
	border-radius: 12px !important;
	background: #2d2d2d !important;
	color: #fff !important;
	box-shadow: none !important;
	font: inherit !important;
}
.vex-vpf-auth-view input:focus { border-color: var(--vex-vpf-primary, #fe2c55) !important; outline: 2px solid var(--vex-vpf-primary, #fe2c55) !important; outline-offset: 1px !important; }
.vex-vpf-auth-primary,
.vex-vpf-auth-provider {
	box-sizing: border-box !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 12px !important;
	width: 100% !important;
	min-height: 54px !important;
	padding: 11px 18px !important;
	margin: 0 !important;
	border-radius: 12px !important;
	font-size: 16px !important;
	font-weight: 750 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}
.vex-vpf-auth-primary { border: 0 !important; background: var(--vex-vpf-primary, #fe2c55) !important; color: var(--vex-vpf-on-primary, #fff) !important; }
.vex-vpf-auth-primary:disabled { opacity: .65; cursor: wait; }
.vex-vpf-auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: #aaa; font-size: 13px; }
.vex-vpf-auth-divider::before,
.vex-vpf-auth-divider::after { content: ""; flex: 1; height: 1px; background: #414141; }
.vex-vpf-auth-social { display: grid; gap: 12px; }
.vex-vpf-auth-provider { border: 1px solid #555 !important; background: #393939 !important; color: #fff !important; }
.vex-vpf-auth-provider span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #222; font-weight: 850; }
.vex-vpf-auth-provider.is-facebook span { background: #1877f2; color: #fff; }
.vex-vpf-auth-links,
.vex-vpf-auth-switch { margin: 20px 0 0; text-align: center; color: #bbb; }
.vex-vpf-auth-links a,
.vex-vpf-auth-switch button { color: var(--vex-vpf-secondary, #ff5474) !important; text-decoration: underline !important; background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important; font: inherit !important; font-weight: 700 !important; text-transform: none !important; }
.vex-vpf-auth-status { min-height: 20px; color: #b7efc5; font-size: 14px; text-align: center; }
.vex-vpf-auth-status.is-error { color: #ff9baa; }
.vex-vpf-auth-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

@media (max-width: 782px) {
	.vex-vpf-auth-dialog {
		position: absolute;
		inset: 0;
		width: 100%;
		max-height: none;
		transform: none;
		border: 0;
		border-radius: 0;
		padding: calc(76px + env(safe-area-inset-top, 0px)) 28px calc(32px + env(safe-area-inset-bottom, 0px));
		background: #fff;
		color: #111;
	}
	.vex-vpf-auth-close { top: calc(18px + env(safe-area-inset-top, 0px)) !important; left: 18px !important; right: auto !important; background: transparent !important; color: #111 !important; }
	.vex-vpf-auth-view header p,
	.vex-vpf-auth-view > p { color: #666; }
	.vex-vpf-auth-view input:not([type="checkbox"]) { background: #fff !important; color: #111 !important; border-color: #d8d8d8 !important; }
	.vex-vpf-auth-view label { color: #222; }
	.vex-vpf-auth-provider { background: #fff !important; color: #111 !important; border-color: #ddd !important; }
	.vex-vpf-auth-divider { color: #777; }
	.vex-vpf-auth-divider::before,
	.vex-vpf-auth-divider::after { background: #ddd; }
	.vex-vpf-auth-profile-icon { margin-top: 100px; color: #aaa; }
	.vex-vpf-auth-view[data-vex-vpf-auth-view="profile"] .vex-vpf-auth-primary { margin-top: 30px !important; }
}

@media (prefers-reduced-motion: reduce) {
	.vex-vpf-auth-shell *, .vex-vpf-auth-shell *::before, .vex-vpf-auth-shell *::after { transition: none !important; animation: none !important; }
}

/* Version 0.10.13: authentication follows the selected light appearance. */
body.vex-vpf-theme-light .vex-vpf-auth-dialog {
	border-color: #dedee3;
	background: #fff;
	color: #16161a;
	box-shadow: 0 32px 90px rgba(0, 0, 0, 0.24);
}

body.vex-vpf-theme-light .vex-vpf-auth-close {
	background: #f1f1f2 !important;
	color: #16161a !important;
}

body.vex-vpf-theme-light .vex-vpf-auth-view header p,
body.vex-vpf-theme-light .vex-vpf-auth-view > p,
body.vex-vpf-theme-light .vex-vpf-auth-links,
body.vex-vpf-theme-light .vex-vpf-auth-switch,
body.vex-vpf-theme-light .vex-vpf-auth-divider {
	color: #6b6b73;
}

body.vex-vpf-theme-light .vex-vpf-auth-view label {
	color: #16161a;
}

body.vex-vpf-theme-light .vex-vpf-auth-view input:not([type="checkbox"]),
body.vex-vpf-theme-light .vex-vpf-auth-provider {
	border-color: #d8d8dd !important;
	background: #fff !important;
	color: #16161a !important;
	-webkit-text-fill-color: #16161a !important;
}

body.vex-vpf-theme-light .vex-vpf-auth-divider::before,
body.vex-vpf-theme-light .vex-vpf-auth-divider::after {
	background: #dedee3;
}
