/* ==========================================================================
   Doranex - Global loader (shared by admin + user site)
   ========================================================================== */

html.doranex-loader-lock,
html.doranex-loader-lock body {
	overflow: hidden !important;
}

.doranex-loader-overlay {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(8, 10, 16, .45);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	z-index: 99999;
	/* Blocks all clicks/interaction underneath while visible. */
	cursor: wait;
}

.doranex-loader-overlay.show {
	display: flex;
}

.doranex-loader-coin {
	width: 88px;
	height: 88px;
	perspective: 600px;
}

.doranex-loader-coin img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 6px 18px rgba(255, 170, 0, .45));
	animation: doranex-coin-flip 1s linear infinite;
}

@keyframes doranex-coin-flip {
	0% {
		transform: rotateY(0deg) scale(1);
	}
	50% {
		transform: rotateY(180deg) scale(.92);
	}
	100% {
		transform: rotateY(360deg) scale(1);
	}
}
