* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: fixed;
	top: 0;
	left: 0;
	background: #f0f0f0;
}

#map {
	width: 100%;
	height: 100%;
}

.layer-control {
	position: absolute;
	bottom: 10px;
	right: 50px;
	background: rgba(0, 43, 113, 0.55);
	padding: 5px;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	font-size: 10px;
	display: flex;
	flex-direction: column;
	opacity: 0;
	transform: translateX(10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
	color: #fff;
}

.layer-control.show {
	opacity: 1;
	transform: translateX(0);
	pointer-events: auto;
}

.layer-control label {
	display: flex;
	align-items: center;
	margin: 6px 0;
	cursor: pointer;
	color: #fff;
}

.layer-control input[type="checkbox"] {
	margin-right: 8px;
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.verification-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.verification-box {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.verification-box h3 {
	margin-bottom: 20px;
	color: #333;
	font-size: 18px;
}

.verification-box #verificationInput {
	width: 200px;
	height: 25px;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	margin-bottom: 15px;
}

.verification-box button {
	padding: 10px 30px;
	background: #007aff;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}

.verification-box button:hover {
	background: #0056b3;
}

.verification-error {
	color: #ff3b30;
	font-size: 12px;
	margin-top: 10px;
}

.icon-btn {
	min-width: 30px;
	max-width: 150px;
	height: 30px;
	padding: 0 8px;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	cursor: pointer;
	border: none;
	outline: none;
	background: rgba(255, 255, 255, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
	transition: background 0.2s ease;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.icon-btn:hover {
	background: rgba(240, 240, 240, 0.95);
}

.icon-btn.active {
	background: #007aff;
	color: #fff;
}

.btn-group {
	position: absolute;
	top: 10px;
	left: 10px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	z-index: 1000;
}

.toggle-btn {
	align-self: flex-start;
}

.toggle-btn svg {
	transition: transform 0.3s ease;
}

.btn-group.collapsed .toggle-btn svg {
	transform: rotate(90deg);
}

.btn-group-items {
	display: flex;
	flex-direction: column;
	gap: 8px;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
	max-height: 500px;
	overflow: hidden;
}

.btn-group.collapsed .btn-group-items {
	opacity: 0;
	transform: translateY(-10px);
	max-height: 0;
	pointer-events: none;
}

.basemap-btn-wrapper {
	position: absolute;
	bottom: 10px;
	right: 10px;
	z-index: 1000;
}

#dynamic-layer-control {
	position: absolute;
	top: 10px;
	left: 50px;
	background: rgba(0, 43, 113, 0.55);
	padding: 5px;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	font-size: 10px;
	display: flex;
	flex-direction: column;
	max-height: 400px;
	overflow-y: auto;
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
	color: #fff
}

#airport-control {
	position: absolute;
	top: 10px;
	left: 50px;
	background: rgba(0, 43, 113, 0.55);
	padding: 5px;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	font-size: 10px;
	display: flex;
	flex-direction: column;
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
	color: #fff;
	overflow: visible;
}

#dynamic-layer-control.show {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

#airport-control.show {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

#dynamic-layer-control label {
	display: flex;
	align-items: center;
	margin: 6px 0;
	cursor: pointer;
	color: #fff
}

#dynamic-layer-control input[type="checkbox"] {
	margin-right: 16px;
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.feature-info {
	position: absolute;
	bottom: 10px;
	left: 10px;
	z-index: 9999;
	background: rgba(0, 43, 113, 0.55);
	border-radius: 8px;
	padding: 5px;
	min-width: 150px;
	max-width: 200px;
	max-height: 300px;
	overflow-y: auto;
	display: none;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.feature-info-title {
	font-size: 12px;
	font-weight: bold;
	color: #4CAF50;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	padding-bottom: 8px;
	margin-bottom: 8px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.feature-info-close {
	cursor: pointer;
	color: #fff;
	font-size: 14px;
	line-height: 1;
}

#feature-content {
	font-size: 10px;
	line-height: 1.8;
}

#feature-content div {
	display: flex;
	justify-content: space-between;
	padding: 2px 0;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

#feature-content div span:first-child {
	color: #90CAF9;
}

#feature-content div span:last-child {
	color: #E1BEE7;
	font-weight: 500;
}

/*坐标信息框样式*/
.coordinate-info {
	position: absolute;
	bottom: 95px;
	right: 10px;
	z-index: 9999;
	background: rgba(0, 43, 113, 0.5);
	border-radius: 6px;
	padding: 8px 12px;
	font-size: 12px;
	color: white;
	display: none;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.coordinate-info div {
	margin: 2px 0;
}

.coordinate-info span {
	color: #4CAF50;
	font-weight: bold;
}

.search-panel {
	position: absolute;
	top: 10px;
	right: 10px;
	max-width: 280px;
	max-height: 500px;
	background: rgba(0, 43, 113, 0.5);
	border-radius: 8px;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
	z-index: 10000;
	display: none;
	overflow: hidden;
}

.search-panel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 5px;
	background: rgba(0, 158, 247, 0.3);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.search-panel-title {
	font-size: 14px;
	font-weight: bold;
	color: #fff;
}

.search-panel-close {
	font-size: 20px;
	color: #fff;
	cursor: pointer;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.3s;
}

.search-panel-close:hover {
	background: rgba(255, 255, 255, 0.2);
}

.search-panel-controls {
	display: flex;
	gap: 15px;
	padding: 10px 15px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-panel-control {
	display: flex;
	align-items: center;
	color: #fff;
	font-size: 12px;
}

.search-panel-control input[type="checkbox"] {
	margin-right: 5px;
}

.search-panel-search {
	padding: 10px 15px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-panel-search input {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 13px;
	box-sizing: border-box;
}

.search-panel-search input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.search-panel-search input:focus {
	outline: none;
	border-color: rgba(0, 158, 247, 0.6);
	background: rgba(255, 255, 255, 0.15);
}

.search-panel-results {
	max-height: 300px;
	overflow-y: auto;
	padding: 5px 0;
}

.search-result-item {
	display: flex;
	align-items: center;
	padding: 8px 15px;
	cursor: pointer;
	transition: background 0.2s;
}

.search-result-item:hover {
	background: rgba(0, 158, 247, 0.3);
}

.search-result-type {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 11px;
	margin-right: 10px;
	background: rgba(0, 158, 247, 0.5);
	color: #fff;
}

.search-result-name {
	color: #fff;
	font-size: 13px;
}

.search-no-results {
	padding: 20px 15px;
	text-align: center;
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
}

#airport-control .airport-search-wrapper {
	position: relative;
	width: 180px;
}

.airport-selected-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 6px;
}

.airport-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: rgba(0, 122, 255, 0.8);
	color: #fff;
	font-size: 11px;
	padding: 2px 6px;
	border-radius: 3px;
}

.airport-tag-remove {
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	opacity: 0.8;
}

.airport-tag-remove:hover {
	opacity: 1;
}

.airport-search-input {
	width: 100%;
	padding: 5px 8px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 11px;
	outline: none;
}

.airport-search-input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.airport-search-input:focus {
	border-color: rgba(0, 122, 255, 0.8);
	background: rgba(255, 255, 255, 0.25);
}

.airport-search-results {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 100%;
	width: auto;
	max-height: none;
	background: rgba(0, 43, 113, 0.95);
	border-radius: 0 0 3px 3px;
	z-index: 10;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.airport-result-item {
	padding: 6px 8px;
	cursor: pointer;
	color: #fff;
	font-size: 11px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.airport-result-item:hover {
	background: rgba(0, 122, 255, 0.5);
}

.airport-result-item.selected {
	color: rgba(255, 255, 255, 0.4);
}

.airport-no-result {
	padding: 6px 8px;
	color: rgba(255, 255, 255, 0.5);
	font-size: 11px;
	text-align: center;
}