/* FriSay setup — split wizard, modern admin look */

:root {
	--wiz-navy: #0d2b6b;
	--wiz-blue: #2457c5;
	--wiz-blue-dark: #1746a2;
	--wiz-bg: #f7f8fa;
	--wiz-line: #e6edf5;
	--wiz-text: #171a1f;
	--wiz-muted: #6b7280;
}

html,
body {
	min-height: 100%;
}

body {
	margin: 0;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	background: var(--wiz-bg);
	color: var(--wiz-text);
}

.wiz {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	min-height: 100vh;
}

.wiz__side {
	background: #fff;
	border-right: 1px solid var(--wiz-line);
	padding: 32px 22px;
	display: flex;
	flex-direction: column;
}

.wiz__brand {
	margin-bottom: 32px;
}

.wiz__brand strong {
	display: block;
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--wiz-navy);
	line-height: 1.1;
}

.wiz__brand span {
	display: block;
	margin-top: 6px;
	font-size: 0.82rem;
	color: var(--wiz-muted);
	font-weight: 600;
}

.wiz__steps {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}

.wiz__step {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	color: #64748b;
	text-decoration: none;
	font-size: 0.94rem;
	font-weight: 600;
}

a.wiz__step:hover {
	background: #f4f7fb;
	color: var(--wiz-navy);
}

.wiz__step.is-active {
	background: #eef4ff;
	color: var(--wiz-blue);
}

.wiz__step.is-done {
	color: #0f172a;
}

.wiz__step.is-todo {
	opacity: 0.55;
}

.wiz__step-num {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
	background: #eef2f6;
	color: #64748b;
	flex-shrink: 0;
}

.wiz__step.is-active .wiz__step-num {
	background: var(--wiz-blue);
	color: #fff;
}

.wiz__step.is-done .wiz__step-num {
	background: #e8f7ee;
	color: #146c43;
}

.wiz__langs {
	display: flex;
	gap: 12px;
	padding-top: 18px;
}

.wiz__langs a {
	color: var(--wiz-muted);
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
}

.wiz__langs a.is-active {
	color: var(--wiz-blue);
}

.wiz-play {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e23d3d;
	position: relative;
}

.wiz-play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 55%;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 7px 0 7px 12px;
	border-color: transparent transparent transparent #fff;
	transform: translate(-50%, -50%);
}

.wiz__video {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #eef4ff;
	color: var(--wiz-navy);
	text-decoration: none;
}

.wiz__video strong {
	display: block;
	font-size: 0.88rem;
	font-weight: 800;
}

.wiz__video small {
	display: block;
	margin-top: 2px;
	color: var(--wiz-blue);
	font-size: 0.78rem;
	font-weight: 700;
}

.wiz-video-card {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
	padding: 14px 16px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--wiz-line);
	color: inherit;
	text-decoration: none;
}

.wiz-video-card:hover {
	border-color: #c9d8ee;
	box-shadow: 0 6px 18px rgba(13, 43, 107, 0.06);
}

.wiz-video-card strong { display: block; color: var(--wiz-navy); }
.wiz-video-card small { display: block; margin-top: 2px; color: var(--wiz-blue); font-size: 0.88rem; font-weight: 700; }

.wiz-progress {
	height: 14px;
	border-radius: 999px;
	background: #e8eef6;
	overflow: hidden;
}

.wiz-progress .progress-bar {
	background: var(--wiz-blue);
}

.wiz-progress__label {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 10px 0 18px;
	font-weight: 700;
	color: var(--wiz-navy);
}

.wiz-progress__label #installPct {
	color: var(--wiz-blue);
	font-variant-numeric: tabular-nums;
}

.wiz-stages {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wiz-stages li {
	padding: 8px 0;
	color: #94a3b8;
	font-weight: 600;
	border-bottom: 1px solid var(--wiz-line);
}

.wiz-stages li.is-active { color: var(--wiz-blue); }
.wiz-stages li.is-done { color: #146c43; }

.wiz__main {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--wiz-bg);
}

.wiz__content {
	flex: 1;
	padding: 40px 48px 24px;
	max-width: 760px;
}

.wiz__kicker {
	margin: 0 0 8px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wiz-blue);
}

.wiz__content h1 {
	margin: 0 0 10px;
	font-size: 1.7rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: #0f172a;
}

.wiz__content h2 {
	margin: 22px 0 12px;
	font-size: 1rem;
	font-weight: 700;
}

.wiz__lead {
	color: var(--wiz-muted);
	margin-bottom: 22px;
}

.wiz__foot {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px;
	padding: 16px 48px 28px;
	max-width: 760px;
}

.wiz-checks {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--wiz-line);
	border-radius: 12px;
	overflow: hidden;
}

.wiz-checks li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 16px;
	border-bottom: 1px solid var(--wiz-line);
}

.wiz-checks li:last-child { border-bottom: 0; }

.wiz-checks__mark {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
	flex-shrink: 0;
}

.wiz-checks .is-ok .wiz-checks__mark {
	background: #e8f7ee;
	color: #146c43;
}

.wiz-checks .is-fail .wiz-checks__mark {
	background: #fdecec;
	color: #9b1c1c;
}

.wiz-checks small {
	display: block;
	color: var(--wiz-muted);
}

.wiz .form-label {
	font-weight: 600;
	font-size: 13px;
}

.wiz .form-control,
.wiz .form-select {
	border-radius: 10px;
	border-color: #dbe3ee;
}

.wiz .btn {
	min-width: 110px;
	border-radius: 10px;
	font-weight: 700;
}

.wiz .btn-primary {
	background: var(--wiz-blue);
	border-color: var(--wiz-blue);
}

.wiz .btn-primary:hover {
	background: var(--wiz-blue-dark);
	border-color: var(--wiz-blue-dark);
}

@media (max-width: 767.98px) {
	.wiz {
		grid-template-columns: 1fr;
	}

	.wiz__side {
		border-right: 0;
		border-bottom: 1px solid var(--wiz-line);
		padding: 18px 16px;
	}

	.wiz__steps {
		flex-direction: row;
		overflow-x: auto;
		flex: 0 0 auto;
	}

	.wiz__step {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.wiz__content,
	.wiz__foot {
		padding-left: 16px;
		padding-right: 16px;
		max-width: none;
	}
}
