/* Pano2VR Styles - Bumping Lake 360 Panorama */

/* === BASE STYLES === */
body, div, h1, h2, h3, span, p {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #000000; 
}

/* Fullscreen layout */
html {
	height: 100%;
}

body {
	height: 100%;
	margin: 0px;
	overflow: hidden; /* disable scrollbars */
	font-size: 10pt;
	background: #000000; 
}

/* Table styles */
table, tr, td {
	font-size: 10pt;
	border-color: #777777;
	background: #dddddd; 
	color: #000000; 
	border-style: solid;
	border-width: 2px;
	padding: 5px;
	border-collapse: collapse;
}

/* Heading styles */
h1 {
	font-size: 18pt;
}

h2 {
	font-size: 14pt;
}

.warning { 
	font-weight: bold;
} 

/* === SCROLLBAR FIXES === */
/* Fix for scroll bars on webkit & Mac OS X Lion */ 
::-webkit-scrollbar {
	background-color: rgba(0, 0, 0, 0.5);
	width: 0.75em;
}

::-webkit-scrollbar-thumb {
	background-color: rgba(255, 255, 255, 0.5);
}

/* === ACCESSIBILITY === */
/* Screen reader only content */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* === STATS TOGGLE BUTTON === */
#stats-toggle {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #ffffff;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	width: 50px;
	height: 50px;
	font-size: 24px;
	cursor: pointer;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

#stats-toggle:hover {
	background: rgba(0, 0, 0, 0.85);
	border-color: rgba(255, 255, 255, 0.5);
	transform: scale(1.05);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

#stats-toggle:active {
	transform: scale(0.95);
}

/* === STATS LEADERBOARD === */
#pano-stats {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: transparent;
	color: #ffffff;
	padding: 8px 16px;
	font-family: 'Courier New', monospace;
	font-size: 13px;
	z-index: 9999;
	text-align: center;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9),
	             -1px -1px 2px rgba(0, 0, 0, 0.8);
	display: flex;
	gap: 20px;
	justify-content: center;
	align-items: center;
	white-space: nowrap;
}

#pano-stats .stat-row {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	line-height: 1.4;
}

#pano-stats .stat-row:first-child {
	margin-top: 0;
}

#pano-stats .stat-row:last-child {
	margin-bottom: 0;
}

#pano-stats .stat-label {
	color: #dddddd;
	font-weight: 400;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9),
	             -1px -1px 2px rgba(0, 0, 0, 0.8);
}

#pano-stats .stat-value {
	color: #00ff88;
	font-weight: bold;
	font-variant-numeric: tabular-nums;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9),
	             -1px -1px 2px rgba(0, 0, 0, 0.8);
}

/* === COPYRIGHT TEXT === */
#copyright {
	position: fixed;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	color: #ffffff;
	font-family: 'Courier New', monospace;
	font-size: 11px;
	z-index: 9998;
	text-align: center;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9),
	             -1px -1px 2px rgba(0, 0, 0, 0.8);
	opacity: 0.8;
}

/* === RESPONSIVE DESIGN === */
/* Mobile optimization */
@media (max-width: 768px) {
	#stats-toggle {
		bottom: 15px;
		right: 15px;
		width: 45px;
		height: 45px;
		font-size: 20px;
	}
	
	#pano-stats {
		bottom: 15px;
		font-size: 11px;
		padding: 6px 12px;
		gap: 12px;
		flex-wrap: wrap;
	}
	
	#pano-stats .stat-row {
		margin: 4px 0;
	}
	
	#copyright {
		font-size: 9px;
		bottom: 8px;
	}
}

/* Tablet optimization */
@media (min-width: 769px) and (max-width: 1024px) {
	#pano-stats {
		font-size: 12px;
	}
	
	#copyright {
		font-size: 10px;
	}
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	#stats-toggle {
		border-width: 1px;
	}
}

/* === PRINT STYLES === */
@media print {
	#pano-stats,
	#stats-toggle,
	#copyright {
		display: none;
	}
}