/*
 *
 *  This is file is part of DGL's tech stack.
 *
 *  @copyright (c) 2024, Deadan Group Limited (DGL).
 *  @link https://www.dgl.co.ke/apps
 *  All rights reserved.
 *
 *  <code>Build something people want!</code>
 *
 *  Kenya Interactive Map Styles
 */

.kenya-map-container {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: #e8f4f8;
}

.kenya-map-container .leaflet-container {
    font-family: inherit;
}

/* Metric toggle buttons */
.map-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.map-controls .btn-group .btn {
    font-size: 12px;
    padding: 4px 12px;
}

.map-controls .map-position-filter {
    font-size: 12px;
    max-width: 180px;
}

/* Legend overrides for portal/dashboard context */
.kenya-map-container .info.legend {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Loading state */
.kenya-map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 768px) {
    .kenya-map-container {
        min-height: 300px;
    }

    .map-controls {
        flex-wrap: wrap;
    }
}
