.kp-walkthrough[hidden] {
	display: none !important;
}

.kp-walkthrough {
	position: fixed;
	inset: 0;
	z-index: 100070;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.kp-walkthrough__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.62);
}

.kp-walkthrough__dialog {
	position: relative;
	width: min(100%, 28rem);
	padding: 1.15rem 1.2rem 1rem;
	border-radius: 16px;
	background: var(--bb-surface, #fff);
	border: 1px solid var(--bb-border, #e2e8f0);
	box-shadow: 0 22px 60px rgba(15, 23, 42, 0.22);
}

html[data-theme="dark"] .kp-walkthrough__dialog {
	background: #0f172a;
	border-color: rgba(148, 163, 184, 0.22);
}

.kp-walkthrough__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.55rem;
}

.kp-walkthrough__step {
	margin: 0;
	font-family: var(--bb-font, "Manrope", system-ui, sans-serif);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bb-muted, #64748b);
}

.kp-walkthrough__skip {
	padding: 0;
	border: 0;
	background: transparent !important;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--bb-accent, #e30613) !important;
	cursor: pointer;
	box-shadow: none !important;
}

.kp-walkthrough__skip:hover {
	color: var(--bb-accent-hover, #b8050f) !important;
}

.kp-walkthrough__title {
	margin: 0 0 0.65rem;
	font-family: var(--bb-font, "Manrope", system-ui, sans-serif);
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--bb-text, #0f172a);
}

.kp-walkthrough__body {
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--bb-text, #0f172a);
}

.kp-walkthrough__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin-bottom: 0.95rem;
}

.kp-walkthrough__dot {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--bb-muted, #64748b) 35%, transparent);
}

.kp-walkthrough__dot.is-active {
	background: var(--bb-accent, #e30613);
}

.kp-walkthrough__actions {
	display: flex;
	justify-content: space-between;
	gap: 0.55rem;
}

.kp-walkthrough__btn {
	font: inherit;
	font-weight: 600;
	padding: 0.55rem 0.95rem;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
}

.kp-walkthrough__btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.kp-walkthrough__btn--ghost {
	background: transparent !important;
	color: var(--bb-text, #0f172a);
	border-color: var(--bb-border, #cbd5e1);
}

.kp-walkthrough__btn--ghost:hover:not(:disabled) {
	border-color: var(--bb-accent, #e30613);
	color: var(--bb-accent, #e30613);
}

.kp-walkthrough__btn--primary {
	background: var(--bb-accent, #e30613) !important;
	color: #fff !important;
}

.kp-walkthrough__btn--primary:hover {
	background: var(--bb-accent-hover, #b8050f) !important;
}

body.kp-walkthrough-open {
	overflow: hidden;
}

@media (max-width: 480px) {
	.kp-walkthrough__actions {
		flex-direction: column-reverse;
	}

	.kp-walkthrough__btn {
		width: 100%;
		justify-content: center;
	}
}
