:root {
	--brand: #0f4c81;
	--border: #e5e7eb;
	--muted: #6b7280;
	--bg: #f8fafc;
	--card: #ffffff;
}


.sidebar {
	height: 100vh;
	min-height: 0;
	overflow: hidden;
	background: var(--card);
	border-right: 1px solid var(--border);
	display: flex;
	flex-direction: column;
}

.controls {
	flex: 0 0 auto;
	padding: 14px 18px;
	border-bottom: 1px solid var(--border);
	display: grid;
	gap: 10px;
}

.count {
	font-size: 13px;
	color: var(--muted);
}

.legend {
	display: flex;
	gap: 7px;
	flex-wrap: wrap;
	padding-top: 2px;
	max-height: 74px;
	overflow: auto;
}

.legend-item {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	color: #374151;
	background: #f3f4f6;
	padding: 4px 7px;
	border-radius: 999px;
}

.dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
}

.list {
	overflow-y: auto;
	overflow-x: hidden;
	padding: 15px;
	flex: 1 1 auto;
	min-height: 0;
	overscroll-behavior: auto;
}

.card {
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 13px;
	margin-bottom: 10px;
	background: #fff;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
	border-radius: 0 !important;
}

.card:hover {
	border-color: #bbbbbb;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
	transform: translateY(-1px);
}

.card.active {
    border-color: #bbbbbb;
    box-shadow: 0 0 0 3px #bbbbbb2e;
    background: #f8f8f8;
}

.card-top {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.pin-dot {
	flex: 0 0 13px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	margin-top: 3px;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
}

.card h2 {
	margin: 0;
	font-size: 15px;
	line-height: 1.25;
}

.meta {
	color: var(--muted);
	font-size: 12px;
	margin-top: 5px;
	line-height: 1.4;
}

.badge {
	display: inline-block;
	margin-top: 8px;
	padding: 4px 8px;
	border-radius: 999px;
	font-size: 11px;
	color: #fff;
	font-weight: 400 !important;
}

.map-wrap {
	position: relative;
	min-width: 0;
	height: 100vh;
	overflow: hidden;
}

#map {
	width: 100%;
	height: 100%;
}

.map-tools {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 5;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.btn2 {
	border: 0;
	background: #fff;
	color: #111827;
	padding: 8px;
	border-radius: 0px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
	cursor: pointer;
	font-weight: 600;
	font-size: 13px;
}

.btn2:hover {
	background: #f3f4f6;
}

.info {
	min-width: 240px;
	max-width: 320px;
	font-size: 13px;
	line-height: 1.45;
}

.info-title {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 5px;
}

.info-muted {
	color: #4b5563;
}

.info a {
	color: var(--brand);
	font-weight: 400;
	text-decoration: none;
}

.info-list {
	margin-top: 8px;
	display: grid;
	gap: 7px;
}

.info-item {
	padding: 8px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
}

.info-item.active {
	border-color: var(--brand);
	background: #f0f7ff;
	box-shadow: 0 0 0 2px rgba(15, 76, 129, .10);
}

.custom-marker {
	width: 30px;
	height: 30px;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	border: 2px solid #fff;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .28);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .15s ease, box-shadow .15s ease;
	position: relative;
}

.custom-marker::after {
	content: '';
	width: 9px;
	height: 9px;
	background: #fff;
	border-radius: 50%;
	display: block;
}

.custom-marker.multi::after {
	content: attr(data-count);
	width: 18px;
	height: 18px;
	transform: rotate(45deg);
	font-size: 10px;
	font-weight: 700;
	color: #111827;
	display: flex;
	align-items: center;
	justify-content: center;
}

.custom-marker.highlight {
	transform: rotate(-45deg) scale(1.35);
	box-shadow: 0 0 0 5px rgba(15, 76, 129, .20), 0 8px 22px rgba(0, 0, 0, .35);
	z-index: 999;
}

.multi-type {
	background: conic-gradient(#0B63CE, #188038, #F29900, #8E24AA, #D93025, #0B63CE);
}

.empty {
	padding: 25px;
	color: var(--muted);
	text-align: center;
	font-size: 14px;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--brand);
    font-weight: 400;
    text-decoration: none;
}

.phone-icon {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
}

.info a {
    color: var(--brand);
    font-weight: 400;
    text-decoration: none;
}

.gm-style .gm-style-iw-c {
    padding: 12px 16px !important;
}
.info .badge {
    margin-top: 0;
}
.info .badge-row {
    margin: 6px 0;
}
.gm-style .gm-style-iw-chr {
    position: absolute !important;
    top: 4px;
    right: 4px;
    z-index: 2;
    height: auto !important;
    min-height: 0 !important;
}

.gm-style{
	font-family: var(--krowd-heading-font-family) !important;
}

.padding-left-0 {
	padding-left: 0 !important;
}

.padding-right-0 {
	padding-right: 0 !important;
}

.filiter-block {
    padding-bottom: 30px;
}

@media (max-width: 900px) {

	.sidebar {
		height: 42vh;
		min-height: 0;
		border-right: 0;
		border-bottom: 1px solid var(--border);
	}

	.map-wrap {
		height: 58vh;
	}

	.controls {
		padding: 10px 14px;
	}

	.list {
		padding: 8px 10px;
	}

	.map-tools {
		top: 10px;
		left: 10px;
	}
}