.bottom-navigation {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1000;

	background-color: color-mix(
		in srgb,
		color-mix(in srgb, var(--title-bar-background) 50%, white) 90%,
		transparent
	);

	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);

	border-top: 1px solid var(--bs-border-color);

	padding-bottom: env(safe-area-inset-bottom, 0px);

	transition: transform 220ms ease;
	will-change: transform;
}

[data-bs-theme="dark"] .bottom-navigation {
	background-color: color-mix(
		in srgb,
		black,
		transparent
	);
}

.bottom-navigation--hidden {
	transform: translateY(100%);
	pointer-events: none;
}

.bottom-navigation__items {
	display: flex;
	justify-content: space-around;
	align-items: center;
	min-height: 56px;
}

.bottom-navigation__link {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;

	padding: 8px 4px;
	text-align: center;
	text-decoration: none;
	color: var(--bs-secondary-color);
	font-size: 0.7rem;
}

.bottom-navigation__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 32px;
	border-radius: 999px;
}

.bottom-navigation__link i {
	font-size: 1.4rem;
	line-height: 1;
}

.bottom-navigation__link:hover {
	color: var(--bs-body-color);
}

.bottom-navigation__link--active {
	color: var(--bs-body-color);
	font-weight: 600;
}

.bottom-navigation__link--disabled {
	opacity: 0.35;
	cursor: default;
}

.bottom-navigation__link--active .bottom-navigation__icon {
	background-color: color-mix(
		in srgb,
		var(--title-bar-background) 90%,
		black
	);
}