/* ==========================================================================
   لايفي — صفحة الدخول/التسجيل (عربي RTL + متجاوب)
   ========================================================================== */

html:has(body.llivey-auth-page),
html:has(body.elementor-page-328) {
	direction: rtl;
}

body.llivey-auth-page,
body.elementor-page-328 {
	--llivey-ink: #071018;
	--llivey-text: #132033;
	--llivey-muted: #5b6b7c;
	--llivey-line: rgba(19, 32, 51, 0.12);
	--llivey-coral: #ff4d6d;
	--llivey-coral-deep: #e83657;
	--llivey-amber: #ffb347;
	--llivey-teal: #2ec4b6;
	--llivey-sky: #4cc9f0;
	--llivey-shadow: 0 28px 80px rgba(3, 10, 24, 0.45);
	--llivey-radius: 28px;
	--llivey-font: "Tajawal", "Segoe UI", Tahoma, sans-serif;
	--llivey-shell: 1080px;
	--llivey-gap: clamp(20px, 3vw, 36px);

	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	font-family: var(--llivey-font);
	color: var(--llivey-text);
	background: var(--llivey-ink) !important;
	background-image: none !important;
	overflow-x: hidden;
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.llivey-auth-page:not(.elementor-motion-effects-element-type-background),
body.elementor-page-328:not(.elementor-motion-effects-element-type-background),
body.llivey-auth-page > .elementor-motion-effects-container > .elementor-motion-effects-layer,
body.elementor-page-328 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background: var(--llivey-ink) !important;
	background-image: none !important;
}

body.llivey-auth-page::before,
body.elementor-page-328::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(1200px 700px at 12% 18%, rgba(255, 77, 109, 0.42), transparent 58%),
		radial-gradient(900px 600px at 88% 12%, rgba(76, 201, 240, 0.28), transparent 55%),
		radial-gradient(800px 700px at 70% 88%, rgba(46, 196, 182, 0.22), transparent 60%),
		radial-gradient(700px 500px at 30% 85%, rgba(255, 179, 71, 0.18), transparent 55%),
		linear-gradient(145deg, #071018 0%, #0f2038 48%, #132a3f 100%);
	-webkit-animation: llivey-aurora 18s ease-in-out infinite alternate;
	animation: llivey-aurora 18s ease-in-out infinite alternate;
}

body.llivey-auth-page::after,
body.elementor-page-328::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.35;
	background-image: radial-gradient(rgba(255, 255, 255, 0.12) 0.6px, transparent 0.6px);
	background-size: 3px 3px;
	mix-blend-mode: soft-light;
}

@-webkit-keyframes llivey-aurora {
	0% { -webkit-filter: hue-rotate(0deg) saturate(1); filter: hue-rotate(0deg) saturate(1); -webkit-transform: scale(1); transform: scale(1); }
	100% { -webkit-filter: hue-rotate(18deg) saturate(1.15); filter: hue-rotate(18deg) saturate(1.15); -webkit-transform: scale(1.04); transform: scale(1.04); }
}

@keyframes llivey-aurora {
	0% { filter: hue-rotate(0deg) saturate(1); transform: scale(1); }
	100% { filter: hue-rotate(18deg) saturate(1.15); transform: scale(1.04); }
}

body.llivey-auth-page .elementor-328,
body.elementor-page-328 .elementor-328 {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	min-height: 100dvh;
	background: transparent !important;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

body.llivey-auth-page .elementor-328 > .elementor-element,
body.elementor-page-328 .elementor-328 > .elementor-element {
	background: transparent !important;
}

/* ===== Compact centered shell (fixes large gap) ===== */
body.llivey-auth-page .mainContainerReg,
body.elementor-page-328 .mainContainerReg {
	width: 100% !important;
	max-width: var(--llivey-shell) !important;
	min-height: auto !important;
	margin: 0 auto !important;
	padding: clamp(20px, 3.5vw, 40px) clamp(16px, 3vw, 28px) !important;
	display: -webkit-box !important;
	display: -ms-flexbox !important;
	display: flex !important;
	-webkit-box-orient: horizontal !important;
	-webkit-box-direction: normal !important;
	-ms-flex-direction: row !important;
	flex-direction: row !important;
	-webkit-box-align: center !important;
	-ms-flex-align: center !important;
	align-items: center !important;
	-webkit-box-pack: center !important;
	-ms-flex-pack: center !important;
	justify-content: center !important;
	-ms-flex-wrap: nowrap !important;
	flex-wrap: nowrap !important;
	gap: var(--llivey-gap) !important;
	box-sizing: border-box !important;
}

/* Override Elementor inline/CSS width vars that create the void */
body.llivey-auth-page .mainContainerReg > .e-con,
body.elementor-page-328 .mainContainerReg > .e-con,
body.llivey-auth-page .elementor-328 .elementor-element-86ab537,
body.elementor-page-328 .elementor-328 .elementor-element-86ab537,
body.llivey-auth-page .elementor-328 .elementor-element-fee8fca,
body.elementor-page-328 .elementor-328 .elementor-element-fee8fca {
	--width: auto !important;
	width: auto !important;
	max-width: none !important;
	-webkit-box-flex: 0 !important;
	-ms-flex: 0 1 auto !important;
	flex: 0 1 auto !important;
}

body.llivey-auth-page .mainContainerReg .elementor-widget-spacer,
body.elementor-page-328 .mainContainerReg .elementor-widget-spacer {
	display: none !important;
}

/* Brand column */
body.llivey-auth-page .mainContainerReg > .elementor-element:first-child,
body.elementor-page-328 .mainContainerReg > .elementor-element:first-child,
body.llivey-auth-page .elementor-element-86ab537,
body.elementor-page-328 .elementor-element-86ab537 {
	width: min(46%, 420px) !important;
	max-width: 420px !important;
	min-width: 0 !important;
	min-height: auto !important;
	display: -webkit-box !important;
	display: -ms-flexbox !important;
	display: flex !important;
	-webkit-box-orient: vertical !important;
	-webkit-box-direction: normal !important;
	-ms-flex-direction: column !important;
	flex-direction: column !important;
	-webkit-box-align: start !important;
	-ms-flex-align: start !important;
	align-items: flex-start !important;
	-webkit-box-pack: center !important;
	-ms-flex-pack: center !important;
	justify-content: center !important;
	gap: 14px !important;
	padding: 0 !important;
	-webkit-animation: llivey-rise 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
	animation: llivey-rise 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.llivey-auth-page .mainContainerReg .elementor-widget-image,
body.elementor-page-328 .mainContainerReg .elementor-widget-image {
	width: auto !important;
	max-width: none !important;
}

body.llivey-auth-page .mainContainerReg .elementor-widget-image img,
body.elementor-page-328 .mainContainerReg .elementor-widget-image img {
	width: clamp(96px, 12vw, 140px) !important;
	height: auto !important;
	max-width: 100% !important;
	filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35)) brightness(0) invert(1);
	-webkit-animation: llivey-float 5.5s ease-in-out infinite;
	animation: llivey-float 5.5s ease-in-out infinite;
	-webkit-transform-origin: center;
	transform-origin: center;
}

@-webkit-keyframes llivey-float {
	0%, 100% { -webkit-transform: translateY(0); transform: translateY(0); }
	50% { -webkit-transform: translateY(-10px); transform: translateY(-10px); }
}

@keyframes llivey-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

@-webkit-keyframes llivey-rise {
	from { opacity: 0; -webkit-transform: translateY(24px); transform: translateY(24px); }
	to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}

@keyframes llivey-rise {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: translateY(0); }
}

.llivey-brand-copy {
	color: #fff;
	max-width: 22rem;
	width: 100%;
}

.llivey-brand-copy .llivey-brand-name {
	margin: 0 0 8px;
	font-family: var(--llivey-font);
	font-size: clamp(2.6rem, 5.5vw, 4.4rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 0;
	background: linear-gradient(120deg, #ffffff 10%, #ffd0d8 45%, #9ef0e8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.llivey-brand-copy .llivey-brand-tagline {
	margin: 0 0 10px;
	font-size: clamp(1.1rem, 2.2vw, 1.4rem);
	font-weight: 700;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.95);
}

.llivey-brand-copy .llivey-brand-subline {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.72);
}

.llivey-brand-copy .llivey-brand-pills {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.llivey-brand-copy .llivey-brand-pills span {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.92);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.llivey-brand-copy .llivey-brand-pills span::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--llivey-coral);
	box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.18);
}

.llivey-brand-copy .llivey-brand-pills span:nth-child(2)::before {
	background: var(--llivey-teal);
	box-shadow: 0 0 0 4px rgba(46, 196, 182, 0.18);
}

.llivey-brand-copy .llivey-brand-pills span:nth-child(3)::before {
	background: var(--llivey-sky);
	box-shadow: 0 0 0 4px rgba(76, 201, 240, 0.18);
}

/* Form column — sits close to brand */
body.llivey-auth-page #registerationContainer,
body.elementor-page-328 #registerationContainer,
body.llivey-auth-page .elementor-element-fee8fca,
body.elementor-page-328 .elementor-element-fee8fca {
	width: min(48%, 440px) !important;
	max-width: 440px !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	display: -webkit-box !important;
	display: -ms-flexbox !important;
	display: flex !important;
	-webkit-box-align: center !important;
	-ms-flex-align: center !important;
	align-items: center !important;
	-webkit-box-pack: center !important;
	-ms-flex-pack: center !important;
	justify-content: center !important;
	-webkit-animation: llivey-rise 900ms 80ms cubic-bezier(0.22, 1, 0.36, 1) both;
	animation: llivey-rise 900ms 80ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.llivey-auth-page #loginFormContainer,
body.elementor-page-328 #loginFormContainer,
body.llivey-auth-page #loginFormContainer .elementor-widget-container,
body.elementor-page-328 #loginFormContainer .elementor-widget-container,
body.llivey-auth-page #tophive-signin-signup,
body.elementor-page-328 #tophive-signin-signup {
	width: 100% !important;
	max-width: 440px !important;
}

body.llivey-auth-page .tophive-popup-content-wrapper,
body.elementor-page-328 .tophive-popup-content-wrapper {
	width: 100% !important;
	max-width: 440px !important;
	margin: 0 !important;
	padding: clamp(24px, 3.5vw, 36px) !important;
	border-radius: var(--llivey-radius) !important;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)) !important;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	box-shadow: var(--llivey-shadow) !important;
	-webkit-backdrop-filter: blur(18px) saturate(1.2);
	backdrop-filter: blur(18px) saturate(1.2);
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
}

body.llivey-auth-page .tophive-popup-content-wrapper::before,
body.elementor-page-328 .tophive-popup-content-wrapper::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: linear-gradient(90deg, var(--llivey-coral), var(--llivey-amber), var(--llivey-teal));
}

body.llivey-auth-page .tophive-popup-content-wrapper h3,
body.elementor-page-328 .tophive-popup-content-wrapper h3 {
	margin: 0 0 6px !important;
	font-family: var(--llivey-font) !important;
	font-size: clamp(1.45rem, 2.3vw, 1.8rem) !important;
	font-weight: 800 !important;
	color: var(--llivey-text) !important;
	text-align: right !important;
}

body.llivey-auth-page .login-segment > h3::after,
body.elementor-page-328 .login-segment > h3::after,
body.llivey-auth-page .signup-segment > h3::after,
body.elementor-page-328 .signup-segment > h3::after,
body.llivey-auth-page .recover-segment > h3::after,
body.elementor-page-328 .recover-segment > h3::after {
	content: "عد إلى مجتمعك وواصل اللحظة";
	display: block;
	margin-top: 8px;
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--llivey-muted);
	line-height: 1.5;
}

body.llivey-auth-page .signup-segment > h3::after,
body.elementor-page-328 .signup-segment > h3::after {
	content: "انضم مجانًا وابدأ مشاركة لحظاتك";
}

body.llivey-auth-page .recover-segment > h3::after,
body.elementor-page-328 .recover-segment > h3::after {
	content: "سنساعدك على العودة بسرعة";
}

body.llivey-auth-page .tophive-popup-content-wrapper .form-fields,
body.elementor-page-328 .tophive-popup-content-wrapper .form-fields {
	margin: 18px 0 0 !important;
	padding: 0 !important;
}

body.llivey-auth-page .tophive-popup-content-wrapper .form-fields li,
body.elementor-page-328 .tophive-popup-content-wrapper .form-fields li {
	margin: 0 0 12px !important;
	padding: 0 !important;
	list-style: none !important;
}

body.llivey-auth-page .tophive-popup-content-wrapper .th-form-field,
body.elementor-page-328 .tophive-popup-content-wrapper .th-form-field {
	width: 100%;
}

body.llivey-auth-page .tophive-popup-content-wrapper .th-form-field input,
body.llivey-auth-page .tophive-popup-content-wrapper .th-form-field select,
body.llivey-auth-page .tophive-popup-content-wrapper input[type="text"],
body.llivey-auth-page .tophive-popup-content-wrapper input[type="email"],
body.llivey-auth-page .tophive-popup-content-wrapper input[type="password"],
body.elementor-page-328 .tophive-popup-content-wrapper .th-form-field input,
body.elementor-page-328 .tophive-popup-content-wrapper .th-form-field select,
body.elementor-page-328 .tophive-popup-content-wrapper input[type="text"],
body.elementor-page-328 .tophive-popup-content-wrapper input[type="email"],
body.elementor-page-328 .tophive-popup-content-wrapper input[type="password"] {
	width: 100% !important;
	max-width: 100% !important;
	height: 52px !important;
	padding: 0 16px !important;
	border-radius: 14px !important;
	border: 1px solid var(--llivey-line) !important;
	background: #f5f7fa !important;
	color: var(--llivey-text) !important;
	font-family: var(--llivey-font) !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	box-shadow: none !important;
	outline: none !important;
	direction: rtl;
	text-align: right;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	-webkit-transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.llivey-auth-page .tophive-popup-content-wrapper .th-form-field input:focus,
body.llivey-auth-page .tophive-popup-content-wrapper .th-form-field select:focus,
body.llivey-auth-page .tophive-popup-content-wrapper input:focus,
body.elementor-page-328 .tophive-popup-content-wrapper .th-form-field input:focus,
body.elementor-page-328 .tophive-popup-content-wrapper .th-form-field select:focus,
body.elementor-page-328 .tophive-popup-content-wrapper input:focus {
	border-color: rgba(255, 77, 109, 0.55) !important;
	background: #fff !important;
	box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.12) !important;
}

body.llivey-auth-page .tophive-popup-content-wrapper .ec-row,
body.elementor-page-328 .tophive-popup-content-wrapper .ec-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-left: -6px;
	margin-right: -6px;
}

body.llivey-auth-page .tophive-popup-content-wrapper .ec-col,
body.llivey-auth-page .tophive-popup-content-wrapper .ec-col-4,
body.llivey-auth-page .tophive-popup-content-wrapper .ec-col-6,
body.elementor-page-328 .tophive-popup-content-wrapper .ec-col,
body.elementor-page-328 .tophive-popup-content-wrapper .ec-col-4,
body.elementor-page-328 .tophive-popup-content-wrapper .ec-col-6 {
	padding-left: 6px;
	padding-right: 6px;
	box-sizing: border-box;
	min-width: 0;
}

body.llivey-auth-page .tophive-popup-content-wrapper .ec-col-4,
body.elementor-page-328 .tophive-popup-content-wrapper .ec-col-4 {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 33.333%;
	flex: 0 0 33.333%;
	max-width: 33.333%;
}

body.llivey-auth-page .tophive-popup-content-wrapper .ec-col,
body.elementor-page-328 .tophive-popup-content-wrapper .ec-col {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 0;
	flex: 1 1 0;
	max-width: 100%;
}

body.llivey-auth-page .tophive-popup-content-wrapper p,
body.elementor-page-328 .tophive-popup-content-wrapper p {
	font-size: 0.92rem !important;
	color: var(--llivey-muted);
}

/* Remember / lost password row */
body.llivey-auth-page .th-modal-login > p:has(label),
body.elementor-page-328 .th-modal-login > p:has(label) {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	gap: 12px;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

body.llivey-auth-page .tophive-popup-content-wrapper p label,
body.elementor-page-328 .tophive-popup-content-wrapper p label {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 8px;
	color: var(--llivey-muted);
	font-weight: 500;
	cursor: pointer;
	margin: 0;
}

body.llivey-auth-page .tophive-popup-content-wrapper input[type="checkbox"],
body.elementor-page-328 .tophive-popup-content-wrapper input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--llivey-coral);
}

body.llivey-auth-page .tophive-popup-content-wrapper a,
body.elementor-page-328 .tophive-popup-content-wrapper a {
	color: var(--llivey-coral-deep) !important;
	text-decoration: none !important;
	font-weight: 700;
}

body.llivey-auth-page .tophive-popup-content-wrapper .switch-lost-pass,
body.elementor-page-328 .tophive-popup-content-wrapper .switch-lost-pass,
body.llivey-auth-page .tophive-popup-content-wrapper .ec-float-right,
body.elementor-page-328 .tophive-popup-content-wrapper .ec-float-right {
	float: none !important;
	margin: 0 !important;
	font-size: 0.88rem;
	font-weight: 700;
	white-space: nowrap;
}

body.llivey-auth-page .tophive-popup-content-wrapper button[type="submit"],
body.llivey-auth-page .tophive-popup-content-wrapper .tophive-infinity-button,
body.elementor-page-328 .tophive-popup-content-wrapper button[type="submit"],
body.elementor-page-328 .tophive-popup-content-wrapper .tophive-infinity-button {
	display: -webkit-inline-box !important;
	display: -ms-inline-flexbox !important;
	display: inline-flex !important;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 100% !important;
	height: 52px !important;
	margin-top: 8px;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: linear-gradient(135deg, var(--llivey-coral) 0%, #ff6b4a 55%, var(--llivey-amber) 140%) !important;
	color: #fff !important;
	font-family: var(--llivey-font) !important;
	font-size: 1.05rem !important;
	font-weight: 800 !important;
	cursor: pointer;
	box-shadow: 0 14px 30px rgba(255, 77, 109, 0.35) !important;
	-webkit-transition: -webkit-transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

body.llivey-auth-page .tophive-popup-content-wrapper button[type="submit"]:hover,
body.elementor-page-328 .tophive-popup-content-wrapper button[type="submit"]:hover {
	-webkit-transform: translateY(-2px);
	transform: translateY(-2px);
	filter: brightness(1.04);
}

body.llivey-auth-page .signup-segment,
body.elementor-page-328 .signup-segment {
	max-height: min(78vh, 720px);
	max-height: min(78dvh, 720px);
	overflow: auto;
	padding-left: 4px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

body.llivey-auth-page .tophive-popup-content-wrapper .description,
body.elementor-page-328 .tophive-popup-content-wrapper .description {
	font-size: 0.8rem !important;
	line-height: 1.5 !important;
	color: var(--llivey-muted) !important;
}

/* Dark mode */
html.wp-dark-mode-active body.llivey-auth-page .tophive-popup-content-wrapper,
html.wp-dark-mode-active body.elementor-page-328 .tophive-popup-content-wrapper,
body.mf-dark-mode.llivey-auth-page .tophive-popup-content-wrapper {
	background: linear-gradient(180deg, rgba(24, 32, 44, 0.96), rgba(16, 22, 32, 0.94)) !important;
	border-color: rgba(255, 255, 255, 0.08) !important;
	color: #f3f6fa;
}

html.wp-dark-mode-active body.llivey-auth-page .tophive-popup-content-wrapper h3,
body.mf-dark-mode.llivey-auth-page .tophive-popup-content-wrapper h3 {
	color: #fff !important;
}

html.wp-dark-mode-active body.llivey-auth-page .tophive-popup-content-wrapper input,
html.wp-dark-mode-active body.llivey-auth-page .tophive-popup-content-wrapper select,
body.mf-dark-mode.llivey-auth-page .tophive-popup-content-wrapper input,
body.mf-dark-mode.llivey-auth-page .tophive-popup-content-wrapper select {
	background: rgba(255, 255, 255, 0.06) !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
	color: #fff !important;
}

/* Orbs */
.llivey-orb {
	position: fixed;
	border-radius: 50%;
	filter: blur(2px);
	pointer-events: none;
	z-index: 0;
	opacity: 0.5;
	-webkit-animation: llivey-orb-drift 14s ease-in-out infinite alternate;
	animation: llivey-orb-drift 14s ease-in-out infinite alternate;
}

.llivey-orb--a {
	width: 160px;
	height: 160px;
	left: 8%;
	bottom: 12%;
	background: radial-gradient(circle, rgba(255, 77, 109, 0.55), transparent 70%);
}

.llivey-orb--b {
	width: 200px;
	height: 200px;
	right: 10%;
	top: 14%;
	background: radial-gradient(circle, rgba(76, 201, 240, 0.4), transparent 70%);
	-webkit-animation-duration: 18s;
	animation-duration: 18s;
}

.llivey-orb--c {
	width: 130px;
	height: 130px;
	right: 36%;
	bottom: 18%;
	background: radial-gradient(circle, rgba(46, 196, 182, 0.35), transparent 70%);
	-webkit-animation-duration: 12s;
	animation-duration: 12s;
}

@-webkit-keyframes llivey-orb-drift {
	from { -webkit-transform: translate3d(0, 0, 0) scale(1); transform: translate3d(0, 0, 0) scale(1); }
	to { -webkit-transform: translate3d(20px, -26px, 0) scale(1.08); transform: translate3d(20px, -26px, 0) scale(1.08); }
}

@keyframes llivey-orb-drift {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(20px, -26px, 0) scale(1.08); }
}

/* Dark mode switch labels */
body.llivey-auth-page .wp-dark-mode-switch,
body.elementor-page-328 .wp-dark-mode-switch {
	font-family: var(--llivey-font) !important;
}

/* ===== Tablet / laptop ===== */
@media (max-width: 1100px) {
	body.llivey-auth-page .mainContainerReg,
	body.elementor-page-328 .mainContainerReg {
		max-width: 960px !important;
		gap: 24px !important;
	}

	body.llivey-auth-page .mainContainerReg > .elementor-element:first-child,
	body.elementor-page-328 .mainContainerReg > .elementor-element:first-child,
	body.llivey-auth-page .elementor-element-86ab537,
	body.elementor-page-328 .elementor-element-86ab537 {
		width: min(48%, 380px) !important;
	}

	body.llivey-auth-page #registerationContainer,
	body.elementor-page-328 #registerationContainer,
	body.llivey-auth-page .elementor-element-fee8fca,
	body.elementor-page-328 .elementor-element-fee8fca {
		width: min(50%, 420px) !important;
	}
}

/* ===== Stacked / mobile ===== */
@media (max-width: 900px) {
	body.llivey-auth-page .elementor-328,
	body.elementor-page-328 .elementor-328 {
		-webkit-box-align: start;
		-ms-flex-align: start;
		align-items: flex-start;
	}

	body.llivey-auth-page .mainContainerReg,
	body.elementor-page-328 .mainContainerReg {
		-webkit-box-orient: vertical !important;
		-webkit-box-direction: normal !important;
		-ms-flex-direction: column !important;
		flex-direction: column !important;
		-webkit-box-align: stretch !important;
		-ms-flex-align: stretch !important;
		align-items: stretch !important;
		-webkit-box-pack: start !important;
		-ms-flex-pack: start !important;
		justify-content: flex-start !important;
		max-width: 520px !important;
		padding: 24px 16px 36px !important;
		gap: 22px !important;
		min-height: auto !important;
	}

	body.llivey-auth-page .mainContainerReg > .elementor-element:first-child,
	body.elementor-page-328 .mainContainerReg > .elementor-element:first-child,
	body.llivey-auth-page .elementor-element-86ab537,
	body.elementor-page-328 .elementor-element-86ab537,
	body.llivey-auth-page #registerationContainer,
	body.elementor-page-328 #registerationContainer,
	body.llivey-auth-page .elementor-element-fee8fca,
	body.elementor-page-328 .elementor-element-fee8fca {
		width: 100% !important;
		max-width: 100% !important;
	}

	body.llivey-auth-page .mainContainerReg > .elementor-element:first-child,
	body.elementor-page-328 .mainContainerReg > .elementor-element:first-child,
	body.llivey-auth-page .elementor-element-86ab537,
	body.elementor-page-328 .elementor-element-86ab537 {
		-webkit-box-align: center !important;
		-ms-flex-align: center !important;
		align-items: center !important;
		text-align: center;
	}

	body.llivey-auth-page .mainContainerReg .elementor-widget-image img,
	body.elementor-page-328 .mainContainerReg .elementor-widget-image img {
		width: 88px !important;
	}

	.llivey-brand-copy {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		text-align: center;
		max-width: 100%;
	}

	.llivey-brand-copy .llivey-brand-pills {
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}

	body.llivey-auth-page .tophive-popup-content-wrapper h3,
	body.elementor-page-328 .tophive-popup-content-wrapper h3 {
		text-align: center !important;
	}

	body.llivey-auth-page .signup-segment,
	body.elementor-page-328 .signup-segment {
		max-height: none;
		overflow: visible;
	}
}

@media (max-width: 575px) {
	body.llivey-auth-page .tophive-popup-content-wrapper,
	body.elementor-page-328 .tophive-popup-content-wrapper {
		padding: 20px 16px !important;
		border-radius: 22px !important;
	}

	body.llivey-auth-page .tophive-popup-content-wrapper .ec-col-4,
	body.elementor-page-328 .tophive-popup-content-wrapper .ec-col-4 {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
		margin-bottom: 8px;
	}

	body.llivey-auth-page .th-modal-login > p:has(label),
	body.elementor-page-328 .th-modal-login > p:has(label) {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: start;
		-ms-flex-align: start;
		align-items: flex-start;
	}

	.llivey-brand-copy .llivey-brand-name {
		font-size: 2.4rem;
	}

	.llivey-orb {
		opacity: 0.25;
	}
}

/* Fallback when :has() unsupported — still RTL via body */
@supports not (selector(:has(*))) {
	body.llivey-auth-page,
	body.elementor-page-328 {
		direction: rtl;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.llivey-auth-page::before,
	body.elementor-page-328::before,
	body.llivey-auth-page .mainContainerReg .elementor-widget-image img,
	body.elementor-page-328 .mainContainerReg .elementor-widget-image img,
	.llivey-orb,
	body.llivey-auth-page .mainContainerReg > .elementor-element:first-child,
	body.llivey-auth-page #registerationContainer {
		-webkit-animation: none !important;
		animation: none !important;
	}
}
