/* Shared styling for step-by-step guide pages (getting_started.html,
   gitlab-setup.html). Builds on the prose/table rules in syllabus.css —
   link that file too on any page that uses this one. */

.callout {
	background: #eff6ff;
	border: 1px solid #dbeafe;
	border-left: 4px solid #1d4ed8;
	border-radius: 8px;
	padding: 14px 18px;
	margin: 1.25rem 0;
}

.callout p:last-child {
	margin-bottom: 0;
}

.callout.warning {
	background: #fef3c7;
	border-color: #fde68a;
	border-left-color: #b45309;
}

.checklist {
	list-style: none;
	padding-left: 0;
	margin: 0 0 1rem;
}

.checklist li {
	margin-bottom: 0.6rem;
}

.checklist label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	cursor: pointer;
}

.checklist input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	flex: 0 0 auto;
	width: 1.1rem;
	height: 1.1rem;
	margin: 0.15rem 0 0;
	border: 2px solid #1d4ed8;
	border-radius: 4px;
	background: #ffffff;
	cursor: pointer;
}

.checklist input[type="checkbox"]:checked {
	background: #1d4ed8;
}

.checklist input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 3px;
	top: -1px;
	width: 5px;
	height: 9px;
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.checklist li.checked label {
	color: #94a3b8;
	text-decoration: line-through;
}

.checklist li.stretch-goal input[type="checkbox"] {
	border-color: #6d28d9;
}

.checklist li.stretch-goal input[type="checkbox"]:checked {
	background: #6d28d9;
}

article figure {
	margin: 1rem 0 1.5rem;
}

article figure img {
	max-width: 100%;
	max-height: 480px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	display: block;
}

article figcaption {
	font-size: 0.85rem;
	color: #64748b;
	margin-top: 0.4rem;
}

.guide-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 1.25rem 0;
}

.guide-links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 8px;
	background: #0f172a;
	color: #f8fafc !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 0.9rem;
}

.guide-links a:hover {
	background: #1e293b;
}

.badge {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 3px 10px;
	border-radius: 999px;
	background: #ede9fe;
	color: #6d28d9;
	vertical-align: middle;
	margin-left: 10px;
}
