.ild-loader {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #111;
	transition:
		opacity 0.5s ease,
		visibility 0.5s ease;
}

.ild-loader--hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.ild-loader__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

.ild-loader__logo {
	width: clamp(120px, 25vw, 220px);
	height: auto;
}

.ild-loader__spinner svg {
	width: 56px;
	height: 56px;
	fill: var(--primary-color);
	animation: ild-loader-spin 1.2s linear infinite;
}

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