/* Download button. Inherits the theme's .btn/.btn--outline when present;
   the rules below are a self-contained fallback so it looks fine anywhere. */
.sbsk-pdf-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
}

.sbsk-pdf-btn__icon {
	flex: 0 0 auto;
}

/* Fallback styling only applied when the theme's .btn base is absent. */
.sbsk-pdf-btn:not(.btn) {
	padding: 0.7em 1.2em;
	border: 2px solid #3151ab;
	border-radius: 8px;
	color: #3151ab;
	background: #fff;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.sbsk-pdf-btn:not(.btn):hover,
.sbsk-pdf-btn:not(.btn):focus-visible {
	background: #3151ab;
	color: #fff;
}

/* ---------------------------------------------------------------------------
   Selection form: pick which areas go into the generated PDF.
   --------------------------------------------------------------------------- */
.sbsk-form {
	max-width: 640px;
	margin: 0;
}

.sbsk-form__fieldset {
	border: 1px solid #d4d7de;
	border-radius: 10px;
	padding: 1em 1.1em 1.1em;
	margin: 0 0 1em;
}

.sbsk-form__legend {
	font-weight: 600;
	padding: 0 0.4em;
	color: #231f20;
}

.sbsk-form__actions-top {
	display: flex;
	align-items: center;
	gap: 1em;
	margin: 0 0 0.75em;
	flex-wrap: wrap;
}

.sbsk-form__toggle {
	appearance: none;
	border: 1px solid #3151ab;
	background: #fff;
	color: #3151ab;
	font: inherit;
	font-weight: 600;
	padding: 0.25em 0.8em;
	border-radius: 6px;
	cursor: pointer;
}

.sbsk-form__toggle:hover,
.sbsk-form__toggle:focus-visible {
	background: #3151ab;
	color: #fff;
}

.sbsk-form__count {
	color: #555b66;
	font-size: 0.9em;
}

.sbsk-form__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 0.35em 1em;
}

.sbsk-form__item {
	margin: 0;
}

.sbsk-form__option {
	display: flex;
	align-items: flex-start;
	gap: 0.55em;
	padding: 0.45em 0.5em;
	border-radius: 8px;
	cursor: pointer;
	line-height: 1.3;
}

.sbsk-form__option:hover {
	background: #f4f4f4;
}

.sbsk-form__cb {
	margin-top: 0.2em;
	flex: 0 0 auto;
}

.sbsk-form__swatch {
	flex: 0 0 auto;
	width: 1.05em;
	height: 1.05em;
	margin-top: 0.15em;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.25);
}

.sbsk-form__text {
	display: flex;
	flex-direction: column;
}

.sbsk-form__name {
	font-weight: 600;
	color: #231f20;
}

.sbsk-form__meta {
	font-size: 0.82em;
	color: #6a707b;
}

.sbsk-form__footer {
	display: flex;
	align-items: center;
	gap: 1em;
	flex-wrap: wrap;
}

.sbsk-form__year {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	font-weight: 600;
	color: #231f20;
}

.sbsk-form__year select {
	font: inherit;
	padding: 0.3em 0.5em;
}

.sbsk-form__submit[disabled],
.sbsk-form__submit[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
}

.sbsk-form__hint {
	margin: 0.6em 0 0;
	color: #b23b3b;
	font-weight: 600;
}

.sbsk-form__note {
	margin: 0.85em 0 0;
	padding-top: 0.7em;
	border-top: 1px solid #e3e5ea;
	font-size: 0.88em;
	color: #555b66;
}
