.wu-auth-page {
	position: relative;
	min-height: 75vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 1rem;
	background: transparent !important;
}

.wu-auth-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(to top, rgba(5, 10, 20, 0.9) 0%, rgba(5, 10, 20, 0.2) 55%, rgba(5, 10, 20, 0) 100%),
		url("/wp-content/uploads/2026/02/register-login-background-1.webp");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

.wu-auth-shell {
	width: 100%;
	max-width: 640px;
}

.wu-auth-card {
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 24px;
	padding: 8%;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.22);
}

.wu-auth-intros {
	margin-bottom: 1.35rem;
}

.wu-auth-intro {
	display: none;
}

.wu-auth-intro.is-active {
	display: block;
}

.wu-auth-title {
	margin: 0;
	font-size: 1.45rem;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.95);
}

.wu-auth-subtitle {
	margin: 0.35rem 0 0;
	font-size: 0.88rem;
	font-style: italic;
	color: rgba(255, 255, 255, 0.68);
}

.wu-auth-notices {
	margin: 0.7rem 0 0.95rem;
	display: grid;
	gap: 0.5rem;
}

.wu-auth-notice {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	border-radius: 12px;
	padding: 0.58rem 0.7rem;
	border: 1px solid transparent;
	font-size: 0.86rem;
}

.wu-auth-notice-icon {
	line-height: 1;
	display: inline-flex;
	margin-top: 1px;
}

.wu-auth-notice--error {
	background: rgba(239, 68, 68, 0.23);
	border-color: rgba(239, 68, 68, 0.62);
	color: rgba(254, 226, 226, 0.98);
}

.wu-auth-notice--notice {
	background: rgba(250, 204, 21, 0.22);
	border-color: rgba(250, 204, 21, 0.62);
	color: rgba(254, 249, 195, 0.98);
}

.wu-auth-notice--success {
	background: rgba(34, 197, 94, 0.24);
	border-color: rgba(34, 197, 94, 0.62);
	color: rgba(220, 252, 231, 0.98);
}

.wu-auth-notice [data-lucide],
.wu-auth-notice svg.lucide {
	color: currentColor !important;
	stroke: currentColor !important;
}

.wu-auth-notice a,
.wu-auth-notice a:visited,
.wu-auth-notice a:hover,
.wu-auth-notice a:focus {
	font-style: italic;
	text-decoration: underline;
	color: rgba(255, 255, 255, 0.98) !important;
}

.wu-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	background: transparent !important;
	margin-bottom: 1rem;
}

.wu-auth-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.85rem 1rem;
	border: 1px solid transparent;
	border-radius: 14px;
	font-size: 0.95rem;
	font-weight: 600;
	color: rgba(11, 16, 32, 0.8);
	background: rgba(255, 255, 255, 0.55);
	cursor: pointer;
	transition: all 0.2s ease;
}

.wu-auth-tab [data-lucide],
.wu-auth-tab svg.lucide,
.wu-auth-label [data-lucide],
.wu-auth-label svg.lucide {
	color: currentColor !important;
	stroke: currentColor !important;
}

.wu-auth-tab.is-active {
	background: rgba(255, 255, 255, 0.92);
	border-color: rgba(11, 16, 32, 0.14);
}

.wu-auth-panels {
	border-radius: 18px;
}

.wu-auth-panel {
	display: none;
}

.wu-auth-panel.is-active {
	display: block;
}

.wu-auth-form {
	background: transparent !important;
	border: 0 !important;
	margin: 0 !important;
	padding: 0.5rem 0.25rem 0.25rem !important;
}

.wu-auth-form .ui-field {
	display: grid;
	gap: 0.45rem;
	margin-bottom: 0.85rem;
}

.wu-auth-label {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.83rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.86);
	letter-spacing: 0.01em;
}

.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
	display: flex;
	align-items: center;
}

.woocommerce form .form-row,
.woocommerce-page form .form-row {
	padding: 3px;
	margin: 10px 0 6px;
}

.woocommerce form .form-row::after,
.woocommerce form .form-row::before,
.woocommerce-page form .form-row::after,
.woocommerce-page form .form-row::before {
	display: none !important;
}

.wu-auth-form .ui-inputwrap {
	border-radius: 14px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.45);
	min-height: 48px;
	transition: background-color 0.2s ease, border-color 0.2s ease;
	position: relative;
}

.wu-auth-form .ui-inputwrap:focus-within {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.65);
}

.wu-auth-form .ui-input {
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.92);
}

.wu-display-name-help {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.75rem;
	font-style: italic;
	color: rgba(255, 255, 255, 0.66);
	line-height: 1.35;
}

.wu-login-challenge-help {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.78rem;
	font-style: italic;
	color: rgba(255, 255, 255, 0.74);
}

.wu-auth-label--challenge {
	align-items: flex-start;
}

.wu-challenge-question {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.02em;
	margin-left: 0.25rem;
	font-style: italic;
	color: rgba(255, 255, 255, 0.92);
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	pointer-events: none;
}

.wu-challenge-char {
	display: inline-block;
}

.wu-password-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.wu-password-row .form-row {
	width: 100% !important;
	float: none !important;
	clear: none !important;
	margin: 0 !important;
	padding: 3px 0 !important;
}

.wu-auth-form .ui-input::placeholder,
.wu-lost-password-form .ui-input::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

.wu-auth-form input[type="password"] {
	width: 100%;
}

.wu-auth-form .form-row .input-text,
.wu-auth-form .form-row select,
.wu-lost-password-form .form-row .input-text,
.wu-lost-password-form .form-row select {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	min-height: auto !important;
	color: rgba(255, 255, 255, 0.92) !important;
}

.wu-auth-form .show-password-input::after,
.wu-auth-page .show-password-input::after,
.wu-lost-password-form .show-password-input::after,
.woocommerce form .show-password-input::after,
.woocommerce-page form .show-password-input::after,
.woocommerce .password-input .show-password-input::after,
.woocommerce-page .password-input .show-password-input::after,
.wu-auth-form input[type="password"]::-ms-reveal,
.wu-lost-password-form input[type="password"]::-ms-reveal,
.wu-auth-page input[type="password"]::-webkit-credentials-auto-fill-button,
.wu-auth-page input[type="password"]::-webkit-contacts-auto-fill-button {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	pointer-events: none !important;
}

.wu-auth-form .password-input,
.wu-auth-page .password-input,
.wu-lost-password-form .password-input,
.woocommerce form .password-input,
.woocommerce-page form .password-input {
	display: block !important;
	width: 100% !important;
	position: relative;
}

.wu-auth-form .password-input .input-text,
.wu-auth-page .password-input .input-text,
.wu-lost-password-form .password-input .input-text,
.woocommerce form .password-input .input-text,
.woocommerce-page form .password-input .input-text {
	width: 100% !important;
	padding-right: 3.2rem !important;
}

.wu-auth-form .show-password-input,
.wu-auth-page .show-password-input,
.wu-lost-password-form .show-password-input,
.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
	position: absolute !important;
	top: 11px !important;
	right: -16px !important;
	width: 3rem !important;
	height: 100% !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	opacity: 1 !important;
	visibility: visible !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	cursor: pointer;
	z-index: 4;
}

.wu-auth-form .show-password-input::before,
.wu-auth-page .show-password-input::before,
.wu-lost-password-form .show-password-input::before,
.woocommerce form .show-password-input::before,
.woocommerce-page form .show-password-input::before {
	width: 1.65rem !important;
	height: 1.65rem !important;
	background-size: 1.65rem 1.65rem !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	content: "" !important;
}

.wu-auth-actions {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 1rem;
	margin-top: 1.35rem;
}

.wu-auth-actions .button.ui-btn-gradient {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	background: linear-gradient(
		to right,
		rgba(254, 240, 138, 0.95),
		rgba(250, 204, 21, 0.92),
		rgba(217, 119, 6, 0.88)
	) !important;
	color: rgba(11, 16, 32, 0.92) !important;
	border: 0 !important;
	box-shadow: 0 18px 55px -28px rgba(180, 83, 9, 0.45) !important;
	border-radius: 14px !important;
	padding: 0.75rem 1.25rem !important;
}

.wu-auth-actions .button.ui-btn-gradient [data-lucide],
.wu-auth-actions .button.ui-btn-gradient svg.lucide {
	color: currentColor !important;
	stroke: currentColor !important;
}

.wu-auth-actions .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
}

.wu-auth-actions .woocommerce-form-login__rememberme span {
	margin-left: 0.15rem;
}

.wu-lost-password-trigger-wrap {
	margin-top: 5rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.wu-lost-password-trigger {
	background: transparent;
	border: 0;
	padding: 0;
	color: rgba(255, 255, 255, 0.52) !important;
	text-decoration: underline;
	cursor: pointer;
	font-size: 0.78rem;
}

.wu-lost-password-panel {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.32s ease, opacity 0.24s ease;
}

.wu-lost-password-panel.is-open {
	max-height: 420px;
	opacity: 1;
	margin-top: 0.5rem;
}

.wu-lost-password-form {
	padding-top: 0.2rem;
}

.wu-lost-password-form .ui-inputwrap {
	border-radius: 14px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.45);
	min-height: 48px;
}

.wu-lost-password-form .ui-inputwrap:focus-within {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.65);
}

.wu-lost-password-text {
	margin-bottom: 0.65rem;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.8) !important;
}

.wu-support-email {
	color: rgba(255, 255, 255, 0.98);
	text-decoration: underline;
}

.wu-emphasis {
	color: rgba(255, 255, 255, 0.98);
	font-weight: 700;
}

.wu-auth-actions .button.ui-btn-gradient:hover {
	filter: brightness(1.03);
}

.wu-auth-form .lost_password {
	margin-top: 0.75rem;
}

.wu-custom-privacy-policy .woocommerce-privacy-policy-text p {
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
	color: rgba(11, 16, 32, 0.7);
}

.wu-custom-legal-terms .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	color: rgba(255, 255, 255, 0.86);
}

.wu-auth-checkbox {
	appearance: none;
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	min-width: 18px;
	border-radius: 5px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.1);
	display: inline-grid;
	place-content: center;
	cursor: pointer;
	margin-top: 1px;
}

.wu-auth-checkbox::before {
	content: "\2713";
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	transform: scale(0);
	transition: transform 0.12s ease-in-out;
	color: rgba(250, 204, 21, 0.96);
}

.wu-auth-checkbox:checked::before {
	transform: scale(1);
}

.wu-auth-checkbox:focus-visible {
	outline: 2px solid rgba(250, 204, 21, 0.55);
	outline-offset: 2px;
}

.wu-custom-legal-terms .wu-legal-terms-link {
	font-weight: 700;
	font-style: italic;
	text-decoration: underline;
}

/* Lost/reset password page wrapper (native Woo endpoint). */
body.woocommerce-lost-password .woocommerce,
body.woocommerce-lost-password-view .woocommerce,
body.woocommerce-account.woocommerce-lost-password .woocommerce,
body.woocommerce-account.woocommerce-lost-password-view .woocommerce {
	position: relative;
	overflow: hidden;
	width: min(94vw, 860px) !important;
	margin: 1.75rem auto !important;
	padding: 0 !important;
	border-radius: 24px;
	background: rgba(9, 15, 30, 0.46);
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

body.woocommerce-lost-password .woocommerce::before,
body.woocommerce-lost-password-view .woocommerce::before,
body.woocommerce-account.woocommerce-lost-password .woocommerce::before,
body.woocommerce-account.woocommerce-lost-password-view .woocommerce::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image:
		linear-gradient(to top, rgba(5, 10, 20, 0.78) 0%, rgba(5, 10, 20, 0.28) 100%),
		url("/wp-content/uploads/2026/02/register-login-background-1.webp");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

body.woocommerce-lost-password .woocommerce > *,
body.woocommerce-lost-password-view .woocommerce > *,
body.woocommerce-account.woocommerce-lost-password .woocommerce > *,
body.woocommerce-account.woocommerce-lost-password-view .woocommerce > * {
	position: relative;
	z-index: 1;
}

body.woocommerce-lost-password .woocommerce .woocommerce-ResetPassword.lost_reset_password,
body.woocommerce-lost-password-view .woocommerce .woocommerce-ResetPassword.lost_reset_password,
body.woocommerce-account.woocommerce-lost-password .woocommerce .woocommerce-ResetPassword.lost_reset_password,
body.woocommerce-account.woocommerce-lost-password-view .woocommerce .woocommerce-ResetPassword.lost_reset_password {
	margin: 0 !important;
}

body.woocommerce-lost-password .woocommerce .woocommerce-ResetPassword.lost_reset_password > p:first-child,
body.woocommerce-lost-password-view .woocommerce .woocommerce-ResetPassword.lost_reset_password > p:first-child,
body.woocommerce-account.woocommerce-lost-password .woocommerce .woocommerce-ResetPassword.lost_reset_password > p:first-child,
body.woocommerce-account.woocommerce-lost-password-view .woocommerce .woocommerce-ResetPassword.lost_reset_password > p:first-child {
	margin: 0 0 1.25rem !important;
	font-size: clamp(1.4rem, 2.3vw, 1.95rem);
	line-height: 1.2;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.95);
}

/* Dedicated styling for native Woo lost-password endpoint form. */
body.woocommerce-account .woocommerce-ResetPassword.lost_reset_password:not(.wu-lost-password-form) {
	position: relative;
	overflow: hidden;
	padding: 2rem !important;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

body.woocommerce-account .woocommerce-ResetPassword.lost_reset_password:not(.wu-lost-password-form)::before {
	content: "";
	display: block;
	height: 220px;
	margin: -2rem -2rem 1.5rem;
	background-image:
		linear-gradient(to top, rgba(5, 10, 20, 0.45) 0%, rgba(5, 10, 20, 0.05) 100%),
		url("/wp-content/uploads/2026/02/register-login-background-1.webp");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

@media (max-width: 640px) {
	.wu-auth-page {
		padding: 1rem 0.75rem;
	}

	.wu-auth-actions {
		flex-wrap: wrap;
		align-items: center;
	}

	.wu-password-row {
		grid-template-columns: 1fr;
	}

	.wu-auth-actions .button {
		width: 100%;
	}

	body.woocommerce-lost-password .woocommerce,
	body.woocommerce-lost-password-view .woocommerce,
	body.woocommerce-account.woocommerce-lost-password .woocommerce,
	body.woocommerce-account.woocommerce-lost-password-view .woocommerce {
		width: min(96vw, 860px) !important;
		padding: 0 !important;
		margin: 1rem auto !important;
	}

	body.woocommerce-account .woocommerce-ResetPassword.lost_reset_password:not(.wu-lost-password-form) {
		padding: 1.25rem !important;
	}

	body.woocommerce-account .woocommerce-ResetPassword.lost_reset_password:not(.wu-lost-password-form)::before {
		height: 170px;
		margin: -1.25rem -1.25rem 1rem;
	}
}
