html,
body {
	margin: 0px;
	padding: 0px;
	height: 100%;
}

html {
	zoom: 150%;
}

body {
	background-color: #666666;
	overflow: hidden;
}

div.Container {
	position: absolute;
	background-color: white;
	border-radius: 5px;
	border: 1px black solid;
	margin-top: 30px;
	margin-left: 30px;
	width: calc(100% - 60px);
	height: calc(100% - 60px);
}

#Center {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 410px;
	height: 370px;
	max-width: 95vw;
	max-height: 90vh;
}

canvas {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#R1 {
	animation: rotation 10s infinite linear;
	position: absolute;
}

@keyframes rotation {
	from {
		transform: rotate(359deg);
		transform-origin: 45% 50%;
	}

	to {
		transform: rotate(0deg);
		transform-origin: 45% 50%;
	}
}

#R2 {
	position: relative;
}

#LegitPage {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background: radial-gradient(circle at top left, #1f2937 0%, #020617 55%, #000000 100%);
	color: #e5e7eb;
	font-family: Arial, sans-serif;
	z-index: 2;
	overflow: auto;
}

#LegitInner {
	max-width: 960px;
	margin: 0px auto;
	padding: 20px;
}

#LegitTopBar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: linear-gradient(to right, #020617, #0f172a);
	border-radius: 6px;
	padding: 8px 12px;
	margin-bottom: 12px;
	border: 1px solid #1f2937;
	box-shadow: 0px 0px 0px 1px rgba(15, 23, 42, 0.7);
}

#LegitLogo {
	font-weight: bold;
	font-size: 20px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #e5e7eb;
}

#LegitEnv {
	font-size: 12px;
	color: #9ca3af;
}

#LegitLight {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background-color: #22c55e;
	box-shadow: 0px 0px 6px #22c55e;
	margin-right: 4px;
}

#LegitHeaderRow {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 6px;
}

#LegitTitle {
	margin: 0px;
	font-size: 22px;
	color: #e5e7eb;
}

#LegitSubtitle {
	margin: 0px;
	color: #9ca3af;
	font-size: 13px;
}

#LegitUser {
	font-size: 12px;
	color: #9ca3af;
}

#LegitNav {
	font-size: 12px;
	margin: 10px 0px 12px 0px;
	color: #6b7280;
}

#LegitNav span {
	margin-right: 10px;
	cursor: pointer;
	text-decoration: underline;
}

#LegitNav span:first-child {
	color: #e5e7eb;
}

#LegitColumns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 4px;
}

.LegitColumn {
	flex: 1 1 280px;
	min-width: 0px;
}

.LegitCard {
	background: rgba(15, 23, 42, 0.96);
	border-radius: 6px;
	padding: 12px 14px;
	margin-bottom: 12px;
	border: 1px solid #1f2937;
	box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.45);
}

.LegitCardTitle {
	font-size: 15px;
	font-weight: bold;
	margin: 0px 0px 6px 0px;
	color: #e5e7eb;
}

.LegitMeta {
	font-size: 12px;
	color: #6b7280;
	margin-bottom: 8px;
}

.LegitBody {
	line-height: 1.5;
	font-size: 14px;
	margin: 0px 0px 8px 0px;
}

.LegitBadgeOk,
.LegitBadgeWarn {
	display: inline-block;
	padding: 2px 6px;
	border-radius: 999px;
	font-size: 10px;
	margin-left: 4px;
}

.LegitBadgeOk {
	background-color: rgba(22, 163, 74, 0.16);
	color: #4ade80;
}

.LegitBadgeWarn {
	background-color: rgba(234, 179, 8, 0.08);
	color: #facc15;
}

.LegitMetricRow {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	margin: 3px 0px;
}

.LegitMetricLabel {
	color: #9ca3af;
}

.LegitMetricValue {
	color: #e5e7eb;
}

.LegitGraph {
	margin-top: 6px;
	height: 6px;
	border-radius: 999px;
	overflow: hidden;
	background-color: #020617;
	border: 1px solid #111827;
}

.LegitGraphFill {
	width: 68%;
	height: 100%;
	background: linear-gradient(to right, #22c55e, #eab308);
}

#LegitLog {
	background-color: #020617;
	border-radius: 6px;
	padding: 9px 11px;
	border: 1px solid #111827;
	font-family: "Consolas", "SF Mono", Menlo, monospace;
	font-size: 13px;
	color: #a5f3fc;
	max-height: 200px;
	overflow: hidden;
}

.LegitLogLineDim {
	color: #4b5563;
}

.LegitLogLineWarn {
	color: #facc15;
}
