.kerala-map-wrap {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
	height: 520px;
	min-height: 420px;
	background: #fff;
	overflow: hidden;
}

#kerala-map {
	flex: 1 1 32%;
	min-width: 0;
	height: 100%;
	background: #fff;
}

#kerala-map.leaflet-container {
	background: #fff;
	font-family: inherit;
}

.kerala-district {
	cursor: pointer;
	transform-box: fill-box;
	transform-origin: center;
	transition: fill-opacity 0.35s ease, stroke 0.35s ease, stroke-width 0.35s ease,
		filter 0.4s ease, transform 0.45s cubic-bezier(0.2, 0.85, 0.2, 1);
}

.kerala-district.is-selected {
	stroke: #08306b;
	stroke-width: 2.5px;
	transform: translateY(-5px) scale(1.05);
	filter: drop-shadow(0 10px 8px rgba(8, 48, 107, 0.38));
	animation: kerala-district-lift 0.45s cubic-bezier(0.2, 0.85, 0.2, 1);
}

.kerala-ripple {
	pointer-events: none;
}

.leaflet-tooltip.kerala-district-label {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #08306b;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.01em;
	padding: 0;
	text-shadow: 0 1px 0 #fff, 0 0 8px #fff;
	pointer-events: none;
	animation: kerala-label-in 0.4s ease;
}

.leaflet-tooltip.kerala-district-label::before {
	display: none;
}

#kerala-map-title.is-fresh {
	animation: kerala-title-in 0.35s ease;
}

#kerala-map-body.is-fresh {
	animation: kerala-fade-in 0.35s ease;
}

@keyframes kerala-district-lift {
	0% {
		transform: translateY(0) scale(1);
		filter: drop-shadow(0 0 0 rgba(8, 48, 107, 0));
	}
	60% {
		transform: translateY(-7px) scale(1.07);
	}
	100% {
		transform: translateY(-5px) scale(1.05);
		filter: drop-shadow(0 10px 8px rgba(8, 48, 107, 0.38));
	}
}

@keyframes kerala-label-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes kerala-title-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes kerala-fade-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.kerala-map-side {
	flex: 1 1 68%;
	min-width: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.kerala-map-stats {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 0;
	height: auto;
	overflow: auto;
	padding: 0 8px 8px 4px;
	color: #4a5568;
}

#kerala-map-title {
	margin: 8px 0 10px;
	font-size: 22px;
	font-weight: 600;
	color: #3d4a5c;
}

.kerala-map-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.kerala-map-table th {
	background: #f3f4f6;
	color: #6b7280;
	font-weight: 600;
	text-align: left;
	padding: 8px 6px;
}

.kerala-map-table td {
	padding: 8px 6px;
	vertical-align: middle;
	border-bottom: 1px solid #f3f4f6;
	font-weight: 600;
}

.kerala-map-count {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-weight: 500;
}

.kerala-map-info {
	border: 0;
	background: transparent;
	color: #3f51b5;
	padding: 0 2px;
	line-height: 1;
	cursor: pointer;
}

.kerala-map-info:focus {
	outline: none;
}

.kerala-map-act,
.kerala-map-split {
	font-weight: 600;
	font-size: 13px;
	padding-left: 10px;
}

.kerala-map-split {
	font-weight: 500;
	padding-left: 18px;
}

@media (max-width: 767px) {
	.kerala-map-wrap {
		flex-direction: column;
		height: auto;
	}

	#kerala-map {
		height: 360px;
		flex: none;
	}

	.kerala-map-side {
		height: auto;
	}

	.kerala-map-stats {
		height: auto;
		max-height: 420px;
	}
}
