/* =========================================
   °øÅë ·Îµù ¿À¹ö·¹ÀÌ
========================================= */
:root {
	--wyd-blue: #0047BB;
	--wyd-red: #F32735;
	--wyd-yellow: #FEF09C;
	--wyd-dark: #000000;
	--wyd-bg: #eef2f7;
}

.wyd-loading-overlay {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(9, 24, 48, 0.34);
	backdrop-filter: blur(5px);
}

.wyd-loading-overlay.show {
	display: flex;
}

.wyd-loading-box {
	position: relative;
	width: 500px;
	min-height: 320px;
	padding: 42px 34px 36px;
	border-radius: 30px;
	background: linear-gradient(145deg, #ffffff 0%, #f7f8fb 100%);
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
	text-align: center;
	overflow: hidden;
}

.wyd-loading-box::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 8px;
	background: linear-gradient(
		90deg,
		var(--wyd-dark) 0%,
		var(--wyd-red) 28%,
		var(--wyd-yellow) 52%,
		var(--wyd-blue) 78%,
		var(--wyd-dark) 100%
	);
}

.wyd-loading-symbol {
	position: relative;
	width: 230px;
	height: 230px;
	margin: 0 auto 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wyd-loading-ring {
	position: absolute;
	left: 0;
	top: 0;
	width: 230px;
	height: 230px;
	border-radius: 50%;
	background: conic-gradient(
		from 0deg,
		var(--wyd-blue) 0deg,
		var(--wyd-blue) 105deg,
		var(--wyd-red) 105deg,
		var(--wyd-red) 195deg,
		var(--wyd-yellow) 195deg,
		var(--wyd-yellow) 255deg,
		var(--wyd-dark) 255deg,
		var(--wyd-dark) 360deg
	);
	animation: wydLoadingSpin 1.1s linear infinite;
	box-shadow: 0 10px 24px rgba(0, 71, 187, 0.18);
}

.wyd-loading-inner {
	position: relative;
	z-index: 2;
	width: 208px;
	height: 208px;
	border-radius: 50%;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.wyd-loading-inner img {
	width: 162px;
	height: 162px;
	object-fit: contain;
	display: block;
}

.wyd-loading-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--wyd-blue);
	margin-bottom: 12px;
	letter-spacing: -0.6px;
}

.wyd-loading-text {
	font-size: 14px;
	color: #4d5665;
	line-height: 1.7;
	letter-spacing: -0.3px;
}

.wyd-loading-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 7px;
	margin-top: 20px;
}

.wyd-loading-dots span {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wyd-blue);
	animation: wydLoadingDot 1.2s ease-in-out infinite;
}

.wyd-loading-dots span:nth-child(1) {
	background: var(--wyd-red);
}

.wyd-loading-dots span:nth-child(2) {
	background: var(--wyd-yellow);
	animation-delay: 0.15s;
}

.wyd-loading-dots span:nth-child(3) {
	background: var(--wyd-blue);
	animation-delay: 0.3s;
}

@keyframes wydLoadingSpin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

@keyframes wydLoadingDot {
	0%, 80%, 100% {
		transform: translateY(0);
		opacity: 0.45;
	}
	40% {
		transform: translateY(-7px);
		opacity: 1;
	}
}

@media (max-width: 576px) {
	.wyd-loading-box {
		width: 300px;
		min-height: 290px;
		padding: 36px 26px 32px;
		border-radius: 26px;
	}

	.wyd-loading-symbol,
	.wyd-loading-ring {
		width: 112px;
		height: 112px;
	}

	.wyd-loading-inner {
		width: 92px;
		height: 92px;
	}

	.wyd-loading-inner img {
		width: 54px;
		height: 54px;
	}

	.wyd-loading-title {
		font-size: 18px;
	}
}