/* Body lock when modal popup is open */
body.link-modal-open {
	overflow: hidden;
	max-height: 100vh;
}

/* Loading state in popup */
.link-modal-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	gap: 12px;
}

.link-modal-loading-spinner {
	width: 32px;
	height: 32px;
	border: 3px solid rgba(0, 0, 0, 0.1);
	border-top-color: currentColor;
	border-radius: 50%;
	animation: link-modal-spin 0.8s linear infinite;
}

.link-modal-loading-text {
	font-size: 14px;
	color: rgba(0, 0, 0, 0.6);
}

@keyframes link-modal-spin {
	to {
		transform: rotate(360deg);
	}
}
