/* Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #2A303C;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #4B5563;
}

/* Tabs */
.nav-tab {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6B7280;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    margin-bottom: -1px;
}

.nav-tab:hover {
    color: #D1D5DB;
    background-color: rgba(255, 255, 255, 0.02);
}

.nav-tab.active {
    color: #10B981;
    border-bottom-color: #10B981;
    background-color: rgba(16, 185, 129, 0.05);
}

.tab-pane.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

/* Tree UI Lines */
.tree-node-border {
    position: relative;
}

.tree-node-border::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: -10px;
    width: 1px;
    background-color: #2A303C;
    z-index: 0;
}

.tree-node-border:last-child::before {
    bottom: calc(100% - 20px);
}

.tree-indent-line {
    position: relative;
}

.tree-indent-line::after {
    content: '';
    position: absolute;
    left: -13px;
    top: 15px;
    width: 10px;
    height: 1px;
    background-color: #2A303C;
}

/* Base resets */
input:focus,
select:focus {
    box-shadow: 0 0 0 1px #10B981 !important;
}

.pt-safe {
    padding-top: env(safe-area-inset-top);
}

/* Syntax highlighting basic colors for JSON */
.json-key {
    color: #79c0ff;
}

.json-string {
    color: #a5d6ff;
}

.json-number {
    color: #ff7b72;
}

.json-boolean {
    color: #79c0ff;
    font-weight: bold;
}

.json-null {
    color: #8b949e;
    italic;
}

pre {
    margin: 0;
}