body { margin: 0; padding: 0; overflow: hidden; font-family: sans-serif; }
#cesiumContainer { width: 100%; height: 100vh; }

/* UI Overlay */
#ui-layer {
	position: absolute;
	top: 20px;
	left: 20px;
	background: rgba(42, 42, 42, 0.9);
	color: white;
	padding: 20px;
	border-radius: 8px;
	width: 300px;
	z-index: 100;
	box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
h2 { margin-top: 0; color: #4db8ff; }
.stats-box { margin-top: 15px; border-top: 1px solid #555; padding-top: 10px; display: none; }
.stat-row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.upload-btn {
	background: #4db8ff; color: #000; padding: 10px; border: none;
	width: 100%; cursor: pointer; font-weight: bold; border-radius: 4px;
	margin-top: 5px;
}
.upload-btn:hover { background: #2a9df4; }

/* Modern File Input */
input[type="file"] {
	display: none;
}
.file-upload-wrapper {
	position: relative;
	margin-bottom: 15px;
}
.file-upload-btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 600;
	font-size: 14px;
	width: 100%;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.file-upload-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}
.file-upload-btn:active {
	transform: translateY(0);
}
.file-name-display {
	margin-top: 8px;
	font-size: 12px;
	color: #aaa;
	text-align: center;
	min-height: 18px;
}
.file-name-display.has-file {
	color: #4db8ff;
	font-weight: 500;
}

#loadingMsg { color: #ffcc00; margin-top: 10px; font-size: 12px; }
#cesiumDebug { color: #ff9999; margin-top: 10px; font-size: 11px; max-height: 80px; overflow-y: auto; }

/* Waypoint Info Panel */
#waypointInfo {
	position: absolute;
	bottom: 20px;
	right: 20px;
	background: rgba(42, 42, 42, 0.95);
	color: white;
	padding: 15px 20px;
	border-radius: 8px;
	max-width: 350px;
	z-index: 100;
	box-shadow: 0 4px 15px rgba(0,0,0,0.5);
	display: none;
}
#waypointInfo h3 {
	margin: 0 0 10px 0;
	color: #4db8ff;
	font-size: 16px;
}
#waypointInfo .info-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 6px;
	font-size: 13px;
}
#waypointInfo .info-row .label {
	color: #999;
	margin-right: 10px;
}
#waypointInfo .info-row .value {
	font-weight: bold;
	text-align: right;
}
#waypointInfo .close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	color: #999;
	font-size: 18px;
	cursor: pointer;
	padding: 0;
	width: 20px;
	height: 20px;
}
#waypointInfo .close-btn:hover {
	color: #fff;
}
.action-item {
	background: rgba(77, 184, 255, 0.2);
	padding: 6px 10px;
	margin: 4px 0;
	border-radius: 4px;
	font-size: 12px;
}
