/* AlphaX / User Portal UI — custom login page
 * Design tokens: design-system/MASTER.md (petrol #0E5048 / gold #C2901C, Manrope + DM Sans)
 * Pure-CSS SVG ambient animations. GPU-only (transform/opacity). Animations always
 * run by design (site-owner request); no reduced-motion freezing on this page.
 */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=DM+Sans:wght@400;500;600&display=swap");

/* ------------------------------------------------------------------ */
/* Scroll lock (class added by login_page.js, :has as no-JS fallback) */
/* ------------------------------------------------------------------ */

html.upx-lock,
html.upx-lock body {
	height: 100%;
	overflow: hidden;
}

body:has(.upx-root) {
	overflow-x: hidden;
}

/* ------------------------------------------------------------------ */
/* Root layout                                                         */
/* ------------------------------------------------------------------ */

.upx-root {
	--upx-primary: #0e5048;
	--upx-accent: #c2901c;
	--upx-overlay: #0b0f17;
	--upx-bg-image-opacity: 35%;
	--upx-ink: #e2e8f0;
	--upx-ink-muted: #94a3b8;
	--upx-line: rgba(148, 163, 184, 0.16);
	--upx-card-bg: rgba(15, 23, 42, 0.58);
	--upx-field-bg: rgba(2, 6, 23, 0.55);
	--upx-ease: cubic-bezier(0.22, 1, 0.36, 1);

	position: fixed;
	inset: 0;
	z-index: 60;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background-color: var(--upx-overlay);
	background-image: linear-gradient(160deg, #0b0f17 0%, #101827 55%, #0b0f17 100%);
	color: var(--upx-ink);
	font-family: "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}

.upx-root h1,
.upx-root h2,
.upx-root h3,
.upx-root h4,
.upx-brand-name,
.upx-card-head h2 {
	font-family: "Manrope", "DM Sans", sans-serif;
}

.upx-layout {
	display: flex;
	flex: 1;
	min-height: 0;
	width: 100%;
}

/* ------------------------------------------------------------------ */
/* Background layers                                                   */
/* ------------------------------------------------------------------ */

.upx-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.upx-bg-image {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-position: center;
	background-size: cover;
	opacity: var(--upx-bg-image-opacity);
}

.upx-bg-glow {
	position: absolute;
	inset: -20%;
	z-index: 1;
	background:
		radial-gradient(42% 52% at 18% 30%, rgba(14, 80, 72, 0.35) 0%, transparent 70%),
		radial-gradient(38% 46% at 82% 72%, rgba(194, 144, 28, 0.14) 0%, transparent 70%),
		radial-gradient(30% 38% at 62% 20%, rgba(107, 147, 174, 0.07) 0%, transparent 70%);
}

.upx-bg-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(
		100deg,
		color-mix(in srgb, var(--upx-overlay) 86%, transparent) 0%,
		color-mix(in srgb, var(--upx-overlay) 46%, transparent) 48%,
		color-mix(in srgb, var(--upx-overlay) 24%, transparent) 100%
	);
}

.upx-svg {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
}

.upx-svg circle,
.upx-svg path,
.upx-svg g {
	will-change: transform, opacity;
}

/* Ambient orbs + comets (shared by all presets) ----------------------- */

.upx-orbs {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
}

.upx-orb {
	position: absolute;
	border-radius: 50%;
	will-change: transform;
}

.upx-orb-1 {
	width: 58vw;
	height: 58vw;
	left: 38%;
	top: -20%;
	background: radial-gradient(circle, rgba(14, 80, 72, 0.42) 0%, rgba(14, 80, 72, 0) 62%);
	animation: upxOrb1 34s ease-in-out infinite alternate;
}

.upx-orb-2 {
	width: 46vw;
	height: 46vw;
	right: -12%;
	bottom: -18%;
	background: radial-gradient(circle, rgba(194, 144, 28, 0.22) 0%, rgba(194, 144, 28, 0) 62%);
	animation: upxOrb2 29s ease-in-out infinite alternate;
}

.upx-orb-3 {
	width: 38vw;
	height: 38vw;
	left: -8%;
	bottom: -6%;
	background: radial-gradient(circle, rgba(107, 147, 174, 0.12) 0%, rgba(107, 147, 174, 0) 62%);
	animation: upxOrb3 39s ease-in-out infinite alternate;
}

@keyframes upxOrb1 {
	to {
		transform: translate3d(-7vw, 5vh, 0);
	}
}

@keyframes upxOrb2 {
	to {
		transform: translate3d(5vw, -6vh, 0);
	}
}

@keyframes upxOrb3 {
	to {
		transform: translate3d(6vw, 4vh, 0);
	}
}

/* ------------------------------ Preset: Aurora Flow ---------------- */
/* Liquid-silk corporate gradients (slate / teal / royal blue) morphing slowly.
 * Pure CSS: soft radial fields, GPU transform morphs, 15-23s loops.            */

.upx-anim-aurora-flow .upx-orbs {
	display: none;
}

.upx-anim-aurora-flow .upx-bg-glow {
	background:
		radial-gradient(46% 56% at 24% 30%, rgba(30, 58, 110, 0.22) 0%, transparent 70%),
		radial-gradient(38% 46% at 74% 66%, rgba(20, 82, 78, 0.2) 0%, transparent 70%);
}

.upx-aurora {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
}

.upx-aurora-blob {
	position: absolute;
	border-radius: 50%;
	will-change: transform;
}

.upx-ab-1 {
	width: 66vw;
	height: 66vw;
	left: -10%;
	top: -24%;
	background: radial-gradient(circle, rgba(30, 58, 110, 0.5) 0%, rgba(30, 58, 110, 0) 64%);
	animation: upxAurora1 17s ease-in-out infinite alternate;
}

.upx-ab-2 {
	width: 58vw;
	height: 58vw;
	right: -14%;
	top: -10%;
	background: radial-gradient(circle, rgba(20, 82, 78, 0.46) 0%, rgba(20, 82, 78, 0) 64%);
	animation: upxAurora2 21s ease-in-out infinite alternate;
}

.upx-ab-3 {
	width: 54vw;
	height: 54vw;
	left: 16%;
	bottom: -28%;
	background: radial-gradient(circle, rgba(71, 85, 105, 0.4) 0%, rgba(71, 85, 105, 0) 64%);
	animation: upxAurora3 19s ease-in-out infinite alternate;
}

.upx-ab-4 {
	width: 48vw;
	height: 48vw;
	right: 6%;
	bottom: -20%;
	background: radial-gradient(circle, rgba(14, 80, 72, 0.4) 0%, rgba(14, 80, 72, 0) 64%);
	animation: upxAurora4 23s ease-in-out infinite alternate;
}

@keyframes upxAurora1 {
	to {
		transform: translate3d(7vw, 6vh, 0) scale(1.14);
	}
}

@keyframes upxAurora2 {
	to {
		transform: translate3d(-6vw, 7vh, 0) scale(0.92);
	}
}

@keyframes upxAurora3 {
	to {
		transform: translate3d(5vw, -6vh, 0) scale(1.12);
	}
}

@keyframes upxAurora4 {
	to {
		transform: translate3d(-7vw, -4vh, 0) scale(1.1);
	}
}

/* ------------------------------ Preset: Digital Blueprint ---------- */
/* Faint drafting grid in soft perspective drifting diagonally, with accent
 * cells and guide lines that glow and fade. Pure CSS, seamless loop.          */

.upx-anim-digital-blueprint .upx-orbs {
	display: none;
}

.upx-anim-digital-blueprint .upx-bg-glow {
	background:
		radial-gradient(46% 56% at 30% 34%, rgba(65, 88, 107, 0.2) 0%, transparent 70%),
		radial-gradient(36% 44% at 74% 70%, rgba(194, 144, 28, 0.08) 0%, transparent 70%);
}

.upx-blueprint {
	position: absolute;
	inset: 0;
	z-index: 3;
	overflow: hidden;
	perspective: 1100px;
	pointer-events: none;
}

.upx-bp-grid {
	position: absolute;
	inset: -60%;
	background-image:
		linear-gradient(rgba(148, 163, 184, 0.085) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, 0.085) 1px, transparent 1px),
		linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
	background-size: 88px 88px, 88px 88px, 22px 22px, 22px 22px;
	animation: upxBpDrift 26s linear infinite;
	mask-image: radial-gradient(82% 82% at 50% 50%, #000 38%, transparent 100%);
	-webkit-mask-image: radial-gradient(82% 82% at 50% 50%, #000 38%, transparent 100%);
	will-change: transform;
}

@keyframes upxBpDrift {
	from {
		transform: rotateX(13deg) translate3d(-88px, -88px, 0);
	}
	to {
		transform: rotateX(13deg) translate3d(0, 0, 0);
	}
}

.upx-bp-pulse {
	position: absolute;
	width: 22px;
	height: 22px;
	border: 1px solid rgba(194, 144, 28, 0.55);
	background: rgba(194, 144, 28, 0.09);
	opacity: 0;
	animation: upxBpPulse 8s ease-in-out infinite;
}

.upx-bp-p1 { left: 24%; top: 28%; }
.upx-bp-p2 { left: 62%; top: 20%; border-color: rgba(107, 147, 174, 0.55); background: rgba(107, 147, 174, 0.09); animation-delay: -2.6s; }
.upx-bp-p3 { left: 40%; top: 58%; animation-delay: -4.4s; }
.upx-bp-p4 { left: 74%; top: 62%; border-color: rgba(107, 147, 174, 0.55); background: rgba(107, 147, 174, 0.09); animation-delay: -6.1s; }
.upx-bp-p5 { left: 14%; top: 66%; animation-delay: -3.2s; }
.upx-bp-p6 { left: 82%; top: 36%; animation-delay: -7s; }

@keyframes upxBpPulse {
	0%,
	100% {
		opacity: 0;
	}
	45%,
	60% {
		opacity: 0.85;
	}
}

.upx-bp-line {
	position: absolute;
	height: 1px;
	opacity: 0;
	background: linear-gradient(90deg, transparent, rgba(194, 144, 28, 0.4), transparent);
	animation: upxBpLine 9s ease-in-out infinite;
}

.upx-bp-l1 {
	left: 18%;
	top: 38%;
	width: 240px;
}

.upx-bp-l2 {
	left: 52%;
	top: 68%;
	width: 200px;
	background: linear-gradient(90deg, transparent, rgba(107, 147, 174, 0.4), transparent);
	animation-delay: -4.5s;
}

@keyframes upxBpLine {
	0%,
	100% {
		opacity: 0;
	}
	50% {
		opacity: 0.7;
	}
}

/* ------------------------------ Preset: Global Data Nexus ---------- */
/* Interactive particle web on canvas (login_page.js): ~65 drifting motes,
 * thin constellation lines snap in when points come close. Deep navy base.   */

.upx-anim-global-data-nexus {
	background-image: linear-gradient(168deg, #0a1020 0%, #0e1b30 55%, #0a101e 100%);
}

.upx-canvas {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
}

/* ------------------------------ Preset: Telemetry Grid ------------ */

.upx-anim-telemetry-grid .upx-bg-glow {
	background:
		radial-gradient(42% 52% at 20% 26%, rgba(14, 80, 72, 0.42) 0%, transparent 70%),
		radial-gradient(34% 42% at 78% 68%, rgba(34, 211, 238, 0.1) 0%, transparent 70%),
		radial-gradient(26% 34% at 55% 82%, rgba(194, 144, 28, 0.1) 0%, transparent 70%);
}

.upx-anim-telemetry-grid .upx-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	animation: upxGridPulse 11s ease-in-out infinite;
	background-image:
		linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: radial-gradient(85% 85% at 50% 45%, #000 30%, transparent 100%);
	-webkit-mask-image: radial-gradient(85% 85% at 50% 45%, #000 30%, transparent 100%);
}

.upx-stream-under {
	stroke-width: 7;
	stroke-linecap: round;
}

.upx-stream {
	stroke-width: 2;
	stroke-dasharray: 130 1790;
	stroke-dashoffset: 1920;
	animation: upxDash 17s linear infinite;
}

.upx-stream-2 {
	animation-duration: 19s;
	animation-delay: -6s;
}

.upx-stream-3 {
	animation-duration: 14s;
	animation-delay: -11s;
}

@keyframes upxDash {
	to {
		stroke-dashoffset: -1780;
	}
}

.upx-tl-nodes .upx-node {
	transform-box: fill-box;
	transform-origin: center;
	animation: upxNodePulse 6.5s ease-in-out infinite;
}

.upx-tl-nodes .upx-node:nth-child(2n) {
	animation-delay: -1.6s;
}

.upx-tl-nodes .upx-node:nth-child(3n) {
	animation-delay: -3.1s;
}

.upx-tl-nodes .upx-node:nth-child(5n) {
	animation-delay: -4.3s;
}

@keyframes upxNodePulse {
	0%,
	100% {
		opacity: 0.45;
		transform: scale(0.82);
	}
	50% {
		opacity: 1;
		transform: scale(1.18);
	}
}

.upx-ring {
	transform-box: fill-box;
	transform-origin: center;
	animation: upxRing 5.5s ease-out infinite;
}

.upx-ring-2 {
	animation-delay: -2.2s;
}

@keyframes upxRing {
	0% {
		opacity: 0.75;
		transform: scale(0.55);
	}
	75% {
		opacity: 0;
		transform: scale(2.1);
	}
	100% {
		opacity: 0;
		transform: scale(2.1);
	}
}

.upx-tl-hexes path {
	animation: upxHexBreathe 12s ease-in-out infinite alternate;
}

.upx-tl-hexes path:nth-child(2) {
	animation-delay: -3s;
}

.upx-tl-hexes path:nth-child(3) {
	animation-delay: -6s;
}

@keyframes upxHexBreathe {
	from {
		opacity: 0.28;
	}
	to {
		opacity: 0.6;
	}
}

@keyframes upxGridPulse {
	0%,
	100% {
		opacity: 0.62;
	}
	50% {
		opacity: 1;
	}
}

/* ------------------------------ Preset: Neural Rails -------------- */

.upx-anim-neural-rails .upx-bg-glow {
	background:
		radial-gradient(40% 50% at 26% 64%, rgba(65, 88, 107, 0.16) 0%, transparent 70%),
		radial-gradient(36% 44% at 72% 30%, rgba(194, 144, 28, 0.09) 0%, transparent 70%);
}

.upx-nl-stream {
	stroke-width: 3;
	stroke-dasharray: 120 2400;
	stroke-dashoffset: 2520;
	animation: upxNlDash 15s linear infinite;
}

.upx-nl-2 {
	animation-duration: 17s;
	animation-delay: -5s;
}

.upx-nl-3 {
	animation-duration: 19s;
	animation-delay: -9s;
}

.upx-nl-4 {
	animation-duration: 15s;
	animation-delay: -12s;
}

@keyframes upxNlDash {
	to {
		stroke-dashoffset: -2400;
	}
}

.upx-nl-node {
	transform-box: fill-box;
	transform-origin: center;
	animation: upxNlDrift 12s ease-in-out infinite alternate;
}

.upx-nl-node-2 {
	animation-duration: 15s;
	animation-delay: -5s;
}

.upx-nl-node-3 {
	animation-duration: 9.5s;
	animation-delay: -2.5s;
}

.upx-nl-node-4 {
	animation-duration: 13s;
	animation-delay: -7.5s;
}

@keyframes upxNlDrift {
	0% {
		opacity: 0.55;
		transform: translate3d(0, 0, 0);
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 0.7;
		transform: translate3d(9px, -13px, 0);
	}
}

/* ------------------------------ Preset: Wave Matrix --------------- */

.upx-anim-wave-matrix .upx-bg-glow {
	background:
		radial-gradient(42% 52% at 30% 62%, rgba(65, 88, 107, 0.16) 0%, transparent 70%),
		radial-gradient(36% 44% at 74% 28%, rgba(194, 144, 28, 0.09) 0%, transparent 70%);
}

.upx-wv-group {
	transform-box: view-box;
	transform-origin: center;
	animation: upxWaveBreathe 14s ease-in-out infinite alternate;
}

.upx-wv-group-2 {
	animation-duration: 18s;
	animation-delay: -6s;
}

@keyframes upxWaveBreathe {
	0% {
		transform: translate3d(0, 0, 0) rotate(0deg);
	}
	100% {
		transform: translate3d(-16px, 12px, 0) rotate(0.4deg);
	}
}

.upx-wv-node {
	transform-box: fill-box;
	transform-origin: center;
	animation: upxWvPulse 6s ease-in-out infinite;
}

.upx-wv-node-2 {
	animation-delay: -1.8s;
}

.upx-wv-node-3 {
	animation-delay: -3.4s;
}

.upx-wv-node-4 {
	animation-delay: -4.6s;
}

@keyframes upxWvPulse {
	0%,
	100% {
		opacity: 0.3;
	}
	50% {
		opacity: 0.8;
	}
}

/* ------------------------------ Preset: None ---------------------- */

.upx-anim-none .upx-svg {
	display: none;
}

/* ------------------------------------------------------------------ */
/* Card column                                                         */
/* ------------------------------------------------------------------ */

.upx-card-col {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45%;
	min-width: 430px;
	padding: 40px 56px;
	overflow-y: auto;
}

.upx-card-stack {
	width: 100%;
	max-width: 440px;
	animation: upxRise 0.7s var(--upx-ease) both;
}

@keyframes upxRise {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Brand header ------------------------------------------------------ */

.upx-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
}

.upx-brand-logo {
	display: inline-flex;
	align-items: center;
	color: var(--upx-ink);
}

.upx-brand-logo img {
	max-height: 44px;
	max-width: 170px;
	object-fit: contain;
}

.upx-brand-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.upx-brand-name {
	font-size: 19px;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: #f1f5f9;
	line-height: 1.2;
}

.upx-brand-tagline {
	font-size: 13px;
	color: var(--upx-ink-muted);
	line-height: 1.35;
}

/* Logo entrance (mark pieces stagger) ------------------------------- */

.upx-mk {
	opacity: 0;
	animation: upxMarkIn 0.65s var(--upx-ease) forwards;
}

.upx-mk-a {
	animation-delay: 0.05s;
}

.upx-mk-x {
	animation-delay: 0.28s;
}

.upx-mk-slash {
	animation-delay: 0.42s;
}

@keyframes upxMarkIn {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.upx-mark-svg {
	color: var(--upx-accent);
}

/* Glass card --------------------------------------------------------- */

.upx-card-shell {
	position: relative;
}

.upx-panel {
	position: relative;
	background: var(--upx-card-bg);
	border: 1px solid rgba(148, 163, 184, 0.14);
	border-radius: 18px;
	padding: 30px 30px 26px;
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	box-shadow:
		0 24px 60px -18px rgba(2, 6, 23, 0.65),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* only the active section is visible; frappe login.js toggles sections */
.upx-card-shell section {
	display: none;
}

.upx-card-head {
	margin-bottom: 20px;
}

.upx-card-head h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #f1f5f9;
}

.upx-card-head p {
	margin: 6px 0 0;
	font-size: 13.5px;
	color: var(--upx-ink-muted);
}

.upx-card-foot {
	margin: 18px 0 0;
	text-align: center;
	font-size: 13.5px;
	color: var(--upx-ink-muted);
}

.upx-card-foot a,
.upx-panel a:not(.btn) {
	color: var(--upx-accent);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
	cursor: pointer;
}

.upx-card-foot a:hover,
.upx-panel a:not(.btn):hover {
	color: color-mix(in srgb, var(--upx-accent) 72%, white);
}

/* Invalid / status states (frappe login.js hooks) ----------------------- */

.upx-panel.invalid-login {
	animation: upxShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes upxShake {
	10%,
	90% {
		transform: translateX(-1px);
	}
	20%,
	80% {
		transform: translateX(2px);
	}
	30%,
	50%,
	70% {
		transform: translateX(-4px);
	}
	40%,
	60% {
		transform: translateX(4px);
	}
}

/* Form fields ---------------------------------------------------------
 * frappe's login.bundle.css styles inputs via compound selectors like
 * `.for-login .page-card .page-card-body input[type=text]`, so every
 * override below matches or exceeds that specificity.
 */

.upx-root .upx-panel.page-card {
	background: var(--upx-card-bg);
	border: 1px solid rgba(148, 163, 184, 0.14);
	border-radius: 18px;
	padding: 30px 30px 26px;
	max-width: none;
	margin: 0;
}

.upx-root .upx-panel form {
	max-width: none;
	margin: 0;
}

.upx-root .upx-panel form .form-group {
	margin-bottom: 16px;
}

.upx-root .upx-panel .page-card-body {
	padding: 0;
}

.upx-root .upx-panel .page-card-actions {
	padding: 0;
	margin-top: 20px;
}

.upx-root .upx-panel .page-card-body input[type="text"],
.upx-root .upx-panel .page-card-body input[type="email"],
.upx-root .upx-panel .page-card-body input[type="password"] {
	height: 46px;
	padding: 0 14px;
	background: var(--upx-field-bg);
	border: 1px solid var(--upx-line);
	border-radius: 10px;
	color: #f1f5f9;
	font-size: 14.5px;
	font-family: inherit;
	font-weight: 500;
	letter-spacing: normal;
	box-shadow: none;
	margin-bottom: 0;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.upx-root .upx-panel input.form-control {
	height: 46px;
	background: var(--upx-field-bg);
	border: 1px solid var(--upx-line);
	border-radius: 10px;
	color: #f1f5f9;
	font-size: 14.5px;
	font-family: inherit;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.upx-root .upx-panel .page-card-body .upx-field input {
	padding: 0 42px;
}

.upx-root .upx-panel .page-card-body .password-field input {
	padding-right: 64px;
}

.upx-root .upx-panel .page-card-body input::placeholder {
	color: rgba(148, 163, 184, 0.55);
	opacity: 1;
}

.upx-root .upx-panel .page-card-body input:focus,
.upx-root .upx-panel .page-card-body input:active {
	background: rgba(2, 6, 23, 0.75);
	border-color: color-mix(in srgb, var(--upx-accent) 60%, transparent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--upx-accent) 22%, transparent);
	outline: none;
	color: #f8fafc;
}

.upx-root .upx-panel .page-card-body.invalid input[type="text"],
.upx-root .upx-panel .page-card-body.invalid input[type="email"],
.upx-root .upx-panel .page-card-body.invalid input[type="password"] {
	border: 1px solid rgba(248, 113, 113, 0.65);
	box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.upx-root .upx-panel .page-card-body.invalid .upx-field-icon {
	color: rgba(248, 113, 113, 0.8);
}

.upx-field {
	position: relative;
}

.upx-field-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: rgba(148, 163, 184, 0.6);
	pointer-events: none;
}

.upx-root .upx-panel .page-card-body .upx-field .toggle-password {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--upx-ink-muted);
	cursor: pointer;
	user-select: none;
	transition: color 0.2s ease;
}

.upx-root .upx-panel .page-card-body .upx-field .toggle-password:hover {
	color: var(--upx-accent);
}

.upx-caps-hint {
	position: absolute;
	right: 0;
	top: calc(100% + 5px);
	font-size: 11.5px;
	color: #fbbf24;
}

.upx-root .upx-panel .page-card-body .forgot-password-message {
	margin: 2px 0 18px;
	text-align: right;
	line-height: 1.4;
}

.upx-root .upx-panel .page-card-body .forgot-password-message > *,
.upx-root .upx-panel .page-card-body .forgot-password-message a {
	color: var(--upx-accent);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
	cursor: pointer;
}

.upx-root .upx-panel .page-card-body .forgot-password-message > *:hover {
	color: color-mix(in srgb, var(--upx-accent) 72%, white);
}

/* Buttons -------------------------------------------------------------- */

.upx-root .btn {
	border: none;
	border-radius: 10px;
	font-family: "Manrope", "DM Sans", sans-serif;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.upx-root .btn:focus-visible {
	outline: 2px solid var(--upx-accent);
	outline-offset: 2px;
}

.upx-root .upx-panel .btn-primary,
.upx-root .upx-panel .page-card-actions .btn-primary {
	background: var(--upx-primary);
	color: #fff;
	height: 46px;
	font-size: 15px;
	box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--upx-primary) 70%, transparent);
}

.upx-root .upx-panel .btn-primary:hover,
.upx-root .upx-panel .btn-primary:focus,
.upx-root .upx-panel .page-card-actions .btn-primary:hover,
.upx-root .upx-panel .page-card-actions .btn-primary:focus {
	background: color-mix(in srgb, var(--upx-primary) 84%, white);
	color: #fff;
	transform: translateY(-1px);
}

.upx-root .upx-panel .btn-primary:active {
	transform: translateY(0);
}

.upx-root .upx-panel .btn-primary:disabled {
	opacity: 0.65;
	cursor: default;
	transform: none;
}

.upx-root .upx-panel .btn-login-option,
.upx-root .upx-panel .page-card-actions .upx-btn-ghost {
	background: rgba(148, 163, 184, 0.08);
	border: 1px solid var(--upx-line);
	color: #e2e8f0;
	height: 42px;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: normal;
	box-shadow: none;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.upx-root .upx-panel .page-card-body .btn-login-option:hover,
.upx-root .upx-panel .page-card-actions .upx-btn-ghost:hover,
.upx-root .upx-panel .page-card-body .btn-login-option:focus,
.upx-root .upx-panel .page-card-actions .upx-btn-ghost:focus {
	background: rgba(148, 163, 184, 0.16);
	border-color: color-mix(in srgb, var(--upx-accent) 45%, transparent);
	color: #f8fafc;
}

.upx-root .upx-panel .page-card-body .btn-login-option:hover {
	border: 1px solid color-mix(in srgb, var(--upx-accent) 45%, transparent);
}

.upx-root .upx-panel .page-card-body .social-logins {
	margin-top: 14px;
}

.upx-root .upx-panel .page-card-body .social-logins .social-login-buttons {
	margin-top: 10px;
}

.upx-root .upx-panel .page-card-body .social-logins .social-login-buttons .login-button-wrapper {
	min-width: 100%;
	padding: 0;
	margin-bottom: 10px;
}

.upx-root .upx-panel .page-card-body .social-logins .social-login-buttons .login-button-wrapper:last-child {
	margin-bottom: 0;
}

.upx-root .upx-panel .upx-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 14px;
	color: var(--upx-ink-muted);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.upx-root .upx-panel .upx-divider::before,
.upx-root .upx-panel .upx-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--upx-line);
}

.upx-root .upx-panel .upx-divider span {
	color: var(--upx-ink-muted);
}

/* OTP / dynamically injected content ------------------------------------ */

.upx-panel #twofactor_div .form-control {
	height: 46px;
	margin-top: 10px;
}

.upx-panel #twofactor_div .btn-primary {
	margin-top: 14px;
}

.upx-panel .page-card-head {
	border: none;
	padding: 0;
	margin: 0 0 10px;
}

/* Page footer ------------------------------------------------------------ */

.upx-page-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 22px;
	font-size: 12.5px;
	color: rgba(148, 163, 184, 0.75);
}

.upx-home-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-right: auto;
	padding: 7px 14px;
	border-radius: 99px;
	color: #f6ecd2;
	background: rgba(194, 144, 28, 0.16);
	border: 1px solid rgba(194, 144, 28, 0.55);
	text-decoration: none;
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: 0.03em;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
		transform 0.2s var(--upx-ease);
}

.upx-home-link:hover {
	color: #ffffff;
	background: rgba(194, 144, 28, 0.3);
	border-color: rgba(194, 144, 28, 0.9);
	transform: translateY(-1px);
}

.upx-home-link svg {
	flex: none;
	color: var(--upx-accent);
}

.upx-powered {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(226, 232, 240, 0.82);
	text-decoration: none;
	cursor: pointer;
	transition: color 0.2s ease;
}

.upx-powered:hover {
	color: #f8fafc;
}

.upx-powered .upx-mark-svg {
	color: rgba(226, 232, 240, 0.85);
}

.upx-powered strong {
	font-family: "Manrope", sans-serif;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.upx-copyright {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.upx-noscript {
	text-align: center;
	padding: 20px 0;
}

/* ------------------------------------------------------------------ */
/* Showcase panel (right side, feature stories)                        */
/* -------------------------------------------------------------------- */

.upx-showcase {
	position: relative;
	z-index: 5;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 55%;
	padding: 44px 56px 44px 12px;
	min-width: 0;
}

.upx-showcase-frame {
	position: relative;
	width: 100%;
	max-width: 680px;
	margin: 0 auto;
	aspect-ratio: 16 / 10.4;
	border: 1px solid rgba(148, 163, 184, 0.14);
	border-radius: 22px;
	overflow: hidden;
	background: rgba(15, 23, 42, 0.4);
	box-shadow: 0 34px 80px -30px rgba(2, 6, 23, 0.8);
	animation: upxRise 0.8s var(--upx-ease) both;
	animation-delay: 0.12s;
}

/* Slides are activated by login_page.js (.is-active); animations inside a
   slide restart on every activation. */

.upx-slide {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 4.5% 6.5% 0;
	background-position: center;
	background-size: cover;
	opacity: 0;
	transition: opacity 0.7s ease;
	pointer-events: none;
	will-change: opacity;
}

.upx-slide.is-active {
	opacity: 1;
}

html:not(.upx-js) .upx-slide-1 {
	opacity: 1;
}

.upx-slide-1 {
	background: linear-gradient(150deg, #123b36 0%, #0e2a33 60%, #0b1220 100%);
}

.upx-slide-2 {
	background: linear-gradient(150deg, #23283d 0%, #1a2333 55%, #0b1220 100%);
}

.upx-slide-3 {
	background: linear-gradient(150deg, #2b2a4a 0%, #1e2038 55%, #0b1220 100%);
}

.upx-slide-4 {
	background: linear-gradient(150deg, #1c2c44 0%, #142236 55%, #0b1220 100%);
}

.upx-slide-5 {
	background: linear-gradient(150deg, #123240 0%, #0e2537 55%, #0b1220 100%);
}

.upx-slide-6 {
	background: linear-gradient(150deg, #123b2e 0%, #0d2b2a 55%, #0b1220 100%);
}

/* Mock app window ------------------------------------------------------ */

.upx-app {
	position: relative;
	flex: 1;
	min-height: 0;
	display: flex;
	border-radius: 14px;
	overflow: hidden;
	background: rgba(2, 6, 23, 0.55);
	border: 1px solid rgba(148, 163, 184, 0.16);
	box-shadow: 0 20px 50px -20px rgba(2, 6, 23, 0.7);
}

.upx-app-side {
	width: 52px;
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	background: rgba(14, 80, 72, 0.28);
	border-right: 1px solid rgba(148, 163, 184, 0.12);
}

.upx-app-logo {
	width: 20px;
	height: auto;
	color: var(--upx-accent);
}

.upx-app-nav {
	width: 22px;
	height: 22px;
	border-radius: 7px;
	background: rgba(148, 163, 184, 0.14);
}

.upx-app-nav.is-on {
	background: var(--upx-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--upx-accent) 20%, transparent);
}

.upx-app-body {
	position: relative;
	flex: 1;
	min-width: 0;
}

.upx-fx {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* KPI chips under the scene -------------------------------------------- */

.upx-fx-kpis {
	display: flex;
	gap: 12px;
}

.upx-kpi {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 14px;
	background: rgba(2, 6, 23, 0.66);
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 12px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.upx-kpi b {
	font-family: "Manrope", sans-serif;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	color: #f8fafc;
	font-variant-numeric: tabular-nums;
}

.upx-kpi i {
	font-style: normal;
	font-size: 11.5px;
	color: var(--upx-ink-muted);
}

/* Captions --------------------------------------------------------------- */

.upx-slide-caption {
	position: relative;
	z-index: 2;
	padding: 0 2px 16px;
	font-family: "Manrope", sans-serif;
}

.upx-slide-caption strong {
	display: block;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #f1f5f9;
}

.upx-slide-sub {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	color: var(--upx-ink-muted);
}

.upx-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 9px;
}

.upx-chips i {
	font-style: normal;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
	padding: 3px 9px;
	border-radius: 99px;
	color: rgba(226, 232, 240, 0.85);
	background: rgba(148, 163, 184, 0.12);
	border: 1px solid rgba(148, 163, 184, 0.18);
}

/* Custom-image slides keep an overlaid caption + shade ------------------- */

.upx-slide-image .upx-app,
.upx-slide-image .upx-fx-kpis {
	display: none;
}

.upx-slide-image .upx-slide-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 18px 24px;
}

.upx-slide-image .upx-slide-caption strong {
	font-size: 15px;
	text-shadow: 0 1px 8px rgba(2, 6, 23, 0.8);
}

.upx-slide-shade {
	display: none;
}

.upx-slide-image .upx-slide-shade {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(2, 6, 23, 0.72) 0%, rgba(2, 6, 23, 0.12) 38%, transparent 60%);
	pointer-events: none;
}

.upx-slide-image {
	z-index: 1;
}

/* FX system — children animate only while their slide is .is-active ------ */
/* (removing the class unmounts the animation, so it replays on return)    */

.upx-fx [class*="fx-"] {
	transform-box: fill-box;
}

.fx-in,
.fx-pop,
.fx-stamp,
.fx-fadein,
.fx-grow-y,
.fx-grow-x {
	opacity: 0;
}

.fx-draw {
	stroke-dasharray: var(--fx-len, 640);
	stroke-dashoffset: var(--fx-len, 640);
}

.fx-dash {
	stroke-dashoffset: var(--fx-from, 200);
}

.fx-radar {
	opacity: 0;
}

.fx-radar,
.fx-ringp,
.fx-deal {
	will-change: transform, opacity;
}

.fx-radar {
	transform-box: view-box;
}

.upx-slide.is-active .fx-in {
	animation: fxFxIn 0.55s var(--upx-ease) both;
}

.upx-slide.is-active .fx-pop {
	animation: fxPop 0.5s var(--upx-ease) both;
}

.upx-slide.is-active .fx-stamp {
	animation: fxStamp 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.upx-slide.is-active .fx-fadein {
	animation: fxFadeIn 0.9s ease both;
}

.upx-slide.is-active .fx-grow-y {
	animation: fxGrowY 1.5s var(--upx-ease) 0.35s infinite alternate;
	transform-origin: bottom center;
}

.upx-slide.is-active .fx-grow-x {
	animation: fxGrowX 1.5s var(--upx-ease) 0.35s infinite alternate;
	transform-origin: left center;
}

.upx-slide.is-active .fx-draw {
	animation: fxDraw 2.4s ease-in-out 0.35s infinite alternate;
}

.upx-slide.is-active .fx-dash {
	animation: fxDashFill 1.9s ease-in-out 0.5s infinite alternate;
}

.upx-slide.is-active .fx-radar {
	animation: fxRadar 3.4s linear 0.4s infinite;
	opacity: 1;
}

.upx-slide.is-active .fx-ringp {
	animation: fxPing 2s ease-out infinite;
}

.upx-slide.is-active .fx-deal {
	animation: fxDealMove 3.6s ease-in-out 0.4s infinite alternate;
}

/* stagger utilities (after the assignments so they win the tie) */

.upx-slide.is-active .fx-d2 {
	animation-delay: 0.18s;
}

.upx-slide.is-active .fx-d3 {
	animation-delay: 0.32s;
}

.upx-slide.is-active .fx-d4 {
	animation-delay: 0.46s;
}

.upx-slide.is-active .fx-d5 {
	animation-delay: 0.62s;
}

.upx-slide.is-active .fx-d6 {
	animation-delay: 0.8s;
}

.upx-slide.is-active .fx-d7 {
	animation-delay: 1s;
}

/* looping-chart variance so scenes keep moving throughout the slide */
.upx-slide.is-active .fx-draw.fx-d2 {
	animation-duration: 2.8s;
}

.upx-slide.is-active .fx-grow-y.fx-d3 {
	animation-duration: 1.7s;
}

.upx-slide.is-active .fx-grow-y.fx-d5 {
	animation-duration: 1.3s;
}

.upx-slide.is-active .fx-grow-x.fx-d4 {
	animation-duration: 1.9s;
}

@keyframes fxFxIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fxPop {
	from {
		opacity: 0;
		transform: scale(0.45);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes fxStamp {
	0% {
		opacity: 0;
		transform: scale(1.7);
	}
	60% {
		opacity: 1;
		transform: scale(0.94);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes fxFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fxGrowY {
	from {
		opacity: 1;
		transform: scaleY(0);
	}
	to {
		opacity: 1;
		transform: scaleY(1);
	}
}

@keyframes fxGrowX {
	from {
		opacity: 1;
		transform: scaleX(0);
	}
	to {
		opacity: 1;
		transform: scaleX(1);
	}
}

@keyframes fxDraw {
	from {
		stroke-dashoffset: var(--fx-len, 640);
	}
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes fxDashFill {
	from {
		stroke-dashoffset: var(--fx-from, 200);
	}
	to {
		stroke-dashoffset: var(--fx-to, 40);
	}
}

@keyframes fxRadar {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@keyframes fxPing {
	0% {
		opacity: 0.8;
		transform: scale(0.5);
	}
	75%,
	100% {
		opacity: 0;
		transform: scale(1.9);
	}
}

@keyframes fxDealMove {
	0%,
	22% {
		transform: translate3d(0, 0, 0);
	}
	38%,
	55% {
		transform: translate3d(178px, 0, 0);
	}
	72%,
	100% {
		transform: translate3d(356px, 0, 0);
	}
}

/* Progress dots (JS-driven) ---------------------------------------------- */

.upx-showcase-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 680px;
	margin: 16px auto 0;
}

.upx-dots {
	display: flex;
	gap: 8px;
}

.upx-dot {
	position: relative;
	width: 26px;
	height: 4px;
	border-radius: 99px;
	background: rgba(148, 163, 184, 0.3);
	overflow: hidden;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.upx-dot::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--upx-accent);
	transform: scaleX(0);
	transform-origin: left;
}

.upx-dot.is-active::after {
	animation: upxDotFill var(--upx-slide-ms, 4s) linear forwards;
}

html:not(.upx-js) .upx-dot-1::after {
	transform: scaleX(1);
}

@keyframes upxDotFill {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}

.upx-showcase-brand {
	color: rgba(226, 232, 240, 0.55);
}

.upx-showcase-logo {
	height: 20px;
	width: auto;
	transition: color 0.2s ease;
}

.upx-showcase:hover .upx-showcase-logo {
	color: rgba(248, 250, 252, 0.9);
}

/* Classic fallback (custom login disabled)                            */
/* ------------------------------------------------------------------ */

.upx--classic {
	background: #f3f5f8;
	color: #1e293b;
}

.upx--classic .upx-bg,
.upx--classic .upx-showcase {
	display: none;
}

.upx--classic .upx-card-col {
	width: 100%;
	min-width: 0;
}

.upx--classic .upx-panel.page-card,
.upx-root.upx--classic .upx-panel.page-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 10px 34px -14px rgba(15, 23, 42, 0.18);
}

.upx--classic .upx-brand-name,
.upx--classic .upx-card-head h2 {
	color: #0f172a;
}

.upx--classic .upx-brand-tagline,
.upx--classic .upx-card-head p,
.upx--classic .upx-card-foot {
	color: #64748b;
}

.upx--classic .upx-brand-logo {
	color: #0f172a;
}

.upx-root.upx--classic .upx-panel .page-card-body input[type="text"],
.upx-root.upx--classic .upx-panel .page-card-body input[type="email"],
.upx-root.upx--classic .upx-panel .page-card-body input[type="password"],
.upx-root.upx--classic .upx-panel input.form-control {
	background: #ffffff;
	border-color: #cbd5e1;
	color: #0f172a;
}

.upx-root.upx--classic .upx-panel input::placeholder {
	color: #94a3b8;
	opacity: 1;
}

.upx--classic .upx-field-icon {
	color: #94a3b8;
}

.upx-root.upx--classic .upx-panel .page-card-body .upx-field .toggle-password {
	color: #64748b;
}

.upx-root.upx--classic .upx-panel .btn-login-option,
.upx-root.upx--classic .upx-panel .page-card-actions .upx-btn-ghost {
	background: #f1f5f9;
	border-color: #e2e8f0;
	color: #334155;
}

.upx--classic .upx-page-foot {
	color: #94a3b8;
}

.upx--classic .upx-home-link {
	color: #8a6410;
	background: rgba(194, 144, 28, 0.14);
	border-color: rgba(194, 144, 28, 0.5);
}

.upx--classic .upx-home-link:hover {
	color: #0f172a;
	background: rgba(194, 144, 28, 0.24);
	border-color: rgba(194, 144, 28, 0.85);
	transform: none;
}

.upx--classic .upx-home-link svg {
	color: #b45309;
}

.upx--classic .upx-powered {
	color: #475569;
}

.upx--classic .upx-powered .upx-mark-svg {
	color: #0f172a;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1280px) {
	.upx-card-col {
		padding: 36px 40px;
	}

	.upx-showcase {
		padding: 36px 40px 36px 8px;
	}
}

@media (min-width: 1440px) {
	.upx-card-col {
		width: 42%;
		min-width: 480px;
		padding: 44px 52px;
	}

	.upx-showcase {
		width: 58%;
		padding: 48px 56px 48px 16px;
	}

	.upx-showcase-frame {
		max-width: 780px;
		aspect-ratio: 16 / 10;
	}

	.upx-showcase-foot {
		max-width: 780px;
	}
}

@media (min-width: 1760px) {
	.upx-card-col {
		width: 40%;
		min-width: 520px;
		padding: 48px 56px;
	}

	.upx-showcase {
		width: 60%;
		padding: 52px 64px 52px 20px;
	}

	.upx-showcase-frame {
		max-width: 900px;
		aspect-ratio: 16 / 9.6;
	}

	.upx-showcase-foot {
		max-width: 900px;
	}
}

@media (max-width: 1024px) {
	.upx-showcase {
		display: none;
	}

	.upx-card-col {
		width: 100%;
		min-width: 0;
	}
}

@media (max-width: 480px) {
	.upx-card-col {
		padding: 24px 18px;
	}

	.upx-panel {
		padding: 24px 20px 20px;
		border-radius: 14px;
	}

	.upx-brand {
		margin-bottom: 18px;
	}

	.upx-brand-name {
		font-size: 17px;
	}

	.upx-page-foot {
		flex-direction: column;
		align-items: center;
		gap: 8px;
	}

	.upx-home-link {
		margin-right: 0;
	}
}

@media (max-height: 720px) and (min-width: 1025px) {
	.upx-card-col {
		padding-top: 24px;
		padding-bottom: 24px;
	}

	.upx-brand {
		margin-bottom: 14px;
	}
}

/* ------------------------------------------------------------------ */
/* Reduced motion                                                      */
/* ------------------------------------------------------------------ */

@keyframes upxSlideCycleRM {
	0% {
		opacity: 0;
	}
	4.5% {
		opacity: 1;
	}
	30% {
		opacity: 1;
	}
	35.5% {
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}
