* {
	position: relative;
	box-sizing: border-box;
}
body {margin:0;}
body div:first-child {
	height:100%;
}
#type-selector {
	position: relative;
	z-index: 50;
	padding: 0;
	background: rgb(36,127,181);
	background: linear-gradient(90deg, rgba(36,127,181,1) 0%, rgba(36,140,208,1) 28%, rgba(29,98,153,1) 65%, rgba(0,0,0,1) 100%);
	box-shadow: 11px 0px 9px -4px rgb(0 0 0 / 28%) inset;
	-webkit-box-shadow: 11px 0px 9px -4px rgb(0 0 0 / 28%) inset;
	-moz-box-shadow: 11px 0px 9px -4px rgba(0,0,0,0.28) inset;
}
#address {
	height:40px;
	width:20%;
}
#addSearch {
	margin: 0;
	height: 40px;
	border-radius: 0;
}
#shareMap {
	margin: 5px 20px;
	padding: 0 15px;
	height: 30px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #fff;
	background-color: #ffa837;
	border: none;
	line-height: 30px;
	font-size: 18px;
	cursor:pointer;
	-webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.75);
}
#share {
	position: absolute;
	z-index: 99999;
	background-color: rgba(23,23,23,.75);
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
#share span {
	position: absolute;
	z-index: 10;
	font-size: 28px;
	height: 40px;
	width: 40px;
	line-height: 40px;
	text-align: center;
	font-family: Quicksand;
	top: 50%;
	right: 20%;
	margin-top: -61px;
	background: #efefef;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	-webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.75);
	cursor: pointer;
}
#share textarea {
	position: absolute;
	display: block;
	resize: none;
	width: 100%;
	height: 80px;
	text-align: center;
	line-height: 80px;
	overflow: hidden;
	font-size: 32px;
	top: 50%;
	margin-top: -40px;
	background: #ffa837;
	outline: 0;
	border: 0;
	color: #fefefe;
	font-family: Quicksand;
	cursor:pointer;
}

/* Nation map provider sidebar */
.nat-prov-sidebar {
	position: absolute !important;
	top: 72px;
	left: 12px;
	bottom: auto;
	z-index: 40;
	width: min(300px, calc(100vw - 24px));
	max-height: calc(100vh - 160px);
	background: rgba(16, 24, 40, 0.92);
	color: #f4f7fb;
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	backdrop-filter: blur(6px);
}
.nat-prov-sidebar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 14px 6px;
}
.nat-prov-sidebar__title {
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.02em;
}
.nat-prov-sidebar__count {
	min-width: 28px;
	height: 22px;
	padding: 0 8px;
	border-radius: 999px;
	background: #1a66d9;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.nat-prov-sidebar__hint {
	padding: 0 14px 8px;
	font-size: 11px;
	line-height: 1.35;
	color: #b7c0ce;
}
/* Remove unused sidebar clear styles - button moved to map */
.nat-prov-sidebar__actions {
	padding: 0 14px 8px;
}
.nat-prov-clear {
	display: none !important;
}
.nat-prov-sidebar__list {
	max-height: calc(100vh - 280px);
	overflow-x: hidden;
	overflow-y: auto;
	padding: 0 8px 10px;
}
.nat-prov-item {
	display: block;
	width: 100%;
	text-align: left;
	border: none;
	background: transparent;
	color: #eef3fa;
	padding: 9px 10px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 13px;
	line-height: 1.3;
	margin-bottom: 2px;
}
.nat-prov-item:hover {
	background: rgba(255, 255, 255, 0.08);
}
.nat-prov-item.is-active {
	background: rgba(26, 102, 217, 0.35);
	outline: 1px solid rgba(120, 170, 255, 0.55);
}
.nat-prov-name {
	font-weight: 600;
	color: #eef3fa;
}
.nat-prov-meta {
	display: inline-block;
	margin-left: 6px;
	font-size: 11px;
	color: #9eb0c7;
	font-weight: 500;
}
.nat-prov-empty {
	padding: 12px 10px;
	font-size: 12px;
	color: #9eb0c7;
}

/* Clear selection — top center of map (outside sidebar) */
.nat-prov-clear-map {
	position: absolute !important;
	top: 78px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 45;
	display: none;
	border: 2px solid rgba(255, 255, 255, 0.55);
	background: rgba(26, 102, 217, 0.95);
	color: #fff;
	border-radius: 8px;
	padding: 10px 22px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
	white-space: nowrap;
}
.nat-prov-clear-map:hover {
	background: rgba(15, 79, 190, 0.98);
}
.nat-prov-clear-map:disabled {
	opacity: 0.55;
	cursor: default;
}

@media (max-width: 640px) {
	.nat-prov-sidebar {
		top: auto;
		bottom: 88px;
		left: 8px;
		right: 8px;
		width: auto;
		max-height: 42vh;
	}
	.nat-prov-sidebar__list {
		max-height: 28vh;
	}
	.nat-prov-clear-map {
		top: 70px;
		padding: 9px 16px;
		font-size: 14px;
	}
}
