        .bookmarks-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .bookmarks-header h2 {
            font-size: 18px;
            font-weight: 600;
            color: #1a1a1a;
            margin: 0;
        }

        .bookmarks-header .close-btn {
            background: none;
            border: none;
            font-size: 24px;
            color: #888;
            cursor: pointer;
        }

        .bookmarks-list {
            overflow-y: auto;
            flex: 1;
        }

        .bookmark-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 16px;
            border-radius: var(--control-radius); 
            border-bottom: 1px solid #eee;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .bookmark-item:hover {
            background: rgba(255, 255, 255, 0.6); 
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        .bookmark-item .info {
            flex: 1;
            min-width: 0;
        }

        .bookmark-item .info .name {
            font-weight: 500;
            color: #1a1a1a;
        }

        .bookmark-item .info .coords {
            font-size: 12px;
            color: #888;
            margin-top: 2px;
        }

        .bookmark-item .actions {
            display: flex;
            gap: 8px;
        }

        .bookmark-item .actions button {
            background: none;
            border: none;
            font-size: 16px;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: var(--control-radius);
            transition: all 0.2s ease;
        }

        .bookmark-item .actions .delete-btn {
            color: #e74c3c;
        }

        .bookmark-item .actions .delete-btn:hover {
            background: #fee;
        }

        .bookmark-item .actions .locate-btn {
            color: #3498db;
        }

        .bookmark-item .actions .locate-btn:hover {
            background: #eaf5fe;
        }

        .empty-message {
            color: #999;
            text-align: center;
            padding: 20px 0;
        }

        .bookmarks-list {
            padding-bottom: 72px;
        }
        .bookmarks-footer {
            position: sticky;
            bottom: 12px;
            display: flex;
            justify-content: center;
            padding-top: 12px;
        }


        @media (min-width: 701px) {
            #bookmarksPanel.modal-overlay {
                background: rgba(0,0,0,0.4);
                backdrop-filter: blur(4px);
                justify-content: center;
                align-items: center;
            }
            #bookmarksPanel.modal-overlay .modal-box {
                max-width: 480px;
                width: 90%;
                max-height: 80vh;
                overflow: auto;
                pointer-events: auto;
                padding: 32px 40px;
            }
        }

        #bookmarksPanel .bookmarks-header {
            padding-right: 56px;
        }

        
        @media (max-width: 385px) {
            .bookmarks-header {
                flex-wrap: wrap;
                gap: 4px 0;
                padding-right: 56px; 
            }

            .bookmarks-header h2 {
                flex: 0 0 100%;
                font-size: 16px;     
                margin-bottom: 2px;
            }

            .bookmarks-header > div {
                flex: 0 0 100%;
                display: flex;
                flex-wrap: wrap;     
                justify-content: center;
                gap: 6px 10px;
            }

            .bookmarks-header .close-btn {
                top: 10px;
                right: 12px;
            }
        }

         
        button, a {
            transition: transform 0.12s ease;
            transform-origin: center;
        }

        button:active, a:active {
            transform: scale(0.96);
        }

        @media (hover: none) {
            button:active, a:active {
                transform: scale(0.94);
            }
        }