/* =========================================================
   SINBAD MAINMAP LEFT CONTROLS CLEAN
   map left/search/menu/button/checkbox cleanup
========================================================= */

/* 지도 영역 기준점 */
.map-groub.sinbad-map-stage #map,
.map-groub.sinbad-map-stage .sinbad-map-core,
#map {
	position: relative;
}

/* preview */
#preview {
	position: absolute;
	display: none;

	width: auto;
	max-width: 260px;

	padding: 6px 8px;

	border: 1px solid #cbd5e1;
	border-radius: 8px;

	background: rgba(15,23,42,.92);
	color: #ffffff;

	font-size: 12px;
	line-height: 1.4;

	z-index: 1200;
	box-shadow: 0 10px 24px rgba(15,23,42,.18);
	box-sizing: border-box;
}

/* leaflet zoom slider 보정 */
.leaflet-control-zoomslider-knob {
	width: 14px;
	height: 6px;
}

.leaflet-container .leaflet-control-zoomslider-body {
	-webkit-box-sizing: content-box;
	   -moz-box-sizing: content-box;
	        box-sizing: content-box;
}

/* 좌측 지도 컨트롤 공통 */
.ui-control {
	position: absolute;

	top: 12px !important;
	left: 20% !important;

	padding: 8px !important;

	z-index: 1100 !important;

	background: rgba(255,255,255,.96) !important;
	border: 1px solid rgba(203,213,225,.95) !important;
	border-radius: 12px !important;

	box-shadow: 0 8px 20px rgba(15,23,42,.12) !important;
	box-sizing: border-box !important;
}

/* 검색 UI */
.search-ui {
	position: absolute;

	top: 12px;
	left: 62px;

	width: 240px;
	max-width: calc(100% - 90px);
	height: 40px;

	padding: 0;

	z-index: 1100;

	box-sizing: border-box;
}

/* 좌측 메뉴 */
.menu-ui {
	position: absolute;

	top: 64px;
	left: 12px;

	width: 82px;

	z-index: 1100;

	background: rgba(255,255,255,.96);
	border: 1px solid rgba(203,213,225,.95);
	border-radius: 12px;

	overflow: hidden;
	box-shadow: 0 8px 20px rgba(15,23,42,.12);
	box-sizing: border-box;
}

.menu-ui a {
	display: block;

	margin: 0;
	padding: 9px 6px;

	color: #334155;
	background: #ffffff;

	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;

	border-bottom: 1px solid #e2e8f0;
}

.menu-ui a:first-child {
	border-radius: 12px 12px 0 0;
}

.menu-ui a:last-child {
	border-bottom: 0;
	border-radius: 0 0 12px 12px;
}

.menu-ui a:hover,
.menu-ui a.active {
	background: #eff6ff;
	color: #1d4ed8;
}

/* 숨김 박스 */
.btn_box {
	position: absolute;

	top: 20px;
	right: 12px;

	width: 200px;
	height: auto;

	display: none;

	padding: 10px;

	z-index: 1200;

	background: rgba(255,255,255,.96);
	border: 1px solid rgba(203,213,225,.95);
	border-radius: 12px;

	box-shadow: 0 10px 24px rgba(15,23,42,.16);
	box-sizing: border-box;
}

/* show/hide 버튼 */
.btn_show {
	position: absolute;

	top: 12px;
	right: 12px;

	z-index: 1200;
}

.btn_hide {
	position: absolute;

	top: 6px;
	right: 6px;

	z-index: 1201;
}

/* 입력/에러/길찾기 패널 */
#inputs,
#errors,
#directions {
	position: absolute;

	width: 25%;
	max-width: 300px;
	min-width: 200px;

	box-sizing: border-box;
}

/* 입력 */
#inputs {
	z-index: 1200;

	top: 60px;
	right: 12px;
}

/* 길찾기 */
#directions {
	z-index: 1200;

	top: 120px;
	right: 12px;
	bottom: 12px;

	max-height: calc(100% - 132px);

	overflow: auto;

	background: rgba(15,23,42,.86);
	color: #ffffff;

	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(15,23,42,.18);
}

/* 에러 */
#errors {
	z-index: 1200;

	top: 90px;
	right: 12px;

	padding: 10px;

	opacity: 0;

	background: rgba(239,68,68,.92);
	color: #ffffff;

	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(239,68,68,.2);
}

/* 체크박스는 맵 내부에서만 숨김 */
.map-groub.sinbad-map-stage input[type=checkbox],
#map input[type=checkbox] {
	display: none;
	margin: 1px;
}

/* 체크 버튼 */
.checkbox_btn + label {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: auto;
	min-height: 28px;

	padding: 4px 8px;

	background: #ffffff;
	color: #334155;

	border: 1px solid #cbd5e1;
	border-radius: 999px;

	font-size: 12px !important;
	font-weight: 800;
	line-height: 1.2;

	text-align: center;
	cursor: pointer;

	box-shadow: 0 4px 12px rgba(15,23,42,.06);
	box-sizing: border-box;
}

.checkbox_btn:checked + label {
	background: #2563eb;
	border-color: #2563eb;
	color: #ffffff;
}

/* 마커 */
.marker {
	width: 42px;
	height: 42px;

	background-image: url('');
	background-size: cover;
	background-position: center;

	border-radius: 50%;
	cursor: pointer;

	box-shadow: 0 6px 16px rgba(15,23,42,.18);
}