/* Estilo para o loader com body */
.loader-body-overlay {
	position: fixed;
	background-color: rgba(0, 0, 0, 0.5);
	top: 0;
	left: 0;
	height: 100vh;
	width: 100vw;
	z-index: 10;
	display: flex;
	justify-content: center;
	align-items: center;
}

.loader-body {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 10px solid black;
	border-top-color: transparent;
	animation: spin 2s linear infinite;
}

/* Estilo para o loader com element */
.loader-element-container {
	position: relative;
}

.loader-element-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10;
}

.loader {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	border: 4px solid rgba(53, 81, 230, 0.8);
	border-top: 4px solid transparent;
	/* para fazer a rotação parecer mais suave */
	animation: spin 1.5s linear infinite;
	/* rotação contínua */
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
		/* uma volta completa */
	}
}