.intelligence-toolbar {
    width: 50px;
    height: 100%;
    background: #0D0D0D;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem 0;
    align-items: center;
    z-index: 20;
    box-shadow: inset -2px 0 10px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}


.toolbar-top, .toolbar-middle, .toolbar-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.toolbar-item {
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    position: relative;
}

.toolbar-item:hover {
    color: var(--nexus-neon);
    background: rgba(0, 255, 153, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 153, 0.15);
    filter: drop-shadow(0 0 5px var(--nexus-neon));
}

.toolbar-item.active {
    color: var(--nexus-neon);
    background: rgba(0, 255, 153, 0.08);
    box-shadow: 0 0 20px rgba(0, 255, 153, 0.25);
    filter: drop-shadow(0 0 8px var(--nexus-neon));
}

.toolbar-item.active::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 25%;
    height: 50%;
    width: 3px;
    background: var(--nexus-neon);
    box-shadow: 0 0 8px var(--nexus-neon);
    border-radius: 2px;
}

.toolbar-item.focus-active {
    color: var(--nexus-neon);
    filter: drop-shadow(0 0 8px var(--nexus-neon));
}


.rotate-180 {
    transform: rotate(180deg);
}



.toolbar-separator {
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.2rem 0;
}

/* Light mode overrides */
.theme-light .intelligence-toolbar {
    background: #f5f5f4;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset -2px 0 10px rgba(0, 0, 0, 0.02);
}

.theme-light .toolbar-item {
    color: #78716c;
}

.theme-light .toolbar-item:hover {
    color: #10b981;
    background: rgba(16, 185, 129, 0.05);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
    filter: none;
}

.theme-light .toolbar-item.active {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
    filter: none;
}

.theme-light .toolbar-item.active::after {
    background: #10b981;
    box-shadow: none;
}

.theme-light .toolbar-item.focus-active {
    color: #10b981;
    filter: none;
}

.theme-light .toolbar-separator {
    background: rgba(0, 0, 0, 0.08);
}



