/*! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com*/

[data-dc-element] {
	box-sizing: border-box;
}

.dc-scaffold {
	display: grid;
}

.dc-scaffold-body {
	z-index: 0;
}

.dc-scaffold-modal {
	display: none;
	position: fixed;
	background-color: rgba(0, 0, 0, 0.25);
	inset: 0;
	z-index: 50;
	transition: all 0.3s ease-in-out;
	height: 100%;
	justify-content: center;
	overflow-y: auto;
	overflow-x: hidden;
	align-items: center;
}

.dc-scaffold-modal.active {
	display: flex;
}

.dc-scaffold-modal-content {
	max-height: 75vh;
	background-color: #fff;
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}

.hover\:underline:hover {
	text-decoration-line: underline;
}

.hover:hover {
	color: var(--hover-color);
}

.grid {
	display: grid;
}

.page-loading {
	display: none;
}

.skeleton-loading {
	display: none;
}

.loading {
	display: flex;
	justify-content: center; /* 水平置中 */
	align-items: center; /* 垂直置中 */
}

.loading-container {
	display: flex;
	justify-content: center;
	align-items: center;
}

.loading-spinner {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.loading-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background-color: #a2a2a2;
	margin: 0 2px;
	animation: loading-dots 1s infinite linear;
}

.loading-dot:nth-child(2) {
	animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes loading-dots {
	0% {
		transform: translateX(0);
	}
	50% {
		transform: translateX(5px);
	}
	100% {
		transform: translateX(0);
	}
}
