/* /static/css.style.css */

body {
	background-color: #0d1117;
	color: #c9d1d9;
	font-family: 'Courier New', Courier, monospace;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	margin: 0;
}

.cube-swarm {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	z-index: 0;
	perspective: 800px;
	overflow: hidden;
}

.cube {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: opacity 1.2s ease-in-out;
	animation-fill-mode: forwards;
	animation-timing-function: linear;
	background: rgba(88, 166, 255, 0.1);
	border: 1px solid rgba(88, 166, 255, 0.3);
}

.particle {
	position: absolute;
	width: 4px;
	height: 4px;
	background-color: rgba(88, 166, 255, 0.5);
	border-radius: 50%;
	pointer-events: none;
	animation: particleFade 1s ease-out forwards;
	filter: drop-shadow(0 0 2px rgba(88, 166, 255, 0.6));
}

@keyframes particleFade {
	0% {
		transform: scale(1) translate(0, 0);
		opacity: 1;
	}
	100% {
		transform: scale(0.5) translate(var(--dx), var(--dy));
		opacity: 0;
	}
}

.admin-dashboard-panel,
.error-panel {
	text-align: center;
	padding: 2rem;
	border: 2px solid #1f6feb;
	border-radius: 10px;
	box-shadow: 0 0 15px #1f6feb;
	background-color: #161b22;
    width: 500px;
    margin: auto;
}

.title {
	margin-bottom: 1.5rem;
	color: #58a6ff;
	text-shadow: 0 0 5px #1f6feb;
}