* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family:
		-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#map {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

#search-container {
	position: fixed;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1000;
	width: 400px;
	max-width: calc(100% - 108px);
}

#search-input {
	width: 100%;
	padding: 12px 15px;
	font-size: 16px;
	background: white;
	border-radius: 2px;
	border: none;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}

#search-input:focus {
	box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
}

#search-results {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: white;
	border: 1px solid #ccc;
	border-radius: 0 0 8px 8px;
	margin-top: 4px;
	max-height: 300px;
	overflow-y: auto;
	display: none;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#search-results.active {
	display: block;
}

.search-result {
	padding: 10px 15px;
	cursor: pointer;
	border-bottom: 1px solid #eee;
}

.search-result:last-child {
	border-bottom: none;
}

.search-result:hover,
.search-result.highlighted {
	background: #e9ecef;
}

.search-result:focus {
	background: #e9ecef;
	outline: none;
}

.search-result:last-child {
	border-bottom: none;
}

#loading {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 24px;
	z-index: 2000;
	background: white;
	padding: 20px 40px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#loading.hidden {
	display: none;
}
