/**
 * CNS registration UI 1.0.2 — moved from Customizer Additional CSS.
 * Scoped to Store Registration (page-id-86123 / body.cns-store-registration).
 * Never load twice; replace Customizer block entirely.
 *
 * 1.0.1: stop character-wrap on step labels
 * 1.0.2: compact mobile stepper; keep Submit clear of floating MWAI chat trigger
 */

body.page-id-86123 #multivendorx-registration-form,
body.cns-store-registration #multivendorx-registration-form {
	--cns-ink: #18382c;
	--cns-muted: #50665b;
	--cns-green: #245b3b;
	--cns-line: #d9e4dc;
	--cns-soft: #f3f7f1;
	--cns-accent: #7cae15;
	box-sizing: border-box;
	width: 100%;
	max-width: 860px;
	min-width: 0;
	margin: 24px auto 48px;
	padding: clamp(20px, 4vw, 44px);
	border: 1px solid var(--cns-line);
	border-top: 4px solid var(--cns-accent);
	border-radius: 20px;
	background: #fff;
	color: var(--cns-ink);
	box-shadow: 0 12px 36px rgba(24, 56, 44, 0.06);
	line-height: 1.6;
}

body.page-id-86123 #multivendorx-registration-form *,
body.page-id-86123 #multivendorx-registration-form *::before,
body.page-id-86123 #multivendorx-registration-form *::after,
body.cns-store-registration #multivendorx-registration-form *,
body.cns-store-registration #multivendorx-registration-form *::before,
body.cns-store-registration #multivendorx-registration-form *::after {
	box-sizing: border-box;
}

body.page-id-86123 #multivendorx-registration-form .multivendorxstep-wizard,
body.cns-store-registration #multivendorx-registration-form .multivendorxstep-wizard {
	max-width: none;
	width: 100%;
	margin: 0 0 32px;
	padding: 20px;
	border: 1px solid var(--cns-line);
	border-radius: 14px;
	background: var(--cns-soft);
	box-shadow: none;
}

body.page-id-86123 #multivendorx-registration-form .multivendorxsteps-container,
body.cns-store-registration #multivendorx-registration-form .multivendorxsteps-container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	width: 100%;
	flex-direction: row;
}

body.page-id-86123 #multivendorx-registration-form .multivendorxstep-item,
body.cns-store-registration #multivendorx-registration-form .multivendorxstep-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	gap: 12px;
	padding: 4px 0;
	opacity: 1;
	cursor: default;
	color: var(--cns-muted);
	user-select: auto;
}

body.page-id-86123 #multivendorx-registration-form .multivendorxstep-number,
body.cns-store-registration #multivendorx-registration-form .multivendorxstep-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	border: 1px solid #b9cbbd;
	border-radius: 50%;
	background: #fff;
	color: var(--cns-muted);
	font-weight: 700;
}

body.page-id-86123 #multivendorx-registration-form .multivendorxstep-label,
body.cns-store-registration #multivendorx-registration-form .multivendorxstep-label {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
	font-size: 15px;
	line-height: 1.35;
	font-weight: 650;
	color: inherit;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
}

body.page-id-86123 #multivendorx-registration-form .multivendorxstep-item.active,
body.cns-store-registration #multivendorx-registration-form .multivendorxstep-item.active {
	color: var(--cns-ink);
}

body.page-id-86123 #multivendorx-registration-form .multivendorxstep-item.active .multivendorxstep-number,
body.page-id-86123 #multivendorx-registration-form .multivendorxstep-item.completed .multivendorxstep-number,
body.cns-store-registration #multivendorx-registration-form .multivendorxstep-item.active .multivendorxstep-number,
body.cns-store-registration #multivendorx-registration-form .multivendorxstep-item.completed .multivendorxstep-number {
	border-color: var(--cns-green);
	background: var(--cns-green);
	color: #fff;
}

body.page-id-86123 #multivendorx-registration-form .multivendorxstep-item.completed:not(.active),
body.cns-store-registration #multivendorx-registration-form .multivendorxstep-item.completed:not(.active) {
	cursor: pointer;
}

body.page-id-86123 #multivendorx-registration-form .multivendorxstep-item.completed:not(.active):hover .multivendorxstep-label,
body.cns-store-registration #multivendorx-registration-form .multivendorxstep-item.completed:not(.active):hover .multivendorxstep-label {
	text-decoration: underline;
	text-underline-offset: 4px;
}

body.page-id-86123 #multivendorx-registration-form .multivendorx-step-divider,
body.cns-store-registration #multivendorx-registration-form .multivendorx-step-divider {
	display: block;
	width: 100%;
	min-width: 0;
	height: 1px;
	margin: 0;
	background: #b9cbbd;
	align-self: center;
	flex: none;
}

body.page-id-86123 #multivendorx-registration-form .multivendorxprogress-bar,
body.cns-store-registration #multivendorx-registration-form .multivendorxprogress-bar {
	height: 4px;
	margin: 18px 0 0;
	border-radius: 4px;
	background: #dce8d9;
	overflow: hidden;
}

body.page-id-86123 #multivendorx-registration-form .multivendorxprogress-fill,
body.cns-store-registration #multivendorx-registration-form .multivendorxprogress-fill {
	height: 100%;
	border-radius: inherit;
	background: var(--cns-green);
}

body.page-id-86123 #multivendorx-registration-form .multivendorxstep-content,
body.page-id-86123 #multivendorx-registration-form .multivendorxform-header,
body.page-id-86123 #multivendorx-registration-form .multivendorxstep-actions,
body.cns-store-registration #multivendorx-registration-form .multivendorxstep-content,
body.cns-store-registration #multivendorx-registration-form .multivendorxform-header,
body.cns-store-registration #multivendorx-registration-form .multivendorxstep-actions {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	min-width: 0;
}

body.page-id-86123 #multivendorx-registration-form .multivendorxform-header,
body.cns-store-registration #multivendorx-registration-form .multivendorxform-header {
	margin-bottom: 28px;
}

body.page-id-86123 #multivendorx-registration-form h3,
body.cns-store-registration #multivendorx-registration-form h3 {
	color: var(--cns-ink);
	font-size: clamp(23px, 3vw, 30px);
	line-height: 1.25;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
}

body.page-id-86123 #multivendorx-registration-form p,
body.cns-store-registration #multivendorx-registration-form p {
	color: var(--cns-muted);
	margin: 0 0 16px;
}

body.page-id-86123 #multivendorx-registration-form .multivendorxform-header > p:first-child,
body.cns-store-registration #multivendorx-registration-form .multivendorxform-header > p:first-child {
	color: var(--cns-green);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

body.page-id-86123 #multivendorx-registration-form label,
body.cns-store-registration #multivendorx-registration-form label {
	color: var(--cns-ink);
	font-weight: 600;
	line-height: 1.5;
}

body.page-id-86123 #multivendorx-registration-form :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea),
body.cns-store-registration #multivendorx-registration-form :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea) {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 48px;
	margin: 8px 0 20px;
	padding: 11px 14px;
	border: 1px solid #a9beb0;
	border-radius: 9px;
	background: #fff;
	color: var(--cns-ink);
	font: inherit;
	font-size: 16px;
	box-shadow: none;
	line-height: 1.5;
}

body.page-id-86123 #multivendorx-registration-form textarea,
body.cns-store-registration #multivendorx-registration-form textarea {
	min-height: 128px;
	resize: vertical;
}

body.page-id-86123 #multivendorx-registration-form :is(input, textarea)::placeholder,
body.cns-store-registration #multivendorx-registration-form :is(input, textarea)::placeholder {
	color: #637669;
	opacity: 1;
}

body.page-id-86123 #multivendorx-registration-form :is(input[type="checkbox"], input[type="radio"]),
body.cns-store-registration #multivendorx-registration-form :is(input[type="checkbox"], input[type="radio"]) {
	accent-color: var(--cns-green);
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	margin: 0 8px 0 0;
	vertical-align: middle;
}

body.page-id-86123 #multivendorx-registration-form :is(button, input[type="submit"], input[type="button"]),
body.cns-store-registration #multivendorx-registration-form :is(button, input[type="submit"], input[type="button"]) {
	min-height: 48px;
	max-width: 100%;
	padding: 12px 22px;
	border: 1px solid var(--cns-green);
	border-radius: 9px;
	background: var(--cns-green);
	color: #fff;
	font: inherit;
	font-weight: 650;
	line-height: 1.4;
	white-space: normal;
	cursor: pointer;
	box-shadow: none;
}

body.page-id-86123 #multivendorx-registration-form :is(button, input[type="submit"], input[type="button"]):hover:not(:disabled),
body.cns-store-registration #multivendorx-registration-form :is(button, input[type="submit"], input[type="button"]):hover:not(:disabled) {
	background: #19452c;
	border-color: #19452c;
}

body.page-id-86123 #multivendorx-registration-form :is(button, input):disabled,
body.cns-store-registration #multivendorx-registration-form :is(button, input):disabled {
	cursor: not-allowed;
	opacity: 0.65;
}

body.page-id-86123 #multivendorx-registration-form .multivendorxstep-actions,
body.cns-store-registration #multivendorx-registration-form .multivendorxstep-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 24px;
}

body.page-id-86123 #multivendorx-registration-form :is(input, select, textarea):focus,
body.page-id-86123 #multivendorx-registration-form :is(button, a, [role="button"]):focus-visible,
body.cns-store-registration #multivendorx-registration-form :is(input, select, textarea):focus,
body.cns-store-registration #multivendorx-registration-form :is(button, a, [role="button"]):focus-visible {
	outline: 3px solid #376bba;
	outline-offset: 3px;
}

body.page-id-86123 #multivendorx-registration-form a,
body.cns-store-registration #multivendorx-registration-form a {
	color: #245b3b;
	text-decoration: underline;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}

body.page-id-86123 #multivendorx-registration-form :is(.woocommerce-error, .woocommerce-message, .woocommerce-info, .multivendorxstore-note, .multivendorxselected-store-info),
body.cns-store-registration #multivendorx-registration-form :is(.woocommerce-error, .woocommerce-message, .woocommerce-info, .multivendorxstore-note, .multivendorxselected-store-info) {
	margin: 20px 0;
	padding: 14px 18px;
	border-radius: 9px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

body.page-id-86123 #multivendorx-registration-form .woocommerce-error,
body.cns-store-registration #multivendorx-registration-form .woocommerce-error {
	border: 1px solid #e2b6af;
	border-left: 4px solid #a03022;
	background: #fff4f1;
	color: #7b2118;
}

body.page-id-86123 #multivendorx-registration-form .woocommerce-message,
body.cns-store-registration #multivendorx-registration-form .woocommerce-message {
	border: 1px solid #bbd7c0;
	border-left: 4px solid var(--cns-green);
	background: #f1f8f1;
	color: var(--cns-ink);
}

body.page-id-86123 #multivendorx-registration-form :is(.woocommerce-info, .multivendorxstore-note, .multivendorxselected-store-info),
body.cns-store-registration #multivendorx-registration-form :is(.woocommerce-info, .multivendorxstore-note, .multivendorxselected-store-info) {
	border: 1px solid var(--cns-line);
	background: var(--cns-soft);
}

body.page-id-86123 #multivendorx-registration-form [aria-invalid="true"],
body.cns-store-registration #multivendorx-registration-form [aria-invalid="true"] {
	border-color: #a03022;
}

/* Mobile: compact horizontal stepper (no character wrap) + clear Submit from chat FAB */
@media (max-width: 600px) {
	body.page-id-86123 #multivendorx-registration-form,
	body.cns-store-registration #multivendorx-registration-form {
		margin: 10px 0 36px;
		padding: 14px 14px 20px;
		border-radius: 14px;
		width: 100%;
		max-width: 100%;
	}

	body.page-id-86123 #multivendorx-registration-form .multivendorxstep-wizard,
	body.cns-store-registration #multivendorx-registration-form .multivendorxstep-wizard {
		padding: 10px 10px 8px;
		margin-bottom: 14px;
		width: 100%;
	}

	body.page-id-86123 #multivendorx-registration-form .multivendorxsteps-container,
	body.cns-store-registration #multivendorx-registration-form .multivendorxsteps-container {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr);
		align-items: center;
		gap: 2px 6px;
		width: 100%;
	}

	body.page-id-86123 #multivendorx-registration-form .multivendorxstep-item,
	body.cns-store-registration #multivendorx-registration-form .multivendorxstep-item {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 4px;
		padding: 0;
		min-width: 0;
		width: 100%;
	}

	body.page-id-86123 #multivendorx-registration-form .multivendorxstep-number,
	body.cns-store-registration #multivendorx-registration-form .multivendorxstep-number {
		width: 28px;
		height: 28px;
		flex: 0 0 28px;
		font-size: 12px;
	}

	body.page-id-86123 #multivendorx-registration-form .multivendorxstep-label,
	body.cns-store-registration #multivendorx-registration-form .multivendorxstep-label {
		flex: 0 1 auto;
		width: auto;
		max-width: 100%;
		font-size: 12px;
		line-height: 1.2;
		white-space: nowrap;
		overflow-wrap: normal;
		word-break: normal;
	}

	body.page-id-86123 #multivendorx-registration-form .multivendorx-step-divider,
	body.cns-store-registration #multivendorx-registration-form .multivendorx-step-divider {
		width: 1px;
		height: 28px;
		min-height: 28px;
		min-width: 0;
		margin: 0;
		align-self: center;
		justify-self: center;
	}

	body.page-id-86123 #multivendorx-registration-form .multivendorxprogress-bar,
	body.cns-store-registration #multivendorx-registration-form .multivendorxprogress-bar {
		margin-top: 8px;
	}

	body.page-id-86123 #multivendorx-registration-form .multivendorxform-header,
	body.cns-store-registration #multivendorx-registration-form .multivendorxform-header {
		margin-bottom: 18px;
	}

	body.page-id-86123 #multivendorx-registration-form .multivendorxstep-actions,
	body.cns-store-registration #multivendorx-registration-form .multivendorxstep-actions {
		margin-top: 16px;
		margin-bottom: 8px;
		padding-bottom: 4px;
		position: relative;
		z-index: 2;
	}

	body.page-id-86123 #multivendorx-registration-form .multivendorxstep-actions > button,
	body.page-id-86123 #multivendorx-registration-form .multivendorxstep-actions > input[type="submit"],
	body.cns-store-registration #multivendorx-registration-form .multivendorxstep-actions > button,
	body.cns-store-registration #multivendorx-registration-form .multivendorxstep-actions > input[type="submit"] {
		width: 100%;
	}

	/* AI Engine floating trigger: keep enabled, move off Submit on this page only */
	body.page-id-86123 .mwai-window .mwai-trigger,
	body.page-id-86123 .mwai-chatgpt-theme.mwai-window .mwai-trigger,
	body.page-id-86123 .mwai-chatbot-container .mwai-trigger,
	body.cns-store-registration .mwai-window .mwai-trigger,
	body.cns-store-registration .mwai-chatgpt-theme.mwai-window .mwai-trigger,
	body.cns-store-registration .mwai-chatbot-container .mwai-trigger {
		top: calc(76px + env(safe-area-inset-top, 0px)) !important;
		right: 12px !important;
		left: auto !important;
		bottom: auto !important;
	}
}

@media (max-width: 360px) {
	body.page-id-86123 #multivendorx-registration-form,
	body.cns-store-registration #multivendorx-registration-form {
		padding: 12px 10px 18px;
	}

	body.page-id-86123 #multivendorx-registration-form .multivendorxstep-wizard,
	body.cns-store-registration #multivendorx-registration-form .multivendorxstep-wizard {
		padding: 8px;
	}

	body.page-id-86123 #multivendorx-registration-form .multivendorxstep-label,
	body.cns-store-registration #multivendorx-registration-form .multivendorxstep-label {
		font-size: 11px;
	}

	body.page-id-86123 #multivendorx-registration-form .multivendorxstep-number,
	body.cns-store-registration #multivendorx-registration-form .multivendorxstep-number {
		width: 26px;
		height: 26px;
		flex-basis: 26px;
		font-size: 11px;
	}
}
