/* CountyMapsHub Leaflet styles */

.cmh-map-container {
    position: relative;
    background: #f7fafc;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.cmh-map-loading,
.cmh-map-error {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 14px/1.4 system-ui, -apple-system, sans-serif;
    color: #4a5568;
    background: #f7fafc;
    z-index: 1;
}

.cmh-map-error {
    color: #c53030;
}

.cmh-tooltip {
    background: rgba(26, 54, 93, 0.95);
    color: #fff;
    border: none;
    padding: 4px 10px;
    font: 600 13px system-ui, sans-serif;
    border-radius: 4px;
}
.cmh-tooltip::before { display: none; }

.cmh-popup {
    font: 14px/1.5 system-ui, sans-serif;
    min-width: 200px;
}
.cmh-popup__title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1a365d;
}
.cmh-popup__row {
    margin: 4px 0;
    color: #2d3748;
}
.cmh-popup__link {
    display: inline-block;
    margin-top: 10px;
    color: #2b6cb0;
    text-decoration: none;
    font-weight: 600;
}
.cmh-popup__link:hover { text-decoration: underline; }
