/* Make inline-edit inputs fit table columns */
.usm-inline-edit,
.usm-inline-edit-url {
  width: 100%;
  max-width: 120px;
  box-sizing: border-box;
  padding: 2px 6px;
  font-size: 1em;
}
#usm-map {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

#usm-map svg {
  display: block;
  max-height: 600px;
}

.usm-tooltip {
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  z-index: 1000;
  min-width: 200px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.usm-field {
  margin-bottom: 5px;
}

.usm-fields {
  margin-bottom: 10px;
}

.usm-metrics {
  border-top: 1px solid #eee;
  padding-top: 10px;
}

#usm-map path {
  transition: fill 0.3s ease;
}

#usm-map path:hover {
  fill: #2E5984 !important;
}

#usm-map path.has-data {
  fill: #4682B4;
}

#usm-map path:not(.has-data) {
  fill: #ddd;
}
