/**
 * StaarCon Booklet — front-end styles.
 */

.scbk-booklet {
	margin: 1.5em auto;
	max-width: 100%;
}

.scbk-stage {
	margin: 0 auto;
	width: 100%;
}

/* StPageFlip renders its own pages; keep them from inheriting theme list styles. */
.scbk-stage .stf__parent {
	margin: 0 auto;
}

.scbk-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 0.75em;
}

.scbk-controls button {
	cursor: pointer;
	border: 1px solid currentColor;
	background: transparent;
	border-radius: 4px;
	width: 2.25rem;
	height: 2.25rem;
	font-size: 1.4rem;
	line-height: 1;
	padding: 0;
}

.scbk-controls button:hover,
.scbk-controls button:focus {
	background: rgba( 0, 0, 0, 0.06 );
}

.scbk-indicator {
	font-variant-numeric: tabular-nums;
	min-width: 4.5rem;
	text-align: center;
}

/* Visible fallback link; also the only content when JS is unavailable. */
.scbk-fallback {
	text-align: center;
	margin-top: 0.5em;
}
