:root {
	--md-primary-fg-color: #3f51b5;
	--md-accent-fg-color: #5c6bc0;
	--table-border-color: rgba(63, 81, 181, 0.16);
	--table-header-start: #26418f;
	--table-header-end: #3f51b5;
	--table-row-hover: rgba(63, 81, 181, 0.06);
	--table-row-alt: rgba(63, 81, 181, 0.03);
}

.md-header__title {
	font-weight: 700;
}

.md-nav__title {
	font-weight: 700;
}

/* Make PDF download links stand out */
.md-typeset a[href$=".pdf"] {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.15rem 0.5rem;
	border-radius: 0.2rem;
	background: var(--md-accent-fg-color);
	color: white !important;
	font-size: 0.75rem;
	font-weight: 500;
	text-decoration: none;
}

.md-typeset a[href$=".pdf"]:hover {
	background: #3949ab;
}

.md-typeset table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: separate;
	border-spacing: 0;
	margin: 1.25rem 0;
	font-size: 0.85rem;
	background: var(--md-default-bg-color);
	border: 1px solid var(--table-border-color);
	border-radius: 0.85rem;
	box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.06);
}

.md-typeset table th,
.md-typeset table td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--table-border-color);
	vertical-align: middle;
}

.md-typeset table thead th {
	color: #fff;
	background: linear-gradient(135deg, var(--table-header-start), var(--table-header-end));
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: none;
	white-space: nowrap;
}

.md-typeset table tbody tr:nth-child(odd) td {
	background: var(--table-row-alt);
}

.md-typeset table tbody tr:hover td {
	background: var(--table-row-hover);
}

.md-typeset table th:first-child {
	border-top-left-radius: 0.8rem;
}

.md-typeset table th:last-child {
	border-top-right-radius: 0.8rem;
}

.md-typeset table tbody tr:last-child td:first-child {
	border-bottom-left-radius: 0.8rem;
}

.md-typeset table tbody tr:last-child td:last-child {
	border-bottom-right-radius: 0.8rem;
}

.md-content__inner {
	margin-left: 13rem;
}
