#midwife-map-container {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 5px;
}

h1 {
    text-align: center;
    color: #2c5282;
    margin-bottom: 10px;
}

.instructions {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

#jlm-midwife-map {
    height: 80vh;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #2c5282;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.province-popup {
    max-width: 300px;
}

.province-popup h3 {
    margin: 0 0 10px 0;
    color: #2c5282;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 5px;
}

.province-popup p {
    margin: 5px 0;
    font-size: 12px;
}

.province-layer {
    fill-opacity: 0.7;
    stroke: #2c5282;
    stroke-width: 2;
}

.province-layer:hover {
    fill-opacity: 0.9;
}

.legend {
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.legend h4 {
    margin: 0 0 10px 0;
    color: #2c5282;
}

.controls {
    text-align: center;
    margin: 20px 0;
}

.control-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.control-btn:hover {
    background: #2c5282;
}

.province-tooltip {
    background: rgba(255, 255, 255, 0.65);
    padding: 2px 4px;
    margin-top: 14px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    font-size: 0.5rem !important;
}
