/* Theme switch related */

#toaster {
	bottom: 0;
	top: unset !important;
}

.ripple {
	position: fixed;
	border-radius: 40%;
	transform: scale(0);
	animation: ripple-animation 600ms ease-out;
	pointer-events: none;
	z-index: 9999;
	width: 10px;
	height: 10px;
	filter: blur(1px);
}

@keyframes ripple-animation {
	to {
		border-radius: 50%;
		transform: scale(150);
		opacity: 0;
	}
}

.theme-transition.theme-transition-enabled,
.theme-transition.theme-transition-enabled .card,
.theme-transition.theme-transition-enabled .offcanvas-header {
	transition: color 0.2s ease-out, background-color 0.2s ease-out,
		border-color 0.2s ease-out !important;
}

.form-floating label {
	padding-top: 18px;
}

.perfect-login-card {
	max-width: 400px;
	margin: 0 auto;
	user-select: none;
}

/* End theme switch related */

.logo-img {
	-webkit-user-drag: none;
}

#logout:hover i.ph-duotone {
	color: var(--bs-danger) !important;
}

i.outside-link {
	font-size: 1rem;
	line-height: 1rem;
	vertical-align: text-top;
	translate: 0 -0.2rem;
	color: hsla(var(--bs-emphasis-color-hsl), 0.8);
	opacity: 0.5 !important;
}

li:has(i.outside-link):hover i.outside-link {
	opacity: 1 !important;
}

.card {
	-moz-background-clip: padding !important;
	-webkit-background-clip: padding-box !important;
	background-clip: padding-box !important;
}

.card .card-img-top {
	border-top-left-radius: 7px !important;
	border-top-right-radius: 7px !important;
	background-color: var(--bs-border-color);
	border-color: var(--bs-border-color);
}

.hoverable-li:hover {
	background-color: var(--bs-action-hover-bg) !important;
	cursor: pointer;
}

.hoverable-li:hover:last-child {
	border-bottom-left-radius: var(--bs-card-inner-border-radius) !important;
	border-bottom-right-radius: var(--bs-card-inner-border-radius) !important;
}

.nosel {
	user-select: none;
}

.pointer {
	cursor: pointer;
}

.checkbox-btn {
	box-sizing: border-box !important;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: var(--bs-action-bg) !important;
	border: 1px solid var(--bs-border-color-dark) !important;
	border-radius: var(--bs-border-radius-lg) !important;
	cursor: pointer;
	color: var(--bs-action-color) !important;
	font-size: var(--bs-action-font-size) !important;
	line-height: var(--bs-action-line-height) !important;
	padding: var(--bs-action-lg-padding-y) var(--bs-action-lg-padding-x) !important;
}

.checkbox-btn input {
	cursor: pointer;
}

.nav-item[disabled] {
	pointer-events: none !important;
	cursor: not-allowed !important;
}

.hold-button {
	position: relative;
	overflow: hidden;
	user-select: none;
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
}

.hold-button .hold-progress {
	position: absolute;
	top: 0;
	left: 0;
	width: 0%;
	height: 100%;
	pointer-events: none;
	z-index: 1;

	background-color: hsla(var(--bs-success-hsl), 0.3) !important;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.modal {
	backdrop-filter: blur(6px);
}

.text-muted {
	font-size: large;
}

.text-muted-sm {
	font-size: small;
}

.button-with-icon span {
	font-size: 1.2rem !important;
	line-height: 0.5rem !important;
}
