        .sidebar {
            position: absolute;
            top: 0;
            left: 0;
            width: 400px;
            min-width: 320px;
            max-width: 90vw;
            height: 100%;
            background: rgba(255, 255, 255, 0.97);
            box-shadow: 4px 0 15px rgba(0,0,0,0.3);
            transform: translateX(-100%);
            transition: transform 0.4s ease;
            padding: 80px 20px 20px 20px;
            box-sizing: border-box;
            z-index: 10;
            overflow-y: auto;
        }

        .sidebar.open {
            transform: translateX(0);
        }

        .resize-handle {
            position: absolute;
            top: 0;
            right: -6px;
            width: 12px;
            height: 100%;
            background: transparent;
            cursor: ew-resize;
            z-index: 40;
            transition: background 0.15s;
        }

        .sidebar:hover .resize-handle,
        .resize-handle.active {
            background: rgba(100, 150, 255, 0.4);
        }

        .openSidebar {
            position: absolute;
            top: 15px;
            left: 15px;
            width: 56px;
            height: 56px;
            background: white;
            border-radius: 50%;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            color: #333;
            z-index: 20;
            transition: opacity 0.3s;
        }
        
        .openSidebar.hidden {
            opacity: 0;
            pointer-events: none;
        }
        
        .closeSidebar {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 48px;
            height: 48px;
            background: white;
            border-radius: 50%;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: #333;
            z-index: 30;
        }

/* szerokość startowa sidebarów i inne parametry */
	#sidebar-menu {
	    width: fit-content;
            padding: 46px 12px 12px 12px;
	}

	#sidebar-tools {
            width: 950px;
            padding: 46px 12px 12px 12px;
	}

	#sidebar-search {
            width: 550px;
            padding: 46px 12px 12px 12px;
	}

	#sidebar-pog {
            width: 550px;
            padding: 46px 12px 12px 12px;
	}

/* lokalizacja przycisków otwierjących sidebar */
	#open-menu-btn { left: 10px; top: 50px; z-index: 5;} //dodany z-index aby się chowal pod panel z menu
        #open-tools-btn { top: 150px; }
        #open-search-btn { top: 220px; }
	#open-pog-btn { left: 10px; top: 105px; z-index: 5;} //dodany z-index aby się chowal pod panel z menu