/* ============================================================
   floormap.css  - フロア表示機能（フロアセレクタパネル）
   ============================================================ */

/*
 * #floormap は menukit.php で全幅ブロックとして置かれるため、
 * 子 #floor_selector 以外の透明領域が左のサイドバー（jstree）と重なり、
 * クリックが意図せず吸われるのを防ぐ。
 */
#floormap {
	pointer-events: none;
}

#floor_selector {
	pointer-events: auto;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	z-index: 1999;
	background: rgba(20, 20, 20, 0.85);
	border-radius: 6px;
	padding: 6px 4px;
}

.floor_btn {
	display: block;
	width: 120px;
	height: 44px;
	line-height: 44px;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	color: #ccc;
	background: #333;
	border-radius: 4px;
	cursor: pointer;
	user-select: none;
	transition: background 0.15s, color 0.15s;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.floor_btn:hover {
	background: #555;
	color: #fff;
}

.floor_btn.active {
	background: #4a9eff;
	color: #fff;
}

.floor_btn.all_floor {
	font-size: 11px;
	color: #aaa;
	border-bottom: 1px solid #555;
	border-radius: 4px 4px 0 0;
	margin-bottom: 2px;
}

.floor_btn.all_floor.active {
	background: #555;
	color: #fff;
}
