@charset "utf-8";

/* price tables */
.fees-table {
	--bs-table-bg: transparent;
	--bs-table-color: var(--hsm-ink);
	--bs-table-border-color: rgba(11, 46, 107, 0.35);
	font-size: 1.1rem;
	margin-bottom: 0;
}
.fees-table th,
.fees-table td {
	padding: 0.75rem 0.5rem;
	vertical-align: middle;
}
.fees-table thead th {
	color: var(--hsm-navy);
	border-bottom-width: 2px;
	border-bottom-color: var(--hsm-navy);
}
.fees-table td {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.fees-table-narrow {
	max-width: 40rem;
}

/* on phones, show each row as its own block instead of making people scroll sideways */
@media (max-width: 575.98px) {
	.fees-table-stack thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}
	.fees-table-stack tr {
		display: block;
		padding: 0.5rem 0;
		border-bottom: 1px solid var(--bs-table-border-color);
	}
	.fees-table-stack th,
	.fees-table-stack td {
		display: flex;
		justify-content: space-between;
		gap: 1rem;
		border: 0;
		padding: 0.3rem 0;
	}
	.fees-table-stack th[scope="row"] {
		font-size: 1.2rem;
		color: var(--hsm-navy);
	}
	.fees-table-stack td::before {
		content: attr(data-label);
		font-weight: 400;
		text-align: left;
	}
}
