.dataInspector {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.inspectorHeader {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
}

.searchInput {
  flex: 1;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: white;
  font-size: 12px;
}

.searchInput::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.actions {
  display: flex;
  gap: 8px;
}

.actionButton {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.2s;
}

.actionButton:hover {
  background: rgba(255, 255, 255, 0.2);
}

.treeContainer {
  overflow-y: auto;
  padding: 10px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.4;
}

.treeNode {
  margin-bottom: 2px;
}

.nodeHeader {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.2s;
}

.nodeHeader:hover {
  background: rgba(255, 255, 255, 0.05);
}

.expandIcon {
  color: #94a3b8;
  font-size: 10px;
  transition: transform 0.2s;
  cursor: pointer;
  user-select: none;
  width: 12px;
  display: inline-block;
}

.expandIcon.expanded {
  transform: rotate(90deg);
}

.leafIcon {
  color: #94a3b8;
  font-size: 8px;
  width: 12px;
  display: inline-block;
  text-align: center;
}

.nodeKey {
  color: #60a5fa;
  font-weight: 500;
}

.nodeValue {
  margin-left: 6px;
  word-break: break-all;
}

.nodeValue.string {
  color: #86efac;
}

.nodeValue.number {
  color: #fbbf24;
}

.nodeValue.boolean {
  color: #a78bfa;
}

.nodeValue.null,
.nodeValue.undefined {
  color: #f87171;
  font-style: italic;
}

.nodeValue.object,
.nodeValue.array {
  color: #94a3b8;
  font-style: italic;
}

.copyButton {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 2px;
  font-size: 10px;
  opacity: 0;
  transition: opacity 0.2s;
}

.nodeHeader:hover .copyButton {
  opacity: 1;
}

.copyButton:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nodeChildren {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: 6px;
}

.highlight {
  background: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
  padding: 1px 2px;
  border-radius: 2px;
}

.noData {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 20px;
  font-style: italic;
}

/* Scrollbar styling */
.treeContainer::-webkit-scrollbar {
  width: 6px;
}

.treeContainer::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.treeContainer::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.treeContainer::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}