.certs-page__error {
	margin: 0 auto 1rem;
	max-width: 920px;
	padding: 0.75rem 1rem;
	border: 1px solid color-mix(in srgb, var(--error-red) 30%, white);
	background: color-mix(in srgb, var(--error-red) 8%, white);
	border-radius: 10px;
	color: #111;
}

/* Certificate blocks */
.cert-container {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.cert-container details {
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.cert-container summary {
	cursor: pointer;
	padding: 0.75rem 1rem;
	font-weight: 700;
	background: color-mix(in srgb, var(--primary-main-color) 4%, #fff);
	user-select: none;
}

.cert-container details[open] summary {
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.cert-container pre {
	margin: 0;
	padding: 0.75rem 1rem;
	font-size: 0.85rem;
	line-height: 1.45;
	overflow-x: auto;
	white-space: pre-wrap;
	word-break: break-all;
	background: #fafafa;
}
