prpl-install-plugin {

	button {
		display: flex !important;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
	}

	.prpl-install-button-loader {
		display: none;
		width: 1rem;
		height: 1rem;
		border: 3px solid var(--prpl-color-link);
		border-bottom-color: transparent;
		border-radius: 50%;
		box-sizing: border-box;
		animation: install-button-rotation 1s linear infinite;
	}

	button:disabled {
		opacity: 0.5;
		cursor: not-allowed;

		.prpl-install-button-loader {
			display: block;
		}
	}

	.prpl-button-link {
		text-decoration: underline;
		color: var(--prpl-color-link);
		background: none;
		border: none;
		padding: 0;
		margin: 0;
		font-size: inherit;
		font-weight: inherit;
		line-height: inherit;
		text-align: inherit;
		cursor: pointer;
	}
}

@keyframes install-button-rotation {

	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}
