/* Goldenvision login screen — crypto trading account styling.
   Scoped under .lux-auth-page so it only touches the login view
   (auth/login.php) and never leaks into signup/forgot-password or
   the portal panel, which already has its own theme in luxury-theme.css. */

.lux-auth-page {
	--lux-navy-950: #050b16;
	--lux-navy-900: #0a1930;
	--lux-navy-800: #11304d;
	--lux-navy-700: #1d4d73;
	--lux-gold: #d9a521;
	--lux-gold-light: #f2cb5c;
	--lux-gold-dark: #a97710;
	--lux-bg: #f5f7fa;
	--lux-text: #1a2233;
	--lux-text-muted: #6b7280;
	--lux-border: #e3e8f0;
}

/* ---------- Left panel: trading dashboard visual ---------- */
/* The stock template hardcodes height:100vh on this panel; if the form
   side ends up taller (more content, small laptop screens) that leaves a
   blank gap below it. Let it stretch to match its sibling instead. */
.lux-auth-page .authentication-inner {
	align-items: stretch;
}

.lux-auth-page .auth-cover-bg {
	height: auto !important;
	min-height: 100vh;
	align-self: stretch;
}

.lux-auth-page .auth-cover-bg-color {
	background:
		radial-gradient(
			ellipse at top right,
			rgba(217, 165, 33, 0.18),
			transparent 55%
		),
		linear-gradient(
			200deg,
			var(--lux-navy-950) 0%,
			var(--lux-navy-800) 55%,
			var(--lux-navy-700) 100%
		) !important;
	position: relative;
	overflow: hidden;
}

.lux-auth-page .auth-cover-bg-color::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(217, 165, 33, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(217, 165, 33, 0.07) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: linear-gradient(
		180deg,
		transparent,
		rgba(0, 0, 0, 0.9) 30%,
		rgba(0, 0, 0, 0.9) 78%,
		transparent
	);
	mask-image: linear-gradient(
		180deg,
		transparent,
		rgba(0, 0, 0, 0.9) 30%,
		rgba(0, 0, 0, 0.9) 78%,
		transparent
	);
	pointer-events: none;
}

.lux-auth-brand {
	position: absolute;
	top: 2rem;
	left: 3rem;
	z-index: 2;
}

/* logo.png already bakes in the full "GOLDENVISION" wordmark under the
   icon, so it stands alone here -- no separate text label needed. */
.lux-auth-brand img {
	height: 76px;
	width: auto;
}

.lux-auth-copy {
	position: relative;
	z-index: 2;
	max-width: 430px;
	text-align: left;
}

.lux-auth-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--lux-gold-light);
	background: rgba(217, 165, 33, 0.14);
	border: 1px solid rgba(217, 165, 33, 0.4);
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 1.4rem;
}

.lux-auth-page .auth-cover-bg h3.lux-auth-title {
	text-align: left !important;
	font-style: normal !important;
	font-size: 1.85rem !important;
	line-height: 1.3 !important;
	font-weight: 800 !important;
	color: #fff !important;
	margin-bottom: 0.6rem !important;
	font-family: inherit !important;
}

.lux-auth-page .auth-cover-bg h3.lux-auth-title span {
	color: var(--lux-gold-light) !important;
}

.lux-auth-page .auth-cover-bg p.lux-auth-text {
	text-align: left !important;
	color: #cfc4a1 !important;
	font-size: 0.95rem !important;
	margin-bottom: 1.75rem !important;
}

/* Candlestick illustration, built with CSS bars rather than an image */
.lux-chart {
	display: flex;
	align-items: flex-end;
	gap: 9px;
	height: 110px;
	margin-bottom: 2rem;
}

.lux-chart i {
	display: block;
	width: 9px;
	border-radius: 3px;
	position: relative;
	font-style: normal;
}

.lux-chart i::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -9px;
	bottom: -9px;
	width: 2px;
	background: inherit;
	opacity: 0.5;
	transform: translateX(-50%);
}

.lux-chart i.up {
	background: var(--lux-gold-light);
}

.lux-chart i.down {
	background: rgba(244, 234, 208, 0.32);
}

.lux-auth-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: 0.5rem;
}

.lux-auth-stat {
	display: inline-flex;
	flex-direction: column;
	gap: 0.1rem;
	background: rgba(217, 165, 33, 0.1);
	border: 1px solid rgba(217, 165, 33, 0.3);
	border-radius: 12px;
	padding: 0.55rem 0.9rem;
}

.lux-auth-stat b {
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
}

.lux-auth-stat small {
	color: #cfc4a1;
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Scrolling market ticker pinned to the bottom of the left panel */
.lux-auth-ticker {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
	width: 100%;
	overflow: hidden;
	background: linear-gradient(
		90deg,
		rgba(5, 11, 22, 0.9),
		rgba(17, 48, 77, 0.9)
	);
	border-top: 1px solid rgba(217, 165, 33, 0.3);
	padding: 0.7rem 0;
}

.lux-auth-ticker .lux-ticker-track {
	display: inline-flex;
	gap: 2.75rem;
	white-space: nowrap;
	padding-left: 100%;
	animation: lux-ticker-scroll 22s linear infinite;
}

.lux-auth-ticker span {
	font-size: 0.82rem;
	font-weight: 600;
	color: #f4ead0;
}

.lux-auth-ticker span.up {
	color: #7bdc9a;
}

.lux-auth-ticker span.down {
	color: #ef8a86;
}

@keyframes lux-ticker-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.lux-auth-ticker .lux-ticker-track {
		animation: none;
	}
}

/* ---------- Right panel: login card ---------- */
.lux-auth-page .authentication-bg {
	background-color: var(--lux-bg) !important;
}

.lux-auth-card {
	background: #fff;
	border: 1px solid var(--lux-border);
	border-top: 4px solid var(--lux-gold);
	border-radius: 16px;
	padding: 2.5rem 2.25rem;
	box-shadow: 0 20px 45px rgba(10, 25, 48, 0.08);
}

.lux-auth-card .logo_main img {
	max-width: 180px;
	margin: 0 auto 1.4rem;
}

/* Wider variant for the registration form (two-column field grid needs
   more room than the single-column login card). */
.lux-auth-card-wide {
	max-width: 640px;
	width: 100%;
}

.lux-auth-page .form-control,
.lux-auth-page select.form-control {
	border: 1px solid var(--lux-border);
	border-radius: 10px;
	padding: 0.6rem 0.9rem;
	background: #fff;
	color: var(--lux-text);
}

.lux-auth-page .form-control[readonly] {
	background-color: #f6f8fb;
	color: var(--lux-text-muted);
}

/* "Join Leg" toggle -- a plain pill-style stand-in for the radio pair */
.lux-join-leg {
	display: flex;
	gap: 0.6rem;
	margin-top: 0.35rem;
}

.lux-join-leg-option {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex: 1 1 0;
	justify-content: center;
	border: 1px solid var(--lux-border);
	border-radius: 10px;
	padding: 0.55rem 0.75rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--lux-text-muted);
	cursor: pointer;
	transition: all 0.15s ease;
	margin: 0;
}

.lux-join-leg-option input {
	accent-color: var(--lux-gold-dark);
	margin: 0;
}

.lux-join-leg-option:has(input:checked) {
	border-color: var(--lux-gold);
	background: rgba(217, 165, 33, 0.1);
	color: var(--lux-navy-900);
}

.lux-auth-heading {
	color: var(--lux-navy-900);
	font-weight: 800;
}

.lux-auth-sub {
	color: var(--lux-text-muted);
	font-size: 0.87rem;
	margin-bottom: 1.75rem;
}

.lux-auth-page .form-label {
	color: var(--lux-text);
	font-weight: 600;
	font-size: 0.82rem;
}

.lux-auth-page .input-group-text {
	background: #f7f9fc;
	border: 1px solid var(--lux-border);
	color: var(--lux-gold-dark);
	border-radius: 10px 0 0 10px;
	border-right: none;
}

.lux-auth-page .input-group .form-control {
	border: 1px solid var(--lux-border);
	border-left: none;
	border-radius: 0 10px 10px 0;
	padding: 0.6rem 0.9rem;
	background: #fff;
}

.lux-auth-page .input-group .form-control.lux-has-suffix {
	border-radius: 0;
	border-right: none;
}

.lux-auth-page .input-group .input-group-text.lux-suffix {
	border-radius: 0 10px 10px 0;
	border-left: none;
	border-right: 1px solid var(--lux-border);
	cursor: pointer;
}

.lux-auth-page .form-control:focus {
	border-color: var(--lux-gold) !important;
	box-shadow: 0 0 0 0.15rem rgba(217, 165, 33, 0.18) !important;
}

.lux-auth-page a {
	color: var(--lux-gold-dark);
}

.lux-auth-page a:hover {
	color: var(--lux-navy-800);
}

.lux-auth-btn {
	background: linear-gradient(135deg, var(--lux-navy-800), var(--lux-navy-900));
	border: 1px solid var(--lux-navy-900);
	color: #f4ead0 !important;
	font-weight: 700;
	letter-spacing: 0.02em;
	border-radius: 10px;
	padding: 0.75rem 1rem;
	transition: all 0.18s ease;
}

.lux-auth-btn:hover,
.lux-auth-btn:focus {
	background: linear-gradient(135deg, var(--lux-navy-900), var(--lux-navy-950));
	color: var(--lux-gold-light) !important;
	box-shadow: 0 10px 24px rgba(10, 25, 48, 0.25);
}

.lux-auth-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 1.1rem;
	margin-top: 1.6rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--lux-border);
}

.lux-auth-trust span {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.73rem;
	font-weight: 600;
	color: var(--lux-text-muted);
}

.lux-auth-trust .ti {
	color: var(--lux-gold-dark);
	font-size: 0.95rem;
}

@media (max-width: 991.98px) {
	.lux-auth-page .auth-cover-bg-color {
		display: none !important;
	}
}

@media (max-width: 575.98px) {
	.lux-auth-card {
		padding: 2rem 1.4rem;
		border-radius: 14px;
	}
}

/* ---------- Registration result panel (swapped in over #signupForm) ---------- */
.lux-result-panel {
	text-align: center;
	padding: 0.5rem 0 0.25rem;
}

.lux-result-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 1.1rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.9rem;
}

.lux-result-panel.is-success .lux-result-icon {
	background: rgba(217, 165, 33, 0.12);
	color: var(--lux-gold-dark);
	border: 1px solid rgba(217, 165, 33, 0.35);
}

.lux-result-panel.is-error .lux-result-icon {
	background: rgba(220, 53, 69, 0.1);
	color: #dc3545;
	border: 1px solid rgba(220, 53, 69, 0.3);
}

.lux-result-panel h4 {
	color: var(--lux-navy-900);
	font-weight: 800;
	margin-bottom: 0.5rem;
}

.lux-result-panel p {
	color: var(--lux-text-muted);
	font-size: 0.88rem;
	margin-bottom: 0;
}

.lux-cred-list {
	margin: 1.5rem 0;
	text-align: left;
	border: 1px solid var(--lux-border);
	border-radius: 12px;
	overflow: hidden;
}

.lux-cred-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	background: #f7f9fc;
}

.lux-cred-row + .lux-cred-row {
	border-top: 1px solid var(--lux-border);
}

.lux-cred-label {
	flex: 0 0 auto;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--lux-text-muted);
	width: 90px;
}

.lux-cred-value {
	flex: 1 1 auto;
	font-weight: 700;
	color: var(--lux-text);
	font-family: "SFMono-Regular", Consolas, monospace;
	word-break: break-all;
}

.lux-cred-copy {
	flex: 0 0 auto;
	background: #fff;
	border: 1px solid var(--lux-border);
	color: var(--lux-gold-dark);
	border-radius: 8px;
	padding: 0.35rem 0.6rem;
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.lux-cred-copy:hover {
	border-color: var(--lux-gold);
	background: rgba(217, 165, 33, 0.1);
}

.lux-result-note {
	font-size: 0.78rem !important;
	color: var(--lux-text-muted);
	margin-bottom: 1.5rem !important;
}

/* ==========================================================================
   Real-estate login layout — single centered card over a full-bleed
   skyline/blueprint background. Scoped under .lux-realty-page so it only
   touches auth/login.php; signup/forgot-password keep the split-panel
   layout above untouched.
   ========================================================================== */

.lux-realty-page.authentication-wrapper {
	display: block;
	min-height: 100vh;
	position: relative;
	overflow: hidden;
	background: var(--lux-navy-950);
}

/* ---------- Background: dusk sky + blueprint grid + skyline ---------- */
.lux-realty-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(217, 165, 33, 0.16), transparent 55%),
		linear-gradient(160deg, var(--lux-navy-950) 0%, var(--lux-navy-800) 55%, var(--lux-navy-700) 100%);
}

.lux-realty-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(217, 165, 33, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(217, 165, 33, 0.08) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 75%);
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 75%);
}

.lux-realty-skyline {
	position: absolute;
	left: 0;
	bottom: 44px;
	width: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 6px;
	padding: 0 1rem;
}

.lux-realty-skyline i {
	display: block;
	width: var(--w, 30px);
	height: var(--h, 40%);
	font-style: normal;
	background: linear-gradient(180deg, var(--lux-navy-700), var(--lux-navy-800));
	background-image:
		linear-gradient(180deg, var(--lux-navy-700), var(--lux-navy-800)),
		repeating-linear-gradient(0deg, rgba(217, 165, 33, 0.35) 0 3px, transparent 3px 10px),
		repeating-linear-gradient(90deg, rgba(217, 165, 33, 0.35) 0 3px, transparent 3px 10px);
	background-blend-mode: normal, screen, screen;
	border-top: 2px solid rgba(217, 165, 33, 0.5);
	opacity: 0.85;
}

@media (max-width: 767.98px) {
	.lux-realty-skyline i:nth-child(3n) {
		display: none;
	}
}

/* ---------- Scrolling property ticker, pinned to viewport bottom ---------- */
.lux-realty-ticker {
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 2;
	width: 100%;
	overflow: hidden;
	background: linear-gradient(90deg, rgba(5, 11, 22, 0.92), rgba(17, 48, 77, 0.92));
	border-top: 1px solid rgba(217, 165, 33, 0.3);
	padding: 0.7rem 0;
}

.lux-realty-ticker .lux-ticker-track {
	display: inline-flex;
	gap: 2.75rem;
	white-space: nowrap;
	padding-left: 100%;
	animation: lux-ticker-scroll 26s linear infinite;
}

.lux-realty-ticker span {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: #f4ead0;
}

.lux-realty-ticker span.up {
	color: #7bdc9a;
}

.lux-realty-ticker span.down {
	color: #ef8a86;
}

@media (prefers-reduced-motion: reduce) {
	.lux-realty-ticker .lux-ticker-track {
		animation: none;
	}
}

/* Some mobile browsers (older Android WebView/Chrome builds, low-end
   devices) mis-render this fixed + inline-flex marquee, reflowing it into
   a vertical column instead of a scrolling bar. The original crypto-themed
   ticker never rendered on small screens either (it lived inside the
   auth-cover-bg-color panel, itself hidden under 991.98px) -- so simply
   keep it desktop/tablet-only rather than chasing a device-specific bug. */
@media (max-width: 767.98px) {
	.lux-realty-ticker {
		display: none;
	}
}

/* ---------- Centered login column ---------- */
.lux-realty-center {
	position: relative;
	z-index: 3;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	padding: 3rem 1.25rem 4.5rem;
}

.lux-realty-card {
	width: 100%;
}

.lux-realty-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--lux-gold-dark);
	background: rgba(217, 165, 33, 0.1);
	border: 1px solid rgba(217, 165, 33, 0.35);
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 1.1rem;
}

.lux-realty-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	max-width: 400px;
	width: 100%;
}

.lux-realty-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15rem;
	flex: 1 1 0;
	background: rgba(217, 165, 33, 0.1);
	border: 1px solid rgba(217, 165, 33, 0.3);
	border-radius: 12px;
	padding: 0.6rem 0.5rem;
}

.lux-realty-stat b {
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
}

.lux-realty-stat small {
	color: #cfc4a1;
	font-size: 0.64rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-align: center;
}

@media (max-width: 575.98px) {
	.lux-realty-center {
		padding: 2rem 1rem 2.5rem;
	}
}
