/* Pro success modal — Fontxsis (no referral) */
.xsis-pro-success {
	position: fixed;
	inset: 0;
	z-index: 12100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 16px;
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.xsis-pro-success[hidden] {
	display: none !important;
}

.xsis-pro-success__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(3px);
}

.xsis-pro-success__dialog {
	position: relative;
	width: min(100%, 420px);
	padding: 36px 28px 28px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);
	color: #111827;
	text-align: center;
}

.xsis-pro-success__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #9ca3af;
	cursor: pointer;
}

.xsis-pro-success__close:hover {
	background: #f3f4f6;
	color: #111827;
}

.xsis-pro-success__close svg {
	width: 16px;
	height: 16px;
	display: block;
}

.xsis-pro-success__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	margin: 0 0 20px;
	padding: 8px 18px;
	border-radius: 999px;
	background: #111827;
	color: #fff;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1;
}

.xsis-pro-success__eyebrow {
	margin: 0 0 6px;
	font-size: 1.05rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	color: #111827;
}

.xsis-pro-success__title {
	margin: 0 0 10px;
	font-size: clamp(1.45rem, 3.5vw, 1.75rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.15;
	color: #111827;
}

.xsis-pro-success__lead {
	margin: 0 0 24px;
	font-size: 0.92rem;
	line-height: 1.5;
	color: #6b7280;
}

.xsis-pro-success__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 13px 18px;
	border: 0;
	border-radius: 999px;
	background: #111827;
	color: #fff;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.xsis-pro-success__cta:hover {
	background: #000;
	transform: translateY(-1px);
}

.xsis-pro-success__cta:focus-visible {
	outline: 3px solid rgba(17, 24, 39, 0.25);
	outline-offset: 2px;
}

body.xsis-pro-success-open {
	overflow: hidden;
}

html[data-fx-theme="dark"] .xsis-pro-success__dialog {
	background: #1a2030;
	color: #f3f5fa;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

html[data-fx-theme="dark"] .xsis-pro-success__eyebrow,
html[data-fx-theme="dark"] .xsis-pro-success__title {
	color: #f3f5fa;
}

html[data-fx-theme="dark"] .xsis-pro-success__lead {
	color: #9ca3af;
}

html[data-fx-theme="dark"] .xsis-pro-success__close:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #f3f5fa;
}

html[data-fx-theme="dark"] .xsis-pro-success__badge,
html[data-fx-theme="dark"] .xsis-pro-success__cta {
	background: #f3f5fa;
	color: #111827;
}

html[data-fx-theme="dark"] .xsis-pro-success__cta:hover {
	background: #fff;
}
