/*! Nexo Core — front-end styles (inherits the Nexo theme tokens, with fallbacks for other themes) */

:root {
	--nxc-primary: var(--nx-primary, #6A4DF4);
	--nxc-primary-rgb: var(--nx-primary-rgb, 106, 77, 244);
	--nxc-primary-soft: var(--nx-primary-soft, rgba(106, 77, 244, .1));
	--nxc-accent: var(--nx-accent, #FF5CA8);
	--nxc-grad: var(--nx-grad, linear-gradient(120deg, #6A4DF4 0%, #9B5CFF 48%, #FF5CA8 100%));
	--nxc-surface: var(--nx-surface, #fff);
	--nxc-surface-2: var(--nx-surface-2, #F8F9FE);
	--nxc-surface-3: var(--nx-surface-3, #EEF0FA);
	--nxc-border: var(--nx-border, #E4E7F2);
	--nxc-border-strong: var(--nx-border-strong, #CFD4E6);
	--nxc-text: var(--nx-text, #0F1126);
	--nxc-text-2: var(--nx-text-2, #3A3F5E);
	--nxc-muted: var(--nx-muted, #646A8C);
	--nxc-success: var(--nx-success, #12B76A);
	--nxc-success-text: var(--nx-success-text, #067647);
	--nxc-success-soft: var(--nx-success-soft, rgba(18, 183, 106, .12));
	--nxc-warning-text: var(--nx-warning-text, #B54708);
	--nxc-warning-soft: var(--nx-warning-soft, rgba(247, 144, 9, .12));
	--nxc-danger: var(--nx-danger, #F04438);
	--nxc-danger-text: var(--nx-danger-text, #B42318);
	--nxc-danger-soft: var(--nx-danger-soft, rgba(240, 68, 56, .1));
	--nxc-r-sm: var(--nx-r-sm, 12px);
	--nxc-r: var(--nx-r, 16px);
	--nxc-r-lg: var(--nx-r-lg, 22px);
	--nxc-ring: var(--nx-ring, 0 0 0 4px rgba(106, 77, 244, .18));
	--nxc-shadow: var(--nx-shadow-2, 0 6px 16px -4px rgba(15, 17, 38, .08), 0 20px 40px -16px rgba(15, 17, 38, .14));
	--nxc-ease: var(--nx-ease, cubic-bezier(.2, .8, .2, 1));
	--nxc-spring: var(--nx-spring, cubic-bezier(.34, 1.56, .64, 1));
	--nxc-font: var(--nx-font, "Vazirmatn FD", Vazirmatn, Tahoma, system-ui, sans-serif);
	--nxc-mono: var(--nx-mono, ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace);
}

/* Minimal fallbacks when the Nexo theme is not active ------------------------------- */
body:not(.nx-body) .nxc-auth .nx-btn,
body:not(.nx-body) .nxc-c2c .nx-btn,
body:not(.nx-body) .nxc-licenses .nx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 22px;
	border: 0;
	border-radius: 14px;
	font: 700 15px/1.4 var(--nxc-font);
	cursor: pointer;
	text-decoration: none;
}
body:not(.nx-body) .nx-btn--primary { background: var(--nxc-grad); color: #fff; }
body:not(.nx-body) .nx-btn--soft { background: var(--nxc-primary-soft); color: var(--nxc-primary); }
body:not(.nx-body) .nx-btn--block { width: 100%; }
body:not(.nx-body) .nxc-auth input:not([type="checkbox"]),
body:not(.nx-body) .nxc-c2c input:not([type="file"]),
body:not(.nx-body) .nxc-licenses input {
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	border: 1.5px solid var(--nxc-border);
	border-radius: 14px;
	background: var(--nxc-surface);
	color: var(--nxc-text);
	font: 500 16px/1.6 var(--nxc-font);
	box-sizing: border-box;
}

.nxc-icon {
	flex: none;
	vertical-align: middle;
}

/* Shared bits -------------------------------------------------------------------- */
.nxc-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 2px;
	border: 0;
	background: none;
	color: var(--nxc-primary);
	font: inherit;
	font-weight: 700;
	font-size: .875rem;
	cursor: pointer;
	text-decoration: none;
	border-radius: 8px;
}
.nxc-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.nxc-link:focus-visible { outline: 0; box-shadow: var(--nxc-ring); }

.nxc-alert {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 14px;
	padding: 11px 14px;
	border-radius: var(--nxc-r-sm);
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.8;
	background: var(--nxc-danger-soft);
	color: var(--nxc-danger-text);
	animation: nxc-pop .32s var(--nxc-ease);
}
.nxc-alert[hidden] { display: none; }
.nxc-alert--success { background: var(--nxc-success-soft); color: var(--nxc-success-text); }
.nxc-alert--info { background: var(--nxc-primary-soft); color: var(--nxc-primary); }

.nxc-note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 14px 0 0;
	font-size: .8125rem;
	line-height: 1.8;
	color: var(--nxc-muted);
}
.nxc-note .nxc-icon, .nxc-note .nx-icon { margin-top: 3px; color: var(--nxc-success); }
.nxc-note a { color: var(--nxc-primary); font-weight: 700; }

.nxc-chipbtn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 34px;
	padding: 6px 12px;
	border: 1px solid var(--nxc-border);
	border-radius: 999px;
	background: var(--nxc-surface);
	color: var(--nxc-text-2);
	font: inherit;
	font-size: .8125rem;
	font-weight: 700;
	cursor: pointer;
	transition: all .2s var(--nxc-ease);
}
.nxc-chipbtn:hover { border-color: var(--nxc-primary); color: var(--nxc-primary); }
.nxc-chipbtn.is-copied { background: var(--nxc-success-soft); border-color: transparent; color: var(--nxc-success-text); }

.nxc-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--nxc-surface-3);
	color: var(--nxc-muted);
	font-size: .6875rem;
	font-weight: 800;
}
.nxc-badge--ok { background: var(--nxc-success-soft); color: var(--nxc-success-text); }

.nxc-shake { animation: nxc-shake .42s var(--nxc-ease); }
@keyframes nxc-shake {
	20%, 60% { transform: translateX(-6px); }
	40%, 80% { transform: translateX(6px); }
}
@keyframes nxc-pop {
	from { opacity: 0; transform: translateY(4px) scale(.98); }
	to { opacity: 1; transform: none; }
}
@keyframes nxc-in {
	from { opacity: 0; transform: translateX(calc(14px * var(--nx-dir, 1))); }
	to { opacity: 1; transform: none; }
}
@keyframes nxc-spin { to { transform: rotate(360deg); } }

.nxc-auth .is-loading,
.nxc-c2c .is-loading,
.nxc-licenses .is-loading {
	position: relative;
	color: transparent !important;
	pointer-events: none;
}
.nxc-auth .is-loading > *,
.nxc-c2c .is-loading > *,
.nxc-licenses .is-loading > * { opacity: 0; }
.nxc-auth .is-loading::after,
.nxc-c2c .is-loading::after,
.nxc-licenses .is-loading::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 20px;
	height: 20px;
	border: 2.5px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: nxc-spin .7s linear infinite;
}
.nxc-licenses .nx-btn--soft.is-loading::after,
.nxc-site__remove.is-loading::after {
	border-color: rgba(var(--nxc-primary-rgb), .25);
	border-top-color: var(--nxc-primary);
}

/* Auth ------------------------------------------------------------------------- */
.nxc-auth {
	position: relative;
	width: 100%;
	max-width: 440px;
	margin-inline: auto;
	color: var(--nxc-text);
}
.nxc-auth__head { margin-bottom: 18px; }
.nxc-auth__title {
	margin: 0 0 6px;
	font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
	font-weight: 900;
	line-height: 1.4;
	letter-spacing: -.01em;
}
.nxc-auth__sub {
	margin: 0;
	color: var(--nxc-muted);
	font-size: .9375rem;
	line-height: 1.8;
}
.nxc-auth__sub[hidden] { display: none; }

.nxc-seg {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-bottom: 18px;
	padding: 4px;
	border-radius: 14px;
	background: var(--nxc-surface-3);
}
.nxc-seg[hidden] { display: none; }
.nxc-seg__btn {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 42px;
	border: 0;
	border-radius: 11px;
	background: none;
	color: var(--nxc-muted);
	font: inherit;
	font-size: .875rem;
	font-weight: 800;
	cursor: pointer;
	transition: color .25s var(--nxc-ease);
}
.nxc-seg__btn.is-active { color: var(--nxc-text); }
.nxc-seg__btn:focus-visible { outline: 0; box-shadow: var(--nxc-ring); }
.nxc-seg__glider {
	position: absolute;
	top: 4px;
	bottom: 4px;
	inset-inline-start: 4px;
	width: calc(50% - 4px);
	border-radius: 11px;
	background: var(--nxc-surface);
	box-shadow: 0 1px 2px rgba(15, 17, 38, .06), 0 4px 12px -4px rgba(15, 17, 38, .14);
	transition: transform .35s var(--nxc-spring);
}
.nxc-seg[data-active="email"] .nxc-seg__glider { transform: translateX(calc(-100% * var(--nx-dir, 1))); }

.nxc-step { animation: none; }
.nxc-step.is-in { animation: nxc-in .34s var(--nxc-ease); }
.nxc-step[hidden] { display: none; }

.nxc-field { margin: 0 0 14px; }
.nxc-label {
	display: block;
	margin-bottom: 7px;
	color: var(--nxc-text-2);
	font-size: .875rem;
	font-weight: 700;
}
.nxc-label small { color: var(--nxc-muted); font-weight: 500; }

.nxc-input { position: relative; display: block; }
.nxc-input__icon {
	position: absolute;
	top: 50%;
	inset-inline-start: 14px;
	display: inline-flex;
	color: var(--nxc-muted);
	transform: translateY(-50%);
	pointer-events: none;
	transition: color .2s;
}
.nxc-input > input { padding-left: 46px !important; }
[dir="rtl"] .nxc-input > input, .rtl .nxc-input > input { padding-left: 16px !important; padding-right: 46px !important; }
[dir="rtl"] .nxc-input:has(.nxc-input__eye) > input, .rtl .nxc-input:has(.nxc-input__eye) > input { padding-left: 50px !important; }
.nxc-input:has(.nxc-input__eye) > input { padding-right: 50px; }
.nxc-input:focus-within .nxc-input__icon { color: var(--nxc-primary); }
.nxc-input--lg > input { min-height: 56px; font-size: 1.125rem; letter-spacing: .06em; font-weight: 700; }
.nxc-input.is-valid::after {
	content: "";
	position: absolute;
	top: 50%;
	inset-inline-end: 16px;
	width: 9px;
	height: 15px;
	margin-top: -10px;
	border: solid var(--nxc-success);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
	animation: nxc-pop .25s var(--nxc-ease);
}
.nxc-input__eye {
	position: absolute;
	top: 50%;
	inset-inline-end: 6px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: none;
	color: var(--nxc-muted);
	transform: translateY(-50%);
	cursor: pointer;
}
.nxc-input__eye:hover, .nxc-input__eye.is-on { color: var(--nxc-primary); background: var(--nxc-primary-soft); }
.nxc-input--readonly { display: flex; align-items: center; }
.nxc-input--readonly > .nx-icon, .nxc-input--readonly > .nxc-icon { position: absolute; inset-inline-start: 14px; color: var(--nxc-success); }
.nxc-input--readonly .nxc-badge { position: absolute; inset-inline-end: 10px; }
.nxc-input--readonly input { background: var(--nxc-surface-2) !important; cursor: default; }

.nxc-auth .nxc-submit { margin-top: 4px; }
.nxc-auth .nxc-submit .nx-icon, .nxc-auth .nxc-submit .nxc-icon { transition: transform .25s var(--nxc-ease); }
.nxc-auth .nxc-submit:hover .nx-icon, .nxc-auth .nxc-submit:hover .nxc-icon { transform: translateX(calc(-4px * var(--nx-dir, 1))); }

.nxc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nxc-row--between { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -2px 0 14px; }
.nxc-check { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--nxc-text-2); cursor: pointer; }
.nxc-switchline { margin: 16px 0 0; text-align: center; color: var(--nxc-muted); font-size: .875rem; }

/* OTP */
.nxc-otp-to { margin: 0 0 16px; color: var(--nxc-text-2); font-size: .9375rem; line-height: 2; }
.nxc-otp-to b { color: var(--nxc-text); font-weight: 900; letter-spacing: .04em; }
.nxc-otp { position: relative; margin-bottom: 14px; }
.nxc-otp__input {
	position: absolute !important;
	inset: 0;
	z-index: 2;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: transparent !important;
	caret-color: transparent;
	font-size: 16px !important;
	letter-spacing: 0;
	opacity: .01;
	cursor: text;
}
.nxc-otp__cells {
	display: grid;
	grid-template-columns: repeat(var(--nxc-len, 5), minmax(0, 1fr));
	gap: 10px;
	direction: ltr;
}
.nxc-otp__cell {
	display: grid;
	place-items: center;
	height: 62px;
	border: 1.5px solid var(--nxc-border);
	border-radius: 16px;
	background: var(--nxc-surface);
	color: var(--nxc-text);
	font-size: 1.625rem;
	font-weight: 900;
	transition: border-color .2s, box-shadow .2s, transform .25s var(--nxc-spring), background .2s;
}
.nxc-otp__cell.is-filled { border-color: rgba(var(--nxc-primary-rgb), .55); background: var(--nxc-primary-soft); transform: translateY(-2px); }
.nxc-otp__cell.is-active { border-color: var(--nxc-primary); box-shadow: var(--nxc-ring); }
.nxc-otp__cell.is-active:not(.is-filled)::after {
	content: "";
	width: 2px;
	height: 26px;
	border-radius: 2px;
	background: var(--nxc-primary);
	animation: nxc-caret 1s steps(1) infinite;
}
@keyframes nxc-caret { 50% { opacity: 0; } }
.is-error .nxc-otp__cell { border-color: var(--nxc-danger); background: var(--nxc-danger-soft); }
.nxc-otp-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 34px;
	margin-bottom: 12px;
	color: var(--nxc-muted);
	font-size: .875rem;
}
.nxc-otp-meta__timer { display: inline-flex; align-items: center; gap: 6px; }
.nxc-otp-meta__timer[hidden], .nxc-otp-meta [hidden] { display: none; }
.nxc-otp-meta b { color: var(--nxc-text); font-weight: 800; font-variant-numeric: tabular-nums; }

/* Profile */
.nxc-welcome {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	padding: 14px;
	border-radius: var(--nxc-r);
	background: var(--nxc-success-soft);
	color: var(--nxc-success-text);
}
.nxc-welcome > div { display: grid; gap: 2px; font-size: .8125rem; line-height: 1.7; }
.nxc-welcome strong { font-size: .9375rem; }
.nxc-welcome__icon { display: inline-flex; }
.nxc-skip { display: flex; margin: 12px auto 0; color: var(--nxc-muted); }

/* Password meter */
.nxc-meter { height: 4px; margin-top: 8px; border-radius: 4px; background: var(--nxc-surface-3); overflow: hidden; }
.nxc-meter span { display: block; height: 100%; width: 0; border-radius: inherit; transition: width .3s var(--nxc-ease), background .3s; }
.nxc-meter[data-score="1"] span { width: 33%; background: var(--nxc-danger); }
.nxc-meter[data-score="2"] span { width: 66%; background: #F79009; }
.nxc-meter[data-score="3"] span { width: 100%; background: var(--nxc-success); }

/* Done */
.nxc-auth.is-done > :not(.nxc-auth__done) { visibility: hidden; }
.nxc-auth__done {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 14px;
	text-align: center;
	font-size: 1.0625rem;
	animation: nxc-pop .35s var(--nxc-ease);
}
.nxc-auth__done-icon {
	position: relative;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--nxc-success-soft);
}
.nxc-auth__done-icon::after {
	content: "";
	position: absolute;
	top: 22px;
	left: 28px;
	width: 14px;
	height: 24px;
	border: solid var(--nxc-success);
	border-width: 0 4px 4px 0;
	transform: rotate(45deg);
	animation: nxc-pop .4s .1s var(--nxc-spring) both;
}

.nxc-auth-card {
	max-width: 480px;
	margin: 24px auto;
	padding: 28px;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-r-lg);
	background: var(--nxc-surface);
	box-shadow: var(--nxc-shadow);
}

/* Card to card --------------------------------------------------------------------- */
.nxc-c2c { color: var(--nxc-text); }
.nxc-c2c--order {
	margin: 24px 0;
	padding: clamp(18px, 3vw, 28px);
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-r-lg);
	background: var(--nxc-surface);
	box-shadow: var(--nxc-shadow);
}
.nxc-c2c__title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 1.25rem; font-weight: 900; }
.nxc-c2c__title .nx-icon, .nxc-c2c__title .nxc-icon { color: var(--nxc-primary); }
.nxc-c2c__desc { margin: 0 0 14px; color: var(--nxc-text-2); font-size: .9375rem; line-height: 1.9; }
.nxc-c2c__body { container: nxc-body / inline-size; }
.nxc-c2c__body[hidden] { display: none; }

.nxc-pay-amount {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 16px;
	padding: 12px 16px;
	border-radius: var(--nxc-r);
	background: var(--nxc-surface-2);
	border: 1px dashed var(--nxc-border-strong);
}
.nxc-pay-amount__label { color: var(--nxc-muted); font-size: .875rem; font-weight: 600; }
.nxc-pay-amount__value { margin-inline-end: auto; font-size: 1.25rem; font-weight: 900; color: var(--nxc-text); }
.nxc-pay-amount__value .woocommerce-Price-currencySymbol { font-size: .75em; font-weight: 700; color: var(--nxc-muted); }

.nxc-cards { display: grid; gap: 14px; margin-bottom: 18px; }
.nxc-cards.is-multi {
	grid-auto-flow: column;
	grid-auto-columns: min(88%, 380px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 18px;
	margin-bottom: 6px;
	scrollbar-width: thin;
}
@container nxc-body (min-width: 640px) {
	.nxc-cards.is-multi { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; padding-bottom: 0; margin-bottom: 18px; }
}
.nxc-cards.is-multi > * { scroll-snap-align: start; }

.nxc-bank-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
	container: nxc-card / inline-size;
	min-height: 186px;
	max-width: 400px;
	width: 100%;
	padding: 18px;
	border-radius: 20px;
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, .22), transparent 55%),
		radial-gradient(90% 90% at 0% 100%, rgba(0, 0, 0, .28), transparent 60%),
		linear-gradient(135deg, var(--nxc-c1, #4C1D95), var(--nxc-c2, #6A4DF4));
	color: #fff;
	box-shadow: 0 22px 40px -18px var(--nxc-c1, #4C1D95), inset 0 1px 0 rgba(255, 255, 255, .25);
	overflow: hidden;
	isolation: isolate;
	transition: transform .4s var(--nxc-ease), box-shadow .4s var(--nxc-ease);
}
.nxc-bank-card::before {
	content: "";
	position: absolute;
	inset: -40% -20% auto auto;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 30px solid rgba(255, 255, 255, .07);
	z-index: -1;
}
.nxc-bank-card::after {
	content: "";
	position: absolute;
	inset: auto auto -55% -25%;
	width: 80%;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 26px solid rgba(255, 255, 255, .05);
	z-index: -1;
}
@container nxc-body (min-width: 330px) {
	.nxc-bank-card { aspect-ratio: 1.586; min-height: 0; padding: 22px; }
}
@media (hover: hover) {
	.nxc-bank-card:hover { transform: translateY(-3px) rotate(-.4deg); }
}
.nxc-bank-card__shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 45%, transparent 60%);
	transform: translateX(-120%);
	animation: nxc-shine 5s 1.2s var(--nxc-ease) infinite;
	pointer-events: none;
}
@keyframes nxc-shine { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
.nxc-bank-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nxc-bank-card__bank { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: .9375rem; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.nxc-bank-card__logo {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 11px;
	background: rgba(255, 255, 255, .2);
	border: 1px solid rgba(255, 255, 255, .35);
	backdrop-filter: blur(6px);
	font-size: 1rem;
	font-weight: 900;
}
.nxc-bank-card__chip {
	width: 44px;
	height: 33px;
	border-radius: 8px;
	background:
		linear-gradient(90deg, transparent 32%, rgba(0, 0, 0, .18) 33%, rgba(0, 0, 0, .18) 36%, transparent 37%, transparent 63%, rgba(0, 0, 0, .18) 64%, rgba(0, 0, 0, .18) 67%, transparent 68%),
		linear-gradient(0deg, transparent 45%, rgba(0, 0, 0, .18) 46%, rgba(0, 0, 0, .18) 54%, transparent 55%),
		linear-gradient(135deg, #F8E3A1, #D9A94A 55%, #F3D27A);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.nxc-bank-card__number {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	padding: 6px 10px;
	margin: 0 -10px;
	width: calc(100% + 20px);
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: #fff;
	font-family: var(--nxc-mono);
	font-size: clamp(.95rem, 7cqi, 1.5rem);
	font-weight: 700;
	letter-spacing: .06em;
	text-shadow: 0 2px 6px rgba(0, 0, 0, .25);
	cursor: pointer;
	transition: background .2s;
}
.nxc-bank-card__number span { font-variant-numeric: tabular-nums; }
@container nxc-card (max-width: 270px) {
	.nxc-bank-card .nxc-bank-card__number { display: grid; grid-template-columns: max-content max-content 1fr; column-gap: 14px; row-gap: 2px; font-size: 1.1rem; letter-spacing: .05em; }
	.nxc-bank-card .nxc-bank-card__copy { grid-column: 3; grid-row: 1 / span 2; justify-self: end; align-self: center; }
	.nxc-bank-card .nxc-bank-card__bottom { flex-direction: column; align-items: stretch; gap: 8px; }
	.nxc-bank-card .nxc-bank-card__sheba { max-width: 100%; justify-items: start; }
	.nxc-bank-card .nxc-bank-card__bank { font-size: .8125rem; }
	.nxc-bank-card .nxc-bank-card__chip { width: 36px; height: 27px; }
}
.nxc-bank-card__number:hover, .nxc-bank-card__number:focus-visible { background: rgba(255, 255, 255, .12); outline: 0; }
.nxc-bank-card__copy { display: inline-flex; opacity: .75; font-style: normal; }
.nxc-bank-card__number.is-copied .nxc-bank-card__copy { opacity: 1; color: #A7F3D0; }
.nxc-bank-card__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.nxc-bank-card__holder { display: grid; gap: 2px; min-width: 0; }
.nxc-bank-card__holder small, .nxc-bank-card__sheba small { font-size: .6875rem; opacity: .75; font-weight: 600; }
.nxc-bank-card__holder b { font-size: .9375rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nxc-bank-card__sheba {
	display: grid;
	gap: 2px;
	justify-items: end;
	padding: 6px 8px;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font: inherit;
	font-family: var(--nxc-mono);
	font-size: .72rem;
	letter-spacing: .02em;
	cursor: pointer;
	max-width: 62%;
}
.nxc-bank-card__sheba span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.nxc-bank-card__sheba:hover { background: rgba(255, 255, 255, .2); }
.nxc-bank-card__sheba.is-copied { background: rgba(167, 243, 208, .3); }

.nxc-howto {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	counter-reset: none;
}
.nxc-howto li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px;
	border-radius: 14px;
	background: var(--nxc-surface-2);
	font-size: .78rem;
	font-weight: 600;
	line-height: 1.6;
	color: var(--nxc-text-2);
}
.nxc-howto b {
	display: grid;
	place-items: center;
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 9px;
	background: var(--nxc-grad);
	color: #fff;
	font-size: .8125rem;
}

.nxc-drop { position: relative; margin-bottom: 14px; }
.nxc-drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nxc-drop__zone {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding: 22px 16px;
	border: 2px dashed var(--nxc-border-strong);
	border-radius: var(--nxc-r-lg);
	background: var(--nxc-surface);
	text-align: center;
	cursor: pointer;
	transition: border-color .2s, background .2s, transform .2s var(--nxc-ease);
}
.nxc-drop__zone b { font-size: .9375rem; font-weight: 800; color: var(--nxc-text); }
.nxc-drop__zone > span:last-child { font-size: .78rem; color: var(--nxc-muted); line-height: 1.8; }
.nxc-drop__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--nxc-primary-soft);
	color: var(--nxc-primary);
	transition: transform .3s var(--nxc-spring);
}
.nxc-drop__zone:hover, .nxc-drop.is-drag .nxc-drop__zone { border-color: var(--nxc-primary); background: var(--nxc-primary-soft); }
.nxc-drop__zone:hover .nxc-drop__icon, .nxc-drop.is-drag .nxc-drop__icon { transform: translateY(-3px) scale(1.05); }
.nxc-drop__input:focus-visible + .nxc-drop__zone { box-shadow: var(--nxc-ring); border-color: var(--nxc-primary); }
.nxc-drop.has-file .nxc-drop__zone { display: none; }
.nxc-drop__file {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border: 1.5px solid var(--nxc-border);
	border-radius: var(--nxc-r-lg);
	background: var(--nxc-surface);
	animation: nxc-pop .3s var(--nxc-ease);
}
.nxc-drop__file[hidden] { display: none; }
.nxc-drop__file.is-done { border-color: rgba(18, 183, 106, .5); background: var(--nxc-success-soft); }
.nxc-drop__thumb {
	display: grid;
	place-items: center;
	flex: none;
	width: 58px;
	height: 58px;
	border-radius: 12px;
	background: var(--nxc-surface-3);
	overflow: hidden;
	font-weight: 900;
	color: var(--nxc-danger);
}
.nxc-drop__thumb img { width: 100%; height: 100%; object-fit: cover; }
.nxc-drop__info { display: grid; gap: 3px; flex: 1; min-width: 0; }
.nxc-drop__info b { font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; direction: ltr; text-align: right; }
.nxc-drop__info small { font-size: .78rem; color: var(--nxc-muted); font-weight: 600; }
.is-done .nxc-drop__info small { color: var(--nxc-success-text); }
.nxc-progress { height: 4px; border-radius: 4px; background: var(--nxc-surface-3); overflow: hidden; }
.nxc-progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--nxc-grad); transition: width .25s var(--nxc-ease); }
.is-done .nxc-progress { display: none; }
.nxc-drop__remove {
	display: grid;
	place-items: center;
	flex: none;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 11px;
	background: var(--nxc-surface-3);
	color: var(--nxc-muted);
	cursor: pointer;
}
.nxc-drop__remove:hover { background: var(--nxc-danger-soft); color: var(--nxc-danger); }

.nxc-c2c__extra { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.nxc-c2c__extra .form-row { margin-bottom: 12px; width: auto; float: none; padding: 0; }
.nxc-review {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: var(--nxc-r);
	background: var(--nxc-warning-soft);
	color: var(--nxc-warning-text);
}
.nxc-review > div { display: grid; gap: 2px; flex: 1; min-width: 160px; }
.nxc-review small { opacity: .85; }
.nxc-review__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(247, 144, 9, .16); }
.nxc-review + .nxc-c2c__body:not([hidden]) { margin-top: 18px; }

/* Inside the WooCommerce payment box */
.payment_box.payment_method_nexo_card2card { padding: 16px !important; }
@media (max-width: 480px) {
	.payment_box.payment_method_nexo_card2card { padding: 10px !important; }
}
.payment_method_nexo_card2card .nxc-c2c__desc { font-size: .875rem; }

/* License tiers (product page) ------------------------------------------------------ */
.nxc-tiers { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.nxc-tiers__legend {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 10px;
	padding: 0;
	font-size: .9375rem;
	font-weight: 800;
	color: var(--nxc-text);
}
.nxc-tiers__legend .nx-icon, .nxc-tiers__legend .nxc-icon { color: var(--nxc-primary); }
.nxc-tiers__list { display: grid; gap: 8px; }
.nxc-tier {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1.5px solid var(--nxc-border);
	border-radius: var(--nxc-r);
	background: var(--nxc-surface);
	cursor: pointer;
	transition: border-color .2s, background .2s, box-shadow .2s, transform .2s var(--nxc-ease);
}
.nxc-tier:hover { border-color: var(--nxc-border-strong); }
.nxc-tier input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nxc-tier.is-checked { border-color: var(--nxc-primary); background: var(--nxc-primary-soft); box-shadow: 0 10px 24px -16px rgba(var(--nxc-primary-rgb), .9); }
.nxc-tier:has(input:focus-visible) { box-shadow: var(--nxc-ring); }
.nxc-tier__radio {
	position: relative;
	flex: none;
	width: 22px;
	height: 22px;
	border: 2px solid var(--nxc-border-strong);
	border-radius: 50%;
	transition: border-color .2s;
}
.nxc-tier__radio::after {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	background: var(--nxc-primary);
	transform: scale(0);
	transition: transform .3s var(--nxc-spring);
}
.nxc-tier.is-checked .nxc-tier__radio { border-color: var(--nxc-primary); }
.nxc-tier.is-checked .nxc-tier__radio::after { transform: scale(1); }
.nxc-tier__main { display: grid; gap: 1px; flex: 1; min-width: 0; }
.nxc-tier__main b { font-size: .9375rem; font-weight: 800; }
.nxc-tier__main small { font-size: .75rem; color: var(--nxc-muted); }
.nxc-tier__main small .amount { font-weight: 700; }
.nxc-tier__price { display: grid; justify-items: end; gap: 2px; text-align: end; }
.nxc-tier__price b { font-size: .9375rem; font-weight: 900; white-space: nowrap; }
.nxc-tier__price .woocommerce-Price-currencySymbol { font-size: .75em; color: var(--nxc-muted); font-weight: 600; }
.nxc-tier__off {
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--nxc-success-soft);
	color: var(--nxc-success-text);
	font-size: .6875rem;
	font-weight: 800;
	font-style: normal;
}
.nxc-tier__flag {
	position: absolute;
	top: -9px;
	inset-inline-start: 44px;
	padding: 1px 10px;
	border-radius: 999px;
	background: var(--nxc-grad);
	color: #fff;
	font-size: .6875rem;
	font-weight: 800;
	box-shadow: 0 6px 14px -6px rgba(var(--nxc-primary-rgb), .8);
}
.nxc-tiers__note, .nxc-tiers__single {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin: 10px 0 0;
	color: var(--nxc-muted);
	font-size: .78rem;
	line-height: 1.8;
}
.nxc-tiers__single { margin: 0 0 14px; font-weight: 700; color: var(--nxc-text-2); }
.nxc-tiers__single .nx-icon, .nxc-tiers__single .nxc-icon { color: var(--nxc-primary); margin-top: 3px; }
.nxc-bump { animation: nxc-bump .45s var(--nxc-spring); }
@keyframes nxc-bump { 40% { transform: scale(1.06); } }

/* Licenses (My Account) ------------------------------------------------------------- */
.nxc-licenses { display: grid; gap: 18px; }
.nxc-lic {
	padding: clamp(16px, 2.6vw, 24px);
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-r-lg);
	background: var(--nxc-surface);
	box-shadow: var(--nx-shadow-1, 0 2px 8px -2px rgba(15, 17, 38, .06));
}
.nxc-lic.is-updated { animation: nxc-pop .35s var(--nxc-ease); }
.nxc-lic__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.nxc-lic__product { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nxc-lic__thumb { flex: none; width: 52px; height: 52px; border-radius: 14px; overflow: hidden; background: var(--nxc-surface-3); }
.nxc-lic__thumb img { width: 100%; height: 100%; object-fit: cover; }
.nxc-lic__thumb--icon { display: grid; place-items: center; color: var(--nxc-primary); }
.nxc-lic__title { margin: 0 0 2px; font-size: 1rem; font-weight: 800; line-height: 1.6; }
.nxc-lic__title a { color: inherit; text-decoration: none; }
.nxc-lic__title a:hover { color: var(--nxc-primary); }
.nxc-lic__meta { font-size: .78rem; color: var(--nxc-muted); }
.nxc-lic__status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--nxc-success-soft);
	color: var(--nxc-success-text);
	font-size: .75rem;
	font-weight: 800;
}
.nxc-lic__status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(18, 183, 106, .2); }
.nxc-lic--expired .nxc-lic__status { background: var(--nxc-warning-soft); color: var(--nxc-warning-text); }
.nxc-lic--suspended .nxc-lic__status, .nxc-lic--revoked .nxc-lic__status { background: var(--nxc-danger-soft); color: var(--nxc-danger-text); }
.nxc-lic__key {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 18px;
	padding: 12px 14px;
	border: 1.5px dashed rgba(var(--nxc-primary-rgb), .35);
	border-radius: var(--nxc-r);
	background: var(--nxc-primary-soft);
}
.nxc-lic__key-label { font-size: .78rem; font-weight: 700; color: var(--nxc-muted); }
.nxc-lic__code {
	margin-inline-end: auto;
	padding: 0;
	background: none;
	color: var(--nxc-primary);
	font-family: var(--nxc-mono);
	font-size: clamp(.95rem, .8rem + .6vw, 1.15rem);
	font-weight: 800;
	letter-spacing: .06em;
	word-break: break-all;
}
.nxc-lic__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; }
.nxc-lic__usage-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: .875rem; }
.nxc-lic__usage-head span { color: var(--nxc-muted); font-weight: 700; }
.nxc-meterbar { height: 8px; margin-bottom: 14px; border-radius: 8px; background: var(--nxc-surface-3); overflow: hidden; }
.nxc-meterbar i { display: block; height: 100%; border-radius: inherit; background: var(--nxc-grad); transition: width .5s var(--nxc-ease); }
.nxc-meterbar.is-full i { background: linear-gradient(90deg, #F79009, #F04438); }
.nxc-sites { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.nxc-site {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 8px 8px 12px;
	border: 1px solid var(--nxc-border);
	border-radius: 12px;
	background: var(--nxc-surface-2);
}
[dir="rtl"] .nxc-site { padding: 8px 12px 8px 8px; }
.nxc-site__icon { display: inline-flex; color: var(--nxc-success); }
.nxc-site__domain { flex: 1; min-width: 0; font-family: var(--nxc-mono); font-size: .875rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.nxc-site__ver { font-size: .72rem; color: var(--nxc-muted); font-family: var(--nxc-mono); }
.nxc-site__remove {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 10px;
	background: none;
	color: var(--nxc-muted);
	cursor: pointer;
}
.nxc-site__remove:hover { background: var(--nxc-danger-soft); color: var(--nxc-danger); }
.nxc-sites__empty { margin: 0 0 12px; font-size: .8125rem; color: var(--nxc-muted); line-height: 1.8; }
.nxc-site-add { display: flex; gap: 8px; }
.nxc-site-add .nxc-input { flex: 1; }
.nxc-site-add .nx-btn { flex: none; min-height: 50px; }
.nxc-lic__side { display: grid; align-content: start; gap: 14px; }
.nxc-lic__facts { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid var(--nxc-border); border-radius: var(--nxc-r); overflow: hidden; }
.nxc-lic__facts li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; font-size: .8125rem; }
.nxc-lic__facts li + li { border-top: 1px solid var(--nxc-border); }
.nxc-lic__facts span { color: var(--nxc-muted); }
.nxc-lic__facts b { font-weight: 800; text-align: end; }
.nxc-lic__facts a { color: var(--nxc-primary); }
.nxc-upgrade {
	display: grid;
	gap: 8px;
	padding: 14px;
	border-radius: var(--nxc-r);
	background: linear-gradient(135deg, rgba(var(--nxc-primary-rgb), .1), rgba(255, 92, 168, .1));
}
.nxc-upgrade__title { display: flex; align-items: center; gap: 6px; font-size: .875rem; }
.nxc-upgrade__opt {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	border-radius: 12px;
	background: var(--nxc-surface);
	color: var(--nxc-text);
	font-size: .8125rem;
	font-weight: 800;
	text-decoration: none;
	transition: transform .2s var(--nxc-ease), box-shadow .2s;
}
.nxc-upgrade__opt:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -12px rgba(var(--nxc-primary-rgb), .8); }
.nxc-upgrade__opt em { font-style: normal; color: var(--nxc-primary); }
.nxc-upgrade small { font-size: .72rem; color: var(--nxc-muted); line-height: 1.7; }
.nxc-empty { display: grid; justify-items: center; gap: 10px; padding: 40px 20px; text-align: center; border: 1.5px dashed var(--nxc-border-strong); border-radius: var(--nxc-r-lg); }
.nxc-empty h3 { margin: 4px 0 0; font-size: 1.125rem; }
.nxc-empty p { max-width: 420px; margin: 0 0 6px; color: var(--nxc-muted); font-size: .875rem; line-height: 1.9; }
.nxc-empty__icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 22px; background: var(--nxc-primary-soft); color: var(--nxc-primary); }
.nxc-dash-alerts { display: grid; gap: 8px; margin-top: 16px; }
.nxc-dash-alert { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: var(--nxc-r); background: var(--nxc-warning-soft); color: var(--nxc-warning-text); font-weight: 700; font-size: .875rem; text-decoration: none; }

/* Order emails / details */
.nxc-item-license code { user-select: all; }

/* Toast fallback (other themes) */
.nxc-toasts { position: fixed; z-index: 100000; inset-inline: 16px; bottom: 20px; display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.nxc-toast { padding: 12px 18px; border-radius: 14px; background: #0F1126; color: #fff; font: 600 14px/1.7 var(--nxc-font); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .4); animation: nxc-pop .3s var(--nxc-ease); transition: opacity .3s, transform .3s; }
.nxc-toast--error { background: #B42318; }
.nxc-toast--success { background: #067647; }
.nxc-toast.is-out { opacity: 0; transform: translateY(8px); }

/* Responsive */
@media (max-width: 640px) {
	.nxc-lic__grid, .nxc-c2c__extra { grid-template-columns: 1fr; }
	.nxc-howto { grid-template-columns: 1fr; }
	.nxc-howto li { padding: 8px 10px; }
	.nxc-otp__cells { gap: 8px; }
	.nxc-otp__cell { height: 56px; font-size: 1.4rem; border-radius: 14px; }
	.nxc-row { grid-template-columns: 1fr; gap: 0; }
	.nxc-lic__head { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	.nxc-bank-card__shine, .nxc-step.is-in, .nxc-shake, .nxc-bump { animation: none !important; }
	.nxc-bank-card, .nxc-tier, .nxc-otp__cell { transition: none; }
}
