@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
html,
body {
	margin: 0;
	height: 100%;
	overflow: hidden;
	font-family: 'Open Sans', sans-serif;
}

#app {
	height: 100%;
}

#canvas-container {
	flex: 1;
	position: relative;
	max-height: 100%;
	min-width: 0;
}

#info-panel {
	position: absolute;
	bottom: 30%;
	right: 20px;
	width: 30rem;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 1.5rem;
	box-sizing: border-box;
}

#info-link {
	display: inline-block;
	text-align: right;
	width: 100%;
	color: #f39c37;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 600;
	margin-top: 0.5rem;
}

.info-box {
	display: block;
	opacity: 0;
	width: 100%;
	max-width: 30rem;
	padding: 1.25rem 1.5rem;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.184);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.4);
	transition: opacity 0.4s ease-in-out;
	pointer-events: none;
}

.info-box.visible {
	opacity: 1;
	pointer-events: auto;
}

.info-box h3 {
	margin: 0 0 0.5rem 0;
	font-size: 1.2rem;
	font-weight: 400;
	color: #292c2e;
}

.info-box p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
	color: #5a6265;
}

.info-box h3,
.info-box p,
#info-link {
	opacity: 1;
	transition: opacity 0.4s ease-in-out;
}

.layer-label {
	pointer-events: auto;
	cursor: default;
	position: absolute;
	display: block;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.184);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	font-size: 0.6rem;
	font-weight: 500;
	color: #1d1d1f;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	white-space: nowrap;
	z-index: 10;
	transform: translate(-50%, -50%);
}

canvas {
	width: 100% !important;
	height: auto !important;
	display: block;
	position: relative;
}
