/* V16 Map Styles */
#v16map {
    width: 100%;
    height: 70vh;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
    z-index: 1;
}

.v16-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.v16-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.v16-chip.active {
    background-color: #dc2626; /* Red for active incidents */
}

.v16-chip.recent {
    background-color: #f59e0b; /* Amber for recent incidents */
}

.v16-chip span {
    margin-left: 0.5rem;
    font-weight: 700;
}

#v16_updated {
    margin-left: auto;
    font-size: 0.8rem;
    color: #6b7280;
}

/* Popup Styles */
.leaflet-popup-content {
    font-family: inherit;
    line-height: 1.5;
}

.v16-popup-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #111827;
}

.v16-popup-meta {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.v16-popup-link {
    display: inline-block;
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
}

.v16-popup-link:hover {
    text-decoration: underline;
}

.v16-loading {
    opacity: 0.6;
    pointer-events: none;
}
