/* Search buttons while the results page opens (js/editra-design-searchwait): a small turning circle, like
   the OJS loading circle and the one on the "Ask our journals" page. Icon-only buttons show the circle in
   place of the magnifier. Nothing else changes. */
.icrpd-is-busy { cursor: progress; }
.icrpd-is-busy::before {
	content: "";
	display: inline-block;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-right: 8px;
	vertical-align: -3px;
	box-sizing: border-box;
	border: 2px solid rgba(128, 128, 128, .35);
	border-color: color-mix(in srgb, currentColor 35%, transparent);
	border-top-color: currentColor;
	border-radius: 50%;
	animation: icrpd-search-wait .8s linear infinite;
}
.icrpd-is-busy:has(> .icrpd-icon)::before { margin-right: 0; }
.icrpd-is-busy > .icrpd-icon { display: none; }
@keyframes icrpd-search-wait { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .icrpd-is-busy::before { animation-duration: 2.4s; } }
