/* 主容器样式 */
.main-container {
	display: flex;
	flex-direction: column;
}

/* 图片容器样式 */
.image-container {
	position: relative;
	width: 100vw;
	height: auto;
	overflow: hidden;
	flex-grow: 1;
}

/* 基础图片样式 */
.image_a {
	display: block;
	width: 100%;
	height: auto;
	position: relative;
	z-index: 1;
}

/* 标记点样式 - 以中心点定位 */
.marker {
	position: absolute;
	width: 45px;
	height: 45px;
	z-index: 2;
	pointer-events: none;
	transform: translate(-50%, -50%);
}

/* 建筑图片样式 */
.image_b {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	z-index: 3;
}

/* 放大镜样式 */
.magnifier {
	position: fixed; /* 改为fixed定位，不受滚动影响 */
	width: 200px;
	height: 200px;
	border-radius: 50%;
	border: 2px solid white;
	background-repeat: no-repeat;
	z-index: 10;
	display: none;
	pointer-events: none;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	overflow: hidden;
}

/* 放大镜内容 */
.magnifier-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* 放大镜内的基础图片 */
.magnifier-base {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
}

/* 放大镜内的标记图片 */
.magnifier-marker {
	position: absolute;
	background-size: contain;
	background-repeat: no-repeat;
	transform: translate(-50%, -50%);
}

/* 放大镜内的建筑图片 */
.magnifier-building {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0.5;
}

/* 控制面板样式 */
.controls {
	position: relative;
	background: rgba(0,0,0,0.7);
	padding: 10px 20px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 20px auto;
	width: fit-content;
	z-index: 1;
}

/* 缩放滑块样式 */
#zoomLevel {
	width: 150px;
	margin: 0 10px;
}

/* 缩放值显示样式 */
.zoom-value {
	color: white;
	min-width: 40px;
	text-align: center;
}

/* 模式切换按钮容器 */
.mode-switcher {
	display: flex;
	justify-content: center;
	padding: 8px;
	background-color: #444;
	gap: 8px;
}

/* 模式按钮样式 */
.mode-btn {
	padding: 8px 16px;
	border: none;
	border-radius: 4px;
	background-color: #666;
	color: white;
	cursor: pointer;
	transition: all 0.1s;
}

/* 激活的按钮样式 */
.mode-btn.active {
	background-color: #1a73e8;
	font-weight: bold;
}

/* 水印样式 */
.watermark {
	position: absolute;
	color: rgba(255, 255, 255, 0.7);
	font-size: 16px;
	font-weight: bold;
	z-index: 4;
	pointer-events: none;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 右上角水印 */
.watermark.top-right {
	top: 30px;
	right: 30px;
}

/* 左下角水印 */
.watermark.bottom-left {
	bottom: 30px;
	left: 30px;
}