/* ThinkaBell JSON Formatter — tool-specific styles */
/* Extracted from json-formatter.js inline styles */

.jf-line-num {
  font-variant-numeric: tabular-nums;
}

.json-string {
  color: #16a34a;
}

.json-number {
  color: #2563eb;
}

.json-boolean {
  color: #9333ea;
}

.json-null {
  color: #dc2626;
}

.json-key {
  color: #ea580c;
}

/* Tree View Styles */
.jf-tree-mode .jf-line-num {
  display: none;
}

.jf-tree-root {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace);
  font-size: 0.85rem;
  line-height: 1.6;
}

.jf-tree-node {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0;
  border-radius: 2px;
  transition: background-color 0.1s;
}

.jf-tree-node:hover {
  background-color: var(--bg-muted, #f1f5f9);
}

.jf-tree-toggle {
  width: 1rem;
  text-align: center;
  font-size: 0.65rem;
  color: var(--slate, #64748b);
  flex-shrink: 0;
}

.jf-tree-bracket,
.jf-tree-brace {
  color: var(--slate, #64748b);
  font-weight: 600;
}

.jf-tree-count {
  color: var(--slate, #64748b);
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

.jf-tree-children {
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s;
}

.jf-tree-property {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0;
  cursor: pointer;
  border-radius: 2px;
}

.jf-tree-property:hover {
  background-color: var(--bg-muted, #f1f5f9);
}

.jf-tree-key {
  color: #ea580c;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.1s;
}

.jf-tree-key:hover {
  color: #c2410c;
  text-decoration: underline;
}

.jf-tree-value {
  cursor: pointer;
  padding: 0.125rem 0;
}

.jf-tree-value.json-string {
  color: #16a34a;
}

.jf-tree-value.json-number {
  color: #2563eb;
}

.jf-tree-value.json-boolean {
  color: #9333ea;
}

.jf-tree-value.json-null {
  color: #dc2626;
}

#jf-path-display {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace);
  background: var(--bg-muted, #f1f5f9);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm, 0.375rem);
  word-break: break-all;
}
