/* Interactive Map Styles */
.interactive-map-container {
    margin: 20px 0;
    font-family: Arial, sans-serif;
    max-width: 100%;
}

.map-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 auto;
}

.base-map,
.overlay-map {
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.base-map {
    z-index: 1;
    position: relative;
}

.base-map svg {
    width: 100%;
    height: auto;
    display: block;
}

.overlay-map {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.overlay-map svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Region styling */
.map-region {
    cursor: pointer;
    pointer-events: all;
    fill: #fff;
    /*
    transition: all 0.3s ease;
    opacity: 0.8;
    stroke: #fff;
    stroke-width: 1;
    */
}

.map-region:hover {
    opacity: 0.8;
    /*
    opacity: 1;
    filter: brightness(1.1) saturate(1.2);
    stroke-width: 2;
    stroke: #333;
    transform: scale(1.01);
    transform-origin: center;
    */
}

.map-region.selected {
    fill: #743086 !important;
    opacity: 1;
    /*
    stroke: #333;
    stroke-width: 3;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    */
}

/* Content area styling */
.map-content {
    margin-top: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left: 4px solid #743086;
    min-height: 120px;
    transition: all 0.3s ease;
}

.map-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #743086;
    padding-bottom: 10px;
    font-size: 1.4em;
    font-weight: 600;
}

.map-content p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 0;
    font-size: 1.1em;
}

.region-stats {
    margin-top: 15px;
    padding: 15px;
    background: #f0f0f0;
    border-radius: 8px;
    border-left: 3px solid #743086;
}

.region-stats h4 {
    margin: 0 0 10px 0;
    color: #743086;
    font-size: 1.1em;
}

.stat-item {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 5px;
}

.stat-label {
    font-weight: bold;
    color: #666;
}

/* Responsive design */
@media (max-width: 768px) {
    .interactive-map-container {
        width: 100%;
        padding: 0 10px;
    }
    
    .map-content {
        padding: 20px;
        margin-top: 15px;
    }
    
    .stat-item {
        display: block;
        margin-right: 0;
    }
}

.region-label {
    font-family: Work Sans, sans-serif;
    transition: fill 0.3s ease;
    user-select: none;
}

#all-states {
	font-family: Work Sans, sans-serif;
	padding: 12px 20px;
	font-size: 20px;
	font-weight: 700;
	color: #671E75;
	background: #fff;
    border-radius: 50px;
    line-height: 100%;
	box-shadow: 0px 5px 0px 0px #00000012;
	position: absolute;
    bottom: 5%;
	z-index: 9;
}
#all-states:hover,
#all-states.selected {
	color: #fff;
	background: #671E75;
}

.state-content {
	background: #EEE4FD;
	border-radius: 12px;
	padding: 20px;
	font-family: Work Sans, sans-serif;
	height: 100%;
}
.state-content .header {
	display: flex;
	align-items: center;
	gap: .75rem;
	line-height: 1;
	margin-bottom: 1.5rem;
}
.state-content .header span {
	font-size: 36px;
	font-weight: 700;
	color: #671E75;
}
.state-content p {
	font-size: 1rem;
	margin-bottom: 0;
}