.nllm-wrap {
  position: relative;
  width: 100%;
  margin: 1rem 0;
  font: inherit;
}

.nllm-map {
  width: 100%;
  min-height: 260px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2f3;
}

.nllm-loading,
.nllm-error {
  margin-top: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: #f5f5f5;
}

.nllm-error {
  border-left: 4px solid #b32d2e;
}

.nllm-info {
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  background: #fff;
}

.nllm-info-main,
.nllm-details {
  display: flex;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.nllm-info-main {
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.nllm-details {
  font-size: 0.92em;
  opacity: 0.85;
}

.nllm-age {
  font-size: 0.92em;
  opacity: 0.75;
}

.nllm-refresh {
  margin-top: 0.75rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid currentColor;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nllm-refresh:disabled {
  opacity: 0.5;
  cursor: wait;
}

@media (max-width: 600px) {
  .nllm-map {
    border-radius: 8px;
  }
  .nllm-info-main,
  .nllm-details {
    display: block;
  }
  .nllm-details span,
  .nllm-age {
    display: block;
    margin-top: 0.25rem;
  }
}


/* Basemap selector (Leaflet layers control) */
.nllm-wrap .leaflet-control-layers {
  font: inherit;
}

.nllm-wrap .leaflet-control-layers-expanded {
  min-width: 155px;
}

.nllm-wrap .leaflet-control-layers label {
  margin: 0.2rem 0;
  line-height: 1.35;
}
