* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	padding: 15px;
	color: #333;
}

/* Modern monospace font stack for numbers and units */
.mono {
	font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono',
		'Source Code Pro', 'Menlo', 'Consolas', monospace;
	font-variant-numeric: tabular-nums;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
}

.header {
	text-align: center;
	margin-bottom: 20px;
	color: white;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.title-section {
	flex: 1;
	text-align: left;
}

.header h1 {
	font-size: 2rem;
	margin-bottom: 5px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header p {
	font-size: 0.95rem;
	opacity: 0.9;
}

.dashboard {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 15px;
	margin-bottom: 15px;
}

.card {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 12px;
	padding: 18px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.card-title {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 15px;
	color: #4a5568;
	display: flex;
	align-items: center;
	gap: 8px;
}

.card-title::before {
	content: '';
	width: 3px;
	height: 16px;
	background: linear-gradient(45deg, #667eea, #764ba2);
	border-radius: 2px;
}

.info-grid {
	display: grid;
	gap: 8px;
}

.info-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 12px;
	background: rgba(102, 126, 234, 0.1);
	border-radius: 6px;
	border-left: 2px solid #667eea;
}

.info-label {
	font-weight: 500;
	color: #4a5568;
}

.info-value {
	font-weight: 600;
	color: #2d3748;
	font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono',
		'Source Code Pro', 'Menlo', 'Consolas', monospace;
	font-variant-numeric: tabular-nums;
	background: rgba(255, 255, 255, 0.8);
	padding: 4px 8px;
	border-radius: 4px;
	letter-spacing: 0.5px;
}

.zoom-indicator {
	display: flex;
	gap: 12px;
	text-align: center;
	background: rgba(255, 255, 255, 0.1);
	padding: 12px 16px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	min-width: 200px;
}

.zoom-item {
	flex: 1;
	min-width: 0;
}

.zoom-level {
	font-size: 1.5rem;
	font-weight: bold;
	color: white;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	margin-bottom: 2px;
	line-height: 1;
	font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono',
		'Source Code Pro', 'Menlo', 'Consolas', monospace;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.5px;
}

.zoom-text {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.75rem;
	line-height: 1;
}

.zoom-level-small {
	font-size: 1.2rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	margin-bottom: 2px;
	line-height: 1;
	font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono',
		'Source Code Pro', 'Menlo', 'Consolas', monospace;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.5px;
}

.zoom-text-small {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.65rem;
	line-height: 1;
}

.status-indicator {
	position: fixed;
	top: 15px;
	right: 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.9);
	padding: 8px 10px;
	border-radius: 16px;
	font-size: 0.8rem;
	font-weight: 600;
	color: #4a5568;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	min-width: 85px;
}

.status-text {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
}

.refresh-btn {
	padding: 4px 8px;
	background: linear-gradient(45deg, #667eea, #764ba2);
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 0.7rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
	margin: 0;
	width: 100%;
}

.refresh-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 3px 12px rgba(102, 126, 234, 0.4);
}

.live-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	background: #48bb78;
	border-radius: 50%;
	margin-right: 4px;
	animation: pulse 2s infinite;
}

/* Info button styles */
.info-button {
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: white;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 1rem;
	font-weight: bold;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.info-button:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
	box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Modal styles */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 50000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	backdrop-filter: blur(5px);
}

.modal-overlay.show {
	opacity: 1;
	visibility: visible;
}

.modal {
	background: white;
	border-radius: 16px;
	max-width: 800px;
	max-height: 90vh;
	width: 90%;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	transform: translateY(20px) scale(0.95);
	transition: all 0.3s ease;
}

.modal-overlay.show .modal {
	transform: translateY(0) scale(1);
}

.modal-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 20px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-title {
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0;
}

.modal-close {
	background: none;
	border: none;
	color: white;
	font-size: 1.5rem;
	cursor: pointer;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.2s ease;
}

.modal-close:hover {
	background: rgba(255, 255, 255, 0.2);
}

.modal-content {
	padding: 24px;
	overflow-y: auto;
	max-height: calc(90vh - 80px);
}

.info-section {
	margin-bottom: 24px;
}

.info-section h3 {
	color: #4a5568;
	font-size: 1.2rem;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid #e2e8f0;
}

.info-section p {
	color: #718096;
	line-height: 1.6;
	margin-bottom: 8px;
}

.info-section ul {
	color: #718096;
	line-height: 1.6;
	margin-left: 20px;
}

.info-section li {
	margin-bottom: 4px;
}

.highlight-demo {
	background: linear-gradient(135deg, #667eea20, #764ba220);
	border: 2px solid #667eea;
	border-radius: 8px;
	padding: 12px;
	margin: 8px 0;
	font-family: monospace;
	font-size: 0.9rem;
}

@keyframes pulse {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		opacity: 1;
	}
}

@media (max-width: 768px) {
	.dashboard {
		grid-template-columns: 1fr;
	}

	.header h1 {
		font-size: 1.75rem;
	}

	.header p {
		font-size: 0.9rem;
	}

	.header-content {
		flex-direction: column;
		text-align: center;
		gap: 15px;
	}

	.title-section {
		text-align: center;
	}

	.info-button {
		width: 28px;
		height: 28px;
		font-size: 0.9rem;
	}

	.modal {
		width: 95%;
		max-height: 85vh;
	}

	.modal-content {
		padding: 20px;
	}

	.info-section {
		margin-bottom: 20px;
	}

	.zoom-indicator {
		text-align: center;
		min-width: auto;
		width: 100%;
		flex-direction: row;
		gap: 8px;
		padding: 10px 14px;
	}

	.zoom-level {
		font-size: 1.3rem;
	}

	.zoom-level-small {
		font-size: 1.1rem;
	}

	.zoom-text,
	.zoom-text-small {
		font-size: 0.65rem;
	}

	.card {
		padding: 15px;
	}

	.card-title {
		font-size: 1.1rem;
		margin-bottom: 12px;
	}

	.info-item {
		padding: 7px 10px;
	}

	.status-indicator {
		top: 10px;
		right: 10px;
		padding: 6px 8px;
		min-width: 75px;
	}

	.status-text {
		font-size: 0.7rem;
	}

	.refresh-btn {
		padding: 3px 6px;
		font-size: 0.65rem;
	}
}
