/**
 * WehfiGO Auth — premium login / register shell.
 *
 * Surfaces: .wehfigo-auth (Listeo my-profile), #customer_login (Woo),
 * #sign-in-dialog popup. Tokens only — no hard hex outside var().
 *
 * Version: WEHFIGO_AUTH_VERSION
 */

/* =========================================================
   Full-viewport auth page — no header/footer overlap
   ========================================================= */

body.wehfigo-auth-fullscreen {
	overflow-x: hidden;
	overflow-y: auto;
}

/* Transparent header over auth nightlife panel (like home hero) */
body.wehfigo-auth-fullscreen #header-container {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 5000;
}

body.wehfigo-auth-fullscreen.admin-bar #header-container {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.wehfigo-auth-fullscreen.admin-bar #header-container {
		top: 46px;
	}
}

body.wehfigo-auth-fullscreen:not(.wehfigo-scrolled) #header-container,
body.wehfigo-auth-fullscreen:not(.wehfigo-scrolled) #header-container #header {
	background: transparent !important;
	background-color: transparent !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	border-bottom-color: transparent !important;
	box-shadow: none !important;
	color: #ffffff !important;
}

/* Soft wash so menu stays readable without a solid bar */
body.wehfigo-auth-fullscreen:not(.wehfigo-scrolled) #header-container {
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.35) 0%,
		rgba(0, 0, 0, 0.12) 55%,
		rgba(0, 0, 0, 0) 100%
	) !important;
}

/* Contrast: light nav on transparent dark hero */
body.wehfigo-auth-fullscreen:not(.wehfigo-scrolled) #navigation > ul > li > a,
body.wehfigo-auth-fullscreen:not(.wehfigo-scrolled) .header-widget,
body.wehfigo-auth-fullscreen:not(.wehfigo-scrolled) .header-widget a,
body.wehfigo-auth-fullscreen:not(.wehfigo-scrolled) #header-container .user-menu a,
body.wehfigo-auth-fullscreen:not(.wehfigo-scrolled) #header-container .sign-in,
body.wehfigo-auth-fullscreen:not(.wehfigo-scrolled) #header-container .wehfigo-theme-toggle {
	color: #ffffff !important;
}

body.wehfigo-auth-fullscreen:not(.wehfigo-scrolled) #navigation > ul > li > a:hover,
body.wehfigo-auth-fullscreen:not(.wehfigo-scrolled) #navigation > ul > li.current-menu-item > a {
	color: var(--color-primary, #d6001c) !important;
}

/* Keep site header/nav visible on auth (desktop + mobile). Hide footer chrome only. */
body.wehfigo-auth-fullscreen #footer,
body.wehfigo-auth-fullscreen footer#footer,
body.wehfigo-auth-fullscreen #wehfigo-footer,
body.wehfigo-auth-fullscreen .wehfigo-footer,
body.wehfigo-auth-fullscreen .footer-widget-area,
body.wehfigo-auth-fullscreen .wehfigo-site-footer,
body.wehfigo-auth-fullscreen #backtotop {
	display: none !important;
}

body.wehfigo-auth-fullscreen .container,
body.wehfigo-auth-fullscreen .container.full-width,
body.wehfigo-auth-fullscreen .row,
body.wehfigo-auth-fullscreen #post-135,
body.wehfigo-auth-fullscreen article.page,
body.wehfigo-auth-fullscreen .col-lg-5,
body.wehfigo-auth-fullscreen .col-md-4,
body.wehfigo-auth-fullscreen .col-md-12,
body.wehfigo-auth-fullscreen .col-md-offset-3,
body.wehfigo-auth-fullscreen .sign-in-form.style-1,
body.wehfigo-auth-fullscreen .margin-bottom-45 {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	float: none !important;
	left: auto !important;
	right: auto !important;
	position: relative !important;
}

/* Explicit: never hide mobile bottom nav on auth pages */
body.wehfigo-auth-fullscreen .wehfigo-bottom-nav,
body.wehfigo-auth-page .wehfigo-bottom-nav {
	display: flex !important;
}

@media (min-width: 1024px) {
	body.wehfigo-auth-fullscreen .wehfigo-bottom-nav,
	body.wehfigo-auth-page .wehfigo-bottom-nav {
		display: none !important;
	}
}

body.wehfigo-auth-fullscreen #wrapper {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.wehfigo-auth-page .content-container,
body.wehfigo-auth-page .container.content-container {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	margin: 0;
}

body.wehfigo-auth-page .page-container-col,
body.wehfigo-auth-page article.page,
body.wehfigo-auth-page #content,
body.wehfigo-auth-page .content {
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
}

body.wehfigo-auth-page #titlebar,
body.wehfigo-auth-page #titlebar.wehfigo-page-hero,
body.wehfigo-auth-page .wehfigo-page-header #titlebar,
body.wehfigo-v2.page-template-template-dashboard.wehfigo-auth-page #titlebar.wehfigo-dash-hero-bar,
body:has(.wehfigo-auth) #titlebar,
body:has(.wehfigo-auth) #titlebar.wehfigo-page-hero {
	display: none !important;
}

.wehfigo-auth {
	position: relative;
	isolation: isolate;
	padding: 0;
	margin: 0;
	min-height: calc(100vh - 4.5rem);
	display: flex;
	align-items: stretch;
	justify-content: center;
}

.wehfigo-auth__stage {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto 1fr;
	gap: 0;
	width: 100%;
	max-width: none;
	min-height: inherit;
	border-radius: 0;
	overflow: hidden;
	border: 0;
	background: var(--color-page-bg, #fff);
	box-shadow: none;
}

body.wehfigo-auth-fullscreen .wehfigo-auth {
	min-height: 100vh;
	min-height: 100dvh;
	height: auto;
	overflow: visible;
	padding-top: 0;
	margin-top: 0;
}

body.wehfigo-auth-fullscreen .wehfigo-auth__stage {
	grid-template-rows: auto minmax(0, auto);
	height: auto;
	min-height: 100vh;
	min-height: 100dvh;
	overflow: visible;
}

body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="choose"] .wehfigo-auth__stage {
	grid-template-rows: minmax(clamp(34rem, 72vh, 54rem), auto) minmax(0, auto);
}

/* Welcome panel: left-aligned, vertically centered in the nightlife band */
body.wehfigo-auth-fullscreen .wehfigo-auth__panel {
	min-height: clamp(34rem, 72vh, 54rem);
	justify-content: center;
	align-items: flex-start;
	text-align: left;
	/* Top clears fixed header; equalish bottom so block sits mid-panel */
	padding:
		clamp(7.5rem, 14vh, 11rem)
		clamp(2rem, 7vw, 7.5rem)
		clamp(3.5rem, 8vh, 6rem);
}

/* Login / register: keep a readable nightlife strip without burying the form */
body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__panel,
body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="register"] .wehfigo-auth__panel {
	min-height: clamp(22rem, 42vh, 32rem);
	justify-content: center;
	padding-top: clamp(6.5rem, 12vh, 9rem);
	padding-bottom: clamp(2.5rem, 5vh, 4rem);
}

body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__stage,
body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="register"] .wehfigo-auth__stage {
	grid-template-rows: auto minmax(0, 1fr);
}

/* Full /my-profile/ — stacked: image top, form fills rest */
body.wehfigo-auth-fullscreen .wehfigo-auth {
	padding: 0;
	width: 100%;
}

body.wehfigo-auth-fullscreen .wehfigo-auth__stage {
	width: 100%;
	max-width: none;
}

body.wehfigo-auth-fullscreen .wehfigo-auth__card {
	max-width: none;
	width: 100%;
	margin-inline: 0;
	height: 100%;
	min-height: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: clamp(1.75rem, 3.5vh, 3rem) clamp(1.35rem, 6vw, 4rem) clamp(1.75rem, 3.5vh, 3rem);
	background:
		radial-gradient(ellipse 55% 48% at 8% 92%, rgba(214, 0, 28, 0.14), transparent 62%),
		radial-gradient(ellipse 48% 42% at 94% 8%, rgba(214, 0, 28, 0.1), transparent 58%),
		radial-gradient(ellipse 70% 55% at 50% 110%, rgba(214, 0, 28, 0.07), transparent 55%),
		linear-gradient(168deg, #fff8f9 0%, #f6f9fc 38%, #f8eef1 78%, #f3f7fb 100%);
}

body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="choose"] .wehfigo-auth__card {
	padding: clamp(1rem, 2.25vh, 1.85rem) clamp(1.5rem, 4.5vw, 3rem) clamp(1.25rem, 2.75vh, 2.25rem);
}

/* Mobile / tablet: Keep bottom nav + scale Get Started, atmosphere, and forms */
@media (max-width: 1023px) {
	body.wehfigo-auth-page .wehfigo-bottom-nav,
	body.wehfigo-auth-fullscreen .wehfigo-bottom-nav {
		display: flex !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
		z-index: 6000 !important;
	}

	/* Choose step: fill remaining viewport so gradient covers full panel
	   (was height:auto → white gap under cards). Still no giant empty band
	   above content — Get Started just sits lower with padding. */
	body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="choose"] {
		min-height: 100vh;
		min-height: 100dvh;
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="choose"] .wehfigo-auth__stage {
		min-height: 100vh;
		min-height: 100dvh;
		height: auto;
		grid-template-rows: auto minmax(0, 1fr);
		background:
			radial-gradient(ellipse 55% 48% at 8% 92%, rgba(214, 0, 28, 0.14), transparent 62%),
			radial-gradient(ellipse 48% 42% at 94% 8%, rgba(214, 0, 28, 0.1), transparent 58%),
			radial-gradient(ellipse 70% 55% at 50% 110%, rgba(214, 0, 28, 0.07), transparent 55%),
			linear-gradient(168deg, #fff8f9 0%, #f6f9fc 38%, #f8eef1 78%, #f3f7fb 100%);
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth__card {
		justify-content: flex-start;
		padding: clamp(1.35rem, 3.5vh, 2rem) clamp(1rem, 4vw, 1.5rem) calc(6rem + env(safe-area-inset-bottom, 0px));
		min-height: 0;
		height: auto;
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="choose"] .wehfigo-auth__card {
		/* Nudge Get Started down from the hero seam */
		padding: 2.15rem clamp(1rem, 4vw, 1.5rem) calc(5.5rem + env(safe-area-inset-bottom, 0px));
		min-height: 100%;
		height: 100%;
		justify-content: flex-start;
		align-self: stretch;
		background:
			radial-gradient(ellipse 55% 48% at 8% 92%, rgba(214, 0, 28, 0.14), transparent 62%),
			radial-gradient(ellipse 48% 42% at 94% 8%, rgba(214, 0, 28, 0.1), transparent 58%),
			radial-gradient(ellipse 70% 55% at 50% 110%, rgba(214, 0, 28, 0.07), transparent 55%),
			linear-gradient(168deg, #fff8f9 0%, #f6f9fc 38%, #f8eef1 78%, #f3f7fb 100%);
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="choose"] .wehfigo-auth__get-started {
		flex: 1 1 auto;
		min-height: 0;
		justify-content: flex-start;
		padding: 0.35rem 0 1.35rem;
	}

	.wehfigo-auth__gs-grid {
		grid-template-columns: 1fr;
		gap: 0.85rem;
		margin-top: 0.85rem;
	}

	.wehfigo-auth__gs-dots {
		display: none;
	}

	.wehfigo-auth__get-started {
		min-height: 0;
		flex: 0 0 auto;
		padding: 0.5rem 0 0.85rem;
		justify-content: flex-start;
	}

	.wehfigo-auth__gs-title {
		font-size: clamp(28px, 8vw, 36px);
	}

	.wehfigo-auth__gs-sub {
		font-size: 15px;
		max-width: 28rem;
		margin-top: 0.5rem;
	}

	.wehfigo-auth__gs-rule {
		width: 2.75rem;
		height: 4px;
		margin-bottom: 0.65rem;
	}

	.wehfigo-auth__gs-card {
		min-height: 0;
		padding: 1.35rem 1.25rem 1.25rem;
		border-radius: 1rem;
	}

	.wehfigo-auth__gs-icon {
		width: 3.5rem;
		height: 3.5rem;
		margin-bottom: 0.85rem;
	}

	.wehfigo-auth__gs-icon svg {
		width: 1.65rem;
		height: 1.65rem;
	}

	.wehfigo-auth__gs-card-title {
		font-size: 1.2rem;
	}

	.wehfigo-auth__gs-card-copy {
		font-size: 14px;
		line-height: 1.5;
	}

	.wehfigo-auth__gs-btn {
		width: 100%;
		justify-content: center;
		margin-left: 0;
		margin-top: auto;
		padding: 0.85rem 1.25rem;
		min-height: 48px;
		font-size: 15px;
	}

	.wehfigo-auth__gs-card-tree {
		width: 5.5rem;
		height: 7.75rem;
		right: 0.1rem;
		opacity: 0.09;
	}

	.wehfigo-auth__gs-btn--outline {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	/* Atmosphere: keep life, tone down crowding */
	.wehfigo-auth__card-life-dots--tr,
	.wehfigo-auth__card-life-dots--bl {
		display: none;
	}

	.wehfigo-auth__card-life-dots--tl {
		width: 4.5rem;
		height: 4.5rem;
		opacity: 0.4;
		background-size: 11px 11px;
	}

	.wehfigo-auth__card-life-dots--br {
		width: 5.5rem;
		height: 5.5rem;
		opacity: 0.35;
	}

	.wehfigo-auth__card-life-tree--left {
		width: 6.5rem;
		height: 9rem;
		opacity: 0.1;
		left: 0.25rem;
		bottom: 0;
	}

	.wehfigo-auth__card-life-tree--right {
		width: 5.75rem;
		height: 8.25rem;
		opacity: 0.09;
		right: 0.25rem;
		bottom: 0;
	}

	.wehfigo-auth__card-life-glow--tl,
	.wehfigo-auth__card-life-glow--br {
		opacity: 0.4;
	}

	/* Forms: full width, single column, touch-friendly */
	.wehfigo-auth__form-shell,
	.wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__form-shell,
	.wehfigo-auth[data-wehfigo-auth-step="register"] .wehfigo-auth__form-shell,
	body.wehfigo-auth-fullscreen .wehfigo-auth__form-shell,
	body.wehfigo-auth-fullscreen .wehfigo-auth__card .tabs-container,
	body.wehfigo-auth-fullscreen .wehfigo-auth__card .tabs-nav {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.wehfigo-auth__form-panel {
		padding: 1.1rem 1rem 1.25rem;
		border-radius: 10px;
	}

	.wehfigo-auth__form-title {
		font-size: clamp(22px, 6.5vw, 28px);
	}

	.wehfigo-auth__form-head {
		margin-bottom: 1rem;
	}

	.wehfigo-auth__back {
		min-height: 44px;
		padding: 0.35rem 0;
		font-size: 15px;
	}

	.wehfigo-auth[data-wehfigo-auth-step="register"] .listeo-register-form-fields-container {
		display: block !important;
		grid-template-columns: none !important;
	}

	.wehfigo-auth__card label input.input-text,
	.wehfigo-auth__card label input[type="text"],
	.wehfigo-auth__card label input[type="email"],
	.wehfigo-auth__card label input[type="password"],
	.wehfigo-auth__card label input[type="tel"],
	body.wehfigo-auth-page .sign-in-form label input {
		min-height: 48px !important;
		font-size: 16px !important; /* iOS zoom prevention */
	}

	.wehfigo-auth__card .form-row .button,
	.wehfigo-auth__card input.button,
	.wehfigo-auth__card a.button,
	body.wehfigo-auth-page .sign-in-form .button {
		width: 100% !important;
		max-width: none !important;
		min-height: 50px !important;
		font-size: 16px !important;
	}

	.wehfigo-auth[data-wehfigo-auth-step="register"] form#register > input.button,
	.wehfigo-auth[data-wehfigo-auth-step="register"] form#register > .form-row .button {
		max-width: none;
	}
}

body.wehfigo-auth-fullscreen .wehfigo-auth__form-shell,
body.wehfigo-auth-fullscreen .wehfigo-auth__card .tabs-container,
body.wehfigo-auth-fullscreen .wehfigo-auth__card .tabs-nav {
	width: 100%;
	max-width: 100%;
	margin-left: auto !important;
	margin-right: auto !important;
	float: none !important;
	clear: both !important;
}

@media (min-width: 861px) {
	body.wehfigo-auth-fullscreen .wehfigo-auth__stage {
		grid-template-rows: auto minmax(24rem, 1fr);
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth__card .tabs-nav,
	body.wehfigo-auth-fullscreen .wehfigo-auth__card .tabs-container,
	body.wehfigo-auth-fullscreen .wehfigo-auth__form-shell {
		max-width: 100%;
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__form-head,
	body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__form-panel {
		max-width: var(--wehfigo-auth-solo-max, 560px);
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth__card label input.input-text,
	body.wehfigo-auth-fullscreen .wehfigo-auth__card label input[type="text"],
	body.wehfigo-auth-fullscreen .wehfigo-auth__card label input[type="password"],
	body.wehfigo-auth-fullscreen .sign-in-form label input {
		min-height: 50px !important;
		font-size: 15px !important;
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth__card .button,
	body.wehfigo-auth-fullscreen .sign-in-form .button {
		min-height: 50px !important;
		font-size: 16px !important;
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth__card .tabs-nav {
		min-height: 0;
		padding: 0.28rem;
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth__card .tabs-nav li a {
		font-size: 15px !important;
		padding: 0.78rem 0.85rem !important;
	}
}

.wehfigo-auth__stage::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		linear-gradient(135deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.2) 42%, transparent 70%),
		var(--wehfigo-auth-bg, none) center / cover no-repeat;
	opacity: 0;
}

.wehfigo-auth__panel {
	--wehfigo-auth-font: "Montserrat", var(--font-family-body, system-ui, sans-serif);
	--wehfigo-auth-red: var(--color-brand-red, #d6001c);
	/* Fluid type scale: grows on large monitors, stays readable on small */
	--wehfigo-auth-eyebrow: clamp(1.05rem, 0.7vw + 0.9rem, 1.45rem);
	--wehfigo-auth-brand: clamp(3.75rem, 7vw + 1.6vh, 7.75rem);
	--wehfigo-auth-lead: clamp(1.2rem, 1.5vw + 0.6rem, 2rem);
	--wehfigo-auth-support: clamp(1rem, 0.95vw + 0.55rem, 1.3rem);
	--wehfigo-auth-cta-size: clamp(0.95rem, 0.5vw + 0.85rem, 1.15rem);
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	text-align: left;
	gap: 0;
	padding: clamp(3.25rem, 7vh, 5rem) clamp(2rem, 7vw, 6.5rem) clamp(2.75rem, 5.5vh, 4.25rem);
	min-height: clamp(28rem, 62vh, 44rem);
	color: #ffffff;
	font-family: var(--wehfigo-auth-font);
	background-color: #000000;
	background-image:
		linear-gradient(
			90deg,
			#000000 0%,
			#000000 26%,
			rgba(0, 0, 0, 0.9) 40%,
			rgba(0, 0, 0, 0.5) 60%,
			rgba(0, 0, 0, 0.22) 78%,
			rgba(0, 0, 0, 0.4) 100%
		),
		var(--wehfigo-auth-bg, linear-gradient(145deg, #1a1a1a, #0a0a0a));
	background-size: cover, cover;
	background-position: center, 74% center;
	background-repeat: no-repeat, no-repeat;
	overflow: hidden;
}

.wehfigo-auth__dots {
	position: absolute;
	top: clamp(1.5rem, 3.5vh, 2.5rem);
	left: 0;
	width: 4.75rem;
	height: 7.25rem;
	z-index: 2;
	pointer-events: none;
	background-image: radial-gradient(circle, var(--wehfigo-auth-red) 3px, transparent 3.35px);
	background-size: 1.35rem 1.35rem;
	background-repeat: repeat;
	background-position: 1.15rem 0.85rem;
	opacity: 1;
	filter: drop-shadow(0 0 4px rgba(214, 0, 28, 0.55));
}

body.wehfigo-auth-fullscreen .wehfigo-auth__dots {
	left: 0;
	width: 5.5rem;
	height: 8.5rem;
	background-size: 1.55rem 1.55rem;
	background-position: 1.35rem 1rem;
	background-image: radial-gradient(circle, var(--wehfigo-auth-red) 3.4px, transparent 3.8px);
}

.wehfigo-auth__wave {
	position: absolute;
	left: -1.5rem;
	bottom: -0.75rem;
	width: min(48vw, 26rem);
	height: auto;
	z-index: 1;
	pointer-events: none;
	color: var(--wehfigo-auth-red);
	opacity: 0.9;
}

.wehfigo-auth__panel-inner {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: min(46rem, 100%);
	margin: 0;
	/* Nudge copy block right of the left-edge dots/wave so it doesn’t look jammed */
	margin-left: clamp(1.35rem, 4.5vw, 4.25rem);
	padding: 0;
	box-sizing: border-box;
}

body.wehfigo-auth-fullscreen .wehfigo-auth__panel-inner {
	margin-left: clamp(2rem, 5.5vw, 5.5rem);
}

/* PC only: welcome copy a bit larger / wider */
@media (min-width: 1024px) {
	body.wehfigo-auth-fullscreen .wehfigo-auth__panel {
		--wehfigo-auth-eyebrow: clamp(1.15rem, 0.85vw + 0.95rem, 1.65rem);
		--wehfigo-auth-brand: clamp(4.35rem, 7.8vw + 1.9vh, 8.75rem);
		--wehfigo-auth-lead: clamp(1.35rem, 1.7vw + 0.7rem, 2.35rem);
		--wehfigo-auth-support: clamp(1.1rem, 1.1vw + 0.6rem, 1.5rem);
		--wehfigo-auth-cta-size: clamp(1rem, 0.55vw + 0.9rem, 1.25rem);
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth__panel-inner {
		max-width: min(52rem, 100%);
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth__cta {
		padding: 0.95rem 2rem;
	}
}

.wehfigo-auth__eyebrow {
	display: block;
	margin: 0 0 clamp(0.55rem, 1.2vh, 0.85rem);
	font-family: var(--wehfigo-auth-font);
	font-size: var(--wehfigo-auth-eyebrow);
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wehfigo-auth-red);
	text-shadow: none;
}

.wehfigo-auth__brand-title {
	margin: 0;
	font-family: var(--wehfigo-auth-font);
	font-size: var(--wehfigo-auth-brand);
	font-weight: 800;
	line-height: 0.92;
	letter-spacing: -0.035em;
	color: #ffffff;
	text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.wehfigo-auth__brand-wehfi {
	color: #ffffff;
}

.wehfigo-auth__brand-go {
	color: var(--wehfigo-auth-red);
}

.wehfigo-auth__lead {
	margin: clamp(1.25rem, 2.5vh, 1.85rem) 0 0;
	max-width: min(36rem, 92%);
	font-family: var(--wehfigo-auth-font);
	font-size: var(--wehfigo-auth-lead);
	font-weight: 600;
	line-height: 1.4;
	color: #ffffff;
}

.wehfigo-auth__support {
	margin: clamp(0.65rem, 1.4vh, 0.95rem) 0 0;
	max-width: min(32rem, 90%);
	font-family: var(--wehfigo-auth-font);
	font-size: var(--wehfigo-auth-support);
	font-weight: 500;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.9);
}

.wehfigo-auth__cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(0.65rem, 1.5vw, 1.1rem) clamp(0.75rem, 1.8vw, 1.15rem);
	margin-top: clamp(1.5rem, 3.2vh, 2.35rem);
}

.wehfigo-auth__cta {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 0;
	padding: clamp(0.75rem, 1.4vh, 1rem) clamp(1.45rem, 2.2vw, 1.95rem);
	border-radius: 999px;
	font-family: var(--wehfigo-auth-font);
	font-size: var(--wehfigo-auth-cta-size);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.wehfigo-auth__cta:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}

.wehfigo-auth__cta--primary {
	border: 0;
	background: var(--wehfigo-auth-red);
	color: #ffffff;
}

.wehfigo-auth__cta--primary:hover {
	background: var(--color-brand-red-hover, #b00018);
	transform: translateY(-1px);
}

.wehfigo-auth__cta--ghost {
	border: 1.5px solid rgba(255, 255, 255, 0.92);
	background: transparent;
	color: #ffffff;
}

.wehfigo-auth__cta--ghost:hover {
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-1px);
}

.wehfigo-auth__cta-arrow {
	font-weight: 700;
	line-height: 1;
}

.wehfigo-auth__role-row,
.wehfigo-auth__role-label,
.wehfigo-auth__role-chip {
	display: none !important;
}

/* Legacy welcome block (dialog JS fallback / cached markup) */
.wehfigo-auth__welcome {
	width: 100%;
	max-width: 36rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.wehfigo-auth__home {
	display: none;
}

.wehfigo-auth__sub,
.wehfigo-auth__prompt {
	display: none;
}

.wehfigo-auth__card {
	--wehfigo-auth-font: "Montserrat", var(--font-family-body, system-ui, sans-serif);
	--wehfigo-auth-red: var(--color-brand-red, #d6001c);
	--wehfigo-auth-ice: #f4f8fb;
	--wehfigo-auth-line: #e0e6ed;
	--wehfigo-auth-muted: #8a93a0;
	position: relative;
	z-index: 1;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(2.5rem, 5vw, 4rem) clamp(1.35rem, 5vw, 3rem) clamp(2.75rem, 5vw, 4rem);
	background:
		radial-gradient(ellipse 55% 48% at 8% 92%, rgba(214, 0, 28, 0.14), transparent 62%),
		radial-gradient(ellipse 48% 42% at 94% 8%, rgba(214, 0, 28, 0.1), transparent 58%),
		radial-gradient(ellipse 70% 55% at 50% 110%, rgba(214, 0, 28, 0.07), transparent 55%),
		linear-gradient(168deg, #fff8f9 0%, #f6f9fc 38%, #f8eef1 78%, #f3f7fb 100%);
	max-width: none;
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
	font-family: var(--wehfigo-auth-font);
}

/* Soft red wash + dots + trees behind Get Started / form */
.wehfigo-auth__card-life {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.wehfigo-auth__card-life-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(28px);
	opacity: 0.55;
}

.wehfigo-auth__card-life-glow--tl {
	top: -12%;
	left: -8%;
	width: min(42vw, 28rem);
	height: min(42vw, 28rem);
	background: radial-gradient(circle, rgba(214, 0, 28, 0.22) 0%, transparent 70%);
}

.wehfigo-auth__card-life-glow--br {
	right: -10%;
	bottom: -18%;
	width: min(50vw, 34rem);
	height: min(50vw, 34rem);
	background: radial-gradient(circle, rgba(214, 0, 28, 0.18) 0%, transparent 72%);
}

.wehfigo-auth__card-life-dots {
	position: absolute;
	background-image: radial-gradient(circle, rgba(214, 0, 28, 0.38) 1.6px, transparent 1.9px);
	background-size: 14px 14px;
	background-repeat: repeat;
	opacity: 0.55;
}

.wehfigo-auth__card-life-dots--tl {
	top: 1.25rem;
	left: 0;
	width: 7.5rem;
	height: 7.5rem;
	background-position: 0.85rem 0.65rem;
}

.wehfigo-auth__card-life-dots--tr {
	top: 2rem;
	right: 1rem;
	width: 5.5rem;
	height: 5.5rem;
	opacity: 0.4;
	background-size: 12px 12px;
}

.wehfigo-auth__card-life-dots--bl {
	left: 1.5rem;
	bottom: 2.5rem;
	width: 6rem;
	height: 6rem;
	opacity: 0.35;
	background-size: 13px 13px;
}

.wehfigo-auth__card-life-dots--br {
	right: 0;
	bottom: 1rem;
	width: 8.5rem;
	height: 8.5rem;
	background-position: 0.5rem 0.5rem;
}

.wehfigo-auth__card-life-tree {
	position: absolute;
	bottom: 0;
	width: min(16vw, 9.5rem);
	height: min(22vw, 13.5rem);
	color: var(--wehfigo-auth-red);
	opacity: 0.12;
	overflow: visible;
}

.wehfigo-auth__card-life-tree--left {
	left: 0.35rem;
	width: min(18vw, 10.5rem);
	height: min(24vw, 14.5rem);
	opacity: 0.14;
}

.wehfigo-auth__card-life-tree--right {
	right: 0.35rem;
	width: min(17vw, 10rem);
	height: min(23vw, 14rem);
	transform: none;
	opacity: 0.11;
}

.wehfigo-auth__card > .wehfigo-auth__get-started,
.wehfigo-auth__card > .wehfigo-auth__form-shell {
	position: relative;
	z-index: 1;
}

/* =========================================================
   Get Started path cards (light section)
   ========================================================= */

.wehfigo-auth__get-started {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1 1 auto;
	width: 100%;
	max-width: min(76rem, 100%);
	margin: 0 auto;
	/* Tighter than before — less empty air around Get Started */
	padding: clamp(0.75rem, 1.75vh, 1.5rem) clamp(0.5rem, 2vw, 1.5rem) clamp(1rem, 2.5vh, 1.85rem);
	min-height: min(38vh, 26rem);
	text-align: center;
	box-sizing: border-box;
}

body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="choose"] .wehfigo-auth__card {
	justify-content: stretch;
}

@media (min-width: 1024px) {
	body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="choose"] .wehfigo-auth__get-started {
		min-height: 0;
		flex: 0 1 auto;
		padding-top: clamp(0.65rem, 1.5vh, 1.25rem);
		padding-bottom: clamp(1rem, 2.5vh, 1.75rem);
	}
}

.wehfigo-auth__gs-dots {
	position: absolute;
	top: clamp(2.75rem, 6vh, 4.5rem);
	width: 5.25rem;
	height: 5.25rem;
	background-image: radial-gradient(circle, #c5ccd6 2px, transparent 2.35px);
	background-size: 12px 12px;
	background-repeat: repeat;
	pointer-events: none;
	opacity: 0.9;
}

.wehfigo-auth__gs-dots--left {
	left: 0;
	/* Bleed to the light panel’s left edge (cancel card padding) */
	margin-left: calc(-1 * clamp(1.75rem, 5vw, 3.5rem));
	width: 6rem;
	height: 6rem;
}

.wehfigo-auth__gs-dots--right {
	right: 0;
	margin-right: calc(-1 * clamp(1.75rem, 5vw, 3.5rem));
}

.wehfigo-auth__gs-rule {
	width: 3.5rem;
	height: 5px;
	margin: 0 auto clamp(0.75rem, 1.5vh, 1rem);
	border-radius: 999px;
	background: var(--wehfigo-auth-red);
}

.wehfigo-auth__gs-title {
	margin: 0;
	font-family: var(--wehfigo-auth-font);
	font-size: clamp(1.85rem, 3.2vw + 0.5rem, 2.85rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.1;
	color: #111111;
}

.wehfigo-auth__gs-sub {
	margin: clamp(0.65rem, 1.4vh, 0.95rem) auto 0;
	max-width: 42rem;
	font-family: var(--wehfigo-auth-font);
	font-size: clamp(0.95rem, 0.7vw + 0.7rem, 1.15rem);
	font-weight: 500;
	line-height: 1.55;
	color: #6b7280;
}

.wehfigo-auth__gs-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.75rem);
	margin-top: clamp(1.15rem, 2.5vh, 1.85rem);
	width: 100%;
	text-align: left;
}

.wehfigo-auth__gs-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: clamp(14.5rem, 26vh, 19rem);
	padding: clamp(1.35rem, 2.4vh, 2rem) clamp(1.35rem, 2.2vw, 2rem) clamp(1.25rem, 2vh, 1.75rem);
	border: 2px solid transparent;
	border-radius: 1.25rem;
	background: #ffffff;
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
	overflow: hidden;
	isolation: isolate;
	cursor: pointer;
	transform: translateZ(0);
	transition:
		border-color 0.28s ease,
		box-shadow 0.28s ease,
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.28s ease,
		background-color 0.28s ease,
		filter 0.28s ease;
}

.wehfigo-auth__gs-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.wehfigo-auth__gs-card.is-lit {
	border-color: var(--wehfigo-auth-red, #d6001c);
	background:
		radial-gradient(ellipse 80% 70% at 50% 0%, rgba(214, 0, 28, 0.12), transparent 55%),
		#ffffff;
	box-shadow:
		0 0 0 1px rgba(214, 0, 28, 0.35),
		0 0 28px rgba(214, 0, 28, 0.28),
		0 18px 42px rgba(15, 23, 42, 0.14);
	transform: translateY(-4px) scale(1.02);
	opacity: 1;
	filter: none;
	z-index: 2;
}

.wehfigo-auth__gs-card.is-lit .wehfigo-auth__gs-card-tree {
	opacity: 0.22;
	color: var(--wehfigo-auth-red, #d6001c);
}

.wehfigo-auth__gs-card.is-lit .wehfigo-auth__gs-icon:not(.wehfigo-auth__gs-icon--solid) {
	background: rgba(214, 0, 28, 0.18);
	box-shadow: 0 0 0 4px rgba(214, 0, 28, 0.12);
}

.wehfigo-auth__gs-grid.has-selection .wehfigo-auth__gs-card:not(.is-lit) {
	opacity: 0.55;
	filter: grayscale(0.15);
	transform: scale(0.985);
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.wehfigo-auth__gs-grid.has-selection .wehfigo-auth__gs-card:not(.is-lit):hover {
	opacity: 0.72;
	filter: none;
}

@media (prefers-reduced-motion: reduce) {
	.wehfigo-auth__gs-card,
	.wehfigo-auth__gs-card:hover,
	.wehfigo-auth__gs-card.is-lit,
	.wehfigo-auth__gs-grid.has-selection .wehfigo-auth__gs-card:not(.is-lit) {
		transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
		transform: none;
	}
}

/* Complete tree silhouette inside cards (replaces clipped CSS ::after blob) */
.wehfigo-auth__gs-card-tree {
	position: absolute;
	right: 0.15rem;
	bottom: 0;
	z-index: 0;
	width: 7.25rem;
	height: 10.25rem;
	color: var(--wehfigo-auth-red);
	opacity: 0.1;
	pointer-events: none;
}

.wehfigo-auth__gs-card--biz .wehfigo-auth__gs-card-tree {
	right: 0.35rem;
	width: 7.75rem;
	height: 10.75rem;
	opacity: 0.11;
}

.wehfigo-auth__gs-card > *:not(.wehfigo-auth__gs-card-tree) {
	position: relative;
	z-index: 1;
}

.wehfigo-auth__gs-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.25rem;
	height: 4.25rem;
	margin-bottom: 1.25rem;
	border-radius: 999px;
	background: rgba(214, 0, 28, 0.1);
	color: var(--wehfigo-auth-red);
	flex-shrink: 0;
}

.wehfigo-auth__gs-icon svg {
	width: 2rem;
	height: 2rem;
}

.wehfigo-auth__gs-icon--solid {
	background: var(--wehfigo-auth-red);
	color: #ffffff;
}

.wehfigo-auth__gs-card-title {
	margin: 0;
	font-family: var(--wehfigo-auth-font);
	font-size: clamp(1.35rem, 1.8vw, 1.65rem);
	font-weight: 800;
	line-height: 1.2;
	color: #111111;
}

.wehfigo-auth__gs-card-copy {
	margin: 0.75rem 0 1.35rem;
	flex: 1 1 auto;
	font-family: var(--wehfigo-auth-font);
	font-size: clamp(15px, 1.25vw, 17px);
	font-weight: 500;
	line-height: 1.55;
	color: #6b7280;
}

.wehfigo-auth__gs-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	margin-top: auto;
	margin-left: 0;
	align-self: flex-start;
	padding: 0.9rem 1.35rem 0.9rem 1.85rem;
	border-radius: 999px;
	font-family: var(--wehfigo-auth-font);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.wehfigo-auth__gs-btn--outline {
	border: 1.5px solid var(--wehfigo-auth-red);
	background: #ffffff;
	color: var(--wehfigo-auth-red);
	padding-left: 2rem;
	padding-right: 1.35rem;
}

.wehfigo-auth__gs-btn--outline:hover {
	background: rgba(214, 0, 28, 0.06);
	transform: translateY(-1px);
}

.wehfigo-auth__gs-btn--solid {
	border: 0;
	background: var(--wehfigo-auth-red);
	color: #ffffff;
}

.wehfigo-auth__gs-btn--solid:hover {
	background: var(--color-brand-red-hover, #b00018);
	transform: translateY(-1px);
}

.wehfigo-auth__form-shell {
	--wehfigo-auth-solo-max: 560px;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 0.5rem 0 2rem;
	flex: 1 1 auto;
}

/* Login + guest register share the same solo panel/title width */
.wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__form-shell,
.wehfigo-auth[data-wehfigo-auth-step="register"] .wehfigo-auth__form-shell {
	max-width: 100%;
}

.wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__form-head,
.wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__form-panel {
	width: 100%;
	max-width: var(--wehfigo-auth-solo-max);
	margin-left: auto;
	margin-right: auto;
}

.wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__form-title,
.wehfigo-auth[data-wehfigo-auth-step="register"] .wehfigo-auth__form-title {
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.15;
}

.wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__form-panel .tabs-container,
.wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__form-panel .tab-content,
.wehfigo-auth[data-wehfigo-auth-step="login"] form#login {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__card,
.wehfigo-auth[data-wehfigo-auth-step="register"] .wehfigo-auth__card {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: min(70vh, 640px);
}

.wehfigo-auth__form-shell[hidden] {
	display: none !important;
}

.wehfigo-auth[data-wehfigo-auth-step="choose"] .wehfigo-auth__form-shell {
	display: none !important;
}

.wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__get-started,
.wehfigo-auth[data-wehfigo-auth-step="register"] .wehfigo-auth__get-started {
	display: none !important;
}

.wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__form-shell,
.wehfigo-auth[data-wehfigo-auth-step="register"] .wehfigo-auth__form-shell {
	display: block !important;
	width: 100%;
}

.wehfigo-auth__form-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0 0 1.15rem;
}

.wehfigo-auth__back {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #6b7280;
	font-family: var(--wehfigo-auth-font, inherit);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.wehfigo-auth__back:hover {
	color: #d6001c;
}

.wehfigo-auth__form-title {
	margin: 0;
	font-family: var(--wehfigo-auth-font, inherit);
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #111111;
}

.wehfigo-auth__form-panel {
	width: 100%;
	padding: clamp(1.25rem, 2.5vw, 1.85rem) clamp(1.25rem, 3vw, 2rem) clamp(1.35rem, 2.5vw, 2rem);
	border: 0;
	border-radius: 0;
	background: transparent;
	box-sizing: border-box;
	outline: none !important;
	box-shadow: none !important;
}

.wehfigo-auth-next {
	width: min(100%, 620px);
	margin: 0 auto;
	padding: clamp(1.35rem, 3vw, 2rem);
	border: 1px solid rgba(214, 0, 28, 0.18);
	border-radius: 18px;
	background:
		radial-gradient(circle at 10% 0%, rgba(214, 0, 28, 0.1), transparent 35%),
		linear-gradient(145deg, #ffffff 0%, #fff8fa 46%, #f5f8fb 100%);
	box-shadow: 0 20px 55px rgba(20, 24, 34, 0.1);
	color: #111111;
	text-align: left;
	box-sizing: border-box;
}

.wehfigo-auth-next__eyebrow {
	margin: 0 0 0.5rem;
	font-family: var(--wehfigo-auth-font, inherit);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-primary, #d6001c);
}

.wehfigo-auth-next h3 {
	margin: 0 0 0.75rem;
	font-family: var(--wehfigo-auth-font, inherit);
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.02;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: #111111;
}

.wehfigo-auth-next__copy,
.wehfigo-auth-next__detail {
	margin: 0;
	max-width: 48rem;
	font-size: 1rem;
	line-height: 1.55;
	color: #334155;
}

.wehfigo-auth-next__detail {
	margin-top: 0.55rem;
	font-weight: 700;
	color: #1f2937;
}

.wehfigo-auth-next__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 1.15rem;
	padding: 0.82rem 1.25rem;
	border-radius: 999px;
	background: var(--color-primary, #d6001c);
	color: #ffffff !important;
	font-family: var(--wehfigo-auth-font, inherit);
	font-size: 0.92rem;
	font-weight: 800;
	text-decoration: none !important;
	box-shadow: 0 16px 32px rgba(214, 0, 28, 0.25);
}

.wehfigo-auth-next__cta:hover,
.wehfigo-auth-next__cta:focus {
	background: #b80018;
	color: #ffffff !important;
}

/* Guest create account: title/panel width matches login */
/* Guest create account: title/panel width matches login */
.wehfigo-auth[data-wehfigo-auth-step="register"] .wehfigo-auth__form-shell:has(form#register.wehfigo-reg--guest) .wehfigo-auth__form-head,
.wehfigo-auth[data-wehfigo-auth-step="register"] .wehfigo-auth__form-shell:has(form#register.wehfigo-reg--guest) .wehfigo-auth__form-panel {
	width: 100%;
	max-width: var(--wehfigo-auth-solo-max, 560px);
	margin-left: auto;
	margin-right: auto;
}

/* Register: 3-column checklist layout (account | business | events) */
.wehfigo-auth[data-wehfigo-auth-step="register"] .listeo-register-form-fields-container {
	display: block !important;
	max-width: 100% !important;
	width: 100% !important;
}

.wehfigo-reg-layout {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	width: 100%;
}

.wehfigo-reg-cols {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	align-items: start;
	width: 100%;
}

@media (min-width: 900px) {
	/* Listeo html { font-size: 10px } — never use rem for layout widths here */
	.wehfigo-auth[data-wehfigo-auth-step="register"] form#register.wehfigo-reg--vendor .wehfigo-reg-cols {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
		column-gap: clamp(1.25rem, 2.2vw, 2rem);
		width: 100%;
	}

	.wehfigo-auth[data-wehfigo-auth-step="register"] form#register.wehfigo-reg--guest .wehfigo-reg-cols {
		grid-template-columns: minmax(0, var(--wehfigo-auth-solo-max, 560px));
		justify-content: stretch;
		width: 100%;
		max-width: var(--wehfigo-auth-solo-max, 560px);
		margin-inline: auto;
	}

	.wehfigo-auth[data-wehfigo-auth-step="register"] form#register.wehfigo-reg--guest .wehfigo-reg-col--account {
		width: 100%;
		max-width: none;
	}

	.wehfigo-auth[data-wehfigo-auth-step="register"] .wehfigo-reg-col--account {
		min-width: 0;
	}
}

.wehfigo-reg-col {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	min-width: 0;
	width: 100%;
	padding: 0.85rem 0.9rem 1rem;
	border: 1px solid #d7dee7;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.88);
	box-sizing: border-box;
	transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wehfigo-reg-col--account {
	border-color: #d7dee7;
	background: rgba(255, 255, 255, 0.95);
}

.wehfigo-reg-col.is-muted {
	opacity: 0.55;
}

.wehfigo-reg-col.is-enabled {
	opacity: 1;
	border-color: #d6001c;
	box-shadow: 0 0 0 1px rgba(214, 0, 28, 0.12);
}

.wehfigo-reg-check {
	display: inline-flex !important;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.15rem !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-family: var(--wehfigo-auth-font, inherit);
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #111 !important;
	cursor: pointer;
	line-height: 1.3;
}

.wehfigo-reg-check input[type="checkbox"] {
	width: 18px !important;
	height: 18px !important;
	min-width: 18px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	accent-color: #d6001c;
	cursor: pointer;
	outline: none !important;
	outline-offset: 0 !important;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
	-webkit-appearance: checkbox;
	appearance: checkbox;
	-webkit-tap-highlight-color: transparent !important;
}

.wehfigo-reg-check input[type="checkbox"]:focus,
.wehfigo-reg-check input[type="checkbox"]:focus-visible,
.wehfigo-reg-check input[type="checkbox"]:active,
.wehfigo-reg-check input[type="checkbox"]:checked,
.wehfigo-reg-check:focus-within {
	outline: none !important;
	box-shadow: none !important;
}

.wehfigo-reg-col-title {
	margin: 0 0 0.25rem;
	font-family: var(--wehfigo-auth-font, inherit);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #d6001c;
}

.wehfigo-reg-col--account .wehfigo-reg-col-title {
	color: #111;
}

.wehfigo-reg-col-body {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.wehfigo-reg-col.is-muted .wehfigo-reg-col-body {
	pointer-events: none;
	user-select: none;
}

.wehfigo-reg-col.is-enabled .wehfigo-reg-col-body {
	pointer-events: auto;
	user-select: auto;
}

/* Native selects in checklist cols — beat Select2 hide utility. */
form#register .wehfigo-reg-col-body select,
form#register .wehfigo-reg-col-body select.wehfigo-native-select,
form#register .wehfigo-reg-col-body select:disabled,
form#register .wehfigo-reg-col-body select[disabled],
form#register .wehfigo-reg-col-body select.select2-hidden-accessible,
.wehfigo-auth form#register .wehfigo-reg-col-body select.select2-hidden-accessible {
	display: block !important;
	visibility: visible !important;
	position: static !important;
	top: auto !important;
	left: auto !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	min-height: 52px !important;
	height: 52px !important;
	margin: 0 !important;
	padding: 14px 16px !important;
	border: 1px solid var(--color-page-border, rgba(0, 0, 0, 0.12)) !important;
	border-radius: var(--radius-md, 0.65rem) !important;
	background: var(--color-page-bg, #fff) !important;
	font-family: var(--font-family-body) !important;
	font-size: 16px !important;
	line-height: 1.3 !important;
	color: var(--color-page-heading, #111) !important;
	-webkit-text-fill-color: var(--color-page-heading, #111) !important;
	appearance: auto !important;
	-webkit-appearance: menulist !important;
	box-sizing: border-box !important;
	clip: auto !important;
	clip-path: none !important;
	opacity: 1 !important;
	transform: none !important;
	overflow: visible !important;
	z-index: 1 !important;
}

form#register .wehfigo-reg-col-body .select2-container,
.wehfigo-auth form#register .wehfigo-reg-col-body .select2-container {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

.wehfigo-reg-col-hint {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: #6b7280;
}

.wehfigo-reg-col .form-row,
.wehfigo-reg-col .password-field-wrapper,
.wehfigo-reg-col label {
	margin: 0 !important;
	width: 100%;
}

.wehfigo-reg-foot {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	width: 100%;
	padding-top: 0.35rem;
	text-align: center;
}

.wehfigo-reg-foot .checkboxes,
.wehfigo-reg-foot .form-row.checkboxes,
.wehfigo-reg-foot .woocommerce-privacy-policy-text {
	display: flex !important;
	justify-content: center;
	width: 100%;
	max-width: 560px;
	margin: 0 !important;
	text-align: center;
}

.wehfigo-auth[data-wehfigo-auth-step="register"] form#register .wehfigo-reg-foot input.button,
.wehfigo-auth[data-wehfigo-auth-step="register"] form#register .wehfigo-reg-foot a#otp_submit.button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	max-width: 280px !important;
	margin: 0.15rem auto 0 !important;
	float: none !important;
}

.wehfigo-reg-foot .notification {
	width: 100%;
	max-width: 560px;
}

@media (max-width: 899px) {
	.wehfigo-reg-col {
		padding: 0.9rem;
	}
}

/* Kill old 2-column field grid — replaced by .wehfigo-reg-layout */
@media (min-width: 900px) {
	.wehfigo-auth[data-wehfigo-auth-step="register"] .listeo-register-form-fields-container:not(:has(.wehfigo-reg-layout)) {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: clamp(1.25rem, 2.5vw, 2rem);
		row-gap: 0;
		align-items: start;
	}
}

/* Sequence: one mode only — beat body.wehfigo-auth-page .sign-in-form .tabs-nav flex */
body.wehfigo-auth-page .wehfigo-auth[data-wehfigo-auth-step="login"] .tabs-nav,
body.wehfigo-auth-page .wehfigo-auth[data-wehfigo-auth-step="register"] .tabs-nav,
body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="login"] .tabs-nav,
body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="register"] .tabs-nav,
.wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__card .tabs-nav,
.wehfigo-auth[data-wehfigo-auth-step="register"] .wehfigo-auth__card .tabs-nav,
.wehfigo-auth[data-wehfigo-auth-step="login"] .sign-in-form .tabs-nav,
.wehfigo-auth[data-wehfigo-auth-step="register"] .sign-in-form .tabs-nav,
#sign-in-dialog .wehfigo-auth[data-wehfigo-auth-step="login"] .tabs-nav,
#sign-in-dialog .wehfigo-auth[data-wehfigo-auth-step="register"] .tabs-nav {
	display: none !important;
}

body.wehfigo-auth-page .wehfigo-auth[data-wehfigo-auth-step="login"] #tab2,
body.wehfigo-auth-page .wehfigo-auth[data-wehfigo-auth-step="register"] #tab1,
.wehfigo-auth[data-wehfigo-auth-step="login"] #tab2,
.wehfigo-auth[data-wehfigo-auth-step="register"] #tab1 {
	display: none !important;
}

body.wehfigo-auth-page .wehfigo-auth[data-wehfigo-auth-step="login"] #tab1,
body.wehfigo-auth-page .wehfigo-auth[data-wehfigo-auth-step="register"] #tab2,
.wehfigo-auth[data-wehfigo-auth-step="login"] #tab1,
.wehfigo-auth[data-wehfigo-auth-step="register"] #tab2 {
	display: block !important;
}

/* Role already chosen on Get Started — hide duplicate account-type radios */
body.wehfigo-auth-page .wehfigo-auth[data-wehfigo-auth-step="register"] .account-type,
.wehfigo-auth[data-wehfigo-auth-step="register"] .account-type,
#sign-in-dialog .wehfigo-auth[data-wehfigo-auth-step="register"] .account-type {
	display: none !important;
}

.wehfigo-auth__title {
	margin: 0;
	font-family: var(--wehfigo-auth-font, var(--font-family-brand));
	font-size: clamp(36px, 5.2vw, 56px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: #ffffff;
}

.wehfigo-auth__roles {
	display: none;
}

/* Legacy perks list (kept for any cached markup) */
.wehfigo-auth__perks {
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: none;
	text-align: left;
	gap: 0.55rem;
}

.wehfigo-auth__perks li {
	position: relative;
	padding-left: 1.35rem;
	font-family: var(--font-family-body);
	font-size: clamp(15px, 1.7vw, 19px);
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.9);
}

.wehfigo-auth__perks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: var(--color-brand-red);
}

/* =========================================================
   Tabs — segmented control, no Listeo caret / underline arrow
   ========================================================= */

.wehfigo-auth__card .tabs-nav,
body.wehfigo-auth-page .sign-in-form .tabs-nav,
#sign-in-dialog .tabs-nav {
	display: flex !important;
	float: none !important;
	position: sticky;
	top: 0;
	z-index: 12;
	flex-shrink: 0;
	width: 100%;
	margin: 0 0 1.35rem !important;
	padding: 0.28rem;
	gap: 0.2rem;
	list-style: none;
	border: 1px solid var(--wehfigo-auth-line, #e0e6ed);
	border-radius: 10px;
	background: #ffffff;
	box-shadow: none;
}

body.wehfigo-auth-fullscreen .wehfigo-auth__card .tabs-nav {
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 0 !important;
	margin-bottom: 1.35rem !important;
}

.wehfigo-auth__card .tabs-nav li,
body.wehfigo-auth-page .sign-in-form .tabs-nav li,
#sign-in-dialog .tabs-nav li {
	float: none !important;
	flex: 1;
	margin: 0 !important;
	line-height: 1.2 !important;
}

.wehfigo-auth__card .tabs-nav li a,
body.wehfigo-auth-page .sign-in-form .tabs-nav li a,
#sign-in-dialog .tabs-nav li a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0 !important;
	padding: 0.78rem 0.85rem !important;
	border: none !important;
	border-radius: 8px !important;
	font-family: var(--wehfigo-auth-font, var(--font-family-brand)) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #8a93a0 !important;
	text-align: center;
	background: transparent !important;
	box-shadow: none !important;
}

.wehfigo-auth__card .tabs-nav li a:hover,
body.wehfigo-auth-page .sign-in-form .tabs-nav li a:hover,
#sign-in-dialog .tabs-nav li a:hover {
	color: #4b5563 !important;
	background: rgba(0, 0, 0, 0.03) !important;
	border-color: transparent !important;
}

.wehfigo-auth__card .tabs-nav li.active a,
body.wehfigo-auth-page .sign-in-form .tabs-nav li.active a,
#sign-in-dialog .tabs-nav li.active a,
.wehfigo-auth__form-shell .tabs-nav li.active a {
	color: #ffffff !important;
	background: #d6001c !important;
	border-color: transparent !important;
	box-shadow: none !important;
}

/* Kill Listeo caret / ::before / ::after / icon glyphs on auth tabs */
.wehfigo-auth__card .tabs-nav li a::before,
.wehfigo-auth__card .tabs-nav li a::after,
.wehfigo-auth__card .tabs-nav li::before,
.wehfigo-auth__card .tabs-nav li::after,
.wehfigo-auth__card .tabs-nav li.active a::before,
.wehfigo-auth__card .tabs-nav li.active a::after,
body.wehfigo-auth-page .sign-in-form .tabs-nav li a::before,
body.wehfigo-auth-page .sign-in-form .tabs-nav li a::after,
body.wehfigo-auth-page .sign-in-form .tabs-nav li::before,
body.wehfigo-auth-page .sign-in-form .tabs-nav li::after,
#sign-in-dialog .tabs-nav li a::before,
#sign-in-dialog .tabs-nav li a::after,
#sign-in-dialog .tabs-nav li::before,
#sign-in-dialog .tabs-nav li::after {
	content: none !important;
	display: none !important;
	border: none !important;
}

.wehfigo-auth__card .tabs-nav li a i,
.wehfigo-auth__card .tabs-nav li a .fa,
.wehfigo-auth__card .tabs-nav li a .sl,
body.wehfigo-auth-page .sign-in-form .tabs-nav li a i,
#sign-in-dialog .tabs-nav li a i {
	display: none !important;
}

/* Kill leftover narrow caps on Listeo tabs-container inside form panel */
body.wehfigo-auth-page .wehfigo-auth__form-panel .tabs-container,
body.wehfigo-auth-fullscreen .wehfigo-auth__form-panel .tabs-container,
.wehfigo-auth__form-panel .tabs-container,
.wehfigo-auth__form-panel .tab-content {
	max-width: 100% !important;
	width: 100% !important;
	float: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__form-panel .tabs-container {
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.wehfigo-auth__card .tab-content,
body.wehfigo-auth-page .sign-in-form .tab-content {
	padding: 0 !important;
	border: none !important;
	box-shadow: none !important;
	width: 100%;
}

/* =========================================================
   Fields + icons
   ========================================================= */

.wehfigo-auth__card .form-row,
body.wehfigo-auth-page .sign-in-form .form-row {
	margin: 0 0 1rem;
}

.wehfigo-auth__card label,
body.wehfigo-auth-page .sign-in-form label,
#sign-in-dialog .sign-in-form label {
	display: block;
	position: relative;
	margin: 0;
	font-family: var(--font-family-body);
	font-size: var(--text-meta, 0.8rem);
	font-weight: 500;
	color: var(--color-page-muted, #666);
}

.wehfigo-auth__card label i,
body.wehfigo-auth-page .sign-in-form label i,
#sign-in-dialog .sign-in-form label i {
	position: absolute !important;
	left: 1rem !important;
	bottom: auto !important;
	top: 50% !important;
	transform: translateY(-50%);
	z-index: 2;
	font-size: 17px !important;
	color: var(--color-page-muted, #888) !important;
	pointer-events: none;
}

/* Show/hide password — must beat the field-icon rules above */
.wehfigo-pass-wrap {
	position: relative !important;
	display: block !important;
	width: 100% !important;
}

.wehfigo-auth__card label i.fa-eye,
.wehfigo-auth__card label i.fa-eye-slash,
.wehfigo-auth__card label i.fa-solid.fa-eye,
.wehfigo-auth__card label i.fa-solid.fa-eye-slash,
.wehfigo-auth__card .wehfigo-pass-toggle,
body.wehfigo-auth-page .sign-in-form label i.fa-eye,
body.wehfigo-auth-page .sign-in-form label i.fa-eye-slash,
#sign-in-dialog .sign-in-form label i.fa-eye,
#sign-in-dialog .sign-in-form label i.fa-eye-slash {
	left: auto !important;
	right: 14px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	z-index: 6 !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 8px !important;
	font-size: 18px !important;
	line-height: 1 !important;
	color: var(--color-page-muted, #555) !important;
	pointer-events: auto !important;
	cursor: pointer !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.wehfigo-auth__card .wehfigo-pass-toggle:hover,
.wehfigo-auth__card label i.fa-eye:hover,
.wehfigo-auth__card label i.fa-eye-slash:hover,
button.wehfigo-pass-toggle:hover {
	color: var(--color-primary, #d6001c) !important;
}

button.wehfigo-pass-toggle {
	position: absolute !important;
	right: 8px !important;
	left: auto !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	z-index: 6 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px !important;
	height: 40px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: transparent !important;
	box-shadow: none !important;
	cursor: pointer !important;
	pointer-events: auto !important;
	color: var(--color-page-muted, #555) !important;
	transition:
		color 0.2s ease,
		transform 0.2s ease;
}

button.wehfigo-pass-toggle i {
	position: static !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	transform: none !important;
	pointer-events: none !important;
	font-size: 18px !important;
	color: inherit !important;
	transition:
		transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1),
		opacity 0.2s ease;
}

button.wehfigo-pass-toggle.is-revealed {
	color: var(--color-primary, #d6001c) !important;
}

button.wehfigo-pass-toggle.is-animating {
	animation: wehfigo-pass-pop 0.36s cubic-bezier(0.34, 1.45, 0.64, 1);
}

button.wehfigo-pass-toggle.is-animating i {
	animation: wehfigo-pass-icon-flip 0.36s ease;
}

@keyframes wehfigo-pass-pop {
	0% {
		transform: translateY(-50%) scale(1);
	}
	35% {
		transform: translateY(-50%) scale(0.72);
	}
	70% {
		transform: translateY(-50%) scale(1.12);
	}
	100% {
		transform: translateY(-50%) scale(1);
	}
}

@keyframes wehfigo-pass-icon-flip {
	0% {
		opacity: 1;
		transform: scale(1) rotate(0deg);
	}
	40% {
		opacity: 0.35;
		transform: scale(0.55) rotate(-18deg);
	}
	100% {
		opacity: 1;
		transform: scale(1) rotate(0deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	button.wehfigo-pass-toggle.is-animating,
	button.wehfigo-pass-toggle.is-animating i {
		animation: none;
	}
}

/* Privacy / terms helper links — readable */
.wehfigo-auth__card .woocommerce-privacy-policy-text,
.wehfigo-auth__card .woocommerce-privacy-policy-text p,
.wehfigo-auth__card .woocommerce-privacy-policy-text a,
.wehfigo-auth__card label[for="privacy_policy"],
.wehfigo-auth__card label[for="terms_and_conditions"],
body.wehfigo-auth-page .sign-in-form .woocommerce-privacy-policy-text,
body.wehfigo-auth-page .sign-in-form .woocommerce-privacy-policy-text a {
	font-size: 15px !important;
	line-height: 1.45 !important;
	color: var(--color-page-text, #333) !important;
}

.wehfigo-auth__card .woocommerce-privacy-policy-text a,
body.wehfigo-auth-page .sign-in-form .woocommerce-privacy-policy-text a {
	color: var(--color-primary, #d6001c) !important;
	font-weight: 600 !important;
	text-decoration: underline !important;
}

/* Listeo wraps password in a bare <div> — keep it positioned */
.wehfigo-auth__card label > div,
body.wehfigo-auth-page .sign-in-form label > div,
#sign-in-dialog .sign-in-form label > div {
	position: relative !important;
	display: block !important;
	width: 100% !important;
}

.wehfigo-auth__card label input.input-text,
.wehfigo-auth__card label input[type="text"],
.wehfigo-auth__card label input[type="email"],
.wehfigo-auth__card label input[type="password"],
.wehfigo-auth__card label input[type="tel"],
body.wehfigo-auth-page .sign-in-form label input.input-text,
body.wehfigo-auth-page .sign-in-form label input[type="text"],
body.wehfigo-auth-page .sign-in-form label input[type="password"],
#sign-in-dialog .sign-in-form label input {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 15px 15px 15px 46px !important;
	min-height: 50px;
	height: auto !important;
	border: 1px solid var(--wehfigo-auth-line, #e0e6ed) !important;
	border-radius: 6px !important;
	background: #ffffff !important;
	font-family: var(--wehfigo-auth-font, var(--font-family-body)) !important;
	font-size: 15px !important;
	color: #111111 !important;
	box-shadow: none !important;
	transition:
		border-color var(--duration-fast, 0.15s) var(--ease-standard, ease),
		box-shadow var(--duration-fast, 0.15s) var(--ease-standard, ease);
}

.wehfigo-auth__card label input[type="password"],
.wehfigo-auth__card label input.wehfigo-has-pass-toggle,
body.wehfigo-auth-page .sign-in-form label input[type="password"],
#sign-in-dialog .sign-in-form label input[type="password"] {
	padding-right: 48px !important;
}

.wehfigo-auth__card label input:focus,
.wehfigo-auth__card label input:focus-visible,
.wehfigo-auth__card label select:focus,
.wehfigo-auth__card label select:focus-visible,
.wehfigo-auth__card label textarea:focus,
body.wehfigo-auth-page .sign-in-form label input:focus,
body.wehfigo-auth-page .sign-in-form label input:focus-visible,
body.wehfigo-auth-page .sign-in-form label select:focus,
body.wehfigo-auth-page .sign-in-form label select:focus-visible,
#sign-in-dialog .sign-in-form label input:focus,
#sign-in-dialog .sign-in-form label input:focus-visible,
#sign-in-dialog .sign-in-form label select:focus,
#sign-in-dialog .sign-in-form label select:focus-visible,
.wehfigo-reg-col-body select:focus,
.wehfigo-reg-col-body select:focus-visible,
.wehfigo-reg-col-body input:focus,
.wehfigo-reg-col-body input:focus-visible {
	outline: none !important;
	outline-offset: 0 !important;
	border-color: var(--wehfigo-auth-red, var(--color-primary, #d6001c)) !important;
	box-shadow: 0 0 0 3px rgba(214, 0, 28, 0.12) !important;
}

/* Kill browser default blue focus rings on auth (login + register). */
.wehfigo-auth *:focus,
.wehfigo-auth *:focus-visible,
.wehfigo-auth *:focus-within,
body.wehfigo-auth-page .sign-in-form *:focus,
body.wehfigo-auth-page .sign-in-form *:focus-visible,
body.wehfigo-auth-fullscreen *:focus,
body.wehfigo-auth-fullscreen *:focus-visible,
#sign-in-dialog *:focus,
#sign-in-dialog *:focus-visible {
	outline: none !important;
	outline-color: transparent !important;
	-webkit-tap-highlight-color: transparent !important;
}

.wehfigo-auth a:focus,
.wehfigo-auth a:focus-visible,
.wehfigo-auth button:focus,
.wehfigo-auth button:focus-visible,
.wehfigo-auth input[type="checkbox"]:focus,
.wehfigo-auth input[type="checkbox"]:focus-visible,
.wehfigo-auth input[type="radio"]:focus,
.wehfigo-auth input[type="radio"]:focus-visible,
.wehfigo-auth input[type="submit"]:focus,
.wehfigo-auth input[type="submit"]:focus-visible,
body.wehfigo-auth-page .sign-in-form a:focus,
body.wehfigo-auth-page .sign-in-form button:focus,
body.wehfigo-auth-page .sign-in-form input[type="checkbox"]:focus,
body.wehfigo-auth-page .sign-in-form input[type="submit"]:focus,
#sign-in-dialog a:focus,
#sign-in-dialog button:focus,
#sign-in-dialog input[type="checkbox"]:focus,
#sign-in-dialog input[type="submit"]:focus {
	outline: none !important;
	box-shadow: none !important;
}

.wehfigo-auth__card .lost_password,
.wehfigo-auth__form-shell .lost_password,
body.wehfigo-auth-page .sign-in-form .lost_password {
	display: block !important;
	position: relative;
	z-index: 4;
	width: 100%;
	margin: 12px 0 14px !important;
	text-align: right !important;
}

.wehfigo-auth__card .lost_password a,
.wehfigo-auth__form-shell .lost_password a,
body.wehfigo-auth-page .sign-in-form .lost_password a,
#sign-in-dialog .lost_password a {
	display: inline-block !important;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	font-family: var(--wehfigo-auth-font, var(--font-family-body));
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.4;
	color: #d6001c !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	pointer-events: auto !important;
	cursor: pointer;
}

.wehfigo-auth__card .lost_password a:hover,
body.wehfigo-auth-page .sign-in-form .lost_password a:hover {
	color: var(--color-primary-hover, #b00018) !important;
}

/* =========================================================
   Actions
   ========================================================= */

.wehfigo-auth__card .form-row .button,
.wehfigo-auth__card input.button,
.wehfigo-auth__card a.button,
.wehfigo-auth__card #otp_submit,
body.wehfigo-auth-page .sign-in-form .button,
#sign-in-dialog .sign-in-form .button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 50px;
	margin: 0 0 16px !important;
	padding: 14px 20px !important;
	border: none !important;
	border-radius: 6px !important;
	background: var(--wehfigo-auth-red, var(--color-primary)) !important;
	color: #ffffff !important;
	font-family: var(--wehfigo-auth-font, var(--font-family-brand)) !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.01em;
	cursor: pointer;
	box-shadow: none !important;
	position: relative;
	z-index: 1;
	transition: background-color var(--duration-fast, 0.15s) var(--ease-standard, ease);
}

.wehfigo-auth__card .form-row .button:hover,
.wehfigo-auth__card input.button:hover,
.wehfigo-auth__card a.button:hover,
body.wehfigo-auth-page .sign-in-form .button:hover {
	background: var(--color-primary-hover) !important;
	color: var(--color-brand-white) !important;
}

/* Remember Me — Listeo hides the real checkbox; leave room for ::before box */
.wehfigo-auth__card form#login .form-row,
body.wehfigo-auth-page form#login .form-row {
	position: relative;
	z-index: 2;
	overflow: visible !important;
}

.wehfigo-auth__card .checkboxes,
body.wehfigo-auth-page .sign-in-form .checkboxes,
#sign-in-dialog .sign-in-form .checkboxes {
	display: flex !important;
	align-items: center;
	clear: both;
	position: relative;
	z-index: 3;
	margin: 4px 0 0 !important;
	padding: 4px 0 8px !important;
	min-height: 28px;
	overflow: visible !important;
	pointer-events: auto !important;
}

.wehfigo-auth__card .checkboxes label,
body.wehfigo-auth-page .sign-in-form .checkboxes label,
#sign-in-dialog .sign-in-form .checkboxes label {
	display: inline-block !important;
	position: relative !important;
	/* Room for Listeo 19px ::before checkbox — was 3.5px and covered the text */
	padding-left: 32px !important;
	padding-right: 0 !important;
	margin: 0 !important;
	/* px — Listeo html { font-size: 10px } */
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 24px !important;
	color: var(--color-page-heading, #1a1a1a) !important;
	cursor: pointer !important;
	pointer-events: auto !important;
	overflow: visible !important;
	white-space: normal;
}

.wehfigo-auth__card .checkboxes label:before,
body.wehfigo-auth-page .sign-in-form .checkboxes label:before,
#sign-in-dialog .sign-in-form .checkboxes label:before {
	left: 0 !important;
	top: 2px !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	z-index: 1;
	pointer-events: none;
}

.wehfigo-auth__card .checkboxes input[type="checkbox"],
body.wehfigo-auth-page .sign-in-form .checkboxes input[type="checkbox"] {
	/* Keep Listeo custom box, but don't let a ghost input steal layout */
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	pointer-events: none;
}

.wehfigo-auth__card .account-type,
body.wehfigo-auth-page .sign-in-form .account-type,
#sign-in-dialog .account-type {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
	margin-bottom: var(--space-4);
	align-items: stretch;
	width: 100% !important;
}

/* Beat Listeo .account-type input:empty~label { height:48px; overflow:hidden } */
.wehfigo-auth__card .account-type input.account-type-radio:empty ~ label,
body.wehfigo-auth-page .sign-in-form .account-type input.account-type-radio:empty ~ label,
#sign-in-dialog .account-type input.account-type-radio:empty ~ label,
.wehfigo-auth__card .account-type label,
body.wehfigo-auth-page .sign-in-form .account-type label,
#sign-in-dialog .account-type label {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.4rem;
	float: none !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 0.95rem 1rem !important;
	text-align: left !important;
	border: 1px solid var(--color-page-border, rgba(0, 0, 0, 0.12));
	border-radius: var(--radius-md, 0.55rem);
	background: var(--color-page-bg-alt, #f5f5f5);
	font-family: var(--font-family-brand);
	/* px — Listeo html { font-size: 10px } collapses rem */
	font-size: 16px !important;
	font-weight: 700;
	line-height: 1.3 !important;
	color: var(--color-page-text, #333);
	cursor: pointer;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
	box-shadow: none;
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		background-color 0.18s ease,
		color 0.18s ease;
}

.wehfigo-auth__card .account-type label .wehfigo-role-title,
body.wehfigo-auth-page .sign-in-form .account-type label .wehfigo-role-title,
#sign-in-dialog .account-type label .wehfigo-role-title {
	display: block;
	width: 100%;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	color: inherit;
	white-space: normal !important;
}

.wehfigo-auth__card .account-type label .wehfigo-role-hint,
body.wehfigo-auth-page .sign-in-form .account-type label .wehfigo-role-hint,
#sign-in-dialog .account-type label .wehfigo-role-hint {
	display: block;
	width: 100%;
	font-family: var(--font-family-body);
	font-size: 13px;
	font-weight: 500;
	color: var(--color-page-text, #444);
	line-height: 1.4;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
	word-break: normal;
	overflow-wrap: anywhere;
}

.wehfigo-auth__card .account-type label i {
	position: static !important;
	transform: none !important;
	left: auto !important;
	top: auto !important;
	font-size: 1rem !important;
	margin-bottom: 0.15rem;
}

.wehfigo-auth__card .account-type input:checked ~ label,
.wehfigo-auth__card .account-type input.account-type-radio:checked ~ label,
body.wehfigo-auth-page .sign-in-form .account-type input:checked ~ label,
body.wehfigo-auth-page .sign-in-form .account-type input.account-type-radio:checked ~ label,
#sign-in-dialog .account-type input:checked ~ label,
#sign-in-dialog .account-type input.account-type-radio:checked ~ label {
	border-color: var(--color-primary, #d6001c) !important;
	border-width: 2px !important;
	background: var(--color-brand-red-muted, rgba(214, 0, 28, 0.12)) !important;
	color: var(--color-primary, #d6001c) !important;
	/* Clear selected ring — beats Listeo gray checked fill */
	box-shadow:
		0 0 0 3px rgba(214, 0, 28, 0.28),
		0 0 0 1px var(--color-primary, #d6001c) !important;
}

.wehfigo-auth__card .account-type input:checked ~ label .wehfigo-role-title,
.wehfigo-auth__card .account-type input.account-type-radio:checked ~ label .wehfigo-role-title,
body.wehfigo-auth-page .sign-in-form .account-type input:checked ~ label .wehfigo-role-title,
#sign-in-dialog .account-type input:checked ~ label .wehfigo-role-title {
	color: var(--color-primary, #d6001c) !important;
}

.wehfigo-auth__card .account-type input:checked ~ label .wehfigo-role-hint,
.wehfigo-auth__card .account-type input.account-type-radio:checked ~ label .wehfigo-role-hint,
body.wehfigo-auth-page .sign-in-form .account-type input:checked ~ label .wehfigo-role-hint,
#sign-in-dialog .account-type input:checked ~ label .wehfigo-role-hint {
	color: var(--color-page-text, #333) !important;
}

.wehfigo-auth__card .account-type input:checked ~ label i,
.wehfigo-auth__card .account-type input.account-type-radio:checked ~ label i,
body.wehfigo-auth-page .sign-in-form .account-type input:checked ~ label i,
#sign-in-dialog .account-type input:checked ~ label i {
	color: var(--color-primary, #d6001c) !important;
}

/* Kill Listeo full-bleed ::before/::after overlay on role cards */
.wehfigo-auth__card .account-type input.account-type-radio:empty ~ label:before,
.wehfigo-auth__card .account-type input.account-type-radio:empty ~ label:after,
body.wehfigo-auth-page .sign-in-form .account-type input.account-type-radio:empty ~ label:before,
body.wehfigo-auth-page .sign-in-form .account-type input.account-type-radio:empty ~ label:after,
#sign-in-dialog .account-type input.account-type-radio:empty ~ label:before,
#sign-in-dialog .account-type input.account-type-radio:empty ~ label:after {
	display: none !important;
	content: none !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Vendor extra fields (shown when Vendor role selected) */
#listeo-core-registration-fields {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin: 0.5rem 0 1rem;
}

#listeo-core-registration-fields:empty {
	display: none;
	margin: 0;
}

.wehfigo-vendor-fields-label {
	margin: 0.35rem 0 0.15rem;
	font-family: var(--font-family-brand);
	/* px — Listeo html { font-size: 10px } */
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-primary);
}

#listeo-core-registration-fields > label,
#listeo-core-registration-fields .listeo-registration-custom-text,
#listeo-core-registration-fields .listeo-registration-custom-select {
	display: block;
	position: relative;
	margin: 0;
	width: 100%;
}

#listeo-core-registration-fields select,
#listeo-core-registration-fields .select2-container,
#listeo-core-registration-fields .select2-container .select2-selection--single {
	width: 100% !important;
	max-width: none !important;
}

#listeo-core-registration-fields select {
	min-height: 52px !important;
	height: 52px !important;
	padding: 14px 16px !important;
	border: 1px solid var(--color-page-border, rgba(0, 0, 0, 0.12)) !important;
	border-radius: var(--radius-md, 0.65rem) !important;
	background: var(--color-page-bg, #fff) !important;
	/* px — Listeo html { font-size: 10px } */
	font-family: var(--font-family-body) !important;
	font-size: 16px !important;
	line-height: 1.3 !important;
	color: var(--color-page-heading, #111) !important;
	appearance: auto;
	box-sizing: border-box !important;
}

#listeo-core-registration-fields input.input-text,
#listeo-core-registration-fields input[type="text"],
#listeo-core-registration-fields input[type="tel"],
#listeo-core-registration-fields input[type="email"] {
	min-height: 52px !important;
	height: auto !important;
	font-size: 16px !important;
	box-sizing: border-box !important;
}

#listeo-core-registration-fields .select2-container .select2-selection--single {
	min-height: 52px !important;
	height: 52px !important;
	padding: 0 12px !important;
	border: 1px solid var(--color-page-border, rgba(0, 0, 0, 0.12)) !important;
	border-radius: var(--radius-md, 0.65rem) !important;
	display: flex !important;
	align-items: center !important;
	background: var(--color-page-bg, #fff) !important;
}

#listeo-core-registration-fields .select2-container .select2-selection__rendered {
	/* px — Listeo html { font-size: 10px } */
	font-size: 16px !important;
	line-height: 52px !important;
	color: var(--color-page-heading, #111) !important;
	padding: 0 !important;
}

#listeo-core-registration-fields .select2-container .select2-selection__arrow {
	height: 50px !important;
}

/* =========================================================
   WooCommerce #customer_login (my-account guest)
   ========================================================= */

body.wehfigo-auth-page #customer_login {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-4);
	width: min(100%, 52rem);
	margin: clamp(1.5rem, 4vw, 3rem) auto;
	padding: 0 var(--space-4);
}

body.wehfigo-auth-page #customer_login .u-column1,
body.wehfigo-auth-page #customer_login .u-column2,
body.wehfigo-auth-page #customer_login .col-1,
body.wehfigo-auth-page #customer_login .col-2 {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: clamp(1.35rem, 3vw, 2rem);
	border: 1px solid var(--color-page-border, rgba(0, 0, 0, 0.1));
	border-radius: var(--radius-lg, 0.85rem);
	background: var(--color-page-bg, #fff);
	box-shadow: 0 12px 32px -18px rgba(0, 0, 0, 0.22);
}

body.wehfigo-auth-page #customer_login h2 {
	margin: 0 0 var(--space-4);
	font-family: var(--font-family-brand);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--color-page-heading, #111);
}

body.wehfigo-auth-page #customer_login .woocommerce-Input,
body.wehfigo-auth-page #customer_login input.input-text {
	width: 100%;
	min-height: 3rem;
	padding: 0.85rem 1rem;
	border: 1px solid var(--color-page-border, rgba(0, 0, 0, 0.12));
	border-radius: var(--radius-md, 0.55rem);
	font-family: var(--font-family-body);
}

body.wehfigo-auth-page #customer_login .woocommerce-Button.button,
body.wehfigo-auth-page #customer_login button.button {
	width: 100%;
	min-height: 3rem;
	border: none !important;
	border-radius: var(--radius-md, 0.55rem) !important;
	background: var(--color-primary) !important;
	color: var(--color-brand-white) !important;
	font-family: var(--font-family-brand) !important;
	font-weight: 600 !important;
}

/* =========================================================
   Dark mode
   ========================================================= */

html[data-theme="dark"] .wehfigo-auth__stage,
html[data-theme="dark"] body.wehfigo-auth-page #customer_login .u-column1,
html[data-theme="dark"] body.wehfigo-auth-page #customer_login .u-column2 {
	background: #12151a;
	border-color: var(--color-page-border, rgba(255, 255, 255, 0.1));
}

html[data-theme="dark"] body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="choose"] .wehfigo-auth__stage {
	background:
		radial-gradient(ellipse 55% 50% at 6% 94%, rgba(214, 0, 28, 0.28), transparent 60%),
		radial-gradient(ellipse 50% 45% at 96% 6%, rgba(214, 0, 28, 0.2), transparent 58%),
		radial-gradient(ellipse 75% 55% at 50% 115%, rgba(214, 0, 28, 0.14), transparent 55%),
		linear-gradient(168deg, #1c1216 0%, #12151a 42%, #18131a 78%, #101318 100%);
}

html[data-theme="dark"] .wehfigo-auth__card,
html[data-theme="dark"] body.wehfigo-auth-fullscreen .wehfigo-auth__card {
	background:
		radial-gradient(ellipse 55% 50% at 6% 94%, rgba(214, 0, 28, 0.28), transparent 60%),
		radial-gradient(ellipse 50% 45% at 96% 6%, rgba(214, 0, 28, 0.2), transparent 58%),
		radial-gradient(ellipse 75% 55% at 50% 115%, rgba(214, 0, 28, 0.14), transparent 55%),
		linear-gradient(168deg, #1c1216 0%, #12151a 42%, #18131a 78%, #101318 100%);
	border-color: var(--color-page-border, rgba(255, 255, 255, 0.1));
}

/* Mobile choose step forces a light gradient — beat it in dark mode */
html[data-theme="dark"] body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="choose"] .wehfigo-auth__stage,
html[data-theme="dark"] body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="choose"] .wehfigo-auth__card {
	background:
		radial-gradient(ellipse 55% 50% at 6% 94%, rgba(214, 0, 28, 0.28), transparent 60%),
		radial-gradient(ellipse 50% 45% at 96% 6%, rgba(214, 0, 28, 0.2), transparent 58%),
		radial-gradient(ellipse 75% 55% at 50% 115%, rgba(214, 0, 28, 0.14), transparent 55%),
		linear-gradient(168deg, #1c1216 0%, #12151a 42%, #18131a 78%, #101318 100%) !important;
}

html[data-theme="dark"] body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="choose"] .wehfigo-auth__get-started {
	background: transparent;
}

html[data-theme="dark"] .wehfigo-auth__card-life-glow--tl {
	background: radial-gradient(circle, rgba(214, 0, 28, 0.38) 0%, transparent 70%);
	opacity: 0.7;
}

html[data-theme="dark"] .wehfigo-auth__card-life-glow--br {
	background: radial-gradient(circle, rgba(214, 0, 28, 0.32) 0%, transparent 72%);
	opacity: 0.65;
}

html[data-theme="dark"] .wehfigo-auth__card-life-dots {
	background-image: radial-gradient(circle, rgba(255, 80, 100, 0.55) 1.7px, transparent 2px);
	opacity: 0.45;
}

html[data-theme="dark"] .wehfigo-auth__card-life-tree {
	opacity: 0.18;
	color: #ff4d63;
}

html[data-theme="dark"] .wehfigo-auth__card-life-tree--left {
	opacity: 0.22;
}

html[data-theme="dark"] .wehfigo-auth__card-life-tree--right {
	opacity: 0.16;
}

html[data-theme="dark"] .wehfigo-auth__gs-card-tree {
	color: #ff4d63;
	opacity: 0.16;
}

html[data-theme="dark"] .wehfigo-auth__gs-title,
html[data-theme="dark"] .wehfigo-auth__gs-card-title {
	color: #ffffff;
}

html[data-theme="dark"] .wehfigo-auth__gs-sub,
html[data-theme="dark"] .wehfigo-auth__gs-card-copy {
	color: #a3abb8;
}

html[data-theme="dark"] .wehfigo-auth__gs-card {
	background: rgba(26, 31, 39, 0.92);
	border-color: transparent;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(6px);
}

html[data-theme="dark"] .wehfigo-auth__gs-card.is-lit {
	border-color: #ff6b7a;
	background:
		radial-gradient(ellipse 80% 70% at 50% 0%, rgba(255, 107, 122, 0.2), transparent 55%),
		rgba(22, 16, 20, 0.98);
	box-shadow:
		0 0 0 1px rgba(255, 107, 122, 0.45),
		0 0 32px rgba(214, 0, 28, 0.35),
		0 18px 42px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .wehfigo-auth__gs-grid.has-selection .wehfigo-auth__gs-card:not(.is-lit) {
	opacity: 0.48;
}

html[data-theme="dark"] .wehfigo-auth__gs-dots {
	background-image: radial-gradient(circle, rgba(255, 120, 140, 0.45) 1.75px, transparent 2px);
}

html[data-theme="dark"] .wehfigo-auth__gs-btn--outline {
	background: rgba(18, 21, 26, 0.55);
}

/* Form chrome: never dark-on-dark / light-on-light */
html[data-theme="dark"] .wehfigo-auth__form-title,
html[data-theme="dark"] .wehfigo-auth__form-head,
html[data-theme="dark"] [data-wehfigo-auth-form-title] {
	color: #ffffff !important;
}

html[data-theme="dark"] .wehfigo-auth__back {
	color: #c5ccd6 !important;
}

html[data-theme="dark"] .wehfigo-auth__back:hover {
	color: #ff6b7a !important;
}

html[data-theme="dark"] .wehfigo-auth__form-panel {
	background: transparent !important;
	border: 0 !important;
	border-color: transparent !important;
	color: #e8ecf1 !important;
	outline: none !important;
	box-shadow: none !important;
}

html[data-theme="dark"] .wehfigo-auth-next {
	border-color: rgba(255, 255, 255, 0.12);
	background:
		radial-gradient(circle at 10% 0%, rgba(214, 0, 28, 0.24), transparent 38%),
		linear-gradient(145deg, #161a21 0%, #101318 58%, #1b1014 100%);
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
	color: #f8fafc;
}

html[data-theme="dark"] .wehfigo-auth-next h3 {
	color: #ffffff;
}

html[data-theme="dark"] .wehfigo-auth-next__copy {
	color: #cbd5e1;
}

html[data-theme="dark"] .wehfigo-auth-next__detail {
	color: #f1f5f9;
}

html[data-theme="dark"] .wehfigo-auth-next__cta {
	color: #ffffff !important;
}

html[data-theme="dark"] .wehfigo-reg-col {
	background: rgba(12, 15, 20, 0.9) !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
}

html[data-theme="dark"] .wehfigo-reg-col--account {
	border-color: rgba(255, 255, 255, 0.12) !important;
}

html[data-theme="dark"] .wehfigo-reg-col.is-enabled {
	border-color: #ff6b7a !important;
	box-shadow: 0 0 0 1px rgba(255, 107, 122, 0.2);
}

html[data-theme="dark"] .wehfigo-reg-check,
html[data-theme="dark"] .wehfigo-reg-col--account .wehfigo-reg-col-title {
	color: #ffffff !important;
}

html[data-theme="dark"] .wehfigo-reg-col-title {
	color: #ff8a96 !important;
}

html[data-theme="dark"] .wehfigo-reg-col-hint {
	color: #9aa3b2 !important;
}

html[data-theme="dark"] .wehfigo-auth__form-panel label,
html[data-theme="dark"] .wehfigo-auth__form-panel .form-row,
html[data-theme="dark"] .wehfigo-auth__form-panel .woocommerce-privacy-policy-text,
html[data-theme="dark"] .wehfigo-auth__form-panel .woocommerce-privacy-policy-text p,
html[data-theme="dark"] .wehfigo-auth__card .checkboxes label,
html[data-theme="dark"] .wehfigo-auth__card .lost_password,
html[data-theme="dark"] .wehfigo-auth__card .lost_password a {
	color: #c5ccd6 !important;
}

html[data-theme="dark"] .wehfigo-auth__form-panel .woocommerce-privacy-policy-text a,
html[data-theme="dark"] .wehfigo-auth__card .lost_password a:hover {
	color: #ff8a96 !important;
}

html[data-theme="dark"] .wehfigo-auth__card label i,
html[data-theme="dark"] .wehfigo-auth__card .wehfigo-pass-toggle {
	color: #9aa3b2 !important;
}

html[data-theme="dark"] .wehfigo-auth__card label input.input-text,
html[data-theme="dark"] .wehfigo-auth__card label input[type="text"],
html[data-theme="dark"] .wehfigo-auth__card label input[type="email"],
html[data-theme="dark"] .wehfigo-auth__card label input[type="password"],
html[data-theme="dark"] .wehfigo-auth__card label input[type="tel"],
html[data-theme="dark"] body.wehfigo-auth-page .sign-in-form label input,
html[data-theme="dark"] body.wehfigo-auth-page #customer_login .woocommerce-Input {
	background: #0d1014 !important;
	border-color: rgba(255, 255, 255, 0.14) !important;
	color: #f3f5f7 !important;
}

html[data-theme="dark"] .wehfigo-auth__card label input::placeholder,
html[data-theme="dark"] body.wehfigo-auth-page .sign-in-form label input::placeholder {
	color: #8b94a3 !important;
	opacity: 1;
}

html[data-theme="dark"] .wehfigo-auth__card .tabs-nav,
html[data-theme="dark"] body.wehfigo-auth-page .sign-in-form .tabs-nav,
html[data-theme="dark"] #sign-in-dialog .tabs-nav {
	background: #1a1f27;
	border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .wehfigo-auth__card .tabs-nav li a,
html[data-theme="dark"] body.wehfigo-auth-page .sign-in-form .tabs-nav li a {
	color: #a3abb8 !important;
}

html[data-theme="dark"] .wehfigo-auth__card .tabs-nav li.active a,
html[data-theme="dark"] body.wehfigo-auth-page .sign-in-form .tabs-nav li.active a {
	color: #ffffff !important;
	background: var(--color-primary, #d6001c) !important;
}

/* =========================================================
   Auth errors — stay in card (never bounce / fly off-screen)
   ========================================================= */

.wehfigo-auth__card .notification,
body.wehfigo-auth-page .sign-in-form .notification,
#sign-in-dialog .notification {
	display: none;
	margin: 1rem 0 0 !important;
	padding: 0.85rem 1rem !important;
	border-radius: 0.65rem !important;
	border: 1px solid transparent !important;
	font-size: 0.92rem !important;
	line-height: 1.45 !important;
	position: relative !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	bottom: auto !important;
	transform: none !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	z-index: 2 !important;
}

.wehfigo-auth__card .notification p,
body.wehfigo-auth-page .sign-in-form .notification p,
#sign-in-dialog .notification p {
	margin: 0 !important;
	padding: 0 !important;
}

.wehfigo-auth__card .notification.error,
body.wehfigo-auth-page .sign-in-form .notification.error,
#sign-in-dialog .notification.error {
	display: block;
	background: #fdecea !important;
	border-color: #e8a0a0 !important;
	color: #8a1f1f !important;
}

.wehfigo-auth__card .notification.notice,
body.wehfigo-auth-page .sign-in-form .notification.notice,
#sign-in-dialog .notification.notice {
	display: block;
	background: #f4f4f5 !important;
	border-color: #d4d4d8 !important;
	color: #3f3f46 !important;
}

.wehfigo-auth__card .notification.success,
body.wehfigo-auth-page .sign-in-form .notification.success,
#sign-in-dialog .notification.success {
	display: block;
	background: #e8f6ee !important;
	border-color: #8fceb0 !important;
	color: #1d6b45 !important;
}

html[data-theme="dark"] .wehfigo-auth__card .notification.error,
html[data-theme="dark"] #sign-in-dialog .notification.error {
	background: rgba(180, 40, 40, 0.22) !important;
	border-color: rgba(230, 120, 120, 0.45) !important;
	color: #ffc9c9 !important;
}

html[data-theme="dark"] .wehfigo-auth__card .notification.notice,
html[data-theme="dark"] #sign-in-dialog .notification.notice {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.14) !important;
	color: #e4e4e7 !important;
}

html[data-theme="dark"] .wehfigo-auth__card .notification.success,
html[data-theme="dark"] #sign-in-dialog .notification.success {
	background: rgba(40, 140, 90, 0.22) !important;
	border-color: rgba(120, 200, 150, 0.4) !important;
	color: #b8f0d0 !important;
}

body.wehfigo-auth-page .woocommerce-error,
body.wehfigo-auth-page .woocommerce-message,
body.wehfigo-auth-page .woocommerce-info {
	margin: 0 0 1rem !important;
	border-radius: 0.65rem !important;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 860px) {
	.wehfigo-auth__stage {
		grid-template-columns: 1fr;
		width: 100%;
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth__stage {
		grid-template-rows: auto auto;
		min-height: 0;
		height: auto;
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="choose"] .wehfigo-auth__stage {
		grid-template-rows: auto auto;
		min-height: 0;
	}

	/* Login/register can still grow a bit; choose hugs content */
	body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__stage,
	body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="register"] .wehfigo-auth__stage {
		grid-template-rows: auto minmax(0, auto);
		min-height: 0;
	}

	.wehfigo-auth__panel {
		min-height: clamp(22rem, 56vh, 34rem);
		/* True center of the nightlife image band */
		justify-content: center;
		align-items: center;
		text-align: left;
		padding: clamp(4.75rem, 12vh, 6.5rem) 1rem clamp(2rem, 5vh, 3rem);
		gap: 0;
		background-position: center, 62% center;
		box-sizing: border-box;
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth__panel {
		min-height: clamp(24rem, 58vh, 36rem);
		justify-content: center;
		align-items: center;
		padding-top: clamp(5rem, 13vh, 7rem);
		padding-bottom: clamp(2rem, 5vh, 3rem);
		padding-left: 1rem;
		padding-right: 1rem;
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="choose"] .wehfigo-auth__card {
		padding-top: 0.7rem;
		padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="choose"] .wehfigo-auth__get-started {
		min-height: 0 !important;
		padding-top: 0.4rem;
		padding-bottom: 0.65rem;
	}

	.wehfigo-auth__dots {
		left: 0;
		top: 1rem;
		width: 3.75rem;
		height: 5.75rem;
		background-size: 1.2rem 1.2rem;
		background-position: 0.85rem 0.65rem;
	}

	.wehfigo-auth__wave {
		width: min(72vw, 14rem);
		opacity: 0.7;
	}

	.wehfigo-auth__panel-inner {
		width: 100%;
		max-width: none;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
		text-align: left;
		box-sizing: border-box;
	}

	.wehfigo-auth__eyebrow {
		font-size: clamp(1.3rem, 5.8vw, 1.65rem);
		letter-spacing: 0.18em;
		margin-bottom: 0.85rem;
		font-weight: 800;
	}

	.wehfigo-auth__brand-title {
		font-size: clamp(3.35rem, 16vw, 4.5rem);
		line-height: 0.9;
	}

	.wehfigo-auth__lead {
		font-size: clamp(1.15rem, 4.8vw, 1.4rem);
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		margin-top: 1.2rem;
		line-height: 1.35;
		font-weight: 600;
	}

	.wehfigo-auth__support {
		font-size: clamp(1.05rem, 4.2vw, 1.2rem);
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		margin-top: 0.6rem;
		line-height: 1.45;
	}

	.wehfigo-auth__cta-row {
		position: relative;
		z-index: 4;
		margin-top: 1.45rem;
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 0.65rem;
		width: 100%;
		padding: 0;
		margin-left: 0;
		margin-right: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
	}

	.wehfigo-auth__cta {
		flex: 1 1 auto;
		justify-content: center;
		min-height: 48px;
		padding: 0.75rem 1.1rem;
		font-size: 13px;
	}

	.wehfigo-auth__cta--ghost {
		border: 2px solid #ffffff;
		background: rgba(255, 255, 255, 0.14);
		color: #ffffff;
		box-shadow:
			0 0 0 1px rgba(0, 0, 0, 0.35),
			0 4px 14px rgba(0, 0, 0, 0.35);
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
	}

	.wehfigo-auth__cta--ghost:hover,
	.wehfigo-auth__cta--ghost:active {
		background: rgba(255, 255, 255, 0.24);
		border-color: #ffffff;
	}

	.wehfigo-auth__welcome {
		max-width: 100%;
		padding: 0;
	}

	.wehfigo-auth__perks {
		display: none;
	}

	.wehfigo-auth__title {
		font-size: clamp(30px, 8vw, 40px);
	}

	.wehfigo-auth__card {
		padding: 1.35rem 1.1rem calc(5.75rem + env(safe-area-inset-bottom, 0px));
		max-width: none;
	}

	.wehfigo-auth__card-life-tree--right {
		display: none;
	}

	.wehfigo-auth__card .account-type,
	body.wehfigo-auth-page .sign-in-form .account-type {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.wehfigo-auth__card .account-type label,
	body.wehfigo-auth-page .sign-in-form .account-type label {
		min-height: 0 !important;
		padding: 1rem 1.1rem !important;
		font-size: 16px;
	}

	.wehfigo-auth__card .account-type label .wehfigo-role-title {
		font-size: 17px;
	}

	.wehfigo-auth__card .account-type label .wehfigo-role-hint {
		font-size: 14px;
		white-space: normal !important;
		overflow: visible !important;
		text-overflow: unset !important;
	}

	body.wehfigo-auth-page #customer_login {
		grid-template-columns: 1fr;
		width: 100%;
		max-width: 100%;
	}

	/* Very small phones */
	@media (max-width: 380px) {
		.wehfigo-auth__cta-row {
			flex-direction: column;
		}

		.wehfigo-auth__cta {
			width: 100%;
		}

		.wehfigo-auth__card-life-tree--left {
			opacity: 0.07;
			width: 5.5rem;
			height: 7.75rem;
			left: 0.2rem;
			bottom: 0;
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	.wehfigo-auth__card label input,
	.wehfigo-auth__card .button {
		transition: none !important;
	}
}

/* =========================================================
   Site-wide #sign-in-dialog — same redesign as /my-profile/
   (Sign In, Submit Listing, bookmarks, booking, claim, etc.)
   ========================================================= */

.mfp-content:has(#sign-in-dialog),
.mfp-content #sign-in-dialog {
	max-width: min(96vw, 42rem) !important;
	width: 100% !important;
}

body.wehfigo-v2 #sign-in-dialog,
body #sign-in-dialog.wehfigo-auth-dialog,
#sign-in-dialog {
	max-width: min(96vw, 42rem) !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 1vh auto !important;
	background: transparent !important;
	border-radius: 1.1rem !important;
	box-shadow: none !important;
	overflow: visible !important;
	text-align: left !important;
}

#sign-in-dialog .small-dialog-header,
#sign-in-dialog > .small-dialog-header {
	display: none !important;
}

#sign-in-dialog > .sign-in-form.style-1,
#sign-in-dialog > .sign-in-form {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	max-width: none !important;
	width: 100% !important;
}

#sign-in-dialog .wehfigo-auth,
#sign-in-dialog .wehfigo-auth--dialog {
	padding: 0 !important;
	min-height: 0 !important;
	width: 100%;
	height: 100%;
}

#sign-in-dialog .wehfigo-auth__stage {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	min-height: min(92vh, 58rem);
	height: auto;
	grid-template-columns: 1fr !important;
	grid-template-rows: minmax(11rem, 30vh) minmax(0, 1fr);
	border-radius: 1.1rem;
	overflow: hidden;
	box-shadow:
		0 24px 64px rgba(0, 0, 0, 0.28),
		0 0 0 1px rgba(255, 255, 255, 0.06);
}

#sign-in-dialog .wehfigo-auth__panel {
	min-height: 0;
	justify-content: center;
	align-items: flex-start;
	text-align: left;
	padding: 1.75rem 1.5rem 1.35rem;
	width: 100%;
}

#sign-in-dialog .wehfigo-auth__home {
	display: none;
}

#sign-in-dialog .wehfigo-auth__card {
	box-shadow: none !important;
	border-radius: 0 !important;
	max-width: none;
	width: 100%;
	margin-inline: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	overflow-y: auto;
	min-height: 0;
	padding: 1.5rem 1.5rem 1.75rem;
}

#sign-in-dialog .wehfigo-auth__card .tabs-nav,
#sign-in-dialog .wehfigo-auth__card .tabs-container,
#sign-in-dialog .wehfigo-auth__form-shell {
	width: 100%;
	max-width: min(36rem, 100%);
	margin-left: auto !important;
	margin-right: auto !important;
	float: none !important;
}

#sign-in-dialog .mfp-close,
.mfp-wrap #sign-in-dialog + .mfp-close,
.mfp-container .mfp-close {
	z-index: 20;
}

body.mfp-wehfigo-auth .mfp-bg {
	background: rgba(8, 8, 10, 0.72) !important;
	opacity: 1 !important;
}

body.mfp-wehfigo-auth .mfp-content {
	max-width: min(96vw, 40rem) !important;
}

html[data-theme="dark"] #sign-in-dialog .wehfigo-auth__stage,
html[data-theme="dark"] #sign-in-dialog .wehfigo-auth__card {
	background-color: transparent;
}

/* PC: full-bleed — image + sign-in panel span entire viewport */
@media (min-width: 861px) {
	body.mfp-wehfigo-auth .mfp-wrap,
	body.mfp-wehfigo-auth .mfp-container {
		padding: 0 !important;
		width: 100% !important;
		height: 100% !important;
	}

	body.mfp-wehfigo-auth .mfp-content,
	body.mfp-wehfigo-auth .mfp-content:has(#sign-in-dialog),
	.mfp-content:has(#sign-in-dialog) {
		max-width: none !important;
		width: 100vw !important;
		height: 100vh !important;
		height: 100dvh !important;
		margin: 0 !important;
		padding: 0 !important;
		position: fixed !important;
		inset: 0 !important;
		top: 0 !important;
		left: 0 !important;
		transform: none !important;
	}

	body.wehfigo-v2 #sign-in-dialog,
	body #sign-in-dialog.wehfigo-auth-dialog,
	#sign-in-dialog {
		max-width: none !important;
		width: 100% !important;
		height: 100% !important;
		margin: 0 !important;
		border-radius: 0 !important;
		overflow: hidden !important;
	}

	#sign-in-dialog .wehfigo-auth,
	#sign-in-dialog .wehfigo-auth--dialog {
		min-height: 100% !important;
		height: 100% !important;
	}

	#sign-in-dialog .wehfigo-auth__stage {
		min-height: 100% !important;
		height: 100% !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		grid-template-rows: minmax(22rem, 44vh) minmax(0, 1fr) !important;
	}

	#sign-in-dialog .wehfigo-auth__panel {
		align-items: flex-start !important;
		text-align: left !important;
		padding: clamp(2.25rem, 5vh, 3.5rem) clamp(2.5rem, 7vw, 5.5rem) clamp(1.75rem, 3vh, 2.5rem) !important;
	}

	#sign-in-dialog .wehfigo-auth__brand-title {
		font-size: clamp(52px, 5.5vw, 72px);
	}

	#sign-in-dialog .wehfigo-auth__lead {
		font-size: clamp(17px, 2vw, 22px);
	}

	#sign-in-dialog .wehfigo-auth__title {
		font-size: clamp(40px, 4vw, 56px);
	}

	#sign-in-dialog .wehfigo-auth__perks li {
		font-size: clamp(15px, 1.6vw, 18px);
	}

	#sign-in-dialog .wehfigo-auth__card {
		height: 100%;
		min-height: 0;
		padding: clamp(2rem, 4vh, 3.25rem) clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vh, 3rem) !important;
	}

	#sign-in-dialog .wehfigo-auth__card .tabs-nav,
	#sign-in-dialog .wehfigo-auth__card .tabs-container {
		max-width: min(720px, 92vw);
	}

	body.mfp-wehfigo-auth .mfp-bg {
		background: #0a0a0a !important;
	}

	body.mfp-wehfigo-auth .mfp-close,
	body.mfp-wehfigo-auth #sign-in-dialog .mfp-close {
		top: 1rem !important;
		right: 1rem !important;
		width: 2.5rem !important;
		height: 2.5rem !important;
		color: #fff !important;
		opacity: 0.9;
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth__stage {
		grid-template-rows: minmax(16rem, 40vh) minmax(0, 1fr);
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth__card > .tabs-nav,
	body.wehfigo-auth-fullscreen .wehfigo-auth__card > .tabs-container,
	body.wehfigo-auth-fullscreen .wehfigo-auth__card .tabs-container,
	body.wehfigo-auth-fullscreen .wehfigo-auth__card .tabs-nav {
		max-width: 100%;
		width: 100%;
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="login"] .tabs-container,
	body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="login"] .tabs-nav {
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__form-head,
	body.wehfigo-auth-fullscreen .wehfigo-auth[data-wehfigo-auth-step="login"] .wehfigo-auth__form-panel {
		max-width: var(--wehfigo-auth-solo-max, 560px);
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 860px) {
	#sign-in-dialog .wehfigo-auth__stage {
		grid-template-columns: 1fr !important;
		min-height: min(94vh, 54rem);
		grid-template-rows: minmax(10rem, 28vh) minmax(0, 1fr);
	}

	#sign-in-dialog .wehfigo-auth__perks {
		display: none !important;
	}

	#sign-in-dialog .wehfigo-auth__panel {
		min-height: 0 !important;
		align-items: flex-start !important;
		text-align: left !important;
		padding: 1.5rem 1.25rem 1.25rem !important;
	}

	body.wehfigo-v2 #sign-in-dialog,
	#sign-in-dialog {
		max-width: min(26.5rem, 94vw) !important;
	}

	.mfp-content:has(#sign-in-dialog) {
		max-width: min(26.5rem, 94vw) !important;
	}
}
