/* ==========================================================================
   VICORA ULTRA-LUXURY AUTH SCREEN (SIGN IN / REGISTER)
   Full-Window Fixed Layout - Complete Scroll Lock & Zero Gap
   ========================================================================== */

/* 1. Global Viewport Pinning: Eliminates any outer page scrollbar and white gaps */
html,
html.vicora-auth-page-html,
html:has(body.vicora-auth-page),
body.vicora-auth-page {
	margin: 0 !important;
	padding: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	height: 100dvh !important;
	max-width: 100vw !important;
	max-height: 100vh !important;
	max-height: 100dvh !important;
	overflow: hidden !important;
	overflow-y: hidden !important;
	overflow-x: hidden !important;
	overscroll-behavior: none !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background: #0f3d33 !important;
	box-sizing: border-box !important;
}

/* 2. Reset and pin all Astra theme wrappers to 100% full screen */
body.vicora-auth-page #page,
body.vicora-auth-page .site,
body.vicora-auth-page #primary,
body.vicora-auth-page #content,
body.vicora-auth-page .site-content,
body.vicora-auth-page .ast-container,
body.vicora-auth-page .site-primary,
body.vicora-auth-page .content-area,
body.vicora-auth-page article,
body.vicora-auth-page .entry-content,
body.vicora-auth-page .woocommerce {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 100vw !important;
	height: 100% !important;
	max-height: 100% !important;
	overflow: hidden !important;
	overflow-y: hidden !important;
	overflow-x: hidden !important;
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
}

/* 3. Hide all theme headers, footers, breadcrumbs, announcements */
body.vicora-auth-page .site-header,
body.vicora-auth-page #masthead,
body.vicora-auth-page .ast-desktop-header,
body.vicora-auth-page .ast-mobile-header-wrap,
body.vicora-auth-page .vicora-top-announcement,
body.vicora-auth-page .vicora-header-wrap,
body.vicora-auth-page .vicora-main-header,
body.vicora-auth-page .site-footer,
body.vicora-auth-page #colophon,
body.vicora-auth-page .ast-footer-overlay,
body.vicora-auth-page .vicora-footer,
body.vicora-auth-page .vicora-mobile-footer,
body.vicora-auth-page #ast-scroll-top,
body.vicora-auth-page .entry-header,
body.vicora-auth-page header.entry-header,
body.vicora-auth-page .page-header,
body.vicora-auth-page .ast-single-entry-banner,
body.vicora-auth-page .woocommerce-products-header,
body.vicora-auth-page .woocommerce-breadcrumb,
body.vicora-auth-page h1.entry-title,
body.vicora-auth-page .page-title,
body.vicora-auth-page .vicora-mobile-nav-trigger {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* 4. The 2-Column Luxury Auth Application Frame */
.vicora-auth.vicora-auth-luxury {
	--emerald: #0f3d33;
	--deep: #003f38;
	--gold: #d6b36a;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	height: 100dvh !important;
	max-width: 100vw !important;
	max-height: 100vh !important;
	max-height: 100dvh !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr) !important;
	background: #0f3d33 !important;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
	overflow: hidden !important;
	overflow-y: hidden !important;
	overflow-x: hidden !important;
	overscroll-behavior: none !important;
	z-index: 99999 !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0 !important;
}

.vicora-auth-luxury * {
	box-sizing: border-box;
}

/* 5. Left Hero Section (Full Height Model Image) */
.vicora-auth-luxury .vicora-auth-hero {
	position: relative !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
	overflow: hidden !important;
	background-color: #eadcc9 !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	background-position: center center !important;
}

.vicora-auth-hero-picture {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	overflow: hidden !important;
}

.vicora-auth-luxury .vicora-auth-hero-image {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	min-width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	min-height: 100% !important;
	object-fit: cover !important;
	object-position: center center !important;
}

.vicora-auth-luxury .vicora-auth-hero:before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(255, 248, 237, 0.45), transparent 64%);
}

.vicora-auth-round {
	position: absolute;
	z-index: 3;
	top: 32px;
	left: 32px;
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border-radius: 50%;
	font-size: 20px;
	text-decoration: none !important;
	border: 1px solid rgba(15, 61, 51, 0.7);
	color: var(--emerald) !important;
	background: rgba(255, 255, 255, 0.35);
	backdrop-filter: blur(8px);
	transition: all 0.25s ease;
}

.vicora-auth-round:hover {
	background: #ffffff;
	transform: scale(1.05);
}

.vicora-auth-luxury .vicora-auth-brand-block {
	position: absolute;
	z-index: 2;
	top: 22%;
	left: 7%;
	width: auto;
	min-width: 0;
	text-align: left;
	transform: none;
	color: var(--emerald);
}

.vicora-auth-luxury .vicora-auth-kicker {
	margin: 0 0 4px;
	color: #b78940;
	font: 500 clamp(24px, 3.2vw, 36px)/1.1 "Cormorant Garamond", Georgia, serif;
}

.vicora-auth-luxury .vicora-auth-logo {
	padding: 0;
	color: var(--emerald);
	font: 500 clamp(48px, 6vw, 76px)/1 "Cormorant Garamond", Georgia, serif;
	letter-spacing: clamp(6px, 0.8vw, 12px);
}

.vicora-auth-luxury .vicora-auth-tagline {
	margin: 14px 0 16px;
	color: var(--emerald);
	font: 600 clamp(20px, 2.4vw, 28px)/1.2 "Cormorant Garamond", Georgia, serif;
}

.vicora-auth-gold-line {
	display: block;
	width: 120px;
	height: 2px;
	background: linear-gradient(90deg, var(--gold), transparent);
}

.vicora-auth-luxury .vicora-auth-tagline-mobile {
	display: none;
}

/* 6. Right Panel (Completely Fixed & Non-Scrollable) */
.vicora-auth-luxury .vicora-auth-panel {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
	padding: clamp(16px, 3vh, 36px) clamp(24px, 3.8vw, 56px) !important;
	background: linear-gradient(180deg, #0f3d33 0%, #004d40 50%, #0f3d33 100%) !important;
	overflow: hidden !important;
	overflow-y: hidden !important;
	overflow-x: hidden !important;
	overscroll-behavior: none !important;
	box-sizing: border-box !important;
}

.vicora-auth-luxury .vicora-auth-panel:before,
.vicora-auth-luxury .vicora-auth-panel:after {
	content: "";
	position: absolute;
	width: 260px;
	height: 260px;
	opacity: 0.12;
	background: radial-gradient(circle at 30% 30%, transparent 0 35%, var(--gold) 36% 37%, transparent 38%);
	pointer-events: none;
}

.vicora-auth-luxury .vicora-auth-panel:before {
	right: -70px;
	top: -70px;
}

.vicora-auth-luxury .vicora-auth-panel:after {
	left: -80px;
	bottom: -80px;
}

/* 7. The Auth Form Card (Centered & Auto-Fit) */
.vicora-auth-luxury .vicora-auth-card {
	position: relative !important;
	z-index: 1 !important;
	width: min(100%, 480px) !important;
	height: 100% !important;
	max-height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	margin: 0 auto !important;
	padding: 4px 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #fff !important;
	overflow: hidden !important;
}

.vicora-auth-luxury .vicora-auth-card-header {
	margin: 0 0 clamp(10px, 1.8vh, 18px) !important;
	text-align: center !important;
}

.vicora-auth-lotus {
	display: block;
	height: clamp(26px, 3.8vh, 38px);
	color: var(--gold);
	font: 400 clamp(32px, 4.8vh, 48px)/1 "Cormorant Garamond", Georgia, serif;
	transform: rotate(180deg);
}

.vicora-auth-luxury .vicora-auth-card-header h1 {
	margin: 4px 0 2px !important;
	color: var(--gold) !important;
	font: 500 clamp(22px, 3.2vh, 30px)/1.15 "Cormorant Garamond", Georgia, serif !important;
}

.vicora-auth-luxury .vicora-auth-card-header p {
	margin: 0 !important;
	color: #f7ead9 !important;
	font: 400 clamp(12px, 1.6vh, 15px)/1.25 "Cormorant Garamond", Georgia, serif !important;
}

.vicora-auth-view {
	display: none;
	opacity: 0;
	transform: translateY(8px);
}

.vicora-auth-view.is-active {
	display: block;
	animation: vicoraAuthFade 0.25s ease forwards;
}

@keyframes vicoraAuthFade {
	to {
		opacity: 1;
		transform: none;
	}
}

/* 8. Social Buttons */
.vicora-auth-luxury .vicora-auth-social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
}

.vicora-auth-luxury .vicora-auth-social-btn {
	display: grid;
	width: clamp(38px, 4.8vh, 44px);
	height: clamp(38px, 4.8vh, 44px);
	flex: 0 0 clamp(38px, 4.8vh, 44px);
	place-items: center;
	border: 1px solid rgba(214, 179, 106, 0.42);
	border-radius: 50%;
	font: 600 16px/1 "Cormorant Garamond", serif;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
	transition: all 0.25s ease;
}

.vicora-auth-luxury .vicora-auth-social-btn:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
}

.vicora-auth-luxury .is-google {
	background: #fff;
	color: var(--emerald);
}

.vicora-auth-luxury .is-google .fa-google {
	font-size: 18px;
	background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}

.vicora-auth-luxury .is-facebook {
	background: #2364c8;
	color: #fff;
}

.vicora-auth-luxury .is-facebook i {
	font-size: 18px;
}

.vicora-auth-luxury .vicora-auth-divider {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: clamp(8px, 1.4vh, 14px) 0;
	color: #f7ead9;
	font: 500 14px "Cormorant Garamond", Georgia, serif;
}

.vicora-auth-luxury .vicora-auth-divider:before,
.vicora-auth-luxury .vicora-auth-divider:after {
	content: "";
	height: 1px;
	flex: 1;
	background: linear-gradient(90deg, transparent, rgba(214, 179, 106, 0.65));
}

.vicora-auth-luxury .vicora-auth-divider:after {
	background: linear-gradient(90deg, rgba(214, 179, 106, 0.65), transparent);
}

/* 9. Form Inputs */
.vicora-auth-luxury .vicora-auth-field {
	margin: 0 0 clamp(6px, 1.1vh, 10px) !important;
}

.vicora-auth-luxury .vicora-auth-field > label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.vicora-auth-luxury .vicora-auth-input {
	position: relative !important;
	display: flex !important;
	width: 100% !important;
	height: clamp(38px, 4.8vh, 46px) !important;
	align-items: center !important;
	padding: 0 !important;
	border: 1px solid rgba(214, 179, 106, 0.48) !important;
	border-radius: 12px !important;
	background: rgba(0, 54, 48, 0.42) !important;
	overflow: hidden !important;
	transition: all 0.25s ease !important;
}

.vicora-auth-luxury .vicora-auth-input:focus-within {
	border-color: var(--gold) !important;
	box-shadow: 0 0 0 3px rgba(214, 179, 106, 0.2) !important;
}

.vicora-auth-luxury .vicora-auth-input input,
.vicora-auth-luxury .vicora-auth-input input.input-text {
	display: block !important;
	width: 100% !important;
	min-width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 42px 0 16px !important;
	border: 0 !important;
	border-radius: 11px !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	font: 400 clamp(13px, 1.6vh, 15px) "Cormorant Garamond", Georgia, serif !important;
}

.vicora-auth-luxury .vicora-auth-input input::placeholder {
	color: rgba(255, 245, 230, 0.58) !important;
}

.vicora-auth-luxury .vicora-auth-input input:-webkit-autofill,
.vicora-auth-luxury .vicora-auth-input input:-webkit-autofill:hover,
.vicora-auth-luxury .vicora-auth-input input:-webkit-autofill:focus,
.vicora-auth-luxury .vicora-auth-input input:-webkit-autofill:active {
	-webkit-text-fill-color: #fff !important;
	-webkit-box-shadow: 0 0 0 1000px #064b43 inset !important;
	box-shadow: 0 0 0 1000px #064b43 inset !important;
	caret-color: #fff !important;
}

.vicora-auth-luxury .vicora-auth-input > i {
	position: absolute;
	right: 14px;
	color: #dfbd6f;
	font-size: 15px;
	z-index: 2;
	pointer-events: none;
}

.vicora-auth-luxury .vicora-auth-eye {
	position: absolute;
	right: 6px;
	top: 50%;
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	color: #dfbd6f;
	cursor: pointer;
	z-index: 2;
}

.vicora-auth-luxury .vicora-auth-forgot {
	margin: 0 0 clamp(6px, 1.1vh, 10px) !important;
	text-align: right !important;
}

.vicora-auth-luxury .vicora-auth-forgot a {
	color: var(--gold) !important;
	font: 500 clamp(12px, 1.5vh, 14px) "Cormorant Garamond", Georgia, serif !important;
	text-decoration: none !important;
}

.vicora-auth-luxury .vicora-auth-forgot a:hover {
	text-decoration: underline !important;
}

/* 10. Submit Button */
.vicora-auth-luxury .vicora-auth-submit,
.vicora-auth-luxury .button.vicora-auth-submit {
	display: flex !important;
	width: 100% !important;
	height: clamp(38px, 4.8vh, 46px) !important;
	align-items: center !important;
	justify-content: center !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: linear-gradient(100deg, #c99b48, #e1c27e, #c99b48) !important;
	color: var(--emerald) !important;
	font: 700 clamp(15px, 2vh, 17px) "Cormorant Garamond", Georgia, serif !important;
	letter-spacing: 0.04em !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
	cursor: pointer !important;
	transition: all 0.25s ease !important;
}

.vicora-auth-luxury .vicora-auth-submit:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
	filter: brightness(1.05) !important;
}

.vicora-auth-switch {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	margin-top: clamp(8px, 1.6vh, 14px) !important;
	color: #fff !important;
	font: 500 clamp(13px, 1.6vh, 15px) "Cormorant Garamond", Georgia, serif !important;
	white-space: nowrap !important;
}

.vicora-auth-switch button {
	position: relative;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--gold);
	font: 700 clamp(14px, 1.8vh, 16px) "Cormorant Garamond", Georgia, serif;
	cursor: pointer;
}

.vicora-auth-switch button:after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -3px;
	width: 100%;
	height: 1px;
	transform: translateX(-50%);
	background: var(--gold);
	transition: 0.3s;
}

.vicora-auth-switch button:hover:after {
	width: 70%;
}

.vicora-auth-luxury .vicora-auth-consent {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 2px 0 clamp(6px, 1vh, 8px);
	color: #f7ead9;
	font: 500 clamp(11px, 1.4vh, 13px)/1.2 "Cormorant Garamond", Georgia, serif;
}

.vicora-auth-luxury .vicora-auth-consent input {
	accent-color: var(--gold);
}

.vicora-auth-luxury .vicora-auth-consent a {
	color: var(--gold);
	font-weight: 700;
	text-decoration: underline;
}

/* 11. Mobile Responsive Form (< 600px) */
@media (max-width: 600px) {
	.vicora-auth-luxury {
		grid-template-columns: minmax(0, 1fr) !important;
		grid-template-rows: 38dvh minmax(0, 62dvh) !important;
	}
	.vicora-auth-luxury .vicora-auth-hero {
		height: 38dvh !important;
	}
	.vicora-auth-luxury .vicora-auth-round {
		display: grid !important;
		top: 16px !important;
		left: 16px !important;
		width: 38px !important;
		height: 38px !important;
		font-size: 15px !important;
	}
	.vicora-auth-luxury .vicora-auth-brand-block {
		top: 28% !important;
		left: 6% !important;
	}
	.vicora-auth-luxury .vicora-auth-tagline-desktop {
		display: none !important;
	}
	.vicora-auth-luxury .vicora-auth-tagline-mobile {
		display: block !important;
		margin: 0 !important;
		font-size: 14px !important;
		line-height: 1.2 !important;
	}
	.vicora-auth-luxury .vicora-auth-panel {
		height: calc(62dvh + 36px) !important;
		min-height: 0 !important;
		margin-top: -36px !important;
		padding: 34px 18px 12px !important;
		border-top: 2px solid #d6b36a !important;
		border-radius: 50% 50% 0 0 / 44px 44px 0 0 !important;
	}
	.vicora-auth-luxury .vicora-auth-card {
		width: 100% !important;
		max-width: 400px !important;
		padding: 0 !important;
	}
}
