/**
 * Murls Smart Popups — Quick Setup Wizard Stylesheet
 *
 * Redesigned for shop owners: warm, smooth, enterprise-grade onboarding.
 * All rules scoped under .murls-wizard- or .murls-wiz- prefixed classes.
 *
 * @package Murls_Smart_Popups
 * @since   1.5.0
 */

/* ── Wizard wrap ─────────────────────────────────────────────────────────── */

.murls-wizard-wrap {
	max-width: 100%;
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: linear-gradient(160deg, #f8f7ff 0%, #f0f4ff 40%, #f9fafb 100%);
	min-height: 100vh;
	position: relative;
}

.murls-wizard-wrap * {
	box-sizing: border-box;
}

/* Subtle decorative gradient orbs */
.murls-wizard-wrap::before,
.murls-wizard-wrap::after {
	content: '';
	position: fixed;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}

.murls-wizard-wrap::before {
	width: 500px;
	height: 500px;
	top: -100px;
	right: -100px;
	background: radial-gradient(circle, rgba(108, 71, 255, 0.06) 0%, transparent 70%);
}

.murls-wizard-wrap::after {
	width: 400px;
	height: 400px;
	bottom: -80px;
	left: -80px;
	background: radial-gradient(circle, rgba(34, 211, 160, 0.05) 0%, transparent 70%);
}

/* ── Progress bar ────────────────────────────────────────────────────────── */

.murls-wizard-progress {
	height: 4px;
	background: rgba(108, 71, 255, 0.08);
	border-radius: 0;
	margin-bottom: 0;
	overflow: hidden;
	position: relative;
	z-index: 2;
}

.murls-wizard-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #6c47ff, #9b7aff, #6c47ff);
	background-size: 200% 100%;
	border-radius: 0;
	transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	width: 33.333%;
	animation: murls-progress-shine 3s ease-in-out infinite;
}

@keyframes murls-progress-shine {
	0%   { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* ── Header ──────────────────────────────────────────────────────────────── */

.murls-wizard-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 32px;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(108, 71, 255, 0.06);
	flex-wrap: wrap;
	gap: 12px;
	position: relative;
	z-index: 2;
}

.murls-wizard-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 0.95rem;
	color: #1e1b4b;
	letter-spacing: -0.01em;
}

.murls-wizard-logo-icon {
	width: 32px;
	height: 32px;
	background: linear-gradient(135deg, #6c47ff, #8b6bff);
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	box-shadow: 0 2px 8px rgba(108, 71, 255, 0.25);
}

.murls-wizard-steps-indicator {
	display: flex;
	align-items: center;
	gap: 0;
}

.murls-wiz-step-dot {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	border: 2px solid #e0daf5;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.78rem;
	font-weight: 700;
	color: #a098c4;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: default;
}

.murls-wiz-step-dot.active {
	background: linear-gradient(135deg, #6c47ff, #8b6bff);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 0 0 5px rgba(108, 71, 255, 0.12), 0 2px 8px rgba(108, 71, 255, 0.3);
	transform: scale(1.05);
}

.murls-wiz-step-dot.done {
	background: linear-gradient(135deg, #10b981, #34d399);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.murls-wiz-step-line {
	width: 48px;
	height: 2px;
	background: #e0daf5;
	transition: background 0.4s ease;
	border-radius: 1px;
}

.murls-wiz-step-line.done {
	background: linear-gradient(90deg, #10b981, #34d399);
}

.murls-wizard-skip {
	font-size: 0.8rem;
	color: #8b85ad;
	text-decoration: none;
	transition: color 0.2s ease;
	padding: 6px 14px;
	border-radius: 8px;
}

.murls-wizard-skip:hover {
	color: #6c47ff;
	background: rgba(108, 71, 255, 0.05);
}

/* ── Step container ──────────────────────────────────────────────────────── */

.murls-wizard-step {
	display: none;
	position: relative;
	z-index: 1;
}

.murls-wizard-step.active {
	display: block;
	animation: murls-wiz-fade 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes murls-wiz-fade {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: translateY(0); }
}

.murls-wizard-step-inner {
	max-width: 860px;
	margin: 0 auto;
	padding: 52px 32px 40px;
}

/* ── Step header ─────────────────────────────────────────────────────────── */

.murls-wizard-step-header {
	text-align: center;
	margin-bottom: 44px;
}

.murls-wiz-step-emoji {
	font-size: 2.5rem;
	display: block;
	margin-bottom: 16px;
	animation: murls-wiz-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes murls-wiz-pop {
	from { transform: scale(0); }
	to   { transform: scale(1); }
}

.murls-wizard-step-header h1 {
	font-size: 1.85rem;
	font-weight: 800;
	color: #1e1b4b;
	letter-spacing: -0.025em;
	margin: 0 0 10px;
	line-height: 1.2;
}

.murls-wizard-step-header p {
	font-size: 1rem;
	color: #6e6b8a;
	margin: 0;
	line-height: 1.6;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

/* ── Step 1 — Goal cards ─────────────────────────────────────────────────── */

.murls-wizard-goals {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	max-width: 640px;
	margin: 0 auto 44px;
}

.murls-wizard-goal-card {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 2px solid rgba(108, 71, 255, 0.08);
	border-radius: 18px;
	padding: 28px 24px;
	cursor: pointer;
	text-align: left;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-family: inherit;
	overflow: hidden;
}

.murls-wizard-goal-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #6c47ff, #9b7aff);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.murls-wizard-goal-card:hover {
	border-color: rgba(108, 71, 255, 0.2);
	box-shadow: 0 8px 32px rgba(108, 71, 255, 0.1);
	transform: translateY(-3px);
}

.murls-wizard-goal-card:hover::before {
	opacity: 0.5;
}

.murls-wizard-goal-card.selected {
	border-color: #6c47ff;
	background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
	box-shadow: 0 8px 32px rgba(108, 71, 255, 0.15), 0 0 0 1px rgba(108, 71, 255, 0.1);
}

.murls-wizard-goal-card.selected::before {
	opacity: 1;
}

.murls-wiz-goal-icon {
	font-size: 2rem;
	line-height: 1;
	display: block;
	margin-bottom: 6px;
}

.murls-wiz-goal-label {
	font-size: 1.05rem;
	font-weight: 700;
	color: #1e1b4b;
	display: block;
}

.murls-wiz-goal-desc {
	font-size: 0.845rem;
	color: #6e6b8a;
	display: block;
	line-height: 1.5;
}

.murls-wiz-goal-check {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: linear-gradient(135deg, #6c47ff, #8b6bff);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	display: none;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(108, 71, 255, 0.3);
	animation: murls-wiz-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.murls-wizard-goal-card.selected .murls-wiz-goal-check {
	display: flex;
}

/* ── Step 2 — Split layout ───────────────────────────────────────────────── */

.murls-wiz-split {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 44px;
	align-items: start;
	padding-top: 32px !important;
}

.murls-wiz-fields .murls-wizard-step-header {
	text-align: left;
	margin-bottom: 28px;
}

.murls-wiz-fields .murls-wizard-step-header h1 {
	font-size: 1.4rem;
}

.murls-wiz-fields .murls-wiz-step-emoji {
	display: none;
}

/* ── Wizard form fields ──────────────────────────────────────────────────── */

.murls-wiz-field-group {
	margin-bottom: 20px;
}

.murls-wiz-field-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #3b3564;
	margin-bottom: 6px;
}

.murls-wiz-optional {
	font-weight: 400;
	color: #a098c4;
	font-size: 11px;
	margin-left: 4px;
}

.murls-wiz-required {
	color: #ef4444;
	margin-left: 2px;
}

.murls-wiz-input,
.murls-wiz-textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid rgba(108, 71, 255, 0.12);
	border-radius: 10px;
	font-size: 14px;
	color: #1e1b4b;
	background: rgba(255, 255, 255, 0.9);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	outline: none;
	font-family: inherit;
}

.murls-wiz-input::placeholder,
.murls-wiz-textarea::placeholder {
	color: #b0abcf;
}

.murls-wiz-input:focus,
.murls-wiz-textarea:focus {
	border-color: #6c47ff;
	box-shadow: 0 0 0 4px rgba(108, 71, 255, 0.08);
	background: #fff;
}

.murls-wiz-input-error {
	border-color: #ef4444 !important;
	box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08) !important;
}

.murls-wiz-textarea {
	resize: vertical;
	min-height: 90px;
}

.murls-wiz-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.murls-wiz-field-row .murls-wiz-field-group {
	margin-bottom: 0;
}

/* ── Step 2 — Live preview ───────────────────────────────────────────────── */

.murls-wiz-preview {
	position: sticky;
	top: 32px;
}

.murls-wiz-preview-label {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #8b85ad;
	margin: 0 0 10px;
}

.murls-wiz-live-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #22d3a0;
	animation: murls-wiz-pulse 2s ease infinite;
	flex-shrink: 0;
}

@keyframes murls-wiz-pulse {
	0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 211, 160, 0.4); }
	50%      { opacity: 0.7; box-shadow: 0 0 0 5px rgba(34, 211, 160, 0); }
}

.murls-wiz-preview-browser {
	background: #f3f4f6;
	border-radius: 16px;
	overflow: hidden;
	box-shadow:
		0 4px 6px rgba(0, 0, 0, 0.03),
		0 12px 32px rgba(108, 71, 255, 0.08),
		0 0 0 1px rgba(108, 71, 255, 0.04);
}

.murls-wiz-browser-bar {
	background: linear-gradient(180deg, #f0eef8 0%, #e8e5f3 100%);
	padding: 11px 14px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.murls-wiz-browser-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	flex-shrink: 0;
}

.murls-wiz-browser-dot:nth-child(1) { background: #ff5f57; }
.murls-wiz-browser-dot:nth-child(2) { background: #febc2e; }
.murls-wiz-browser-dot:nth-child(3) { background: #28c840; }

.murls-wiz-browser-body {
	background: linear-gradient(160deg, #f0f0ff 0%, #f7f7ff 50%, #f9fafb 100%);
	min-height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	position: relative;
}

/* Faint page lines for the browser mockup */
.murls-wiz-browser-body::before {
	content: '';
	position: absolute;
	top: 24px;
	left: 24px;
	right: 60%;
	height: 8px;
	background: rgba(108, 71, 255, 0.05);
	border-radius: 4px;
}

.murls-wiz-browser-body::after {
	content: '';
	position: absolute;
	top: 40px;
	left: 24px;
	right: 70%;
	height: 6px;
	background: rgba(108, 71, 255, 0.03);
	border-radius: 3px;
}

.murls-wiz-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 10, 40, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

.murls-wiz-popup-box {
	background: #fff;
	border-radius: 16px;
	width: 100%;
	max-width: 270px;
	overflow: hidden;
	box-shadow:
		0 20px 60px rgba(0, 0, 0, 0.2),
		0 0 0 1px rgba(108, 71, 255, 0.05);
	border-top: 3px solid #6c47ff;
	position: relative;
	animation: murls-popup-enter 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes murls-popup-enter {
	from { transform: scale(0.9) translateY(10px); opacity: 0; }
	to   { transform: scale(1) translateY(0); opacity: 1; }
}

.murls-wiz-popup-close {
	position: absolute;
	top: 8px;
	right: 10px;
	background: rgba(108, 71, 255, 0.06);
	border: none;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	font-size: 11px;
	cursor: pointer;
	color: #8b85ad;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background 0.15s ease;
}

.murls-wiz-popup-close:hover {
	background: rgba(108, 71, 255, 0.12);
}

.murls-wiz-popup-body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	min-height: 60px;
}

.murls-wiz-prev-badge {
	display: inline-block;
	background: linear-gradient(135deg, #ede9fe, #f3f0ff);
	color: #5b21b6;
	border-radius: 100px;
	padding: 3px 12px;
	font-size: 10px;
	font-weight: 700;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.murls-wiz-prev-badge:empty,
.murls-wiz-prev-heading:empty,
.murls-wiz-prev-message:empty,
.murls-wiz-prev-btn:empty {
	display: none;
}

.murls-wiz-prev-heading {
	font-size: 13px;
	font-weight: 800;
	color: #1e1b4b;
	line-height: 1.3;
	display: block;
	word-break: break-word;
}

.murls-wiz-prev-message {
	font-size: 10.5px;
	color: #6e6b8a;
	line-height: 1.5;
	margin: 0;
	word-break: break-word;
}

.murls-wiz-prev-btn {
	display: block;
	background: linear-gradient(135deg, #6c47ff, #8b6bff);
	color: #fff;
	border-radius: 8px;
	padding: 6px 12px;
	font-size: 10.5px;
	font-weight: 700;
	width: 100%;
	text-align: center;
	margin-top: 2px;
	box-shadow: 0 2px 8px rgba(108, 71, 255, 0.25);
}

.murls-wiz-preview-hint {
	font-size: 11px;
	color: #a098c4;
	text-align: center;
	margin: 10px 0 0;
	font-style: italic;
}

/* ── Step 3 — Launch grid ────────────────────────────────────────────────── */

.murls-wiz-launch-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	max-width: 800px;
	margin: 0 auto 44px;
}

.murls-wiz-launch-card {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1.5px solid rgba(108, 71, 255, 0.08);
	border-radius: 16px;
	padding: 26px;
	transition: border-color 0.2s ease;
}

.murls-wiz-launch-card:hover {
	border-color: rgba(108, 71, 255, 0.15);
}

.murls-wiz-launch-card-full {
	grid-column: 1 / -1;
}

.murls-wiz-launch-card h3 {
	font-size: 0.95rem;
	font-weight: 700;
	color: #1e1b4b;
	margin: 0 0 6px;
}

.murls-wiz-launch-card > p {
	font-size: 0.82rem;
	color: #8b85ad;
	margin: 0 0 16px;
}

/* ── Cookie options ──────────────────────────────────────────────────────── */

.murls-wiz-cookie-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.murls-wiz-cookie-opt {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 16px;
	border: 1.5px solid rgba(108, 71, 255, 0.1);
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: inherit;
	background: rgba(255, 255, 255, 0.7);
}

.murls-wiz-cookie-opt input {
	display: none;
}

.murls-wiz-cookie-opt:hover {
	border-color: rgba(108, 71, 255, 0.25);
	background: rgba(250, 245, 255, 0.8);
}

.murls-wiz-cookie-opt.selected {
	border-color: #6c47ff;
	background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
	box-shadow: 0 2px 12px rgba(108, 71, 255, 0.1);
}

.murls-wiz-cookie-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: #3b3564;
	flex: 1;
}

.murls-wiz-cookie-hint {
	font-size: 0.72rem;
	color: #8b85ad;
	background: rgba(108, 71, 255, 0.06);
	padding: 3px 10px;
	border-radius: 100px;
	font-weight: 600;
}

.murls-wiz-cookie-opt.selected .murls-wiz-cookie-label {
	color: #6c47ff;
}

.murls-wiz-cookie-opt.selected .murls-wiz-cookie-hint {
	background: rgba(108, 71, 255, 0.1);
	color: #6c47ff;
}

/* ── Position wrap in wizard ─────────────────────────────────────────────── */

/* Wizard overrides for the device mockup position picker */
.murls-wiz-pos-devices {
	gap: 28px;
}

.murls-wiz-pos-devices .murls-pos-screen-frame {
	border-color: rgba(108, 71, 255, 0.15);
	background: rgba(255, 255, 255, 0.6);
}

.murls-wiz-pos-devices .murls-pos-screen-bar {
	background: rgba(108, 71, 255, 0.06);
	border-bottom-color: rgba(108, 71, 255, 0.1);
}

.murls-wiz-pos-devices .murls-pos-screen-dot {
	background: rgba(108, 71, 255, 0.2);
}

.murls-wiz-pos-devices .murls-pos-phone-frame {
	border-color: rgba(108, 71, 255, 0.15);
	background: rgba(255, 255, 255, 0.6);
	width: 80px;
}

.murls-wiz-pos-devices .murls-pos-phone-top {
	background: rgba(108, 71, 255, 0.06);
	border-bottom-color: rgba(108, 71, 255, 0.1);
}

.murls-wiz-pos-devices .murls-pos-phone-body {
	height: 140px;
}

.murls-wiz-pos-devices .murls-pos-zone:hover,
.murls-wiz-pos-devices .murls-pos-zone-mob:hover {
	background: rgba(108, 71, 255, 0.06);
}

.murls-wiz-pos-devices .murls-pos-zone.murls-pos-active,
.murls-wiz-pos-devices .murls-pos-zone-mob.murls-pos-active {
	background: rgba(108, 71, 255, 0.12);
}

.murls-wiz-pos-devices .murls-pos-label {
	color: #3b3564;
}

.murls-wiz-pos-devices .murls-pos-zone-label {
	color: #8b85ad;
}

.murls-wiz-pos-devices .murls-pos-zone:hover .murls-pos-zone-label,
.murls-wiz-pos-devices .murls-pos-zone-mob:hover .murls-pos-zone-label {
	color: #3b3564;
}

/* ── Wizard footer buttons ───────────────────────────────────────────────── */

.murls-wizard-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	padding-top: 36px;
	border-top: 1px solid rgba(108, 71, 255, 0.06);
	margin-top: 8px;
}

.murls-wiz-btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: linear-gradient(135deg, #6c47ff, #7c5aff);
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 13px 30px;
	font-size: 0.925rem;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 16px rgba(108, 71, 255, 0.3), 0 1px 3px rgba(108, 71, 255, 0.2);
	letter-spacing: 0.01em;
}

.murls-wiz-btn-primary:hover {
	background: linear-gradient(135deg, #5835e8, #6c47ff);
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(108, 71, 255, 0.4), 0 2px 6px rgba(108, 71, 255, 0.2);
}

.murls-wiz-btn-primary:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(108, 71, 255, 0.3);
}

.murls-wiz-btn-primary:disabled {
	background: #c4bde0;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.murls-wiz-btn-launch {
	padding: 15px 40px;
	font-size: 1.05rem;
	border-radius: 14px;
}

.murls-wiz-btn-back {
	background: none;
	border: 1.5px solid rgba(108, 71, 255, 0.12);
	border-radius: 12px;
	padding: 12px 22px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #6e6b8a;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.2s ease;
}

.murls-wiz-btn-back:hover {
	border-color: rgba(108, 71, 255, 0.3);
	color: #6c47ff;
	background: rgba(108, 71, 255, 0.03);
}

.murls-wiz-btn-next:not(:disabled) {
	animation: murls-wiz-btn-ready 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes murls-wiz-btn-ready {
	from { transform: scale(0.95); }
	to   { transform: scale(1); }
}

/* ── Success screen ──────────────────────────────────────────────────────── */

.murls-wizard-success {
	max-width: 680px;
	margin: 40px auto;
	text-align: center;
	padding: 0 20px;
	position: relative;
}

.murls-success-glow {
	position: absolute;
	top: -60px;
	left: 50%;
	transform: translateX(-50%);
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(108, 71, 255, 0.10) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
	animation: murls-glow-pulse 3s ease-in-out infinite;
}

@keyframes murls-glow-pulse {
	0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
	50%      { opacity: 1;   transform: translateX(-50%) scale(1.1); }
}

.murls-success-content {
	position: relative;
	z-index: 1;
}

.murls-wizard-success-icon {
	font-size: 3.5rem;
	display: block;
	margin-bottom: 20px;
	animation: murls-wiz-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.murls-wizard-success h1 {
	font-size: 1.75rem;
	font-weight: 800;
	color: #1e1b4b;
	letter-spacing: -0.02em;
	margin: 0 0 10px;
}

.murls-success-subtitle {
	font-size: 0.95rem;
	color: #6e6b8a;
	margin: 0 0 20px;
	line-height: 1.6;
}

.murls-success-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 20px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 100px;
	font-size: 0.82rem;
	font-weight: 600;
	color: #065f46;
	margin-bottom: 36px;
}

.murls-success-status-dot {
	width: 8px;
	height: 8px;
	background: #10b981;
	border-radius: 50%;
	animation: murls-dot-pulse 2s ease-in-out infinite;
}

@keyframes murls-dot-pulse {
	0%, 100% { opacity: 1; }
	50%      { opacity: 0.4; }
}

.murls-wizard-success-actions {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	position: relative;
	z-index: 1;
}

.murls-wiz-action-card {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1.5px solid rgba(108, 71, 255, 0.08);
	border-radius: 16px;
	padding: 28px 20px 24px;
	text-decoration: none;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.murls-wiz-action-card:hover {
	border-color: #6c47ff;
	box-shadow: 0 8px 32px rgba(108, 71, 255, 0.12);
	transform: translateY(-3px);
}

.murls-wiz-action-card.murls-wiz-action-primary {
	border-color: rgba(108, 71, 255, 0.2);
	background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
}

.murls-wiz-action-icon-wrap {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 4px;
}

.murls-wiz-action-icon-violet {
	background: linear-gradient(135deg, #ede9fe, #f3f0ff);
}

.murls-wiz-action-icon-blue {
	background: linear-gradient(135deg, #dbeafe, #e8f0fe);
}

.murls-wiz-action-icon-amber {
	background: linear-gradient(135deg, #fef3c7, #fef9e7);
}

.murls-wiz-action-icon {
	font-size: 1.3rem;
	line-height: 1;
}

.murls-wiz-action-label {
	font-size: 0.875rem;
	font-weight: 700;
	color: #1e1b4b;
}

.murls-wiz-action-desc {
	font-size: 0.78rem;
	color: #8b85ad;
	line-height: 1.4;
}

.murls-wiz-action-arrow {
	font-size: 1rem;
	color: #d0cbea;
	margin-top: 4px;
	transition: color 0.2s ease, transform 0.2s ease;
}

.murls-wiz-action-card:hover .murls-wiz-action-arrow {
	color: #6c47ff;
	transform: translateX(3px);
}

.murls-success-footer {
	margin-top: 36px;
	position: relative;
	z-index: 1;
}

/* ── Add-ons page ────────────────────────────────────────────────────────── */

.murls-addons-wrap {
	max-width: 1100px;
	padding: 0 0 60px;
}

.murls-addons-hero {
	background: linear-gradient(135deg, #0b1220 0%, #1a1040 100%);
	border-radius: 16px;
	margin: 20px 0 40px;
	padding: 56px 48px;
	position: relative;
	overflow: hidden;
}

.murls-addons-hero::before {
	content: '';
	position: absolute;
	top: -60px;
	right: -60px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: rgba(108, 71, 255, 0.2);
	filter: blur(60px);
	pointer-events: none;
}

.murls-addons-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 560px;
}

.murls-addons-hero-tag {
	display: inline-block;
	background: rgba(108, 71, 255, 0.2);
	border: 1px solid rgba(108, 71, 255, 0.4);
	color: #c4b5fd;
	padding: 4px 14px;
	border-radius: 100px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.murls-addons-hero h1 {
	font-size: 1.9rem;
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
	line-height: 1.2;
}

.murls-addons-hero > .murls-addons-hero-inner > p {
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.65);
	margin: 0 0 28px;
	line-height: 1.65;
}

.murls-addons-section {
	margin-bottom: 48px;
}

.murls-addons-section-header {
	margin-bottom: 24px;
}

.murls-addons-section-tag {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 100px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.murls-tag-free {
	background: rgba(34, 211, 160, 0.1);
	color: #059669;
	border: 1px solid rgba(34, 211, 160, 0.3);
}

.murls-tag-premium {
	background: rgba(108, 71, 255, 0.1);
	color: #6c47ff;
	border: 1px solid rgba(108, 71, 255, 0.3);
}

.murls-addons-section-header h2 {
	font-size: 1.35rem;
	font-weight: 800;
	color: #1e1b4b;
	letter-spacing: -0.02em;
	margin: 0 0 6px;
}

.murls-addons-section-header > p {
	font-size: 0.875rem;
	color: #6e6b8a;
	margin: 0;
}

.murls-addons-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.murls-addon-card {
	background: rgba(255, 255, 255, 0.9);
	border-radius: 14px;
	border: 1px solid rgba(108, 71, 255, 0.08);
	padding: 24px;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.murls-addon-card::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
}

.murls-addon-free::after {
	background: linear-gradient(90deg, #22d3a0, #86efac);
}

.murls-addon-premium::after {
	background: linear-gradient(90deg, #6c47ff, #8b6bff);
}

.murls-addon-card:hover {
	border-color: rgba(108, 71, 255, 0.2);
	box-shadow: 0 8px 32px rgba(108, 71, 255, 0.1);
	transform: translateY(-2px);
}

.murls-addon-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 12px;
}

.murls-addon-icon {
	font-size: 1.8rem;
	line-height: 1;
}

.murls-addon-badge {
	padding: 2px 10px;
	border-radius: 100px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.murls-badge-free {
	background: rgba(34, 211, 160, 0.1);
	color: #059669;
	border: 1px solid rgba(34, 211, 160, 0.3);
}

.murls-badge-premium {
	background: rgba(108, 71, 255, 0.1);
	color: #6c47ff;
	border: 1px solid rgba(108, 71, 255, 0.2);
}

.murls-addon-card h3 {
	font-size: 0.975rem;
	font-weight: 700;
	color: #1e1b4b;
	margin: 0 0 8px;
	letter-spacing: -0.01em;
}

.murls-addon-card > p {
	font-size: 0.845rem;
	color: #6e6b8a;
	line-height: 1.6;
	margin: 0;
	flex: 1;
}

.murls-addon-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid rgba(108, 71, 255, 0.06);
}

.murls-addon-price {
	font-size: 1.1rem;
	font-weight: 800;
	color: #1e1b4b;
}

.murls-price-free {
	color: #059669;
}

.murls-addon-per {
	font-size: 0.72rem;
	color: #8b85ad;
	font-weight: 400;
}

.murls-addon-soon {
	background: rgba(108, 71, 255, 0.06);
	color: #8b85ad;
	padding: 5px 12px;
	border-radius: 8px;
	font-size: 0.76rem;
	font-weight: 600;
}

/* ── Image upload section (Step 2) ──────────────────────────────────────── */

.murls-wiz-image-section {
	margin-top: 20px;
}

.murls-wiz-image-upload-zone {
	border: 2px dashed rgba(108, 71, 255, 0.18);
	border-radius: 14px;
	background: rgba(250, 245, 255, 0.5);
	padding: 24px;
	text-align: center;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.murls-wiz-image-upload-zone:hover {
	border-color: rgba(108, 71, 255, 0.35);
	background: rgba(250, 245, 255, 0.8);
}

.murls-wiz-image-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.murls-wiz-upload-icon {
	font-size: 28px;
	line-height: 1;
}

.murls-wiz-image-placeholder p {
	margin: 0;
	font-size: 13px;
	color: #6e6b8a;
}

.murls-wiz-image-preview-wrap {
	position: relative;
	display: inline-block;
	max-width: 100%;
}

.murls-wiz-image-preview-wrap img {
	max-width: 100%;
	max-height: 140px;
	object-fit: contain;
	border-radius: 8px;
	display: block;
}

.murls-wiz-image-remove {
	position: absolute;
	top: -8px;
	right: -8px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #ef4444;
	color: #fff;
	border: none;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background 0.15s ease;
}

.murls-wiz-image-remove:hover {
	background: #dc2626;
}

.murls-wiz-btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: 10px;
	border: 1.5px solid rgba(108, 71, 255, 0.3);
	background: rgba(255, 255, 255, 0.8);
	color: #6c47ff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.murls-wiz-btn-outline:hover {
	background: #6c47ff;
	color: #fff;
	border-color: #6c47ff;
	box-shadow: 0 4px 12px rgba(108, 71, 255, 0.25);
}

.murls-wiz-image-link-field {
	margin-top: 12px;
}

.murls-wiz-help {
	font-size: 12px;
	color: #a098c4;
	margin: 4px 0 0;
}

/* Live preview image */
#murls-wiz-prev-image {
	width: 100%;
	border-radius: 4px 4px 0 0;
	margin-bottom: 6px;
	display: block;
	object-fit: cover;
	max-height: 70px;
}

/* ── Where to Show (Step 3) ──────────────────────────────────────────────── */

.murls-wiz-display-rule-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 4px;
}

.murls-wiz-display-rule-opt {
	display: flex;
	align-items: center;
	padding: 12px 16px;
	border: 2px solid rgba(108, 71, 255, 0.1);
	border-radius: 12px;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
	background: rgba(255, 255, 255, 0.6);
}

.murls-wiz-display-rule-opt:hover {
	border-color: rgba(108, 71, 255, 0.25);
	background: rgba(250, 245, 255, 0.5);
}

.murls-wiz-display-rule-opt.selected {
	border-color: #6c47ff;
	background: rgba(250, 245, 255, 0.7);
	box-shadow: 0 0 0 3px rgba(108, 71, 255, 0.1);
}

.murls-wiz-display-rule-opt input[type="radio"] {
	display: none;
}

.murls-wiz-rule-content {
	display: flex;
	align-items: center;
	gap: 12px;
}

.murls-wiz-rule-icon {
	font-size: 20px;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(108, 71, 255, 0.06);
	border-radius: 8px;
}

.murls-wiz-display-rule-opt.selected .murls-wiz-rule-icon {
	background: rgba(108, 71, 255, 0.12);
}

.murls-wiz-rule-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.murls-wiz-rule-text strong {
	font-size: 13px;
	font-weight: 700;
	color: #1e1b4b;
}

.murls-wiz-rule-text span {
	font-size: 12px;
	color: #8b85ad;
	line-height: 1.4;
}

.murls-wiz-display-rule-opt.selected .murls-wiz-rule-text strong {
	color: #6c47ff;
}

/* Page checklist in wizard */
.murls-wiz-page-checklist-wrap {
	margin-top: 12px;
	overflow: hidden;
}

.murls-wiz-page-checklist {
	max-height: 180px;
	overflow-y: auto;
	border: 1px solid rgba(108, 71, 255, 0.12);
	border-radius: 10px;
	padding: 6px 4px;
	background: rgba(255, 255, 255, 0.7);
}

.murls-wiz-page-check-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	font-size: 13px;
	color: #374151;
	cursor: pointer;
	border-radius: 6px;
	transition: background 0.1s ease;
}

.murls-wiz-page-check-item:hover {
	background: rgba(108, 71, 255, 0.04);
}

.murls-wiz-page-check-item input[type="checkbox"] {
	margin: 0;
	accent-color: #6c47ff;
}

.murls-wiz-page-check-divider {
	padding: 8px 10px 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #8b85ad;
	border-top: 1px solid rgba(108, 71, 255, 0.08);
	margin-top: 4px;
}

.murls-wiz-woo-tag {
	display: inline-block;
	background: rgba(108, 71, 255, 0.06);
	color: #6c47ff;
	font-size: 10px;
	font-weight: 600;
	padding: 1px 6px;
	border-radius: 4px;
	margin-left: auto;
	white-space: nowrap;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 782px) {
	.murls-wiz-split {
		grid-template-columns: 1fr;
	}

	.murls-wiz-preview {
		display: none;
	}

	.murls-wizard-goals {
		grid-template-columns: 1fr;
	}

	.murls-wiz-launch-grid {
		grid-template-columns: 1fr;
	}

	.murls-wizard-success-actions {
		grid-template-columns: 1fr;
	}

	.murls-success-glow {
		width: 200px;
		height: 200px;
	}

	.murls-wizard-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.murls-wiz-pos-devices {
		flex-direction: column;
	}

	.murls-wiz-field-row {
		grid-template-columns: 1fr;
	}

	.murls-addons-hero {
		padding: 36px 24px;
	}

	.murls-wizard-wrap::before,
	.murls-wizard-wrap::after {
		display: none;
	}
}
