#angie-widget-toggle {
	position: fixed;
	bottom: 20px;
	inset-inline-end: 20px;
	z-index: 9999;
	width: 72px;
	height: 72px;
	border: none;
	border-radius: 50%;
	background: #000;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

#angie-widget-toggle[hidden] {
	display: none;
}

#angie-widget-toggle img {
	width: 40px;
	height: 40px;
	display: block;
}

@media (max-width: 768px) {
	#angie-widget-toggle {
		bottom: 16px;
		inset-inline-end: 16px;
	}
}

#angie-widget-toggle[aria-busy="true"] {
	pointer-events: none;
	cursor: progress;
}

#angie-widget-toggle[aria-busy="true"] img {
	opacity: 0;
}

#angie-widget-toggle[aria-busy="true"]::after {
	content: "";
	position: absolute;
	width: 28px;
	height: 28px;
	box-sizing: border-box;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: angie-widget-spin 0.8s linear infinite;
}

@keyframes angie-widget-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	#angie-widget-toggle[aria-busy="true"]::after {
		animation-duration: 2s;
	}
}
