.acca-button-wrapper {
	line-height: 0;
}

.acca-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 12px 24px;
	border: none;
	border-radius: 3px;
	background-color: #4d4dff;
	color: #ffffff;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, opacity 0.3s;
}

.acca-button:hover,
.acca-button:focus {
	color: #ffffff;
	text-decoration: none;
	outline: none;
}

.acca-button__content {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.acca-button__icon {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.acca-button__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* Loading + success states */
.acca-button.acca-loading {
	pointer-events: none;
	cursor: wait;
	opacity: 0.7;
}

.acca-button.acca-has-spinner .acca-button__content::before {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: 0.5em;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: acca-spin 0.6s linear infinite;
}

.acca-button.acca-added {
	pointer-events: none;
}

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

/* Editor-only notice */
.acca-editor-notice {
	padding: 14px 18px;
	border: 1px dashed #c3c4c7;
	border-radius: 4px;
	background: #f6f7f7;
	color: #50575e;
	font-size: 13px;
	text-align: center;
}
