* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Microsoft YaHei", sans-serif;
	display: flex;
	height: 100vh;
	overflow: hidden;
	position: relative;
}

.sidebar {
	position: absolute;
	width: 400px;
	height: calc(100% - 32px);
	left: 20px;
	top: 20px;
	background-color: #f5f7fa;
	border-right: 1px solid #dcdcdc;
	box-shadow: 0 0 16px #999;
	border-radius: 5px;
	z-index: 10;
	transition: height 0.3s ease;
	padding-top: 60px;
	overflow: hidden;
}

.sidebar-header {
	height: 60px;
	line-height: 60px;
	background: #CD2626;
	color: #fff;
	padding: 0 12px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 20;
}

.sidebar-header .title {
	font-size: 16px;
	font-weight: 500;
}

.sidebar-header .fold_maplist {
	cursor: pointer;
	font-size: 18px;
}

.list-view {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.search-container {
	padding: 0 20px 15px;
	flex-shrink: 0;
	/* 不被挤压 */
	margin-top: 20px;
}

.search-box {
	display: flex;
	gap: 10px;
	margin-bottom: 8px;
}

.search-input {
	flex: 1;
	height: 40px;
	padding: 0 15px;
	border: 1px solid #e0e6ed;
	border-radius: 20px;
	outline: none;
	font-size: 14px;
}

.search-input:focus {
	border-color: #CD2626;
	box-shadow: 0 0 0 2px rgba(205, 38, 38, 0.1);
}

.search-btn {
	width: 80px;
	height: 40px;
	background: #CD2626;
	color: white;
	border: none;
	border-radius: 20px;
	cursor: pointer;
	font-size: 14px;
}

.search-btn:hover {
	background: #b02020;
}

.search-tips {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: #999;
}

.clear-search {
	color: #CD2626;
	cursor: pointer;
}

.search-stats {
	padding: 0 20px 10px;
	font-size: 13px;
	color: #6c7a8d;
	flex-shrink: 0;
}

.location-list {
	list-style: none;
	padding: 0 10px 20px;
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: thin;
}

.location-list::-webkit-scrollbar {
	width: 6px;
}

.location-list::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 3px;
}

.location-list::-webkit-scrollbar-thumb {
	background: #cd9b9b;
	border-radius: 3px;
}

.location-list::-webkit-scrollbar-thumb:hover {
	background: #CD2626;
}

.location-item {
	padding: 14px 20px;
	margin: 10px 0;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
	cursor: pointer;
	transition: all 0.2s ease;
	border: 1px solid #e9ecf0;
	display: flex;
	flex-direction: column;
}

.location-item:hover {
	background-color: #cd9b9b;
	border-left-color: #1E6DF0;
	transform: translateY(-1px);
	box-shadow: 0 6px 12px rgba(30, 109, 240, 0.1);
	border-color: #CD2626;
}

.location-item:hover .name {
	color: #CD2626;
}

.location-item:hover .urban-area {
	color: #CD5C5C;
}

.location-item .name {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 1px;
	margin-bottom: 6px;
}

.location-item .coord {
	font-size: 13px;
	color: #6c7a8d;
	letter-spacing: 0.3px;
	background: #f2f6fc;
	padding: 4px 8px;
	border-radius: 20px;
	align-self: flex-start;
	margin-top: 4px;
}

.location-item.active {
	background-color: #cd9b9b;
	border-left: 4px solid #CD2626;
	border-color: #CD2626;
	color: #fff;
}

.location-item.active .name {
	color: #CD2626;
}

.location-item.active .urban-area {
	color: #CD5C5C;
}

.urban-area {
	font-size: 14px;
	color: #999;
}

.more-btn {
	align-self: flex-end;
	margin-top: 10px;
	padding: 4px 10px;
	background: #CD2626;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 12px;
	cursor: pointer;
}

.more-btn:hover {
	background: #b02020;
}

.no-results {
	padding: 20px;
	text-align: center;
	color: #999;
	font-size: 14px;
}

.highlight {
	color: #CD2626;
	font-weight: bold;
}

.detail-view {
	display: none;
	padding: 20px;
	height: 100%;
	overflow-y: auto;
}

.detail-card {
	background: white;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.detail-title {
	font-size: 20px;
	color: #CD2626;
	font-weight: 600;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.detail-item {
	margin-bottom: 15px;
	display: flex;
	align-items: flex-start;
}

.detail-label {
	width: 80px;
	color: #666;
	font-weight: 500;
	flex-shrink: 0;
}

.detail-value {
	flex: 1;
	color: #333;
	line-height: 1.5;
}

.back-btn {
	margin-top: 20px;
	width: 100%;
	padding: 10px;
	background: #CD2626;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
}

.back-btn:hover {
	background: #b02020;
}

.fold {
	height: 60px !important;
	overflow: hidden;
}

#map-container {
	flex: 1;
	height: 100%;
	background-color: #eef3f8;
	/* margin-left: 390px; */
}

.info-tip {
	position: absolute;
	bottom: 20px;
	right: 20px;
	background: rgba(0, 0, 0, 0.6);
	color: white;
	padding: 8px 16px;
	border-radius: 40px;
	font-size: 13px;
	z-index: 100;
	backdrop-filter: blur(5px);
	pointer-events: none;
}

.amap-info-content {
	background: #CD2626;
	border-radius: 6px;
}

.bottom-center .amap-info-sharp {
	border-top: 8px solid #CD2626;
}

.amap-info-close {
	display: none;
}

.dtsj_list {
	display: none;
}